/* ===================================
   VARIABLES & BASE STYLES
   =================================== */

:root {
    --primary: #dc143c;
    --primary-light: #ff4d6d;
    --primary-dark: #b01030;
    --primary-glow: rgba(220, 20, 60, 0.5);
    
    /* Dark theme with crimson tint */
    --dark-900: #0a0a0f;
    --dark-800: #12101a;
    --dark-700: #1a1520;
    --dark-600: #251a28;
    --dark-500: #352535;
    
    --light-100: rgba(255, 255, 255, 0.95);
    --light-200: rgba(255, 255, 255, 0.85);
    --light-300: rgba(255, 255, 255, 0.7);
    --light-400: rgba(255, 255, 255, 0.55);
    --light-500: rgba(255, 255, 255, 0.4);
    
    --discord: #dc143c;
    --discord-glow: rgba(220, 20, 60, 0.4);
    
    --success: #22c55e;
    --success-glow: rgba(34, 197, 94, 0.3);
    
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.3);
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-text: linear-gradient(135deg, #dc143c 0%, #ff4d6d 50%, #ff8fa3 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--dark-900);
    color: var(--light-100);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.font-display {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

::selection {
    background: var(--primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-800);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-500);
    border-radius: 5px;
    border: 2px solid var(--dark-800);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   3D BACKGROUND CANVAS
   =================================== */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 150% 100% at 0% 0%, rgba(220, 20, 60, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 150% 100% at 100% 0%, rgba(255, 77, 109, 0.025) 0%, transparent 60%),
        radial-gradient(ellipse 150% 100% at 100% 100%, rgba(220, 20, 60, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 150% 100% at 0% 100%, rgba(255, 77, 109, 0.025) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(176, 16, 48, 0.02) 0%, transparent 70%);
}

/* ===================================
   LOADER - 3D Orbital Design
   =================================== */

.loader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(ellipse at center, #15101a 0%, #0a0a0f 50%, #050508 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    perspective: 1500px;
}

.loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
    animation: floatParticle 10s ease-in-out infinite;
}

.particle:nth-child(1) { width: 6px; height: 6px; left: 8%; top: 15%; animation-delay: 0s; }
.particle:nth-child(2) { width: 8px; height: 8px; left: 88%; top: 12%; animation-delay: 1.2s; }
.particle:nth-child(3) { width: 5px; height: 5px; left: 75%; top: 75%; animation-delay: 2.4s; }
.particle:nth-child(4) { width: 7px; height: 7px; left: 12%; top: 80%; animation-delay: 3.6s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 45%; top: 8%; animation-delay: 4.8s; }
.particle:nth-child(6) { width: 5px; height: 5px; left: 25%; top: 88%; animation-delay: 6s; }
.particle:nth-child(7) { width: 6px; height: 6px; left: 92%; top: 55%; animation-delay: 7.2s; }
.particle:nth-child(8) { width: 7px; height: 7px; left: 3%; top: 45%; animation-delay: 8.4s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
    25% { transform: translateY(-30px) translateX(15px) scale(1.2); opacity: 0.8; }
    50% { transform: translateY(15px) translateX(-20px) scale(0.9); opacity: 0.5; }
    75% { transform: translateY(-20px) translateX(25px) scale(1.1); opacity: 0.9; }
}

/* 3D Geometric Shapes */
.loader-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform-style: preserve-3d;
}

.geo-shape {
    position: absolute;
    color: var(--primary);
    opacity: 0.25;
    animation: floatShape3D 12s ease-in-out infinite;
}

.geo-shape svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.shape-1 {
    width: 100px;
    height: 100px;
    left: 5%;
    top: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    right: 8%;
    top: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    right: 12%;
    bottom: 20%;
    animation-delay: 6s;
}

.shape-4 {
    width: 90px;
    height: 90px;
    left: 8%;
    bottom: 15%;
    animation-delay: 9s;
}

