/* === ROOT === */
:root {
    --bg: #05070d;
    --bg2: #080c17;
    --panel: rgba(12, 18, 32, 0.96);
    --panel2: #0c1220;
    --line: rgba(120, 165, 230, 0.18);
    --line2: rgba(120, 165, 230, 0.35);
    --blue: #3f8cff;
    --blue2: #7fc0ff;
    --gold: #f4c452;
    --gold2: #ffe9ad;
    --purple: #8a6bf2;
    --red: #ff4d63;
    --green: #4eff91;
    --cyan: #00dcff;
    --orange: #ff8c3f;
    --text: #e9f0fb;
    --dim: #8b96b3;
    --faint: #5a6480;
    --radius: 12px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    width: 320px;
}

.preloader-hex {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(145deg, var(--blue), var(--purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(63, 140, 255, 0.6);
    position: relative;
}

.preloader-hex::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.preloader-text {
    margin-bottom: 24px;
}

.preloader-title {
    display: block;
    font: 900 3.2rem/1 'Exo 2';
    letter-spacing: 0.25em;
    background: linear-gradient(90deg, var(--blue2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.preloader-sub {
    display: block;
    font-size: 12px;
    color: var(--dim);
    letter-spacing: 0.12em;
}

.preloader-bar {
    width: 100%;
    height: 3px;
    background: var(--panel2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    box-shadow: 0 0 10px var(--blue);
    transition: width 0.1s linear;
}

.preloader-status {
    font: 700 12px 'Exo 2';
    color: var(--blue2);
    letter-spacing: 0.1em;
}

/* === BACKGROUND === */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 165, 230, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 165, 230, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-aura {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.aura-1 {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 550px;
    background: radial-gradient(ellipse, rgba(63, 110, 220, 0.2), transparent 60%);
    animation: auraMove 12s ease-in-out infinite;
}

.aura-2 {
    bottom: -150px;
    right: -150px;
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(138, 107, 242, 0.14), transparent 60%);
    animation: auraMove 15s ease-in-out infinite reverse;
}

.bg-vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(5, 7, 13, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 140, 255, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 3;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

@media (pointer: coarse) {
    .cursor-glow { display: none; }
}

/* === UTILS === */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.hex-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--blue);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

/* === HEADER === */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.95), rgba(5, 7, 13, 0.8));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.topbar.visible {
    transform: translateY(0);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-mark {
    width: 38px;
    height: 38px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(145deg, var(--blue), #1c3f8a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(63, 140, 255, 0.45);
    flex-shrink: 0;
    transition: var(--transition);
}

.brand:hover .brand-mark {
    box-shadow: 0 0 28px rgba(63, 140, 255, 0.7);
    transform: rotate(15deg);
}

.brand-mark.small {
    width: 26px;
    height: 26px;
}

.brand-mark svg {
    width: 18px;
    height: 18px;
}

.brand-mark.small svg {
    width: 12px;
    height: 12px;
}

.brand-title {
    font: 800 16px/1 'Exo 2';
    letter-spacing: 0.1em;
}

.brand-title b {
    color: var(--blue2);
}

.brand-sub {
    font-size: 9px;
    letter-spacing: 0.24em;
    color: var(--faint);
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 14px 12px;
    color: var(--faint);
    font: 700 11px 'Exo 2';
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    box-shadow: 0 0 8px var(--blue);
}

.nav-cta {
    margin-left: 8px;
    padding: 9px 18px;
    background: linear-gradient(180deg, rgba(20, 28, 48, 0.9), rgba(10, 15, 26, 0.9));
    border: 1px solid var(--line2);
    border-radius: 20px;
    color: var(--blue2);
}

.nav-cta:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #000;
}

.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font: 700 12px 'Exo 2';
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--line2);
    background: var(--panel2);
    color: var(--text);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #000;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(145deg, var(--blue), #1c3f8a);
    border-color: rgba(127, 192, 255, 0.4);
    color: #fff;
}

.btn-glow {
    box-shadow: 0 4px 20px rgba(63, 140, 255, 0.35);
}

.btn-glow:hover {
    box-shadow: 0 6px 32px rgba(63, 140, 255, 0.55);
}

.btn-secondary {
    background: rgba(8, 12, 23, 0.9);
    border-color: var(--line2);
    color: var(--dim);
}

.btn-secondary:hover {
    background: rgba(63, 140, 255, 0.1);
    border-color: var(--blue);
    color: var(--blue2);
}

.btn-gold {
    background: linear-gradient(145deg, var(--gold), #8a6413);
    border-color: rgba(255, 233, 173, 0.4);
    color: #000;
}

.btn-gold:hover {
    background: var(--gold2);
    box-shadow: 0 6px 28px rgba(244, 196, 82, 0.4);
}

.btn-purple {
    background: linear-gradient(145deg, var(--purple), #4a2e8a);
    border-color: rgba(177, 156, 255, 0.4);
    color: #fff;
}

.btn-purple:hover {
    box-shadow: 0 6px 28px rgba(138, 107, 242, 0.5);
}

/* === SECTIONS === */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font: 700 11px 'Exo 2';
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font: 800 clamp(1.8rem, 5vw, 3rem)/1 'Exo 2';
    color: var(--text);
}

.section-title.big {
    font-size: clamp(2.5rem, 8vw, 5rem);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 80px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: linear-gradient(180deg, rgba(20, 28, 48, 0.9), rgba(10, 15, 26, 0.9));
    border: 1px solid var(--line2);
    border-radius: 20px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(-20px);
}

.hero-badge.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease 0.5s;
}

.hex-small {
    width: 12px;
    height: 12px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-small.pulse {
    animation: hexPulse 2s ease-in-out infinite;
}

.badge-text {
    font: 700 11px 'Exo 2';
    letter-spacing: 0.16em;
    color: var(--gold2);
}

.hero-title-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 11vw, 8rem);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(40px);
}

.title-line.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-line:nth-child(1).loaded { transition-delay: 0.6s; }
.title-line:nth-child(2).loaded { transition-delay: 0.8s; }

.title-accent {
    background: linear-gradient(90deg, var(--blue2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 60px rgba(63, 140, 255, 0.4);
}

.hero-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(63, 140, 255, 0.15), transparent 60%);
    filter: blur(40px);
    z-index: 1;
    animation: auraPulse 4s ease-in-out infinite;
}

.hero-desc {
    max-width: 640px;
    color: var(--dim);
    font-size: 1.1rem;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-desc.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease 1s;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 64px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease 1.2s;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 950px;
}

.stat-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.stat-card:nth-child(1).loaded { transition-delay: 1.4s; }
.stat-card:nth-child(2).loaded { transition-delay: 1.5s; }
.stat-card:nth-child(3).loaded { transition-delay: 1.6s; }
.stat-card:nth-child(4).loaded { transition-delay: 1.7s; }

.stat-card:hover {
    border-color: var(--line2);
    box-shadow: 0 0 30px rgba(63, 140, 255, 0.15);
    transform: translateY(-4px);
}

.stat-value {
    display: block;
    font: 800 2.2rem/1 'Exo 2';
    color: var(--text);
    margin-bottom: 6px;
}

.stat-value.rank-final {
    background: linear-gradient(90deg, var(--purple), var(--blue2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.scroll-indicator.loaded {
    opacity: 1;
    transition: opacity 0.8s ease 2s;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--faint);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--blue), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* === 3D HEXAGON === */
.hex-3d-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
    perspective: 1000px;
}

.hex-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: hex3dRotate 12s linear infinite;
}

.hex-3d-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--blue);
    border-radius: 50%;
    opacity: 0.3;
    box-shadow: 0 0 30px rgba(63, 140, 255, 0.3);
}

