/* ============================================
   BLASTDAY NETWORK - Main Stylesheet
   Modern Gaming Theme with Glassmorphism
   ============================================ */

/* CSS Variables */
:root {
    --primary: #64b3f4;
    --primary-dark: #3d7bd9;
    --secondary: #7a6fb3;
    --accent: #f472b6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --gradient-primary: linear-gradient(135deg, #64b3f4 0%, #3d7bd9 50%, #7a6fb3 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    --gradient-glow: radial-gradient(circle, rgba(100, 179, 244, 0.08) 0%, transparent 70%);

    --shadow-glow: 0 0 20px rgba(100, 179, 244, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   MINECRAFT SKY & GROUND BACKGROUND
   ============================================ */

/* Sky - top 50% */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Cloud layer - soft distant clouds */
        radial-gradient(ellipse 220px 90px at 25% 30%, rgba(255,255,255,0.35) 0%, transparent 70%),
        radial-gradient(ellipse 260px 100px at 65% 25%, rgba(255,255,255,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 180px 75px at 90% 35%, rgba(255,255,255,0.32) 0%, transparent 70%),
        radial-gradient(ellipse 200px 85px at 45% 45%, rgba(255,255,255,0.22) 0%, transparent 70%),
        radial-gradient(ellipse 160px 70px at 15% 42%, rgba(255,255,255,0.25) 0%, transparent 70%),
        /* Cloud layer - brighter closer clouds */
        radial-gradient(ellipse 180px 80px at 10% 12%, rgba(255,255,255,0.65) 0%, transparent 65%),
        radial-gradient(ellipse 220px 95px at 50% 10%, rgba(255,255,255,0.6) 0%, transparent 65%),
        radial-gradient(ellipse 160px 70px at 80% 16%, rgba(255,255,255,0.55) 0%, transparent 65%),
        radial-gradient(ellipse 140px 65px at 35% 22%, rgba(255,255,255,0.5) 0%, transparent 65%),
        radial-gradient(ellipse 190px 85px at 70% 38%, rgba(255,255,255,0.45) 0%, transparent 65%),
        /* Sky gradient - deeper blue, fades to transparent at 50% */
        linear-gradient(180deg,
            #4A7BA0 0%,
            #5B8DB8 12%,
            #7AAED8 28%,
            #8FC4E0 40%,
            rgba(143, 196, 224, 0.85) 48%,
            rgba(143, 196, 224, 0.3) 52%,
            transparent 56%
        );
    z-index: -3;
}

/* Floating cloud animation layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 50%;
    background:
        radial-gradient(ellipse 250px 100px at 15% 22%, rgba(255,255,255,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 300px 120px at 50% 15%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 220px 90px at 80% 28%, rgba(255,255,255,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 200px 80px at 30% 40%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 260px 110px at 65% 35%, rgba(255,255,255,0.14) 0%, transparent 60%);
    animation: cloudDrift 80s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Minecraft Ground - bottom 50% */
.minecraft-bedrock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    min-height: 200px;
    background:
        /* Dirt pixel texture - horizontal speckles */
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 5px,
            rgba(20, 14, 6, 0.25) 5px, rgba(20, 14, 6, 0.25) 8px,
            transparent 8px, transparent 14px,
            rgba(18, 12, 5, 0.2) 14px, rgba(18, 12, 5, 0.2) 17px
        ),
        /* Dirt pixel texture - vertical speckles */
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 6px,
            rgba(22, 15, 7, 0.22) 6px, rgba(22, 15, 7, 0.22) 9px,
            transparent 9px, transparent 15px,
            rgba(16, 10, 4, 0.15) 15px, rgba(16, 10, 4, 0.15) 18px
        ),
        /* Base dirt gradient with horizon blend */
        linear-gradient(180deg,
            rgba(75, 60, 42, 0.3) 0%,
            rgba(85, 68, 48, 0.6) 3%,
            #5C4A30 6%,
            #4D3E28 20%,
            #3E3220 45%,
            #2F2618 70%,
            #1E1810 100%
        );
    z-index: -2;
}

/* Grass top strip - the horizon line */
.minecraft-bedrock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: repeating-linear-gradient(90deg,
        #3D5C1A 0px, #3D5C1A 6px,
        #4A7020 6px, #4A7020 12px,
        #5D8C22 12px, #5D8C22 16px,
        #4A7020 16px, #4A7020 22px,
        #3D5C1A 22px, #3D5C1A 28px,
        #4A7020 28px, #4A7020 34px,
        #5D8C22 34px, #5D8C22 40px
    );
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.12),
        0 3px 0 #5D8C22,
        0 6px 0 #4A7020,
        0 9px 0 #3D5C1A,
        0 12px 0 rgba(30, 22, 12, 0.4);
    z-index: 1;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism with Pixel Border Style */