@keyframes floatShape3D {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg) rotateY(0deg); 
        opacity: 0.2; 
    }
    25% { 
        transform: translateY(-40px) rotateX(90deg) rotateY(45deg); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(20px) rotateX(180deg) rotateY(90deg); 
        opacity: 0.25; 
    }
    75% { 
        transform: translateY(-25px) rotateX(270deg) rotateY(135deg); 
        opacity: 0.45; 
    }
}

/* Main Loader Content */
.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Central Logo Container with Rings */
.orbit-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    margin-top: 30px;
}

/* Logo at Center */
.loader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.loader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 
        0 0 40px var(--primary-glow),
        0 0 80px rgba(220, 20, 60, 0.5),
        0 0 120px rgba(220, 20, 60, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
    border: 4px solid rgba(220, 20, 60, 0.4);
}

@keyframes logoGlow {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 
            0 0 40px var(--primary-glow),
            0 0 80px rgba(220, 20, 60, 0.5),
            0 0 120px rgba(220, 20, 60, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 
            0 0 60px var(--primary-glow),
            0 0 100px rgba(220, 20, 60, 0.6),
            0 0 150px rgba(220, 20, 60, 0.4);
    }
}

/* 3D Orbital Rings around Logo */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 450px;
    height: 450px;
    border-width: 4px;
    border-top-color: var(--primary);
    border-right-color: rgba(255, 77, 109, 0.6);
    transform: translate(-50%, -50%) rotateX(70deg);
    animation: spinRing1 4s linear infinite;
    box-shadow: 0 0 30px var(--primary-glow);
}

.orbit-2 {
    width: 380px;
    height: 380px;
    border-width: 3px;
    border-bottom-color: var(--primary-light);
    border-left-color: rgba(255, 143, 163, 0.5);
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg);
    animation: spinRing2 5s linear infinite reverse;
    box-shadow: 0 0 25px rgba(255, 77, 109, 0.4);
}

.orbit-3 {
    width: 310px;
    height: 310px;
    border-width: 3px;
    border-top-color: rgba(255, 77, 109, 0.7);
    border-right-color: rgba(220, 20, 60, 0.4);
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(-60deg);
    animation: spinRing3 6s linear infinite;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.orbit-4 {
    width: 240px;
    height: 240px;
    border-width: 2px;
    border-bottom-color: rgba(220, 20, 60, 0.6);
    border-left-color: rgba(255, 77, 109, 0.4);
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(30deg);
    animation: spinRing4 3.5s linear infinite reverse;
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.25);
}

@keyframes spinRing1 {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

@keyframes spinRing2 {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg) rotateZ(360deg); }
}

@keyframes spinRing3 {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(-60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(-60deg) rotateZ(360deg); }
}

@keyframes spinRing4 {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(30deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(30deg) rotateZ(360deg); }
}

/* Orbiting Dots */
.orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-glow), 0 0 30px var(--primary-glow);
}

.dot-1 { width: 12px; height: 12px; animation: orbitDot1 4s linear infinite; }
.dot-2 { width: 10px; height: 10px; background: var(--primary-light); animation: orbitDot2 5s linear infinite; }
.dot-3 { width: 8px; height: 8px; animation: orbitDot3 6s linear infinite; }
.dot-4 { width: 14px; height: 14px; animation: orbitDot4 3.5s linear infinite; }
.dot-5 { width: 7px; height: 7px; background: var(--primary-light); animation: orbitDot5 4.5s linear infinite; }
.dot-6 { width: 9px; height: 9px; animation: orbitDot6 5.5s linear infinite; }

@keyframes orbitDot1 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(225px); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(225px); }
}

@keyframes orbitDot2 {
    0% { transform: translate(-50%, -50%) rotate(60deg) translateX(190px); }
    100% { transform: translate(-50%, -50%) rotate(420deg) translateX(190px); }
}

@keyframes orbitDot3 {
    0% { transform: translate(-50%, -50%) rotate(120deg) translateX(155px); }
    100% { transform: translate(-50%, -50%) rotate(480deg) translateX(155px); }
}