.hex-3d-ring:nth-child(1) { width: 100%; height: 100%; animation: ringPulse 3s ease-in-out infinite; }
.hex-3d-ring:nth-child(2) { width: 80%; height: 80%; border-color: var(--purple); animation: ringPulse 3s ease-in-out infinite 0.5s; }
.hex-3d-ring:nth-child(3) { width: 60%; height: 60%; border-color: var(--cyan); animation: ringPulse 3s ease-in-out infinite 1s; }

.hex-3d-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--blue), var(--purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 60px rgba(63, 140, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-3d-core::after {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* === SERVERS === */
.servers {
    padding: 120px 4%;
    position: relative;
    z-index: 10;
}

.server-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.server-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--faint);
    font: 700 12px 'Exo 2';
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
}

.server-tab:hover {
    border-color: var(--line2);
    color: var(--dim);
    transform: translateY(-2px);
}

.server-tab.active {
    border-color: var(--blue);
    color: var(--blue2);
    box-shadow: 0 0 20px rgba(63, 140, 255, 0.2);
}

.server-tab.active .hex-icon {
    background: var(--blue2);
    box-shadow: 0 0 10px var(--blue);
}

.server-display {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 450px;
}

.server-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.server-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    position: relative;
}

.server-panel .card {
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.panel-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.glow-purple {
    background: radial-gradient(circle, rgba(138, 107, 242, 0.14), transparent 60%);
}

.glow-orange {
    background: radial-gradient(circle, rgba(255, 140, 63, 0.14), transparent 60%);
}

.glow-red {
    background: radial-gradient(circle, rgba(255, 77, 99, 0.12), transparent 60%);
}

.glow-cyan {
    background: radial-gradient(circle, rgba(0, 220, 255, 0.12), transparent 60%);
}

.glow-blue {
    background: radial-gradient(circle, rgba(63, 140, 255, 0.12), transparent 60%);
}

.panel-content {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px;
    z-index: 2;
}

.panel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.panel-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(244, 196, 82, 0.12);
    border: 1px solid rgba(244, 196, 82, 0.35);
    border-radius: 4px;
    color: var(--gold2);
    font: 700 10px 'Exo 2';
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-badge.badge-new {
    background: rgba(78, 255, 145, 0.12);
    border-color: rgba(78, 255, 145, 0.35);
    color: var(--green);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 12px 'Exo 2';
    color: var(--dim);
}

.panel-name {
    font: 800 2.4rem/1 'Exo 2';
    margin-bottom: 14px;
}

.panel-desc {
    color: var(--dim);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 24px;
}

.panel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.feature-tag {
    padding: 7px 13px;
    background: rgba(8, 12, 23, 0.9);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: var(--transition);
}

.feature-tag:hover {
    border-color: var(--line2);
    color: var(--text);
}

.panel-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--faint);
}