.glass {
    background: rgba(18, 24, 30, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid rgba(80, 90, 80, 0.6);
    border-radius: 0;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.45),
        inset 2px 2px 0 rgba(255, 255, 255, 0.1),
        4px 4px 0 rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Pixel-style highlight corners */
.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    border-right: 2px solid rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(25, 35, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 4px solid #3d5c1a;
    box-shadow:
        inset 0 -2px 0 rgba(0, 0, 0, 0.35),
        0 4px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(18, 28, 22, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-logo:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(100, 179, 244, 0.08);
    border: 1px solid rgba(100, 179, 244, 0.2);
    border-radius: 8px;
    animation: fadeInUp 0.3s ease;
    transition: all 0.3s ease;
}

.nav-user:hover {
    background: rgba(100, 179, 244, 0.12);
    border-color: rgba(100, 179, 244, 0.3);
}

.nav-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-user-name strong {
    color: var(--primary);
    font-family: var(--font-heading);
}

.nav-user-logout {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.nav-user-logout:hover {
    background: var(--danger);
    color: white;
}

/* ============================================
   NAV RIGHT SIDE (Notification + User)
   ============================================ */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-notification {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-notification:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary);
    transform: translateY(-2px);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #4a4a4a;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.1),
        3px 3px 0 rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(180deg, #64b3f4 0%, #3d7bd9 100%);
    color: white;
    border-color: #007aa3;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.2),
        3px 3px 0 rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.2),
        4px 4px 0 rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(40, 40, 40, 0.8);
    color: var(--text-primary);
    border: 2px solid #5a5a5a;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-glow {
    background: linear-gradient(180deg, #64b3f4 0%, #3d7bd9 100%);
    color: white;
    border-color: #007aa3;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow:
            inset -2px -2px 0 rgba(0, 0, 0, 0.3),
            inset 2px 2px 0 rgba(255, 255, 255, 0.2),
            0 0 12px rgba(100, 179, 244, 0.25),
            0 0 24px rgba(100, 179, 244, 0.12);
    }
    50% {
        box-shadow:
            inset -2px -2px 0 rgba(0, 0, 0, 0.3),
            inset 2px 2px 0 rgba(255, 255, 255, 0.2),
            0 0 18px rgba(100, 179, 244, 0.35),
            0 0 36px rgba(100, 179, 244, 0.18);
    }
}

.btn-outline {
    background: rgba(100, 179, 244, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.btn-youtube,
.btn-youtube-large {
    background: #FF0000;
    color: white;
}

.btn-youtube:hover,
.btn-youtube-large:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease;
    flex: 1;
    min-width: 300px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success);
    border-radius: 50px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-logo-wrap {
    animation: logoFloat 4s ease-in-out infinite;
    margin-bottom: 16px;
}

.hero-logo {
    display: block;
    width: clamp(200px, 32vw, 380px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.35)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.15));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.55)) drop-shadow(0 0 60px rgba(0, 255, 255, 0.25));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.2), 0 0 30px rgba(138, 43, 226, 0.25);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #8a2be2 0%, #6a0dad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #b388ff;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35), 0 0 15px rgba(179, 136, 255, 0.2);
}

