/* =============================================
   GAIO Events - Premium Design System
   World-Class Visual Experience
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Design Tokens ---- */
:root {
    /* Core palette */
    --bg-deep: #060918;
    --bg-dark: #0a0f1e;
    --bg-surface: #111827;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);

    /* Gradient colors */
    --gradient-start: #0a0f1e;
    --gradient-mid: #1a1a3e;
    --gradient-end: #0f172a;
    --accent-cyan: #00d4ff;
    --accent-teal: #0d9488;
    --accent-emerald: #10b981;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #ffffff;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.1);

    /* Glow */
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --glow-teal: 0 0 20px rgba(13, 148, 136, 0.3);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.2);

    /* Transitions */
    --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s var(--ease-premium);
    --transition-slow: all 0.5s var(--ease-premium);
}

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

html { scroll-behavior: smooth; }

/* ---- Body with Mesh Background ---- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-deep);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated mesh gradient on body */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 75%, rgba(0, 212, 255, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 10%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #060918 0%, #0a0f1e 30%, #111827 70%, #060918 100%);
    animation: mesh-drift 20s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 10%, 0% 0%;
    }
    100% {
        background-position: 20% 30%, 70% 60%, 40% 70%, 60% 30%, 0% 0%;
    }
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #38bdf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glass Card ---- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    transition: var(--transition-base);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), var(--glow-blue);
    transform: translateY(-4px);
}

.glass-card-static {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

/* ---- Premium Cards ---- */
.card-hover {
    transition: var(--transition-base);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.card-hover:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--glass-hover);
}

/* ---- Hero Section ---- */
.hero-gradient {
    background: linear-gradient(135deg, #060918 0%, #0f1b3d 30%, #1a1a3e 60%, #0d1f4a 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 30%, rgba(236, 72, 153, 0.06) 0%, transparent 40%);
    animation: hero-glow 12s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.hero-pattern {
    position: relative;
    z-index: 1;
}

/* Floating particles for hero */
.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(0, 212, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 15% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 40%, rgba(139, 92, 246, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 50%, rgba(99, 102, 241, 0.4) 0%, transparent 100%);
    animation: float-particles 25s linear infinite alternate;
    z-index: 0;
}

@keyframes float-particles {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-20px) translateX(10px); }
}

/* ---- Navbar ---- */
.nav-glass {
    background: rgba(6, 9, 24, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-base);
}

.nav-glass.scrolled {
    background: rgba(6, 9, 24, 0.85);
    border-bottom-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.05);
}

.nav-link {
    position: relative;
    transition: var(--transition-base);
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    transition: all 0.3s var(--ease-premium);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active-link {
    color: var(--accent-cyan);
}

.nav-link.active-link::after {
    width: 80%;
}

/* ---- Gradient Buttons ---- */
.glow-btn {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-violet) 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.glow-btn:hover::before {
    opacity: 1;
}

.glow-btn-teal {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-emerald) 100%);
}

.glow-btn-teal:hover {
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ---- Form Inputs ---- */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 0.75rem;
    transition: var(--transition-base);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), var(--glow-cyan);
    outline: none;
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Textarea same treatment */
textarea.form-input {
    resize: vertical;
}

/* ---- Stat Counters ---- */
.stat-counter {
    transition: var(--transition-base);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.stat-counter:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), var(--glow-cyan);
    border-color: rgba(0, 212, 255, 0.2);
}

/* ---- Badge Styles ---- */
.badge-confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.badge-open {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-closed {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* ---- Tier Sections ---- */
.tier-gold {
    background: rgba(251, 191, 36, 0.06);
    border-color: rgba(251, 191, 36, 0.3) !important;
    border: 1px solid;
}

.tier-gold:hover {
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.15);
}

.tier-silver {
    background: rgba(148, 163, 184, 0.06);
    border-color: rgba(148, 163, 184, 0.3) !important;
    border: 1px solid;
}

.tier-silver:hover {
    box-shadow: 0 8px 32px rgba(148, 163, 184, 0.15);
}

.tier-bronze {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.3) !important;
    border: 1px solid;
}

.tier-bronze:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

/* ---- Admin Sidebar ---- */
.admin-sidebar {
    background: linear-gradient(180deg, #060918 0%, #111827 50%, #0a0f1e 100%);
    min-height: 100vh;
    border-right: 1px solid var(--glass-border);
}

.sidebar-link {
    transition: var(--transition-base);
    border-left: 3px solid transparent;
    color: var(--text-secondary);
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--accent-cyan);
    color: var(--text-primary);
}

/* ---- Pulse Animation ---- */
@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite;
}

/* ---- Glow Pulse ---- */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 0 50px rgba(99, 102, 241, 0.15);
    }
}

.glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* ---- Fade-in Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s var(--ease-premium) forwards;
}

.fade-in-up-delay-1 { animation: fadeInUp 0.8s var(--ease-premium) forwards; animation-delay: 0.1s; opacity: 0; }
.fade-in-up-delay-2 { animation: fadeInUp 0.8s var(--ease-premium) forwards; animation-delay: 0.25s; opacity: 0; }
.fade-in-up-delay-3 { animation: fadeInUp 0.8s var(--ease-premium) forwards; animation-delay: 0.4s; opacity: 0; }
.fade-in-up-delay-4 { animation: fadeInUp 0.8s var(--ease-premium) forwards; animation-delay: 0.55s; opacity: 0; }

/* ---- Scroll Reveal ---- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Shimmer Effect ---- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* ---- Gradient Border ---- */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gradient-border:hover::before {
    opacity: 0.8;
}

/* ---- Section Divider ---- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(0, 212, 255, 0.3), transparent);
}

/* ---- Dropdown (More Menu) ---- */
.dropdown-glass {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.1);
}

.dropdown-glass a {
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.dropdown-glass a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-premium);
}

.mobile-menu.open {
    max-height: 600px;
}

/* ---- Table Styles ---- */
.data-table {
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(0, 212, 255, 0.1));
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.data-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: rgba(99, 102, 241, 0.05);
}

/* ---- Leader Photo ---- */
.leader-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* ---- Auth Page (Login/Register) ---- */
.auth-page {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 55%);
    animation: auth-mesh 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes auth-mesh {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
    100% { opacity: 0.7; transform: scale(1); }
}

.auth-card {
    position: relative;
    z-index: 1;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.08);
}

/* ---- Animated Logo Badge ---- */
.logo-badge {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));
    background-size: 200% 200%;
    animation: badge-gradient 4s ease-in-out infinite;
}

@keyframes badge-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---- Accent Gradient Line (top of footer, etc) ---- */
.gradient-line {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-cyan), 
        var(--accent-violet), 
        var(--accent-pink), 
        transparent);
    opacity: 0.6;
}

/* ---- CTA Banner ---- */
.cta-premium {
    background: linear-gradient(135deg, #0f1b3d 0%, #1a1a3e 40%, #0d1f4a 100%);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

/* ---- Page Header Enhanced ---- */
.page-header-premium {
    background: linear-gradient(135deg, #060918 0%, #0f1b3d 30%, #1a1a3e 60%, #0d1f4a 100%);
    position: relative;
    overflow: hidden;
}

.page-header-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: hero-glow 10s ease-in-out infinite alternate;
}

.page-header-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(0, 212, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    animation: float-particles 20s linear infinite alternate;
}

.page-header-premium > * {
    position: relative;
    z-index: 1;
}

/* ---- Error / Flash Alerts ---- */
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #fca5a5;
    backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    color: #6ee7b7;
    backdrop-filter: blur(8px);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* ---- Selection ---- */
::selection {
    background: rgba(0, 212, 255, 0.25);
    color: white;
}

/* ---- Wave SVG ---- */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wave-divider svg path {
    fill: var(--bg-deep);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-gradient {
        text-align: center;
    }

    .auth-page {
        padding: 2rem 1rem;
        min-height: auto;
    }
}

/* ---- Link Glow ---- */
a.link-glow {
    color: var(--accent-cyan);
    transition: var(--transition-base);
}

a.link-glow:hover {
    color: var(--accent-violet);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* ---- Icon Gradient Background ---- */
.icon-gradient {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.icon-gradient-teal {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.icon-gradient-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.icon-gradient-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.icon-gradient-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ---- Stagger reveal for grids ---- */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-reveal.visible > *:nth-child(1) { animation: fadeInUp 0.6s var(--ease-premium) 0.05s forwards; }
.stagger-reveal.visible > *:nth-child(2) { animation: fadeInUp 0.6s var(--ease-premium) 0.15s forwards; }
.stagger-reveal.visible > *:nth-child(3) { animation: fadeInUp 0.6s var(--ease-premium) 0.25s forwards; }
.stagger-reveal.visible > *:nth-child(4) { animation: fadeInUp 0.6s var(--ease-premium) 0.35s forwards; }
.stagger-reveal.visible > *:nth-child(5) { animation: fadeInUp 0.6s var(--ease-premium) 0.45s forwards; }
.stagger-reveal.visible > *:nth-child(6) { animation: fadeInUp 0.6s var(--ease-premium) 0.55s forwards; }
.stagger-reveal.visible > *:nth-child(n+7) { animation: fadeInUp 0.6s var(--ease-premium) 0.6s forwards; }

/* ---- Avatar Glow Ring ---- */
.avatar-glow {
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    transition: var(--transition-base);
}

.avatar-glow:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}
