/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050506;
    --bg-card: #0e0e12;
    --bg-elevated: #16161c;
    --text: #f2f2f5;
    --text-muted: #8a8a96;
    --accent: #e8e8ec;
    --accent-red: #c41e3a;
    --accent-glow: rgba(255, 255, 255, 0.25);
    --border: rgba(255, 255, 255, 0.07);
    --radius: 12px;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Particles Canvas ===== */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(5, 5, 6, 0.7);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 70%);
}

.logo-mask {
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.35);
}

.logo-sub {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.online-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: #fff;
    color: #0a0a0c;
    box-shadow: 0 0 24px rgba(255,255,255,0.15);
}

.btn-primary:hover {
    background: #e8e8ec;
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(255,255,255,0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.55;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(5,5,6,0.4) 0%, 
            rgba(5,5,6,0.55) 40%,
            rgba(5,5,6,0.92) 75%,
            var(--bg) 100%),
        radial-gradient(ellipse 70% 50% at 50% 30%, transparent 0%, rgba(5,5,6,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: #fff;
    text-shadow: 
        0 0 30px rgba(255,255,255,0.5),
        0 0 60px rgba(255,255,255,0.2);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(240,240,245,0.75);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== Sections ===== */
.section {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s;
}

.about-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* ===== Features ===== */
.features {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: var(--bg-elevated);
}

.feature-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== Start ===== */
.steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    margin: 0 auto 48px;
}

.step {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1e;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-divider {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

.promo-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 28px 32px;
    max-width: 900px;
    margin: 0 auto;
}

.promo-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.promo-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.promo-code {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #fff;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 56px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.disclaimer {
    opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav, .header-actions .online-badge {
        display: none;
    }

    .burger {
        display: flex;
    }

    .about-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-divider {
        width: 100%;
        height: 40px;
    }

    .step-divider::before {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    }

    .promo-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .hero-stats {
        gap: 28px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 280px;
    }

    .hero-bg-img {
        object-position: center 15%;
    }
}

/* ===== Extra: Media / Gallery ===== */
.media .video-wrap {
    max-width: 800px;
    margin: 0 auto 40px;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}

.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Servers ===== */
.page-hero {
    padding-top: 140px;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s;
}

.server-card:hover {
    border-color: rgba(255,255,255,0.2);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.server-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.server-status.online { color: #22c55e; }
.server-status.online .dot { background: #22c55e; }
.server-status.offline { color: #666; }
.server-status.offline .dot { background: #555; }

.server-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.server-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex: 1;
}

.server-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.server-meta strong {
    color: var(--text);
}

/* ===== Shop ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}

.shop-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.shop-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
}

.shop-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    padding-right: 60px;
}

.shop-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
}

.shop-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 8px 0;
}

.nav a.active {
    color: #fff;
}

/* Responsive extras */
@media (max-width: 900px) {
    .gallery-grid,
    .servers-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}