.tagline-gradient {
    background: linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6,
        #06b6d4,
        #3b82f6
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease infinite;
    font-weight: 600;
    text-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-sublabel {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.hero-login {
    width: 320px;
    padding: 30px;
    text-align: left;
    animation: fadeInUp 1s ease 0.3s both;
    flex-shrink: 0;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.login-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-group label i {
    color: var(--primary);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(10, 10, 15, 0.6);
    border: 2px solid #4a4a4a;
    outline: none;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05),
        0 0 10px rgba(100, 179, 244, 0.2);
}

.input-group input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.login-welcome {
    text-align: center;
}

.welcome-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border: 2px solid rgba(100, 179, 244, 0.3);
    font-size: 2rem;
    color: var(--primary);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.welcome-text strong {
    color: var(--primary);
    font-family: var(--font-heading);
}

/* Buy Buttons */
.rank-buy-btn,
.coin-buy-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 0.95rem;
}

.coin-buy-btn {
    margin-top: 12px;
}

/* Payment Modal */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.payment-modal-overlay.active {
    display: flex;
}

.payment-modal {
    width: 100%;
    max-width: 480px;
    padding: 0;
    position: relative;
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.payment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.payment-modal-close:hover {
    background: var(--danger);
    color: white;
}

.payment-step {
    padding: 30px;
}

.payment-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.payment-modal-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.payment-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.payment-modal-body {
    margin-bottom: 20px;
}

.payment-item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(100, 179, 244, 0.06);
    border: 1px solid rgba(100, 179, 244, 0.2);
    margin-bottom: 20px;
}

.payment-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.12);
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.payment-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.payment-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.payment-user-info {
    padding: 12px 15px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-user-info strong {
    color: var(--success);
}

.payment-login-prompt {
    text-align: center;
    padding: 20px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.payment-login-prompt p {
    color: var(--danger);
    margin-bottom: 15px;
}

.payment-modal-footer {
    display: flex;
    gap: 12px;
}

.payment-modal-footer .btn {
    flex: 1;
}

.upi-details {
    margin-bottom: 20px;
}

.upi-details > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.upi-details > div:last-child {
    border-bottom: none;
}

.upi-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upi-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.payment-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 0.8rem;
    color: #f59e0b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.payment-warning i {
    margin-top: 2px;
    flex-shrink: 0;
}

.upi-qr-container {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.upi-qr-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.upi-qr-label i {
    color: var(--primary);
    margin-right: 4px;
}

.upi-qr-code {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: white;
    padding: 8px;
}

.btn-upi-pay {
    width: 100%;
    margin-bottom: 10px;
    padding: 14px;
    font-size: 1rem;
}

.payment-divider {
    text-align: center;
    position: relative;
    margin: 15px 0;
}

.payment-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.payment-divider span {
    position: relative;
    background: rgba(15, 15, 25, 0.95);
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-success {
    background: var(--success);
    color: white;
    border: none;
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0 rgba(255, 255, 255, 0.2), 0 0 15px rgba(34, 197, 94, 0.3);
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0 rgba(255, 255, 255, 0.2), 0 0 25px rgba(34, 197, 94, 0.5);
}

.btn-success:disabled {
    background: #3a3a3a;
    color: #777;
    border: 2px solid #4a4a4a;
    cursor: not-allowed;
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0 rgba(255, 255, 255, 0.05);
    transform: none;
}

.btn-success:not(:disabled) {
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0 rgba(255, 255, 255, 0.2), 0 0 15px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.2), inset 2px 2px 0 rgba(255, 255, 255, 0.2), 0 0 30px rgba(34, 197, 94, 0.6); }
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 20px 10px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    font-size: 2.5rem;
    color: var(--success);
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.payment-success h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.success-order-details {
    background: rgba(100, 179, 244, 0.06);
    border: 1px solid rgba(100, 179, 244, 0.15);
    padding: 15px;
    margin: 18px 0;
    text-align: left;
}

.success-order-details p {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.success-order-details p:last-child {
    margin-bottom: 0;
}

.success-order-details span {
    color: var(--text-primary);
    font-weight: 600;
}

.success-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Order History */
.order-history-section {
    padding: 60px 0;
}

.order-history-card {
    padding: 25px;
    overflow-x: auto;
}

.order-history-table {
    width: 100%;
    border-collapse: collapse;
}

.order-history-table th,
.order-history-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-history-table th {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
}

.order-history-table td {
    color: var(--text-secondary);
}

.order-history-table td strong {
    color: var(--text-primary);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.order-history-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.order-history-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}

/* ============================================
   PAYMENT MODE SELECTION
   ============================================ */
.payment-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-mode-card {
    padding: 25px 20px;
    text-align: center;
    border: 2px solid rgba(100, 179, 244, 0.2);
    background: rgba(100, 179, 244, 0.05);
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-mode-card:hover:not(.disabled) {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(100, 179, 244, 0.15);
    transform: translateY(-2px);
}

.payment-mode-card.active {
    border-color: var(--primary);
    background: rgba(100, 179, 244, 0.1);
    box-shadow: 0 0 20px rgba(100, 179, 244, 0.2);
}

.payment-mode-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #3a3a3a;
    background: rgba(0, 0, 0, 0.2);
}

.mode-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.payment-mode-card.disabled .mode-icon {
    color: var(--text-muted);
}

.payment-mode-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 6px;
}

.payment-mode-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mode-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.mode-badge.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success);
}

/* ============================================
   MANUAL PAYMENT FORM
   ============================================ */
.payment-form-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}

.manual-form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
}

.form-group .required {
    color: var(--danger);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(10, 10, 15, 0.6);
    border: 2px solid #4a4a4a;
    outline: none;
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.3), inset 2px 2px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.3), inset 2px 2px 0 rgba(255, 255, 255, 0.05), 0 0 10px rgba(100, 179, 244, 0.2);
}

.form-group input.invalid {
    border-color: var(--danger);
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.3), inset 2px 2px 0 rgba(255, 255, 255, 0.05), 0 0 10px rgba(239, 68, 68, 0.2);
}

.field-error {
    display: none;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 6px;
}

.field-error.visible {
    display: block;
}

.qr-section {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 18px;
}

.qr-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.qr-title i {
    color: var(--primary);
    margin-right: 4px;
}

.upi-id-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-copy-small {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border: 1px solid rgba(100, 179, 244, 0.25);
    color: var(--primary);
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.btn-copy-small:hover {
    background: var(--primary);
    color: white;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #4a4a4a;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(10, 10, 15, 0.4);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(100, 179, 244, 0.05);
}

.upload-area i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.upload-area p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.upload-preview {
    position: relative;
    margin-top: 10px;
}

.upload-preview img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border: 2px solid rgba(100, 179, 244, 0.2);
}

.remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.7rem;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.admin-login-brand {
    margin-bottom: 30px;
}

.admin-login-brand i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.admin-login-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.admin-login-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-login-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.admin-login-form .btn {
    width: 100%;
    margin-top: 10px;
}

.login-error {
    display: none;
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 12px;
}

.login-error.visible {
    display: block;
}

