@font-face {
    font-family: 'GreenHillSans';
    src: url('GreenHillSans-Regular v1.01.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GreenHillSans';
    src: url('GreenHillSans-Italic v1.01.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', 'GreenHillSans', sans-serif;
    background: #030803;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Scanlines — тонкий шум поверх всего */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.07) 3px,
        rgba(0, 0, 0, 0.07) 4px
    );
    pointer-events: none;
    z-index: 200;
}

/* Фоновое видео */
.video-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.video-bg__media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    opacity: 0.45;
    filter: brightness(0.45) saturate(1.5) hue-rotate(80deg);
}

video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-container,
video::-moz-media-controls,
video::--webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

.video-bg__media {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('pics/1111.jpg') center/cover no-repeat;
    opacity: 0.07;
    z-index: -2;
    pointer-events: none;
}

/* ─── Container ─────────────────────────────────────── */
.container {
    text-align: center;
    padding: 44px 32px 36px;
    max-width: 400px;
    width: 100%;
    background-color: rgba(0, 12, 2, 0.84);
    /* Corner accents */
    background-image:
        linear-gradient(#39ff14, #39ff14),
        linear-gradient(#39ff14, #39ff14),
        linear-gradient(#39ff14, #39ff14),
        linear-gradient(#39ff14, #39ff14);
    background-size:
        26px 1.5px,
        1.5px 26px,
        26px 1.5px,
        1.5px 26px;
    background-position:
        top left,
        top left,
        bottom right,
        bottom right;
    background-repeat: no-repeat;
    border-radius: 3px;
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 1;
    animation: containerGlow 6s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% {
        box-shadow:
            0 0 25px rgba(57, 255, 20, 0.18),
            0 0 80px rgba(57, 255, 20, 0.06),
            inset 0 0 40px rgba(57, 255, 20, 0.025);
    }
    33% {
        box-shadow:
            0 0 25px rgba(255, 0, 204, 0.2),
            0 0 80px rgba(255, 0, 204, 0.07),
            inset 0 0 40px rgba(255, 0, 204, 0.025);
    }
    66% {
        box-shadow:
            0 0 25px rgba(0, 255, 204, 0.18),
            0 0 80px rgba(0, 255, 204, 0.06),
            inset 0 0 40px rgba(0, 255, 204, 0.025);
    }
}

/* ─── Typography ─────────────────────────────────────── */
.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.9rem;
    font-weight: 900;
    background: linear-gradient(135deg, #39ff14 0%, #b0ff00 55%, #00ffcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 4px;
    line-height: 1.1;
    animation: fadeInDown 0.8s ease-out, titlePulse 3.5s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.65)); }
    50%       { filter: drop-shadow(0 0 22px rgba(176, 255, 0, 1)) drop-shadow(0 0 50px rgba(57, 255, 20, 0.35)); }
}

.subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.72rem;
    color: #00ffcc;
    margin-bottom: 6px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.65), 0 0 22px rgba(0, 255, 204, 0.25);
}

.tagline {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.65rem;
    color: rgba(122, 255, 0, 0.7);
    margin-bottom: 28px;
    letter-spacing: 1.8px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ─── Divider ─────────────────────────────────────── */
.divider {
    position: relative;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #39ff14 40%, #b0ff00 60%, transparent);
    margin: 18px auto 24px;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #39ff14;
    box-shadow: 0 0 8px #39ff14, 0 0 18px rgba(57, 255, 20, 0.6);
}

.divider::before { left: 0; }
.divider::after  { right: 0; }

/* ─── Buttons ─────────────────────────────────────── */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 12px 28px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid rgba(57, 255, 20, 0.45);
    background: transparent;
    color: #39ff14;
    cursor: pointer;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.55);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.08), inset 0 0 8px rgba(57, 255, 20, 0.02);
}

/* Shimmer sweep */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.13), transparent);
    transition: left 0.4s ease;
}