@keyframes orbitDot4 {
    0% { transform: translate(-50%, -50%) rotate(180deg) translateX(120px); }
    100% { transform: translate(-50%, -50%) rotate(540deg) translateX(120px); }
}

@keyframes orbitDot5 {
    0% { transform: translate(-50%, -50%) rotate(240deg) translateX(205px); }
    100% { transform: translate(-50%, -50%) rotate(600deg) translateX(205px); }
}

@keyframes orbitDot6 {
    0% { transform: translate(-50%, -50%) rotate(300deg) translateX(175px); }
    100% { transform: translate(-50%, -50%) rotate(660deg) translateX(175px); }
}

/* Loader Info */
.loader-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.init-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 5px;
    text-shadow: 0 0 20px var(--primary-glow);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { opacity: 0.7; text-shadow: 0 0 20px var(--primary-glow); }
    50% { opacity: 1; text-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

.progress-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar-container {
    width: 280px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    box-shadow: 0 0 20px var(--primary-glow), 0 0 40px rgba(220, 20, 60, 0.3);
    transition: width 0.1s ease-out;
}

.progress-percent {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    color: var(--light-300);
    letter-spacing: 3px;
}

/* ===================================
   NAVBAR - Floating Pill Style
   =================================== */

.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    width: auto;
    max-width: 95%;
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
        padding: 0.75rem 1rem;
        left: 0;
        right: 0;
        background: transparent !important;
        border: none;
        box-shadow: none !important;
        backdrop-filter: none !important;
        transform: none;
        border-radius: 0;
        max-width: none;
        width: 100%;
    }
}

.navbar.scrolled {
    background: rgba(10, 12, 18, 0.95);
    backdrop-filter: blur(25px);
    border-color: rgba(220, 20, 60, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .navbar.scrolled {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    width: 100%;
}

@media (max-width: 768px) {
    .nav-content {
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0;
        width: 100%;
        flex-direction: row;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-mark {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.2);
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(220, 20, 60, 0.4);
    box-shadow: 0 2px 15px rgba(220, 20, 60, 0.3);
}

@media (max-width: 768px) {
    .logo {
        padding: 0.25rem;
    }
    
    .logo-mark {
        width: 60px;
        height: 60px;
    }
}

.logo-mark img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .logo-mark img {
        width: 45px;
        height: 45px;
    }
}

.logo-mark svg {
    display: none;
}

.logo-text {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .logo {
        padding: 0.25rem;
        gap: 0;
    }
    
    .logo-text {
        display: none;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    background: rgba(20, 22, 30, 0.9);
    padding: 0.3rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex: 1;
    justify-content: center;
    max-width: fit-content;
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    color: var(--light-400);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--light-100);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: white;
    background: rgba(220, 20, 60, 0.25);
    border: 1px solid rgba(220, 20, 60, 0.4);
}

.nav-icon {
    width: 16px;
    height: 16px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.25);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .discord-btn {
        display: none !important;
    }
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.35);
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    transform: scale(1.05);
}

.discord-icon {
    width: 20px;
    height: 20px;
    color: #5865F2;
}

@media (max-width: 768px) {
    .discord-icon {
        width: 18px;
        height: 18px;
    }
}

.discord-text {
    display: none; /* Hide text in compact navbar */
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
        padding: 14px;
        background: rgba(20, 22, 30, 0.9);
        border: 1px solid rgba(220, 20, 60, 0.3);
        backdrop-filter: blur(10px);
        border-radius: 12px;
    }
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-line {
        width: 30px;
        height: 3px;
    }
}

/* Mobile Menu - Dark Theme with Cyan/Crimson Accents */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 18, 25, 0.98);
    backdrop-filter: blur(30px);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    border-left: 1px solid rgba(220, 20, 60, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: none;
    visibility: hidden;
    opacity: 0;
}

/* Only show mobile menu on mobile screens */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
}