.dot.online {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: dotPulse 2s ease-in-out infinite;
}

.panel-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-ring {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--line);
    background: rgba(8, 12, 23, 0.9);
    box-shadow: inset 0 0 40px rgba(63, 140, 255, 0.08);
    animation: float 5s ease-in-out infinite;
}

.rank-letter {
    font: 900 5rem/1 'Exo 2';
}

.rank-sub {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--faint);
    text-transform: uppercase;
}

.rank-monarch {
    border-color: var(--purple);
    box-shadow: 0 0 50px rgba(138, 107, 242, 0.35), inset 0 0 50px rgba(138, 107, 242, 0.12);
    animation: monarchFloat 4s ease-in-out infinite, monarchPulse 3s ease-in-out infinite;
}

.rank-monarch .rank-letter {
    color: var(--purple);
    text-shadow: 0 0 30px rgba(138, 107, 242, 0.8);
}

.rank-kage {
    border-color: var(--orange);
    box-shadow: 0 0 50px rgba(255, 140, 63, 0.25), inset 0 0 50px rgba(255, 140, 63, 0.08);
}

.rank-kage .rank-letter {
    color: var(--orange);
    text-shadow: 0 0 30px rgba(255, 140, 63, 0.6);
}

.rank-a {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(244, 196, 82, 0.2), inset 0 0 40px rgba(244, 196, 82, 0.08);
}

.rank-a .rank-letter {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(244, 196, 82, 0.5);
}

.rank-b {
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0, 220, 255, 0.18), inset 0 0 40px rgba(0, 220, 255, 0.06);
}

.rank-b .rank-letter {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 220, 255, 0.45);
}

.rank-c {
    border-color: var(--blue);
    box-shadow: 0 0 40px rgba(63, 140, 255, 0.15), inset 0 0 40px rgba(63, 140, 255, 0.06);
}

.rank-c .rank-letter {
    color: var(--blue);
    text-shadow: 0 0 20px rgba(63, 140, 255, 0.4);
}