/* Admin Dashboard */
.admin-dashboard {
    min-height: 100vh;
    padding-bottom: 40px;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.admin-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

.admin-header-brand i {
    font-size: 1.5rem;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: #f59e0b;
    color: white;
}

.admin-main {
    padding-top: 30px;
}

/* Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-left: 3px solid var(--primary);
    min-height: 80px;
    justify-content: flex-start;
}

.admin-stat-card.pending {
    border-left-color: #f59e0b;
}

.admin-stat-card.approved {
    border-left-color: var(--success);
}

.admin-stat-card.rejected {
    border-left-color: var(--danger);
}

.admin-stat-card i {
    font-size: 2rem;
    color: var(--primary);
}

.admin-stat-card.pending i {
    color: #f59e0b;
}

.admin-stat-card.approved i {
    color: var(--success);
}

.admin-stat-card.rejected i {
    color: var(--danger);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.admin-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(100, 179, 244, 0.05);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(100, 179, 244, 0.08);
}

/* Filters */
.admin-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-group label i {
    color: var(--primary);
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: rgba(10, 10, 15, 0.6);
    border: 2px solid #4a4a4a;
    outline: none;
    min-width: 140px;
}

.filter-group input {
    min-width: 200px;
}

/* Table */
.admin-table-card {
    padding: 0;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 12px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    white-space: nowrap;
}

/* Fixed column widths - Payments table only */
#adminPaymentsTable th:nth-child(1),
#adminPaymentsTable td:nth-child(1) { width: 13%; }
#adminPaymentsTable th:nth-child(2),
#adminPaymentsTable td:nth-child(2) { width: 13%; }
#adminPaymentsTable th:nth-child(3),
#adminPaymentsTable td:nth-child(3) { width: 8%; }
#adminPaymentsTable th:nth-child(4),
#adminPaymentsTable td:nth-child(4) { width: 13%; }
#adminPaymentsTable th:nth-child(5),
#adminPaymentsTable td:nth-child(5) { width: 9%; text-align: center; }
#adminPaymentsTable th:nth-child(6),
#adminPaymentsTable td:nth-child(6) { width: 9%; text-align: center; }
#adminPaymentsTable th:nth-child(7),
#adminPaymentsTable td:nth-child(7) { width: 9%; text-align: center; }
#adminPaymentsTable th:nth-child(8),
#adminPaymentsTable td:nth-child(8) { width: 11%; }
#adminPaymentsTable th:nth-child(9),
#adminPaymentsTable td:nth-child(9) { width: 15%; text-align: center; }

/* Center toggle in cell */
#adminPaymentsTable td:nth-child(7) .toggle-switch {
    margin: 0 auto;
    display: block;
}

/* Actions cell - keep buttons in one line */
#adminPaymentsTable td:nth-child(9) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    min-width: 140px;
}

.admin-table tbody tr:hover {
    background: rgba(100, 179, 244, 0.03);
}

.admin-table td strong {
    color: var(--text-primary);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.3);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-slider::before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(40, 167, 69, 0.4);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3), inset 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: #51cf66;
    box-shadow: 0 0 6px rgba(81, 207, 102, 0.5);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 2px rgba(100, 179, 244, 0.2);
}

.btn-action {
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-right: 4px;
    transition: var(--transition-fast);
}

.btn-approve {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-approve:hover {
    background: var(--success);
    color: white;
}

.btn-reject {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-reject:hover {
    background: var(--danger);
    color: white;
}

.btn-view {
    background: rgba(100, 179, 244, 0.1);
    color: var(--primary);
    border: 1px solid rgba(100, 179, 244, 0.25);
}

.btn-view:hover {
    background: var(--primary);
    color: white;
}

.btn-command {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-command:hover {
    background: #8b5cf6;
    color: white;
}

.btn-delete {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 5px 8px;
}

.btn-delete:hover {
    background: #dc3545;
    color: white;
}

.admin-empty {
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
}

.admin-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.4;
}

/* Screenshot Modal */
.screenshot-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.screenshot-modal-overlay.active {
    display: flex;
}

.screenshot-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.screenshot-modal img {
    max-width: 100%;
    max-height: 85vh;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.screenshot-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: var(--danger);
    cursor: pointer;
    font-size: 1rem;
}

.screenshot-close:hover {
    background: var(--danger);
    color: white;
}

/* Command Modal */
.command-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.command-modal-overlay.active {
    display: flex;
}

.command-modal {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    animation: scaleIn 0.3s ease;
}

.command-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.command-modal-header i {
    font-size: 2rem;
    color: #a78bfa;
    margin-bottom: 8px;
    display: block;
}

.command-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.command-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 12px;
}

.command-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #a78bfa;
    word-break: break-all;
}

.btn-copy-command {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.btn-copy-command:hover {
    background: #8b5cf6;
    color: white;
}

.command-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-header {
        padding: 12px 15px;
    }
    
    .admin-header-brand span {
        display: none;
    }
}

