:root {
    --bg: #0b0d12;
    --surface: #11131b;
    --surface2: #171925;
    --purple: #818cf8;
    --purple2: #a5aaff;
    --white: #f4f4fa;
    --muted: #9699aa;
    --border: rgba(255,255,255,.075);
    --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

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

.container { width: min(1120px, 88%); margin: auto; }

.header {
    height: 82px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(11,13,18,.88);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    width: min(1200px, 90%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span span { color: var(--purple); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: 13px; transition: .2s; }
.nav a:hover, .nav a.active { color: var(--white); }

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

.lang-button {
    color: var(--purple2);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 9px 13px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12px;
}

.discord-button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.discord-button, .button.primary {
    color: #0b0d12;
    background: var(--purple);
}

.discord-button:hover, .button.primary:hover {
    background: var(--purple2);
    transform: translateY(-2px);
}

.button.secondary {
    background: var(--surface);
    border: 1px solid var(--border);
}

.button.secondary:hover { border-color: var(--purple); }

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(129,140,248,.12);
    filter: blur(120px);
    right: -100px;
    top: -100px;
    pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; padding: 90px 0; }

.eyebrow {
    color: var(--purple2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.1;
    letter-spacing: -3px;
    margin: 25px 0;
    font-weight: 800;
}

.hero h1 span { color: var(--purple); }

.hero-description {
    color: var(--muted);
    max-width: 540px;
    font-size: 15px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero-meta {
    margin-top: 55px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.dot {
    width: 7px;
    height: 7px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--purple);
}

.section { padding: 95px 0; }

.section-heading { margin-bottom: 38px; }
.section-heading.center { text-align: center; }

.section-label {
    color: var(--purple);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 10px 0;
    letter-spacing: -1px;
}

.section-heading p { color: var(--muted); font-size: 13px; }

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

.card {
    background: linear-gradient(145deg, var(--surface2), var(--surface));
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    transition: .25s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(129,140,248,.35);
}

.card-number {
    color: var(--purple);
    font-size: 12px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 13px; }

.server-panel {
    background: linear-gradient(120deg, #171927, #10121a);
    border: 1px solid rgba(129,140,248,.2);
    padding: 30px;
    border-radius: var(--radius);
}

.server-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.server-name { display: flex; align-items: center; gap: 15px; }

.server-logo {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(129,140,248,.13);
    color: var(--purple2);
    border: 1px solid rgba(129,140,248,.3);
    border-radius: 12px;
    font-size: 25px;
    font-weight: 800;
}

.server-name h3 { font-size: 16px; }
.server-name p { color: var(--muted); font-size: 12px; }

.server-state { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }

.server-state .dot { background: #888; box-shadow: none; }
.server-state.online .dot { background: #68d6a0; box-shadow: 0 0 12px #68d6a0; }
.server-state.offline .dot { background: #e47780; }

.server-details {
    border-top: 1px solid var(--border);
    margin-top: 25px;
    padding-top: 23px;
    display: flex;
    gap: 65px;
    flex-wrap: wrap;
}

.server-detail small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.server-detail strong { font-size: 22px; display: block; margin-top: 5px; }

.copy-button {
    margin-top: 24px;
    background: rgba(129,140,248,.1);
    color: var(--purple2);
    border: 1px solid rgba(129,140,248,.25);
    border-radius: 8px;
    padding: 11px 17px;
    cursor: pointer;
    font-size: 12px;
}

.cta {
    padding: 65px 30px;
    border: 1px solid rgba(129,140,248,.22);
    border-radius: var(--radius);
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(129,140,248,.13), transparent 70%), var(--surface);
}

.cta h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.cta p { color: var(--muted); font-size: 13px; margin-bottom: 25px; }

.page-hero {
    padding: 100px 0 65px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(ellipse at 80% 0%, rgba(129,140,248,.11), transparent 55%);
}

.page-hero h1 { font-size: clamp(40px, 6vw, 62px); margin: 10px 0; letter-spacing: -2px; }
.page-hero p { color: var(--muted); max-width: 650px; font-size: 14px; }

.content-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.content-panel h2 { font-size: 22px; margin-bottom: 12px; }
.content-panel p { color: var(--muted); font-size: 14px; }

.contact-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--purple2);
    border-bottom: 1px solid var(--purple);
    padding-bottom: 4px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 35px 0;
    color: var(--muted);
    font-size: 11px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-brand { color: var(--white); font-size: 17px; font-weight: 800; letter-spacing: 2px; }

[dir="rtl"] { text-align: right; }
[dir="rtl"] .hero::before { right: auto; left: -100px; }
[dir="rtl"] .hero h1 { letter-spacing: 0; }
[dir="rtl"] .nav { direction: rtl; }

@media(max-width: 850px) {
    .nav { gap: 14px; }
    .nav a { font-size: 11px; }
    .discord-button { display: none; }
}

@media(max-width: 650px) {
    .header { height: 72px; }
    .header-inner { width: 90%; }
    .menu-button { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background: #10121a;
        padding: 15px 6%;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; font-size: 13px; }
    .hero { min-height: 560px; }
    .hero h1 { letter-spacing: -2px; }
    .cards { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .server-panel { padding: 20px; }
    .server-details { gap: 30px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