/* === CLASSES === */
.classes {
    padding: 120px 4%;
    background: var(--bg2);
    position: relative;
    z-index: 10;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.class-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.class-card:hover,
.class-card.active {
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(63, 140, 255, 0.15);
    transform: translateY(-6px);
}

.class-card.active {
    background: linear-gradient(180deg, rgba(63, 140, 255, 0.1), var(--panel));
}

.class-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line2);
    border-radius: 50%;
    background: rgba(8, 12, 23, 0.9);
    color: var(--blue2);
    transition: var(--transition);
}

.class-card:hover .class-icon,
.class-card.active .class-icon {
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(63, 140, 255, 0.3);
}

.class-icon svg {
    width: 26px;
    height: 26px;
}

.class-card h3 {
    font: 800 1.2rem/1 'Exo 2';
    margin-bottom: 10px;
}

.class-card p {
    font-size: 12px;
    color: var(--faint);
    margin-bottom: 20px;
    line-height: 1.5;
}

.class-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--faint);
}

.stat-bar span {
    width: 50px;
    text-align: left;
}

.bar {
    flex: 1;
    height: 4px;
    background: var(--panel2);
    border-radius: 2px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue2));
    border-radius: 2px;
    transition: width 0.8s ease;
}

/* === RANKS === */
.ranks {
    padding: 120px 4%;
    position: relative;
    z-index: 10;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    max-width: 1400px;
    margin: 0 auto;
}

.rank-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 14px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.rank-card:hover {
    transform: translateY(-6px);
    border-color: var(--line2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(63, 140, 255, 0.1);
}

.rank-card.featured {
    border-color: var(--purple);
    background: linear-gradient(180deg, rgba(138, 107, 242, 0.15), var(--panel));
    box-shadow: 0 0 40px rgba(138, 107, 242, 0.2);
}

.rank-card span {
    display: block;
    font: 900 2.8rem/1 'Exo 2';
    margin-bottom: 12px;
}

.rank-e { color: #7a8299; }
.rank-d { color: var(--dim); }
.rank-c { color: var(--blue); text-shadow: 0 0 14px rgba(63, 140, 255, 0.4); }
.rank-b { color: var(--cyan); text-shadow: 0 0 14px rgba(0, 220, 255, 0.4); }
.rank-a { color: var(--gold); text-shadow: 0 0 14px rgba(244, 196, 82, 0.4); }
.rank-s { color: var(--purple); text-shadow: 0 0 18px rgba(138, 107, 242, 0.5); }
.rank-m {
    color: var(--purple);
    text-shadow: 0 0 24px rgba(138, 107, 242, 0.8);
    animation: monarchTextPulse 2s ease-in-out infinite;
}

.rank-card h4 {
    font: 700 12px 'Exo 2';
    margin-bottom: 8px;
    color: var(--text);
}

.rank-card p {
    font-size: 10px;
    color: var(--faint);
    line-height: 1.5;
}

.monarch-aura {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(138, 107, 242, 0.2), transparent 70%);
    opacity: 0.5;
    animation: monarchAura 3s ease-in-out infinite;
    pointer-events: none;
}

/* === NEWS === */
.news {
    padding: 120px 4%;
    background: var(--bg2);
    position: relative;
    z-index: 10;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.news-card {
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--line2);
}

.news-card.featured {
    border-color: var(--purple);
    background: linear-gradient(135deg, rgba(138, 107, 242, 0.1), var(--panel));
}

.news-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(138, 107, 242, 0.3), rgba(63, 140, 255, 0.2));
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.news-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(63, 140, 255, 0.12);
    border: 1px solid rgba(63, 140, 255, 0.3);
    border-radius: 4px;
    color: var(--blue2);
    font: 700 9px 'Exo 2';
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-card h3 {
    font: 700 1.1rem/1.3 'Exo 2';
    margin-bottom: 10px;
}

.news-card p {
    font-size: 12px;
    color: var(--faint);
    line-height: 1.5;
    margin-bottom: 16px;
}

.news-date {
    font-size: 10px;
    color: var(--faint);
    letter-spacing: 0.08em;
}

/* === ABOUT === */
.about {
    padding: 120px 4%;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-main {
    padding: 40px;
}

.about-main .section-tag {
    margin-bottom: 14px;
}

.about-main .section-title {
    margin-bottom: 20px;
}

.about-main > p {
    color: var(--dim);
    margin-bottom: 32px;
    max-width: 680px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(8, 12, 23, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--line2);
    transform: translateX(6px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature h4 {
    font: 700 14px 'Exo 2';
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 12px;
    color: var(--faint);
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    padding: 28px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--line2);
    transform: translateY(-4px);
}

.info-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--faint);
    margin-bottom: 8px;
}

