/* ===== ФИКСИРОВАННАЯ НАВИГАЦИЯ (копия с главной страницы) ===== */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: var(--border-thin);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    border: var(--border-thin);
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.5s ease;
        border-top: var(--border-thin);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0 0 30px 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        padding: 10px 20px;
        border: var(--border-thin);
        width: 200px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-text {
        display: none;
    }
}

/* ===== КОНЕЦ СТИЛЕЙ НАВИГАЦИИ ===== */

/* Дополнительные стили для страницы игры */

/* Сброс padding-top для фиксированной навигации */
.game-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px; /* Учитываем высоту фиксированной навигации */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.85) 50%, 
        rgba(0,0,0,0.9) 100%);
    z-index: 2;
}

.game-hero-content {
    position: relative;
    z-index: 3;
    height: calc(100vh - 80px); /* Учитываем высоту навигации */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border-bottom: var(--border-thick);
    padding-bottom: 15px;
    display: inline-block;
}

.game-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--text-dim);
    line-height: 1.6;
}

.game-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.game-tag {
    background-color: transparent;
    color: var(--accent);
    padding: 8px 20px;
    border: var(--border-thin);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.game-tag:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    border: var(--border-thick);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    display: flex;
    gap: 15px;
    align-items: center;
}

.video-btn {
    background-color: transparent;
    border: var(--border-thin);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.video-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.volume-slider {
    width: 100px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    background: transparent;
    -webkit-appearance: none;
    height: 3px;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-runnable-track {
    background: rgba(0, 255, 255, 0.2);
    height: 3px;
    border-radius: 2px;
}

.volume-slider::-moz-range-track {
    background: rgba(0, 255, 255, 0.2);
    height: 3px;
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: var(--accent);
    cursor: pointer;
    border: var(--border-thin);
    border-radius: 50%;
    margin-top: -6px;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--accent);
    cursor: pointer;
    border: var(--border-thin);
    border-radius: 50%;
}

/* Game Details Section */
.game-details-section {
    padding: 100px 0;
    background-color: var(--primary);
}

.game-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
}

.game-description p {
    margin-bottom: 25px;
}

.info-card {
    border: var(--border-thin);
    padding: 30px;
    background-color: rgba(0, 255, 255, 0.02);
    position: sticky;
    top: 100px;
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 1.3rem;
    border-bottom: var(--border-thin);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
}

.info-value {
    color: var(--text);
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: rgba(0, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    border: var(--border-thin);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: transparent;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background-color: rgba(0, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
    padding: 100px 0;
    background-color: var(--primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border: var(--border-thin);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 250px;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    color: var(--accent);
    font-size: 3rem;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background-color: rgba(0, 255, 255, 0.02);
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.download-info h3 {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.download-info p {
    color: var(--text-dim);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    color: var(--text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list i {
    color: var(--accent);
}

.system-requirements {
    border: var(--border-thin);
    padding: 25px;
    background-color: rgba(0, 255, 255, 0.02);
}

.system-requirements h4 {
    color: var(--accent);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-requirements p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.download-card {
    border: var(--border-thin);
    padding: 40px;
    text-align: center;
    background-color: var(--primary);
    position: sticky;
    top: 100px;
}

.download-card h3 {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.version {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 5px;
}

.size {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.download-note {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 20px;
    font-style: italic;
}

.platform-icons {
    margin-top: 30px;
    font-size: 2rem;
    color: var(--accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    border: var(--border-thick);
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--accent);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--text);
}

/* Responsive Design */
@media (max-width: 992px) {
    .game-content-wrapper,
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .info-card,
    .download-card {
        position: static;
    }
    
    .game-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .game-hero {
        padding-top: 70px;
    }
    
    .game-hero-content {
        height: calc(100vh - 70px);
    }
    
    .game-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .video-controls {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .game-title {
        font-size: 2.2rem;
    }
    
    .game-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .video-btn {
        width: 40px;
        height: 40px;
    }
    
    .volume-slider {
        width: 70px;
    }
}