/* Always hide on desktop */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        right: -100% !important;
    }
}

.mobile-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(220, 20, 60, 0.25);
    border-color: rgba(220, 20, 60, 0.5);
}

.close-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 4rem;
    padding: 0.5rem;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    color: var(--light-300);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    right: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-link:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: rgba(220, 20, 60, 0.2);
    color: var(--light-100);
}

.mobile-link.active {
    background: rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.4);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.mobile-link.active::after {
    opacity: 1;
}

.mobile-icon {
    width: 20px;
    height: 20px;
    color: var(--light-400);
}

.mobile-link:hover .mobile-icon {
    color: var(--primary-light);
}

.mobile-link.active .mobile-icon {
    color: var(--primary-light);
}

.mobile-discord {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-top: 1rem;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 10px;
    color: #7289DA;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.mobile-discord svg {
    width: 20px;
    height: 20px;
    color: #7289DA;
}

.mobile-discord:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
    color: #899FE8;
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main-content {
    position: relative;
    z-index: 10;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Rotating Rings */
.logo-ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
}

.ring-outer {
    width: 200px;
    height: 200px;
    border-width: 5px;
    border-top-color: var(--primary);
    border-right-color: rgba(255, 77, 109, 0.6);
    animation: rotateHeroRing1 3s linear infinite;
    box-shadow: 
        0 0 35px var(--primary-glow),
        inset 0 0 30px rgba(255, 77, 109, 0.15);
}

.ring-middle {
    width: 160px;
    height: 160px;
    border-width: 4px;
    border-bottom-color: var(--primary-light);
    border-left-color: rgba(255, 143, 163, 0.5);
    animation: rotateHeroRing2 2.5s linear infinite reverse;
    box-shadow: 
        0 0 30px rgba(255, 143, 163, 0.35),
        inset 0 0 25px rgba(255, 143, 163, 0.12);
}

.ring-inner {
    width: 120px;
    height: 120px;
    border-width: 3px;
    border-top-color: var(--primary);
    border-left-color: rgba(255, 77, 109, 0.4);
    animation: rotateHeroRing3 2s linear infinite;
    box-shadow: 
        0 0 25px var(--primary-glow),
        inset 0 0 20px rgba(255, 77, 109, 0.1);
}

/* Hero Ring Animations */
@keyframes rotateHeroRing1 {
    0% { transform: rotateX(35deg) rotateY(0deg); }
    100% { transform: rotateX(35deg) rotateY(360deg); }
}

@keyframes rotateHeroRing2 {
    0% { transform: rotateX(-25deg) rotateZ(0deg); }
    100% { transform: rotateX(-25deg) rotateZ(360deg); }
}

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

.logo-image-container {
    position: relative;
    z-index: 10;
}

.hero-logo-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px var(--primary-glow);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 40px var(--primary-glow);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 0 60px var(--primary-glow), 0 0 80px rgba(255, 77, 109, 0.3);
    }
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 20px var(--success-glow);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--success);
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 var(--success-glow);
    }
    50% { 
        opacity: 0.8; 
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-role {
    font-size: 1.2rem;
    color: var(--light-200);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.hero-desc {
    color: var(--light-400);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 25px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tech-label {
    font-size: 0.8rem;
    color: var(--light-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.tech-icons {
    display: flex;
    gap: 0.75rem;
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    color: var(--light-300);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    color: var(--primary-light);
    border-color: rgba(255, 77, 109, 0.4);
    background: rgba(255, 77, 109, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.tech-icon svg {
    width: 22px;
    height: 22px;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    border-color: rgba(255, 77, 109, 0.3);
    background: rgba(255, 77, 109, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.15);
}

.stat-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light-100);
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--light-400);
    margin-top: 6px;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 77, 109, 0.12);
    border: 1px solid rgba(255, 77, 109, 0.25);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--light-400);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(20, 22, 30, 0.85);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 24px;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-glow.discord {
    background: radial-gradient(circle, var(--discord-glow) 0%, transparent 70%);
}

.service-card:hover {
    background: rgba(20, 22, 30, 0.95);
    border-color: rgba(255, 77, 109, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 77, 109, 0.2);
}

.service-card:hover .service-card-glow {
    opacity: 0.5;
}

.service-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(255, 77, 109, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: rgba(255, 77, 109, 0.25);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.service-icon-wrap.discord {
    background: rgba(88, 101, 242, 0.15);
}

.service-card:hover .service-icon-wrap.discord {
    background: rgba(88, 101, 242, 0.25);
    box-shadow: 0 8px 25px var(--discord-glow);
}

.service-icon-wrap.discord .service-icon {
    color: var(--discord);
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light-100);
}

.service-desc {
    color: var(--light-400);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-cta {
    text-align: center;
    margin-top: 3.5rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 77, 109, 0.1);
}

.cta-link:hover {
    gap: 16px;
    background: rgba(255, 77, 109, 0.2);
}

.cta-link svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    position: relative;
    z-index: 10;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 15, 20, 0) 0%, rgba(15, 15, 20, 0.9) 100%);
}