.info-value {
    font: 800 1.8rem/1 'Exo 2';
    color: var(--blue2);
}

/* === JOIN === */
.join {
    padding: 120px 4%;
    position: relative;
    z-index: 10;
    text-align: center;
}

.join-card {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 40px;
    overflow: hidden;
}

.join-title {
    font: 800 3rem/1 'Exo 2';
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.join-desc {
    color: var(--dim);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.join-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* === FOOTER === */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 4%;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 800 14px 'Exo 2';
    letter-spacing: 0.08em;
}

.footer-copy {
    font-size: 11px;
    color: var(--faint);
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    padding: 12px 24px;
    background: var(--panel);
    border: 1px solid var(--blue);
    border-radius: 8px;
    color: var(--text);
    font-weight: 700;
    z-index: 10001;
    transition: transform 0.25s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* === PAGE HERO === */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 6% 80px;
    position: relative;
    z-index: 10;
}

.page-hero-content {
    max-width: 900px;
}

.page-hero .hero-badge {
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 11px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumb a {
    color: var(--dim);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--blue2);
}

.breadcrumb span {
    color: var(--blue2);
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: 80px 4%;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.content-card {
    padding: 32px;
    transition: var(--transition);
}

.content-card:hover {
    border-color: var(--line2);
    transform: translateY(-4px);
}

.content-card h3 {
    font: 800 1.4rem/1.2 'Exo 2';
    margin-bottom: 14px;
    color: var(--text);
}

.content-card p {
    color: var(--dim);
    font-size: 14px;
    line-height: 1.6;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rules-list li {
    padding: 16px 20px;
    background: rgba(8, 12, 23, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--dim);
    transition: var(--transition);
}

.rules-list li:hover {
    border-color: var(--line2);
    color: var(--text);
    transform: translateX(8px);
}

.rules-list li strong {
    color: var(--blue2);
    margin-right: 8px;
}

/* === DONATE SHOP === */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-card {
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.shop-card:hover {
    transform: translateY(-6px);
    border-color: var(--line2);
}

.shop-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(244, 196, 82, 0.08), var(--panel));
}

.shop-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 12px;
    right: -30px;
    width: 120px;
    padding: 4px 0;
    background: var(--gold);
    color: #000;
    font: 700 9px 'Exo 2';
    transform: rotate(45deg);
}

.shop-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: rgba(8, 12, 23, 0.9);
    font-size: 28px;
}

.shop-card h3 {
    font: 800 1.3rem/1 'Exo 2';
    margin-bottom: 8px;
}

.shop-card p {
    font-size: 12px;
    color: var(--faint);
    margin-bottom: 16px;
}

.shop-price {
    display: block;
    font: 900 2rem/1 'Exo 2';
    color: var(--gold);
    margin-bottom: 20px;
}

.shop-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-features li {
    font-size: 12px;
    color: var(--dim);
    padding-left: 16px;
    position: relative;
}

.shop-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 8px;
    top: 2px;
}

/* === ANIMATIONS === */
@keyframes hexPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(63, 140, 255, 0.6); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(63, 140, 255, 0.9); }
}

@keyframes auraPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes auraMove {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-45%, -55%) scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes monarchFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes monarchPulse {
    0%, 100% { box-shadow: 0 0 50px rgba(138, 107, 242, 0.35), inset 0 0 50px rgba(138, 107, 242, 0.12); }
    50% { box-shadow: 0 0 80px rgba(138, 107, 242, 0.6), inset 0 0 60px rgba(138, 107, 242, 0.2); }
}

@keyframes monarchTextPulse {
    0%, 100% { text-shadow: 0 0 24px rgba(138, 107, 242, 0.8); }
    50% { text-shadow: 0 0 40px rgba(138, 107, 242, 1); }
}

