:where([class^="ri-"])::before { content: "\f3c2"; }

/* Fonts */
@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url('../fonts/Bebas Neue Cyrillic.ttf') format('truetype');
}
@font-face {
    font-family: 'Routine Variable Thin';
    src: url('../fonts/RoutineVariableThin-Thin.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

/* Base */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    padding-top: 80px;
    background-color: #fafafa;
    color: var(--text-dark);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .nav-link {
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: normal;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #222222;
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.top-nav.hidden {
    transform: translateY(-100%);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-logo {
    height: 50px;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-link {
    color: #ffffff;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #2563EB;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    background: #222222;
    margin-top: -80px;
}
.hero video {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: translateY(-50%);
    opacity: 0.9;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}
.pixel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pixel-overlay.png') repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 3;
}
.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    width: 100%;
    padding: 20px;
}
.band-name {
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 6vw;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
.hero-button {
    background-color: var(--primary);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
}
.hero-button:hover {
    background-color: #2563eb;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-link { font-size: 1.3rem; }
}
@media (max-width: 768px) {
    .hero { height: 60vh; }
    .band-name { font-size: 12vw !important; white-space: nowrap; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #222222;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.3s;
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-link { font-size: 2rem; margin: 15px 0; }
    .mobile-toggle { display: block; }
}
@media (max-width: 576px) {
    .band-name { font-size: 14vw !important; letter-spacing: 3px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-button { font-size: 2rem; padding: 10px 20px; }
}

/* Existing Styles with Modifications */
.parallax {
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}
.parallax-soldier-1 { left: 0; background-image: url('../images/parallax-soldier-1.jpg'); }
.parallax-soldier-2 { right: 0; background-image: url('../images/parallax-soldier-2.jpg'); }
.parallax-soldier-3 { left: 0; background-image: url('../images/parallax-soldier-3.jpg'); }
.parallax-soldier-4 { right: 0; background-image: url('../images/parallax-soldier-4.jpg'); }
.hero-section .parallax, #pain-block .parallax, #features .parallax, #capabilities .parallax, #admin .parallax {
    opacity: 0.7;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.gameplay-section {
    background: #222222;
}
.gameplay-section h2, .gameplay-section h3 {
    color: #ffffff;
}
.pain-card {
    text-align: center;
}
.capability-video {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.capability-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.capability-video .pixel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pixel-overlay.png') repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 3;
}
.admin-section h4 {
    font-size: 1.5rem;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .parallax {
        transition: transform 0.1s ease-out;
    }
    body:hover .parallax {
        transform: translateY(-10px);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #2563EB;
    cursor: pointer;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0;
}
.modal-close:hover {
    color: #1d4ed8;
}
.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
}
.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}
.modal-content button {
    background: #2563EB;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
}
.modal-content button:hover {
    background: #1d4ed8;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.social-links a {
    color: var(--text-dark);
    font-size: 1.5rem;
}
.social-links a:hover {
    color: #2563EB;
}







/* Правим только кнопку-крестик */
.modal-content .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;

    /* гасим наследованные стили */
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    background: transparent !important;

    color: #2563EB;
    border: none;
    line-height: 20px;
    font-size: 1.4rem;
    cursor: pointer;
}








@media (max-width: 768px) {
    .capability-video {
        width: 100% !important;
    }

    .capability-video video {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

@media (min-width: 769px) {
    /* Ограничим размер КАРТИНКИ на десктопе, чтобы она не выделялась */
    .md\\:w-1\\/2 > img {
        width: 80% !important;
        margin: 0 auto;
        display: block;
        height: auto;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }
}