.footer-content {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-left {
        align-items: flex-start;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-brand {
        flex-direction: row;
    }
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.footer-name {
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--light-400);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-300);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
    background: rgba(255, 77, 109, 0.1);
}

.footer-link svg {
    width: 18px;
    height: 18px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

@media (max-width: 767px) {
    .footer-right {
        align-items: center;
    }
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(220, 20, 60, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
    border-color: var(--primary);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.footer-copyright {
    color: var(--light-500);
    font-size: 0.85rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.made-with {
    color: var(--light-500);
    font-size: 0.85rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .logo-wrapper {
        width: 160px;
        height: 160px;
    }
    
    .ring-outer {
        width: 160px;
        height: 160px;
    }
    
    .ring-middle {
        width: 130px;
        height: 130px;
    }
    
    .ring-inner {
        width: 100px;
        height: 100px;
    }
    
    .hero-logo-image {
        width: 70px;
        height: 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tech-icon {
        width: 42px;
        height: 42px;
    }
}
/* ===================================
   COMMENTS SECTION STYLES
   =================================== */

.comments-section {
    position: relative;
    padding: 100px 0;
    z-index: 2;
}

.comments-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

/* Comment Form */
.comment-form-wrapper {
    display: flex;
    flex-direction: column;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-input,
.form-textarea {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    color: var(--light-100);
    font-family: inherit;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--dark-700);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--light-400);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-size: 14px;
}

.char-count {
    font-size: 12px;
    color: var(--light-400);
    display: flex;
    justify-content: flex-end;
}

.form-error {
    font-size: 12px;
    color: #ff6b6b;
    min-height: 16px;
    display: block;
}

.comment-form .btn {
    margin-top: 12px;
}

/* Comments List */
.comments-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: var(--dark-800);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.comment-item {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    animation: slideInRight 0.4s ease;
}

.comment-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 600;
    color: var(--light-100);
    font-size: 15px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-date {
    font-size: 12px;
    color: var(--light-400);
    white-space: nowrap;
}

.comment-delete-btn {
    background: transparent;
    border: none;
    color: var(--light-400);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.comment-delete-btn:hover {
    background: rgba(220, 20, 60, 0.15);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.comment-delete-btn svg {
    width: 16px;
    height: 16px;
}

.comment-text {
    color: var(--light-200);
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.empty-comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 16px;
    color: var(--light-400);
}

.empty-comments svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.empty-comments p {
    font-size: 14px;
}

/* Success Message */
.success-message {
    background: var(--success-glow);
    border: 1px solid var(--success);
    color: var(--light-100);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comments-list {
        max-height: none;
    }
    
    .comment-item {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .comments-section {
        padding: 60px 0;
    }
    
    .comments-container {
        gap: 30px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevent zoom on mobile */
    }
    
    .comment-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .comment-date {
        display: none;
    }
}