@keyframes monarchAura {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes hex3dRotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === FEATURES === */
.features {
    padding: 120px 4%;
    background: var(--bg2);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--line2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(63, 140, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    font: 900 3rem/1 'Exo 2';
    color: transparent;
    -webkit-text-stroke: 1px var(--line2);
    margin-bottom: 16px;
}

.feature-card:hover .feature-number {
    -webkit-text-stroke: 1px var(--blue);
}

.feature-card h3 {
    font: 800 1.1rem/1.2 'Exo 2';
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 12px;
    color: var(--faint);
    line-height: 1.6;
}

/* === SERVER PREVIEW CARDS === */
.servers-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.server-preview-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.server-preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--line2);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.server-preview-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.preview-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.server-preview-card:hover .preview-glow {
    opacity: 1;
}

.preview-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-rank {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    font: 900 1.4rem/1 'Exo 2';
    margin-bottom: 16px;
}

.preview-rank.rank-monarch {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 20px rgba(138, 107, 242, 0.4);
}

.preview-rank.rank-kage {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 0 20px rgba(255, 140, 63, 0.3);
}

.preview-rank.rank-a {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(244, 196, 82, 0.3);
}

.preview-rank.rank-b {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 220, 255, 0.25);
}

.preview-rank.rank-c {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 0 20px rgba(63, 140, 255, 0.2);
}

.server-preview-card h3 {
    font: 800 1.4rem/1.1 'Exo 2';
    margin-bottom: 10px;
}

.server-preview-card p {
    font-size: 13px;
    color: var(--dim);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 16px;
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.preview-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 12px 'Exo 2';
    color: var(--dim);
}

.preview-arrow {
    font-size: 20px;
    color: var(--blue2);
    transition: transform var(--transition);
}

.server-preview-card:hover .preview-arrow {
    transform: translateX(6px);
}

/* === SHADOW SILHOUETTES === */
.shadow-silhouette {
    position: fixed;
    width: 400px;
    height: 600px;
    background: linear-gradient(180deg, rgba(138, 107, 242, 0.03), transparent);
    clip-path: polygon(50% 0%, 100% 20%, 90% 60%, 70% 100%, 30% 100%, 10% 60%, 0% 20%);
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
}

.silhouette-1 {
    left: -100px;
    bottom: 10%;
    transform: rotate(-15deg);
    animation: silhouetteFloat 8s ease-in-out infinite;
}

.silhouette-2 {
    right: -100px;
    top: 20%;
    transform: rotate(15deg);
    animation: silhouetteFloat 10s ease-in-out infinite reverse;
}

@keyframes silhouetteFloat {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-20px) rotate(-15deg); }
}

/* === GLITCH EFFECT === */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--red);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--blue);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(14px, 9999px, 127px, 0); }
    20% { clip: rect(80px, 9999px, 30px, 0); }
    40% { clip: rect(30px, 9999px, 90px, 0); }
    60% { clip: rect(120px, 9999px, 10px, 0); }
    80% { clip: rect(50px, 9999px, 70px, 0); }
    100% { clip: rect(100px, 9999px, 40px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 110px, 0); }
    20% { clip: rect(20px, 9999px, 60px, 0); }
    40% { clip: rect(90px, 9999px, 130px, 0); }
    60% { clip: rect(40px, 9999px, 80px, 0); }
    80% { clip: rect(110px, 9999px, 20px, 0); }
    100% { clip: rect(10px, 9999px, 100px, 0); }
}

/* === FOOTER LINKS === */
.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--faint);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--blue2);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* === SERVER DETAILS === */
.servers-full {
    padding: 40px 4% 120px;
    position: relative;
    z-index: 10;
}

.servers-full .server-tabs {
    margin-bottom: 40px;
}

.servers-full .server-display {
    min-height: auto;
}

.server-details {
    padding: 32px 40px 40px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}

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

.detail-card {
    padding: 24px;
    transition: var(--transition);
}

.detail-card:hover {
    border-color: var(--line2);
    transform: translateY(-4px);
}

.detail-card h4 {
    font: 800 1rem/1.2 'Exo 2';
    margin-bottom: 10px;
    color: var(--blue2);
}

.detail-card p {
    font-size: 12px;
    color: var(--faint);
    line-height: 1.5;
}

.panel-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    max-width: 500px;
}

