/* =========================================================================
БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ
========================================================================= */
:root {
    --bg-color: #08080a;
    --bg-secondary: #121216;
    --accent-color: #ff523b;
    --accent-hover: #d53f2b;
    --accent-glow: rgba(255, 82, 59, 0.35);
    --action-color: #c63c28;
    --action-hover: #a92f20;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: #ff523b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

.container-standard {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* =========================================================================
ШАПКА & ЭКРАН 1
========================================================================= */

.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(
        circle at 80% 50%,
        rgba(255, 82, 59, 0.06) 0%,
        rgba(11, 11, 14, 1) 80%
    );
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.char-img {
    position: absolute;
    top: 50%;
    left: -5%;
    width: min(110vh, 64vw, 1120px);
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    transform: translateY(-40%);
    mix-blend-mode: screen;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: 0.6s;
}

.hero-section:hover .char-img {
    filter: grayscale(0%);
    opacity: 0.8;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(250px);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    max-width: 1750px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 850px;
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 82, 59, 0.08);
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 82, 59, 0.2);
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-dot.green {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 59, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 82, 59, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 transparent;
    }
}

.hero-h1 {
    font-size: clamp(45px, 5vw, 75px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--action-color);
    color: #fff;
    text-decoration: none;
    height: 60px;
    padding: 0 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px var(--accent-glow);
    transition: 0.25s;
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-primary:hover {
    background: var(--action-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #fff;
    text-decoration: none;
    height: 60px;
    padding: 0 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.25s;
    cursor: pointer;
    width: fit-content;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* =========================================================================
СЛАЙД 2: CINEMATIC NOISE
========================================================================= */
.about-section {
    background: var(--bg-secondary);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.about-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}

.about-bg-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.about-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.section-title span {
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.features-accordion {
    display: flex;
    gap: 10px;
    height: 100%;
    max-height: 550px;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 2;
}

.features-accordion .feat-card {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.features-accordion .feat-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.features-accordion .feat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.features-accordion .feat-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
    transition: 0.5s;
}

.features-accordion .feat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.features-accordion .feat-icon {
    width: 50px;
    height: 50px;
    background: var(--c);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.features-accordion .feat-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 800;
}

.features-accordion .feat-content p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    transition: 0.5s;
    width: 350px;
    color: #ddd;
}

.features-accordion .feat-card:hover {
    flex: 3;
}

.features-accordion .feat-card:hover .feat-img-wrap::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.features-accordion .feat-card:hover .feat-content p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}

/* =========================================================================
СЛАЙД 3: КАК НАЧАТЬ ИГРАТЬ
========================================================================= */
.play-section {
    background: var(--bg-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.play-bg-decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.play-bg-decor::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 50%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 50%, transparent);
}

.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    filter: blur(200px);
    opacity: 0.07;
    border-radius: 50%;
}

.bg-glow.top-right {
    top: -100px;
    right: -100px;
}

.bg-glow.bottom-left {
    bottom: -100px;
    left: -100px;
}

.bg-crosshair {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-crosshair::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.bg-crosshair::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    bottom: -10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.bg-crosshair.ch-1 {
    top: 20%;
    left: 5%;
}

.bg-crosshair.ch-2 {
    bottom: 20%;
    right: 5%;
}

.play-header {
    margin-bottom: 40px;
    text-align: center;
}

.play-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: stretch;
    min-height: 550px;
    position: relative;
}

.main-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: rgba(15, 15, 18, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 60px 80px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-card:hover {
    border-color: rgba(255, 82, 59, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: rgba(18, 18, 22, 0.9);
}

.main-card::after {
    content: 'LAUNCHER';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 280px;
    font-weight: 900;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.main-card:hover::after {
    -webkit-text-stroke: 2px var(--accent-color);
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.02);
    text-shadow: 0 0 50px var(--accent-glow);
}

.card-status-bar,
.launcher-content,
.alt-connection {
    position: relative;
    z-index: 2;
}

/* Предупреждение о бета-тестировании перед прямой загрузкой лаунчера. */
.launch-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: grid;
    padding: 24px;
    place-items: center;
    opacity: 0;
    background: rgba(3, 4, 7, 0.82);
    backdrop-filter: blur(13px);
    transition: opacity 0.2s ease;
}

.launch-notice-modal[hidden] {
    display: none;
}

.launch-notice-modal.is-open {
    opacity: 1;
}

.launch-modal-open {
    overflow: hidden;
}

.launch-notice-card {
    position: relative;
    width: min(560px, 94vw);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(155deg, rgba(30, 30, 37, 0.99), rgba(13, 13, 18, 0.99));
    box-shadow:
        0 32px 100px rgba(0, 0, 0, 0.62),
        0 0 60px rgba(255, 82, 59, 0.08);
    transform: translateY(14px) scale(0.985);
    transition: transform 0.2s ease;
}

.launch-notice-modal.is-open .launch-notice-card {
    transform: translateY(0) scale(1);
}

.launch-notice-close {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: #afb1ba;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.launch-notice-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.launch-notice-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 107, 87, 0.28);
    border-radius: 999px;
    color: #ff8a78;
    background: rgba(255, 107, 87, 0.09);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.launch-notice-card h2 {
    max-width: 430px;
    margin: 0 0 12px;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.15;
}

.launch-notice-card p {
    margin: 0 0 26px;
    color: #a9abb4;
    font-size: 14px;
    line-height: 1.7;
}

.launch-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.launch-notice-actions :is(.btn-primary, .btn-secondary) {
    height: 50px;
    padding-inline: 22px;
    font-size: 12px;
}

html[data-theme='light'] .launch-notice-modal {
    background: rgba(225, 228, 235, 0.78);
}

html[data-theme='light'] .launch-notice-card {
    color: #242932;
    background: linear-gradient(155deg, #fff, #f2f4f8);
    border-color: rgba(30, 34, 43, 0.12);
    box-shadow: 0 32px 90px rgba(45, 49, 61, 0.2);
}

html[data-theme='light'] .launch-notice-card p {
    color: #666b76;
}

@media (max-width: 620px) {
    .launch-notice-modal {
        padding: 12px;
    }

    .launch-notice-card {
        padding: 30px 20px 22px;
        border-radius: 20px;
    }

    .launch-notice-actions {
        flex-direction: column-reverse;
    }

    .launch-notice-actions :is(.btn-primary, .btn-secondary) {
        width: 100%;
    }
}

.card-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.online-micro {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.online-micro span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.stroke-title {
    font-size: 65px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.main-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
}

.alt-connection {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.alt-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.ip-copy-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    padding: 0;
}

.ip-copy-btn:hover {
    color: var(--accent-color);
}

.socials-column {
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.soc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
}

.soc-square {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.soc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.soc-item:hover {
    color: #fff;
}

.soc-item:hover .soc-square {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* =========================================================================
ФУТЕР
========================================================================= */
.footer {
    background: #050507;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 60px 0;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-top-glow {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-col .logo {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 13px;
    opacity: 0.7;
    max-width: 400px;
}

.footer-copyright {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
}

.footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.links-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.links-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.support-mail {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 25px;
}

.btn-support {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-support:hover {
    background: rgba(255, 82, 59, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}
