/* ==========================================================================
   CYORIA SMP - CUSTOM VANILLA CSS STYLESHEET
   Hand-crafted with Glassmorphism, Neon Glow, and Responsive Fluid Layouts
   ========================================================================== */

/* --- [ BASE RESET & DESIGN TOKENS ] --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f0ff;
    --secondary: #0088ff;
    --accent: #00e5ff;
    --bg-dark: #020108;
    --bg-card: rgba(5, 5, 15, 0.45);
    --glass-border: rgba(0, 240, 255, 0.12);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --text-muted: #94a3b8;
    --text-light: #e2e8f0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

/* --- [ UTILITIES & LAYOUT ] --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.max-w-4xl {
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}

.max-w-7xl {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid {
    display: grid;
}

/* --- [ GLASSMORPHISM ] --- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15);
}

.glass-strong {
    background: rgba(2, 1, 8, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* --- [ TEXT EFFECT & TYPOGRAPHY ] --- */
.gradient-text {
    background: linear-gradient(135deg, #00f0ff, #0088ff, #7dd3fc, #00f0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 4s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 136, 255, 0.05) 0%, transparent 40%);
}

.font-orbitron { font-family: var(--font-accent); }
.font-montserrat { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }

/* --- [ BUTTONS & BADGES ] --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00f0ff, #0088ff);
    color: #000;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 255, 0.1);
    color: #60a5fa;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 136, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
.btn-secondary:hover {
    background: rgba(0, 136, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 136, 255, 0.15);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.badge-primary {
    background: rgba(0, 240, 255, 0.08);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.15);
}
.badge-success {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* --- [ NAVBAR ] --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.navbar.scrolled {
    background: rgba(2, 1, 8, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    transition: height 0.3s ease;
}
.navbar.scrolled .nav-container {
    height: 80px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
    transition: all 0.3s;
}
.navbar.scrolled .nav-logo img {
    width: 48px;
    height: 48px;
}
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
}
.logo-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 2px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
}
.lang-btn {
    border: none;
    background: none;
    font-size: 9px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
}
.lang-btn.active {
    background: var(--primary);
    color: #000;
}
.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}
.btn-discord {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #60a5fa;
}
.btn-discord:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #fff;
    transform: translateY(-2px);
}
.btn-hamburger {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 4px;
}
.btn-hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
}

/* --- [ HERO SECTION ] --- */
.scene {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}
.layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding-top: 140px;
}
.layer-main {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    z-index: 30;
}
.layer-content {
    pointer-events: auto;
    width: 100%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}
.hero-text {
    text-align: left;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}
.hero-title .smp {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.95);
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.hero-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}
.ip-bento {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 6px;
    margin-bottom: 2rem;
    max-width: 440px;
}
.ip-bento-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ip-info {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
}
.ip-label {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.ip-address {
    font-family: var(--font-mono);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}
.btn-copy {
    background: var(--primary);
    color: #000;
    font-weight: 900;
    border: none;
    padding: 16px 28px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}
.btn-copy:hover {
    background: var(--accent);
    transform: scale(1.02);
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-buttons a {
    min-width: 160px;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    opacity: 0.7;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-accent);
    color: var(--primary);
}
.stat-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

/* Hero 3D Logo Stinger */
.hero-stinger {
    display: flex;
    justify-content: center;
    position: relative;
}
.stinger-wrapper {
    position: relative;
    animation: float-slow 12s ease-in-out infinite;
}
.glow-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(1.5);
}
.circle-border-1 {
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 50%;
    animation: spin-slow 25s linear infinite;
}
.circle-border-2 {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(0, 136, 255, 0.08);
    border-radius: 50%;
    animation: spin-slow 18s linear infinite reverse;
}
.logo-box {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.tps-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 240, 255, 0.4);
}
.tps-badge-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-ring 1.5s ease-in-out infinite;
}

/* --- [ 5 EMPERORS SECTION ] --- */
.emperors-section {
    padding: 6rem 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}