.info-item {
    padding: 12px;
    background: rgba(8, 12, 23, 0.9);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.info-item .info-label {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
}

.info-item .info-value {
    font-size: 1rem;
    color: var(--text);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .ranks-grid { grid-template-columns: repeat(4, 1fr); }
    .rank-card.featured { grid-column: span 2; }
    .classes-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .servers-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .server-preview-card.featured { grid-column: span 2; grid-row: span 1; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card.featured { grid-column: span 2; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-side { flex-direction: row; }
    .panel-content { grid-template-columns: 1fr; }
    .panel-rank { order: -1; }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav {
        gap: 4px;
    }
    .nav-link {
        padding: 10px 10px 12px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        width: 260px;
        height: calc(100vh - 72px);
        background: var(--panel);
        border-left: 1px solid var(--line);
        padding: 24px;
        gap: 8px;
        transition: right var(--transition);
    }

    .nav.open { right: 0; }
    .nav-link { width: 100%; text-align: left; }
    .nav-cta { margin-left: 0; margin-top: 12px; width: 100%; text-align: center; }
    .menu-toggle { display: flex; }

    .rank-ring { width: 140px; height: 140px; }
    .rank-letter { font-size: 3.2rem; }

    .ranks-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-card.featured { grid-column: span 2; }

    .classes-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .servers-preview-grid { grid-template-columns: 1fr; }
    .server-preview-card.featured { grid-column: span 1; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; }
    .shop-grid { grid-template-columns: 1fr; }
    .details-grid { grid-template-columns: 1fr; }
    .panel-info-grid { grid-template-columns: 1fr; }

    .about-side { flex-direction: column; }
    .join-actions, .hero-actions, .panel-footer { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; }
    .ranks-grid { grid-template-columns: 1fr; }
    .rank-card.featured { grid-column: span 1; }
    .server-tabs { flex-direction: column; width: 100%; }
    .server-tab { width: 100%; }
    .topbar { padding: 0 4%; }
    .brand-title { font-size: 14px; }
}

/* === DLL ADDITIONS: AUTH / USER / PROFILE === */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
}

.auth-btn,
.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font: 700 11px 'Exo 2';
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--line2);
    background: rgba(8, 12, 23, 0.9);
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
}

.auth-btn:hover,
.profile-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #000;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line2);
}

/* === PAYMENT / PROFILE PAGES === */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    box-shadow: 0 0 30px rgba(63, 140, 255, 0.3);
}

.profile-info h2 {
    font: 800 2rem/1 'Exo 2';
    margin-bottom: 8px;
}

.profile-info p {
    color: var(--dim);
    font-size: 14px;
}

.balance-card {
    padding: 28px;
    text-align: center;
    background: linear-gradient(135deg, rgba(63, 140, 255, 0.1), var(--panel));
    border-color: rgba(63, 140, 255, 0.3);
}

.balance-card .info-label {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--dim);
    margin-bottom: 12px;
}

.balance-card .info-value {
    font: 900 2.6rem/1 'Exo 2';
    color: var(--gold);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    align-items: start;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(8, 12, 23, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
}

.history-item.pending { border-color: rgba(244, 196, 82, 0.3); }
.history-item.completed { border-color: rgba(78, 255, 145, 0.3); }
.history-item.failed { border-color: rgba(255, 77, 99, 0.3); }

.pay-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.pay-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pay-form input,
.pay-form select {
    padding: 14px 16px;
    background: rgba(8, 12, 23, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.pay-form input:focus,
.pay-form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 15px rgba(63, 140, 255, 0.2);
}

.pay-summary {
    padding: 24px;
    background: rgba(8, 12, 23, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 20px;
}

.pay-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--dim);
    font-size: 14px;
}

.pay-summary p.total {
    font: 800 1.3rem/1 'Exo 2';
    color: var(--gold);
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .profile-grid { grid-template-columns: 1fr; }
    .profile-header { justify-content: center; text-align: center; }
}

/* === PROFILE LAYOUT === */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

.profile-sidebar,
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-actions {
    margin-left: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row span {
    color: var(--dim);
}

.stat-row strong {
    color: var(--text);
    font-family: 'Exo 2', sans-serif;
}

#activity-list .history-item,
#privileges-list .history-item {
    padding: 14px 16px;
}

/* === SERVER PREVIEW GRID 3 CARDS === */
.servers-preview-grid {
    grid-template-columns: repeat(3, 1fr);
}

.server-preview-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
}

@media (max-width: 1200px) {
    .servers-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .servers-preview-grid { grid-template-columns: 1fr; }
}