.btn:hover::after {
    left: 160%;
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(57, 255, 20, 0.07);
    border-color: #39ff14;
    color: #b0ff00;
    text-shadow: 0 0 14px rgba(176, 255, 0, 0.9);
    box-shadow: 0 0 22px rgba(57, 255, 20, 0.32), 0 0 50px rgba(57, 255, 20, 0.1), inset 0 0 14px rgba(57, 255, 20, 0.05);
}

/* Cyan variant (ОПЕРАТОР) */
.btn-red {
    border-color: rgba(0, 255, 204, 0.45);
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.55);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.08), inset 0 0 8px rgba(0, 255, 204, 0.02);
}

.btn-red::after {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.13), transparent);
}

.btn-red:hover {
    background: rgba(0, 255, 204, 0.07);
    border-color: #00ffcc;
    color: #80ffee;
    text-shadow: 0 0 14px rgba(0, 255, 204, 0.9);
    box-shadow: 0 0 22px rgba(0, 255, 204, 0.32), 0 0 50px rgba(0, 255, 204, 0.1), inset 0 0 14px rgba(0, 255, 204, 0.05);
}

/* Премиум кнопка — градиентная рамка */
.btn-red-pulse {
    background: linear-gradient(rgba(3, 8, 3, 0.9), rgba(3, 8, 3, 0.9)) padding-box,
                linear-gradient(135deg, #ff00cc, #ff6600 50%, #ccff00) border-box;
    border: 1.5px solid transparent;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 210, 0, 0.5);
    font-weight: 700;
    letter-spacing: 2px;
    animation: premiumPulse 2.5s ease-in-out infinite;
}

.btn-red-pulse::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shimmerLoop 2.8s ease-in-out infinite;
}

@keyframes shimmerLoop {
    0%       { left: -120%; }
    50%, 100% { left: 160%; }
}

@keyframes premiumPulse {
    0%, 100% {
        box-shadow:
            0 0 18px rgba(255, 0, 204, 0.45),
            0 0 35px rgba(255, 0, 204, 0.12);
    }
    50% {
        box-shadow:
            0 0 30px rgba(255, 0, 204, 0.75),
            0 0 65px rgba(204, 255, 0, 0.4),
            0 0 100px rgba(255, 102, 0, 0.18);
    }
}

.btn-red-pulse:hover {
    animation: none;
    background: linear-gradient(rgba(3, 8, 3, 0.9), rgba(3, 8, 3, 0.9)) padding-box,
                linear-gradient(135deg, #ff33ee, #ff9900 50%, #ddff00) border-box;
    box-shadow:
        0 0 40px rgba(255, 0, 204, 0.75),
        0 0 80px rgba(204, 255, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    text-shadow: 0 0 14px rgba(255, 230, 0, 0.9);
}

/* ─── Footer ─────────────────────────────────────── */
.footer-text {
    font-family: 'Exo 2', sans-serif;
    color: rgba(57, 255, 20, 0.4);
    font-size: 0.62rem;
    margin-top: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-tagline {
    font-family: 'Exo 2', sans-serif;
    color: rgba(122, 255, 0, 0.35);
    font-size: 0.58rem;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ─── Animations ─────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
        letter-spacing: 2.5px;
    }

    .subtitle {
        font-size: 0.65rem;
        letter-spacing: 2.5px;
    }

    .tagline {
        font-size: 0.62rem;
    }

    .container {
        padding: 32px 22px 28px;
        max-width: 100%;
        border-radius: 0;
        background-image: none;
        background-color: rgba(0, 12, 2, 0.88);
        backdrop-filter: blur(8px);
    }

    .btn {
        padding: 13px 28px;
        font-size: 0.78rem;
    }

    .btn-red-pulse {
        animation: premiumPulse 2.5s ease-in-out infinite;
    }

    .btn-red-pulse:hover {
        animation: none;
        transform: translateY(-2px);
    }
}