@media (max-width: 768px) {
    .admin-login-box {
        padding: 25px;
    }
    
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .admin-stat-card {
        padding: 15px;
    }
    
    .stat-num {
        font-size: 1.4rem;
    }
    
    .admin-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: auto;
    }
    
    .payment-mode-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-modal {
        max-width: 100%;
        margin: 10px;
    }
    
    .payment-form-body {
        max-height: 55vh;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.section-title i {
    color: var(--primary);
}

/* ============================================
   SERVER STATUS SECTION
   ============================================ */
.server-status-section {
    padding: 80px 0;
}

.status-card {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.status-dot.offline {
    background: var(--danger);
    box-shadow: 0 0 10px var(--danger);
}

.status-dot.loading {
    background: var(--warning);
    animation: pulse-dot 1s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-text.online {
    color: var(--success);
}

.status-text.offline {
    color: var(--danger);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border-radius: 0;
    border: 1px solid rgba(100, 179, 244, 0.15);
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-value.motd {
    font-size: 0.9rem;
    color: var(--primary);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ============================================
   MODES PREVIEW
   ============================================ */
.modes-preview {
    padding: 80px 0;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.mode-card {
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.mode-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.mode-card:hover::before {
    opacity: 0.05;
}

.mode-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border-radius: 0;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-normal);
    border: 2px solid rgba(100, 179, 244, 0.2);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
}

.mode-card:hover .mode-icon {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
    border-color: var(--primary);
}

.mode-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.mode-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.mode-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.mode-link:hover {
    gap: 10px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    text-align: center;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 150px 20px 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ============================================
   GAME MODES PAGE
   ============================================ */
.game-modes {
    padding: 40px 0 80px;
}

.mode-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.mode-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mode-icon-large {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(100, 179, 244, 0.15), rgba(0, 153, 204, 0.25));
    border-radius: 0;
    font-size: 4.5rem;
    color: var(--primary);
    border: 3px solid rgba(100, 179, 244, 0.4);
    box-shadow:
        inset -3px -3px 0 rgba(0, 0, 0, 0.3),
        inset 3px 3px 0 rgba(255, 255, 255, 0.1),
        4px 4px 0 rgba(0, 0, 0, 0.4);
}

.mode-icon-large.survival {
    color: var(--success);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25));
    border-color: rgba(16, 185, 129, 0.4);
}

.mode-icon-large.pvp {
    color: var(--danger);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.25));
    border-color: rgba(239, 68, 68, 0.4);
}

.mode-icon-large.bedwars {
    color: var(--accent);
    background: linear-gradient(180deg, rgba(244, 114, 182, 0.15), rgba(219, 39, 119, 0.25));
    border-color: rgba(244, 114, 182, 0.4);
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--warning);
    border-radius: 50px;
    color: var(--warning);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.mode-badge.blue {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
}

.mode-badge.red {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    color: var(--danger);
}

.mode-badge.purple {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    color: #a855f7;
}

.mode-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.mode-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.mode-features {
    margin-bottom: 25px;
}

.mode-features h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.mode-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.mode-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.mode-features li i {
    color: var(--success);
    font-size: 0.9rem;
}

.mode-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.mode-stat {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mode-stat .stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mode-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quick-join {
    padding: 40px 0 80px;
}

.join-card {
    text-align: center;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.join-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.join-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* ============================================
   VOTE PAGE
   ============================================ */
.rewards-section {
    padding: 40px 0 60px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.reward-card {
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
    border-radius: 0;
}

.reward-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.reward-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary);
}

.reward-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.reward-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.voting-links {
    padding: 40px 0 80px;
}

.vote-sites {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.vote-site {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
    border-radius: 0;
}

.vote-site:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.vote-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
}

.vote-site:hover .vote-number {
    opacity: 1;
}

.vote-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.vote-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.vote-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.vote-stats {
    padding: 40px 0 80px;
}

.stats-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.stats-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-list {
    margin-bottom: 20px;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-site {
    color: var(--text-secondary);
}

.ranking-position {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.ranking-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   MEDIA PAGE
   ============================================ */
.featured-video {
    padding: 40px 0 60px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 2px solid #4a4a4a;
}

.video-gallery {
    padding: 40px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.video-card {
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    gap: 10px;
}

.video-placeholder i {
    font-size: 3rem;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.youtube-cta {
    padding: 40px 0 80px;
}

.cta-youtube {
    text-align: center;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.youtube-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF0000;
    border-radius: 0;
    font-size: 2.5rem;
    color: white;
    border: 3px solid #aa0000;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.cta-youtube h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-youtube p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}



/* ============================================
   COMMUNITY PAGE
   ============================================ */
.community-stats {
    padding: 40px 0 60px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 30px 50px;
    min-width: 200px;
    border-radius: 0;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-box .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-box .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.social-platforms {
    padding: 40px 0 80px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.platform-card-new {
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition-normal);
}

.platform-card-new:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.platform-icon-new {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 2.2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.platform-icon-new.discord {
    background: #5865F2;
    color: white;
}

.platform-icon-new.youtube {
    background: #FF0000;
    color: white;
}

.platform-icon-new.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.platform-icon-new.twitch {
    background: #9146FF;
    color: white;
}

.platform-card-new h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-primary);
}

.platform-card-new p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.platform-card-new .btn {
    width: 100%;
    margin-top: 10px;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a01575 100%);
    transform: translateY(-2px);
}

.btn-twitch {
    background: #9146FF;
    color: white;
}

.btn-twitch:hover {
    background: #772CE8;
    transform: translateY(-2px);
}

.rules-section {
    padding: 80px 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rule-card {
    padding: 25px;
    position: relative;
}

.rule-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(100, 179, 244, 0.2);
}

.rule-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.rule-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.staff-section {
    padding: 40px 0 80px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.staff-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition-normal);
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    font-size: 2rem;
    color: var(--text-muted);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.staff-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.staff-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.staff-role.owner {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.staff-role.admin {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.staff-role.mod {
    background: rgba(100, 179, 244, 0.2);
    color: var(--primary);
}

.staff-role.helper {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.staff-role.management {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.staff-role.manager {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.staff-role.developer {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.staff-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   CURRENCY SELECTOR
   ============================================ */
.currency-section {
    padding: 20px 0 10px;
}

.currency-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.currency-selector label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-selector label i {
    color: var(--warning);
}

.currency-selector select {
    padding: 10px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid #4a4a4a;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    min-width: 220px;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.currency-selector select:hover {
    border-color: var(--primary);
}

.currency-selector select:focus {
    border-color: var(--primary);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05),
        0 0 10px rgba(100, 179, 244, 0.2);
}

.currency-selector select option {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   COINS SECTION
   ============================================ */
.coins-section {
    padding: 40px 0 60px;
}

.coins-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.coin-card {
    text-align: center;
    padding: 40px 50px;
    max-width: 320px;
    transition: var(--transition-normal);
}

.coin-card:hover {
    border-color: var(--warning);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 25px rgba(245, 158, 11, 0.15),
        4px 4px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.coin-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    font-size: 2rem;
    color: var(--warning);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
}

.coin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.coin-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.coin-price {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid #b45309;
    box-shadow:
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================
   PAYMENT SECTION
   ============================================ */
.payment-section {
    padding: 40px 0 60px;
}

.payment-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    font-size: 1.8rem;
    color: var(--success);
    flex-shrink: 0;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
}

.payment-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.upi-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upi-id span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.btn-copy {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border: 1px solid rgba(100, 179, 244, 0.3);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.payment-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 2px solid #007aa3;
    box-shadow:
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-top: 5px;
}

.step p strong {
    color: var(--text-primary);
}

.step p strong[style*="danger"] {
    color: var(--danger) !important;
    font-weight: 700;
}

/* ============================================
   RANK STORE PAGE
   ============================================ */
.rank-info {
    padding: 20px 0 40px;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.info-banner i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-banner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-banner strong {
    color: var(--primary);
}

.ranks-section {
    padding: 20px 0 60px;
}

.ranks-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.rank-card {
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
}

.rank-card:hover {
    border-color: var(--primary);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 25px rgba(100, 179, 244, 0.15),
        4px 4px 0 rgba(0, 0, 0, 0.5);
}

.rank-card.active {
    border-color: var(--primary);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 35px rgba(100, 179, 244, 0.2),
        4px 4px 0 rgba(0, 0, 0, 0.5);
}

.rank-card.rank-warden:hover {
    border-color: var(--warning);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 25px rgba(245, 158, 11, 0.2),
        4px 4px 0 rgba(0, 0, 0, 0.5);
}

.rank-card.rank-warden.active {
    border-color: var(--warning);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 35px rgba(245, 158, 11, 0.25),
        4px 4px 0 rgba(0, 0, 0, 0.5);
}

.rank-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    position: relative;
}

.rank-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 179, 244, 0.1);
    border: 2px solid rgba(100, 179, 244, 0.2);
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.2),
        inset 2px 2px 0 rgba(255, 255, 255, 0.05);
}

.rank-warden .rank-icon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.rank-title {
    flex: 1;
}

.rank-title h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rank-price {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #007aa3;
    box-shadow:
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.rank-warden .rank-price {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    border-color: #b45309;
}

.rank-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.rank-toggle i {
    transition: transform 0.3s ease;
}

.rank-card.active .rank-toggle i {
    transform: rotate(180deg);
}

.rank-card.active .rank-toggle {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.rank-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.rank-card.active .rank-body {
    max-height: 800px;
    padding: 0 30px 25px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(100, 179, 244, 0.1);
    border: 1px solid rgba(100, 179, 244, 0.2);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.rank-warden .rank-badge {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.rank-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.rank-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rank-features li i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.rank-features li strong {
    color: var(--text-primary);
}

.rank-includes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-includes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 30px;
    border-top: 4px solid #3d2f1f;
    background: rgba(15, 12, 8, 0.7);
    box-shadow:
        inset 0 2px 0 rgba(0, 0, 0, 0.3);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand i {
    color: var(--primary);
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .mode-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mode-image {
        order: -1;
    }
    
    .mode-icon-large {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }
    
    .mode-features ul {
        text-align: left;
    }
    
    .mode-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* Mobile: Nav Right Side */
    .nav-right {
        gap: 8px;
    }
    
    .nav-notification {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .notification-badge {
        min-width: 16px;
        height: 16px;
        font-size: 0.65rem;
        top: -3px;
        right: -3px;
    }

    .nav-user {
        padding: 6px 12px;
        gap: 8px;
    }

    .nav-user-name {
        font-size: 0.8rem;
    }
    
    .nav-user-logout {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .nav-link {
        padding: 15px;
        text-align: center;
    }

    .payment-modal {
        max-width: 100%;
        margin: 10px;
    }

    .payment-step {
        padding: 20px;
    }

    .payment-modal-footer {
        flex-direction: column;
    }

    .order-history-table th,
    .order-history-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .vote-site {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .vote-action {
        justify-content: center;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-features {
        grid-template-columns: 1fr;
    }
    
    .platform-header {
        flex-direction: column;
        text-align: center;
    }
    
    .rank-card {
        overflow: hidden;
        position: relative;
    }
    
    .rank-features {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: 70%;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 5px;
    }

    .rank-features li {
        scroll-snap-align: start;
        transition: all 0.3s ease;
        border-radius: 10px;
        padding: 8px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .rank-features li:active {
        transform: scale(0.96);
        box-shadow: 0 0 12px rgba(0, 200, 255, 0.6);
    }

    .rank-features li i {
        font-size: 0.8rem;
        width: 16px;
    }
    
    .rank-features::-webkit-scrollbar {
        display: none;
    }
    
    .rank-features {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .scroll-buttons {
        position: absolute;
        right: 10px;
        top: 10px;
        display: flex;
        gap: 5px;
        z-index: 10;
    }
    
    .scroll-buttons button {
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 5px 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.2s ease;
        backdrop-filter: blur(5px);
    }
    
    .scroll-buttons button:active {
        background: rgba(0, 200, 255, 0.3);
        transform: scale(0.95);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-login {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .mode-icon-large {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 300px;
    }

    .rank-header {
        padding: 20px;
        gap: 15px;
    }

    .rank-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .rank-title h3 {
        font-size: 1.2rem;
    }

    .payment-method {
        flex-direction: column;
        text-align: center;
    }

    .upi-id {
        justify-content: center;
    }

    .coin-card {
        padding: 30px 35px;
    }

    .currency-badge {
        bottom: 20px;
        right: 10px;
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .currency-selector {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .currency-selector select {
        min-width: 100%;
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TOP BUYERS LEADERBOARD
   ============================================ */
.top-buyers-section {
    padding: 80px 0;
    position: relative;
}

.top-buyers-section .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.leaderboard-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.leaderboard-header .section-title {
    margin-bottom: 5px;
}

.leaderboard-refresh {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* ============================================
   DONATE PAGE LAYOUT
   ============================================ */
.donate-section {
    padding: 80px 0;
    position: relative;
}

.donate-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.donate-layout-left {
    min-width: 0;
}

.donate-layout-left .donation-card-compact {
    max-width: 420px;
    margin: 0 auto;
}

.donate-layout-right {
    min-width: 0;
}

.donate-layout-right .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.top-buyers-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
}

.top-buyer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.top-buyer-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.top-buyer-card:hover {
    transform: translateX(6px);
    border-color: rgba(100, 179, 244, 0.3);
    box-shadow: 0 4px 20px rgba(100, 179, 244, 0.1);
}

.top-buyer-card:hover::before {
    opacity: 1;
}

.buyer-rank {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary);
}

.buyer-rank .rank-num {
    display: flex;
    align-items: center;
    justify-content: center;
}

.buyer-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.buyer-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.buyer-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Gold Rank (#1) */
.top-buyer-card.rank-gold {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
}

.top-buyer-card.rank-gold::before {
    background: linear-gradient(180deg, #ffd700, #ffb700);
    width: 5px;
}

.top-buyer-card.rank-gold:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.15);
}

.top-buyer-card.rank-gold .buyer-rank {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 183, 0, 0.1));
    color: #ffd700;
    font-size: 1.3rem;
}

.top-buyer-card.rank-gold .buyer-amount {
    color: #ffd700;
}

/* Silver Rank (#2) */
.top-buyer-card.rank-silver {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08) 0%, rgba(192, 192, 192, 0.02) 100%);
}

.top-buyer-card.rank-silver::before {
    background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
    width: 5px;
}

.top-buyer-card.rank-silver:hover {
    border-color: rgba(192, 192, 192, 0.6);
    box-shadow: 0 4px 25px rgba(192, 192, 192, 0.15);
}

.top-buyer-card.rank-silver .buyer-rank {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(160, 160, 160, 0.1));
    color: #c0c0c0;
    font-size: 1.2rem;
}

.top-buyer-card.rank-silver .buyer-amount {
    color: #c0c0c0;
}

/* Bronze Rank (#3) */
.top-buyer-card.rank-bronze {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08) 0%, rgba(205, 127, 50, 0.02) 100%);
}

.top-buyer-card.rank-bronze::before {
    background: linear-gradient(180deg, #cd7f32, #b87333);
    width: 5px;
}

.top-buyer-card.rank-bronze:hover {
    border-color: rgba(205, 127, 50, 0.6);
    box-shadow: 0 4px 25px rgba(205, 127, 50, 0.15);
}

.top-buyer-card.rank-bronze .buyer-rank {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(184, 115, 51, 0.1));
    color: #cd7f32;
    font-size: 1.2rem;
}

.top-buyer-card.rank-bronze .buyer-amount {
    color: #cd7f32;
}

/* Empty State */
.top-buyers-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: none;
}

.top-buyers-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.5;
}

.top-buyers-empty p {
    font-size: 1rem;
    font-family: var(--font-body);
}

/* Responsive */
@media (max-width: 768px) {
    .top-buyers-section {
        padding: 50px 0;
    }

    .donate-section {
        padding: 50px 0;
    }

    .donate-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .donate-layout-left .donation-card-compact {
        max-width: 100%;
    }

    .top-buyer-card {
        padding: 14px 18px;
        gap: 14px;
    }

    .buyer-rank {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .buyer-name {
        font-size: 0.95rem;
    }

    .buyer-amount {
        font-size: 1rem;
    }
}

/* ============================================
   COIN SELECTOR
   ============================================ */
.coin-card-interactive {
    max-width: 400px;
    width: 100%;
    padding: 40px 45px;
}

.coin-selector {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.coin-amount-display {
    text-align: center;
    font-family: var(--font-heading);
}

.coin-amount-display #coinAmountDisplay {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--warning);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.coin-amount-display .coin-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 6px;
    font-weight: 500;
}

.coin-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coin-slider-wrap input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.coin-slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
    border: 3px solid var(--bg-dark);
    transition: transform 0.15s ease;
}

.coin-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.coin-slider-wrap input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--warning), #d97706);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
    border: 3px solid var(--bg-dark);
}

.coin-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    padding: 0 4px;
}

.coin-price-live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius-sm);
}

.coin-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.coin-price-label i {
    margin-right: 4px;
    color: var(--warning);
}

.coin-price-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warning);
}

/* Responsive Coin Selector */
@media (max-width: 768px) {
    .coin-card-interactive {
        padding: 30px 25px;
        max-width: 100%;
    }

    .coin-amount-display #coinAmountDisplay {
        font-size: 1.8rem;
    }

    .coin-price-value {
        font-size: 1.1rem;
    }
}

/* ============================================
   COMPACT DONATION CARD (Sidebar)
   ============================================ */
.donation-card-compact {
    text-align: center;
    padding: 28px 24px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    transition: var(--transition-normal);
}

.donation-card-compact:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow:
        inset -2px -2px 0 rgba(0, 0, 0, 0.4),
        inset 2px 2px 0 rgba(255, 255, 255, 0.08),
        0 0 20px rgba(239, 68, 68, 0.12),
        4px 4px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.donation-card-compact h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
}

.donation-card-compact h3 i {
    color: var(--danger);
    font-size: 1rem;
}

.donation-compact-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.donation-compact-input {
    position: relative;
    margin-bottom: 12px;
}

.donation-compact-input input[type="number"] {
    width: 100%;
    padding: 12px 14px 12px 34px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.donation-compact-input input[type="number"]:focus {
    border-color: var(--danger);
}

.donation-compact-input input[type="number"]::-webkit-inner-spin-button,
.donation-compact-input input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    filter: invert(1);
}

.donation-compact-currency {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
}

.donation-compact-live {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.donation-compact-live span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--danger);
}

.donate-btn-compact {
    width: 100%;
    padding: 11px;
    font-size: 0.92rem;
    background: linear-gradient(135deg, var(--danger), #b91c1c);
}

.donate-btn-compact:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

/* Top Donators Compact */
.top-donators-compact .donators-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.top-donators-compact .donators-title i {
    color: var(--warning);
    font-size: 0.95rem;
}

/* ============================================
   STORE 2-COLUMN LAYOUT (Ranks + Coins)
   ============================================ */
.store-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.store-layout-left {
    min-width: 0;
}

.store-layout-right {
    position: sticky;
    top: 100px;
    align-self: start;
}

.coin-card-sidebar {
    text-align: center;
    padding: 35px 30px;
    width: 100%;
}

.coin-card-sidebar .coin-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

.coin-card-sidebar .coin-icon i {
    font-size: 1.8rem;
}

.coin-card-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.coin-card-sidebar .coin-desc {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.coin-card-sidebar .coin-selector {
    margin: 16px 0;
    gap: 12px;
}

.coin-card-sidebar .coin-amount-display #coinAmountDisplay {
    font-size: 1.8rem;
}

.coin-card-sidebar .coin-price-live {
    padding: 10px 14px;
}

.coin-card-sidebar .coin-price-value {
    font-size: 1.15rem;
}

.coin-card-sidebar .coin-buy-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 0.95rem;
}

/* Responsive Store Layout */
@media (max-width: 992px) {
    .store-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-layout-right {
        position: static;
        top: auto;
        align-self: auto;
    }

    .coin-card-sidebar {
        max-width: 400px;
        margin: 0 auto;
        padding: 30px 35px;
    }

    .coin-card-sidebar .coin-amount-display #coinAmountDisplay {
        font-size: 2rem;
    }

    .coin-card-sidebar .coin-price-value {
        font-size: 1.25rem;
    }
}

/* Social Platforms Responsive */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .platform-card-new {
        padding: 25px 20px;
    }
}

/* Payment Section Mobile Responsive */
@media (max-width: 768px) {
    .payment-card {
        padding: 15px;
        min-height: auto;
    }

    .payment-method {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .payment-info h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .upi-id {
        gap: 8px;
    }

    .upi-id span {
        font-size: 1rem;
    }

    .btn-copy {
        width: 30px;
        height: 30px;
    }

    .payment-steps {
        gap: 12px;
        margin-bottom: 20px;
    }

    .step {
        gap: 10px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .step p {
        font-size: 13px;
        line-height: 1.4;
        padding-top: 3px;
    }

    .payment-card .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