.emperor-card {
    position: relative;
    overflow: hidden;
    padding: 2.25rem;
}
.emperor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 240, 255, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.emperor-card:hover::before { opacity: 1; }
.emperor-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(0, 240, 255, 0.3);
}
.emperor-card-large {
    grid-column: span 8;
}
.emperor-card-small {
    grid-column: span 4;
}
.emperor-card-medium {
    grid-column: span 6;
}
.emperor-large-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    height: 100%;
}
.emperor-icon-large {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    background: linear-gradient(135deg, #00f0ff, #0088ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
    transition: transform 0.5s;
}
.emperor-card:hover .emperor-icon-large {
    transform: scale(1.08);
}
.emperor-large-text {
    flex: 1;
    text-align: left;
}
.emperor-rank {
    font-size: 10px;
    font-family: var(--font-accent);
    color: var(--primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}
.emperor-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: #fff;
}
.emperor-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.badge-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.emperor-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: transform 0.3s;
}
.emperor-card:hover .emperor-icon-small {
    transform: rotate(10deg) scale(1.08);
}
.icon-red { background: linear-gradient(135deg, #ef4444, #ea580c); }
.icon-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.icon-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.emperor-header-small {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* --- [ FEATURES SECTION ] --- */
.features-section {
    padding: 6rem 0;
}
.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}
.features-header-text {
    text-align: left;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    padding: 2.25rem;
    position: relative;
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--primary);
    transform: scale(1.08);
}
.feature-title {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: #fff;
}
.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.feature-arrow {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover .feature-arrow {
    opacity: 1;
}

/* --- [ CTA SECTION ] --- */
.cta-section {
    padding: 6rem 0;
}
.cta-box {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}
.cta-box-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(0, 136, 255, 0.06));
    z-index: -1;
}
.cta-glow-1 {
    position: absolute;
    top: -96px;
    left: -96px;
    width: 256px;
    height: 256px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-glow-2 {
    position: absolute;
    bottom: -96px;
    right: -96px;
    width: 256px;
    height: 256px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.cta-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cta-buttons a {
    min-width: 180px;
}

/* --- [ FOOTER SECTION ] --- */
.footer {
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}
.footer-logo-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}
.footer-icon-square {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00f0ff, #0088ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-weight: 700;
    color: #000;
    font-size: 1.2rem;
}
.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 360px;
}
.footer-col-title {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    text-align: left;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}
.footer-socials {
    display: flex;
    gap: 1.5rem;
}
.footer-socials a {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-socials a:hover {
    color: #fff;
}

/* --- [ MOBILE DRAWER ] --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(2, 1, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-overlay.active {
    transform: translateX(0);
}
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem;
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}
.mobile-menu-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.btn-mobile-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-accent);
    text-align: left;
}
.mobile-menu-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}
.mobile-menu-links a:hover {
    color: var(--primary);
}
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-menu-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu-lang span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.btn-mobile-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    color: #60a5fa;
    font-weight: 700;
    padding: 16px;
    transition: all 0.3s;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn-mobile-discord:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #fff;
}

/* --- [ PORTAL PAGE / METRICS SYSTEM ] --- */
.portal-header {
    text-align: center;
    margin-bottom: 4rem;
}
.portal-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.portal-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.portal-grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.ip-display-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ip-display-box-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ip-display-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 6px;
}
.progress-fill {
    height: 100%;
    transition: width 1s ease;
}
.player-list-scroll {
    overflow-y: auto;
    padding-right: 0.5rem;
}
.player-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 0.75rem;
}
.player-list-item img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}
.json-viewer {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.6;
}
.json-key { color: #0088ff; }
.json-string { color: #00f0ff; }

/* --- [ STORE PAGE / E-COMMERCE GATEWAY ] --- */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.category-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}
.category-tab:hover, .category-tab.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    transform: translateY(-2px);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.product-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 240, 255, 0.35);
}
.product-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.product-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.product-price-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.5rem;
}
.product-price-real {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-accent);
    color: var(--primary);
}
.product-price-divider {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
}
.product-price-game {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    font-family: var(--font-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.product-features-list {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: left;
    width: 100%;
    margin-bottom: 2rem;
    height: 120px;
    overflow-y: auto;
}
.product-features-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.product-features-list li i {
    color: var(--primary);
    margin-right: 8px;
}
.hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444, #ea580c);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* --- [ PURCHASE MODAL ] --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(2, 1, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    max-width: 512px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover {
    color: #fff;
}
.modal-product-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 2rem;
}
.modal-product-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.payment-option-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}
.payment-option-btn:hover:not(.disabled) {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.payment-option-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.payment-option-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.payment-option-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}
.payment-option-text {
    font-weight: 700;
    font-size: 13.5px;
    color: #fff;
}
.payment-option-balance {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}
.payment-option-price {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 13.5px;
}

/* --- [ DOCUMENT PAGE / LEGAL CONTENT ] --- */
.doc-section {
    padding: 2.25rem;
    margin-bottom: 2rem;
}
.doc-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.doc-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.doc-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}
.doc-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.doc-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- [ ANIMATIONS ] --- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}
.animate-float { animation: float-slow 12s ease-in-out infinite; }

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow { animation: spin-slow 24s linear infinite; }

@keyframes border-glow {
    0%, 100% { border-color: rgba(0, 240, 255, 0.12); }
    50% { border-color: rgba(0, 240, 255, 0.4); }
}
.animate-border-glow { animation: border-glow 3s ease-in-out infinite; }

@keyframes logo-glow {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.05); opacity: 1; }
}
.animate-logo-glow {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.45));
    animation: logo-glow 3s ease-in-out infinite;
    will-change: transform, opacity;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: pulse-ring 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.status-online {
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}
.status-offline {
    background: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}
.status-loading {
    background: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    animation: spin-slow 2s linear infinite;
    border-radius: 2px;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(3, 2, 8, 0.5);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

/* --- [ MEDIA QUERIES (RESPONSIVE FLUIDITY) ] --- */
@media (max-width: 1023px) {
    .hide-on-mobile { display: none !important; }
    .nav-menu { display: none; }
    .btn-hamburger { display: flex; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-text { text-align: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-title .smp { font-size: 2.6rem; }
    .ip-bento { margin: 0 auto 2rem auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-stinger { display: none; }
    
    .emperor-large-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .emperor-icon-large { margin: 0 auto; }
    .emperor-large-text { text-align: center; }
    .badge-list { justify-content: center; }
    .emperor-card-large { grid-column: span 12; }
    .emperor-card-small { grid-column: span 12; }
    .emperor-card-medium { grid-column: span 12; }
    .bento-grid { gap: 1rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    .features-header { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand { align-items: center; text-align: center; }
    .footer-links { text-align: center; }
    .footer-col-title { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    
    .portal-grid-2 { grid-template-columns: 1fr; }
    .portal-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .portal-grid-3 { grid-template-columns: 1fr; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .logo-subtitle { display: none; }
    .nav-status { display: none; }
    .btn-discord { display: none; }
    .ip-bento-inner { flex-direction: column; }
    .ip-info { width: 100%; text-align: center; }
    .btn-copy { width: 100%; }
    .hero-title { font-size: 2.8rem; }
    .hero-title .smp { font-size: 2rem; }
    
    .portal-grid-4 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem; }
}

/* Pause animations when modal or mobile menu is active */
body:has(.cyoria-modal-overlay.active) *,
body:has(.modal-overlay.active) *,
body:has(.mobile-menu-overlay.active) * {
    animation-play-state: paused !important;
}
