/* ===================================
   GFG IEC - Premium Design System
   =================================== */

:root {
    /* GFG Brand Colors */
    --primary: #2f8d46;
    --primary-light: #3da856;
    --primary-dark: #267138;
    --primary-glow: rgba(47, 141, 70, 0.4);

    /* Backgrounds */
    --bg-dark: #0a0f1a;
    --bg-darker: #050810;
    --bg-card: rgba(20, 30, 48, 0.6);
    --bg-card-hover: rgba(30, 45, 70, 0.8);

    /* Text Colors */
    --text-white: #f8fafc;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Accent Colors */
    --accent-red: #ef4444;
    --accent-gold: #fbbf24;
    --accent-blue: #3b82f6;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ===================================
   Loader
   =================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-video {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* ===================================
   Navigation
   =================================== */
/* Navigation Container */
.glass-nav {
    position: fixed;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile: Standard Full Width */
@media (max-width: 768px) {
    .glass-nav {
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        background: rgba(10, 15, 26, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .glass-nav.scrolled {
        padding: 0.5rem 0;
    }
}

/* Desktop: Floating Premium Pill */
@media (min-width: 769px) {
    .glass-nav {
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1200px;
        padding: 0.8rem 0;

        background: rgba(10, 15, 26, 0.6);
        /* Translucent dark */
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 100px;
        /* Pill shape */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .glass-nav.scrolled {
        top: 12px;
        width: 85%;
        padding: 0.5rem 0;
        background: rgba(10, 15, 26, 0.85);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(47, 141, 70, 0.2);
        /* Subtle brand tint */
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

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

.logo img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(47, 141, 70, 0.1);
}

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

.btn-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: rgba(47, 141, 70, 0.1);
    border: 1px solid rgba(47, 141, 70, 0.3);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-profile:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-profile i {
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.5rem;
}

/* Points Display in Navbar */
.nav-points {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(47, 141, 70, 0.15);
    border: 1px solid rgba(47, 141, 70, 0.3);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-points i {
    width: 18px;
    height: 18px;
}

.nav-points:hover {
    background: rgba(47, 141, 70, 0.25);
    transform: translateY(-2px);
}

/* Android-Style Side Drawer */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100%;
    background: var(--bg-darker);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drawer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.drawer-avatar i {
    width: 30px;
    height: 30px;
    color: white;
}

.drawer-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drawer-username {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.drawer-points {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.drawer-close i {
    width: 20px;
    height: 20px;
}

.drawer-nav {
    padding: 1rem 0;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.drawer-link:hover {
    background: rgba(47, 141, 70, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}

.drawer-link i {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: var(--transition);
}

.drawer-link:hover i {
    color: var(--primary);
}

.drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 1.5rem;
}

/* Legacy mobile menu - hide */
.mobile-menu {
    display: none !important;
}

/* ===================================
   Glass Card
   =================================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(47, 141, 70, 0.3);
    background: var(--bg-card-hover);
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 30px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

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

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

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(47, 141, 70, 0.1);
}

.btn-icon {
    width: 44px;
    height: 44px;
    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: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(5px);
}

.view-all-btn i {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gfg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    top: 10%;
    right: -15%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.1;
    bottom: 10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: rgba(47, 141, 70, 0.1);
    border: 1px solid rgba(47, 141, 70, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-badge i {
    width: 18px;
    height: 18px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .line-1 {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.hero-title .line-2 {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #00ff88 50%, var(--primary-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--accent-red);
    color: white;
    transform: rotate(90deg);
}

.close-modal i {
    width: 20px;
    height: 20px;
}

.modal-content h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-white);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-group input {
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-group input::placeholder {
    color: var(--text-dim);
}

.user-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-stats.hidden {
    display: none;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row span {
    font-size: 1rem;
    color: var(--text-muted);
}

.stat-row .highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===================================
   Section Blocks
   =================================== */
.section-block {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: rgba(0, 0, 0, 0.2);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.highlight {
    color: var(--primary);
}

/* ===================================
   Ongoing Events Banner
   =================================== */
.ongoing-banner {
    padding: 3rem 0;
    position: relative;
}

.banner-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(47, 141, 70, 0.3);
    background: linear-gradient(135deg, rgba(47, 141, 70, 0.1) 0%, rgba(20, 30, 48, 0.8) 100%);
}

.banner-card:hover {
    border-color: rgba(47, 141, 70, 0.5);
    box-shadow: 0 0 40px rgba(47, 141, 70, 0.2);
}

.banner-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(47, 141, 70, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-left {
    flex: 1;
    min-width: 280px;
}

.banner-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(47, 141, 70, 0.2);
    border: 1px solid rgba(47, 141, 70, 0.4);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.banner-status-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.banner-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 500px;
}

.banner-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.banner-meta .meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.banner-right {
    display: flex;
    align-items: center;
}

.banner-cta {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

.banner-cta i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.banner-cta:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
    .banner-card {
        padding: 2rem 1.5rem;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-left {
        min-width: 100%;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-description {
        max-width: 100%;
    }

    .banner-meta {
        justify-content: center;
    }

    .banner-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Course Cards
   =================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image-wrapper {
    position: relative;
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    transform: scale(0.8);
    transition: var(--transition);
}

.course-card:hover .overlay-btn {
    transform: scale(1);
}

.course-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item i {
    width: 16px;
    height: 16px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.old-price {
    font-size: 1rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.course-btn {
    margin-top: 0.5rem;
    width: 100%;
}

/* ===================================
   Event Cards
   =================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-status.upcoming {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.event-status.live {
    background: rgba(47, 141, 70, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.event-status.past {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
}

.event-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 141, 70, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.event-icon i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 70px;
    background: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.event-btn {
    flex: 1;
}

.btn-live {
    animation: glow 2s infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--primary-glow);
    }
}

/* ===================================
   Deal Cards
   =================================== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.deal-card {
    position: relative;
    overflow: hidden;
}

.deal-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-red);
    color: white;
    padding: 0.3rem 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.deal-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
}

.deal-icon-wrapper i {
    width: 28px;
    height: 28px;
    color: white;
}

.deal-expiry {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.deal-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.deal-benefit {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(47, 141, 70, 0.1);
    border: 2px dashed var(--primary);
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.coupon-box:hover {
    background: rgba(47, 141, 70, 0.2);
    transform: scale(1.02);
}

.coupon-code {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--primary);
}

.deals-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
}

.deals-info-icon {
    color: var(--primary);
}

.deals-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.deal-footer {
    margin-top: 1rem;
}

.expiry-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.expiry-info i {
    width: 16px;
    height: 16px;
}

/* ===================================
   Team Cards
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-section {
    margin-bottom: 4rem;
}

.team-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.team-section-title i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.team-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.team-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.team-avatar-wrapper.large .team-avatar {
    width: 140px;
    height: 140px;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(47, 141, 70, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.team-role {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(47, 141, 70, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-role.faculty {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-gold);
}

.team-details {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.social-link i {
    width: 18px;
    height: 18px;
}

.join-team-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.join-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.join-content p {
    color: var(--text-muted);
}

/* ===================================
   Page Hero
   =================================== */
.page-hero {
    padding: 10rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

.breadcrumb i {
    width: 16px;
    height: 16px;
    color: var(--text-dim);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ===================================
   Filters
   =================================== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-box i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 0.9rem;
    outline: none;
    width: 200px;
}

.search-box input::placeholder {
    color: var(--text-dim);
}

/* ===================================
   Event Tabs
   =================================== */
.event-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.event-tabs {
    display: inline-flex;
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    width: 18px;
    height: 18px;
}

.tab-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Empty State
   =================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    width: 60px;
    height: 60px;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
}

/* ===================================
   Leaderboard
   =================================== */
.my-rank-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rank-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
    border-radius: var(--radius-lg);
}

.rank-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.rank-info {
    display: flex;
    flex-direction: column;
}

.rank-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.rank-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
}

.rank-value.score {
    color: var(--primary);
}

.rank-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.rank-action {
    margin-left: auto;
}

.leaderboard-wrapper {
    margin-bottom: 2rem;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.leaderboard-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.refresh-btn {
    padding: 0.6rem 1rem;
}

.leaderboard-table-wrapper {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    text-align: left;
    padding: 1.2rem 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.leaderboard-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table tbody tr:first-child td {
    background: rgba(251, 191, 36, 0.05);
}

.loading-shimmer {
    height: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.tier-legend {
    padding: 1.5rem 2rem;
}

.tier-legend h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.tier-items {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tier-badge {
    font-size: 1.5rem;
}

.tier-name {
    font-weight: 600;
    color: var(--text-white);
}

.tier-req {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   Profile Page
   =================================== */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.profile-header {
    margin-bottom: 2rem;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
}

.profile-avatar i {
    width: 48px;
    height: 48px;
    color: white;
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

.avatar-status.online {
    background: var(--primary);
}

.profile-name-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-badge {
    font-size: 1rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.profile-stat i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.settings-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.settings-card h3 i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group label i {
    width: 18px;
    height: 18px;
}

.form-group input {
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.save-btn {
    flex: 1;
}

.clear-btn {
    padding: 1rem 1.5rem;
}

.sync-status {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 1rem;
    background: rgba(47, 141, 70, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-top: 1rem;
}

.sync-status.show {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.sync-status i {
    width: 20px;
    height: 20px;
}

.quick-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.quick-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.quick-link i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.quick-link span {
    font-weight: 600;
    color: var(--text-muted);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 4rem 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(47, 141, 70, 0.1), rgba(47, 141, 70, 0.05));
    border-color: rgba(47, 141, 70, 0.3);
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-btn {
    padding: 1.2rem 2.5rem;
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.footer-links-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-links-section a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.footer-links-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-social h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    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: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ===================================
   Reveal Animations
   =================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered delays */
.reveal-item:nth-child(1) {
    transition-delay: 0s;
}

.reveal-item:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-item:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-item:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-item:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal-item:nth-child(6) {
    transition-delay: 0.5s;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .hero-title .line-1 {
        font-size: 2rem;
    }

    .hero-title .line-2 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .filter-bar {
        flex-direction: column;
    }

    .my-rank-card {
        flex-direction: column;
        text-align: center;
    }

    .rank-divider {
        width: 50px;
        height: 1px;
    }

    .rank-action {
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .courses-grid,
    .events-grid,
    .deals-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-dim);
}

.empty-content i {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}

.empty-content p {
    font-size: 1.1rem;
    max-width: 300px;
}

/* ===================================
   Leaderboard Specific Styles
   =================================== */

/* My Rank Card */
.my-rank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rank-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: var(--radius-md);
}

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

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.rank-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rank-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
}

.rank-value.score {
    color: var(--primary);
}

.rank-value.tier {
    font-size: 1.5rem;
}

.rank-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.rank-action {
    margin-left: auto;
}

/* Leaderboard Wrapper */
.leaderboard-wrapper {
    padding: 0;
    overflow: hidden;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-white);
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leaderboard-table-wrapper {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead tr {
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table th {
    padding: 1rem 2rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.leaderboard-table tbody tr {
    transition: var(--transition-fast);
}

.leaderboard-table tbody tr:hover {
    background: rgba(47, 141, 70, 0.05);
}

.leaderboard-table tbody tr.first-place {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
}

.leaderboard-table tbody tr.first-place:hover {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(47, 141, 70, 0.05) 100%);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.first-place .rank-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
}

.handle-name {
    font-weight: 600;
    color: var(--text-white);
    font-size: 1.05rem;
}

.score-cell {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Tier Legend */
.tier-legend {
    margin-top: 2rem;
    padding: 2rem;
}

.tier-legend h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: var(--text-white);
}

.tier-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.tier-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tier-badge {
    font-size: 2rem;
    line-height: 1;
}

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tier-name {
    font-weight: 600;
    color: var(--text-white);
    font-size: 1rem;
}

.tier-req {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Loading Shimmer */
.loading-shimmer {
    height: 60px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ===================================
   Earn Points Section
   =================================== */
.earn-points-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.earn-points-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.earn-points-header {
    text-align: center;
    margin-bottom: 3rem;
}

.earn-points-header .section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.earn-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.earn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    height: 100%;
}

.earn-card.revealed {
    opacity: 1;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.earn-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.earn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.earn-card:hover::before {
    transform: scaleX(1);
}

.earn-card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.earn-card-icon i {
    width: 40px;
    height: 40px;
    color: var(--primary);
    z-index: 1;
    transition: var(--transition);
}

.earn-card:hover .earn-card-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.earn-card-step {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.earn-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.earn-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.earn-card-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.earn-card-btn span {
    margin-right: 0.5rem;
}

/* ===================================
   Leaderboard & Profile Pages
   =================================== */

/* My Rank Card */
.my-rank-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rank-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
}

.rank-icon i {
    width: 30px;
    height: 30px;
    color: white;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rank-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rank-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.rank-value.score {
    color: var(--accent-gold);
}

.rank-value.tier {
    color: var(--accent-blue);
}

.rank-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.rank-action {
    margin-left: auto;
}

/* Leaderboard Table */
.leaderboard-wrapper {
    margin-bottom: 2rem;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
}

.refresh-btn i {
    width: 16px;
    height: 16px;
}

.leaderboard-table-wrapper {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead th {
    text-align: left;
    padding: 1rem;
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(47, 141, 70, 0.3);
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.leaderboard-table tbody tr:hover {
    background: rgba(47, 141, 70, 0.05);
}

.leaderboard-table tbody tr.first-place {
    background: linear-gradient(90deg, rgba(47, 141, 70, 0.15) 0%, transparent 100%);
}

.leaderboard-table tbody td {
    padding: 1rem;
    color: var(--text-muted);
}

.rank-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(47, 141, 70, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.handle-name {
    color: var(--text-white);
    font-weight: 600;
}

.score-cell {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Tier Legend */
.tier-legend {
    padding: 2rem;
}

.tier-legend h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.tier-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.tier-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.tier-badge {
    font-size: 2rem;
}

.tier-info {
    display: flex;
    flex-direction: column;
}

.tier-name {
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.1rem;
}

.tier-req {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-card,
.settings-card {
    padding: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(47, 141, 70, 0.3);
}

.profile-avatar i {
    width: 50px;
    height: 50px;
    color: white;
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

.avatar-status.online {
    background: #22c55e;
}

.profile-name-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(47, 141, 70, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-stat i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

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

.settings-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.settings-title i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group label i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.form-group input {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-hint,
.input-hint-modal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.input-hint i,
.input-hint-modal i {
    width: 14px;
    height: 14px;
}

.input-hint a,
.input-hint-modal a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.input-hint a:hover,
.input-hint-modal a:hover {
    text-decoration: underline;
}

.gfg-link {
    color: var(--primary);
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.quick-links h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.quick-link:hover {
    transform: translateY(-5px);
}

.quick-link i {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.quick-link span {
    font-weight: 600;
    color: var(--text-white);
}

/* ===================================
   Referral System Styles
   =================================== */

/* ===================================
   Premium Referral System
   =================================== */
.hero-container {
    padding-bottom: 2rem;
}

.hero-content-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.hero-text-side {
    text-align: left;
}

.hero-visual-side {
    display: flex;
    justify-content: center;
    position: relative;
}

.premium-stats-preview {
    background: linear-gradient(135deg, rgba(47, 141, 70, 0.2), rgba(59, 130, 246, 0.2));
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    animation: float 6s infinite ease-in-out;
}

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

.preview-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.preview-info {
    display: flex;
    flex-direction: column;
}

.preview-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preview-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
}

/* Referral Grid Layout */
.referral-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Referral Card Premium */
.referral-code-card {
    height: 100%;
}

.referral-code-wrapper {
    margin: 2rem 0;
}

.code-box-premium {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(47, 141, 70, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.code-box-premium:hover {
    border-color: var(--primary);
    background: rgba(47, 141, 70, 0.05);
    transform: scale(1.02);
}

.code-text {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.2em;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 20px var(--primary-glow);
}

.code-copy-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.copy-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-icon-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

.referral-actions-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.share-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.social-share-hints {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.social-share-hints i {
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Stats Pill Layout */
.referral-stats-premium {
    display: flex;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-pill.highlight {
    background: rgba(47, 141, 70, 0.1);
    border-color: rgba(47, 141, 70, 0.2);
}

.pill-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.pill-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.pill-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Redeem Card Premium */
.use-referral-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    width: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    background: rgba(47, 141, 70, 0.05);
    outline: none;
    box-shadow: 0 0 20px var(--primary-glow);
}

.full-width {
    width: 100%;
}

.form-footer-hint {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    justify-content: center;
}

/* Success Message Premium */
.success-message-premium {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #22c55e;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.points-badge-success {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* How It Works Modern Styles */
.how-it-works-section {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

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

.modern-steps-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modern-step-card {
    flex: 1;
    text-align: center;
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.modern-step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card-hover);
}

.modern-step-card.highlight {
    background: linear-gradient(135deg, rgba(47, 141, 70, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(47, 141, 70, 0.3);
}

.step-visual {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.05;
    position: absolute;
    top: -1rem;
    line-height: 1;
}

.step-icon-bg {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    transform: rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modern-step-card:hover .step-icon-bg {
    transform: rotate(0) scale(1.1);
}

.step-connector {
    color: var(--text-dim);
    opacity: 0.3;
}

/* Premium Table Styles */
.referrals-list-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.list-count {
    padding: 0.5rem 1rem;
    background: rgba(47, 141, 70, 0.15);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.premium-table-wrapper {
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.premium-table th {
    text-align: left;
    padding: 0 1.5rem 1rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-table tr {
    transition: var(--transition);
}

.premium-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
}

.premium-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
}

.premium-table td {
    padding: 1.5rem;
}

.premium-table td:first-child {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.premium-table td:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.member-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.points-pill {
    padding: 0.4rem 0.8rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-pill-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.status-pill-success::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-content-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .referral-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-steps-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .referral-actions-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .code-text {
        font-size: 2rem;
    }

    .hero-title .line-2 {
        font-size: 3.5rem;
    }
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-tagline {
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.footer-links-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    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: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* Legacy footer support */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    width: 60px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    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: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-dim);
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

/* Tablet & Below - 768px */
@media (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation Mobile */
    .nav-container {
        padding: 0 1.5rem;
        position: relative;
    }

    .logo img {
        height: 50px;
        width: 50px;
    }

    .logo span {
        font-size: 1rem;
    }

    /* Hide desktop nav links */
    .nav-links {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0.5rem;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--text-white);
        border-radius: 2px;
        transition: var(--transition);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile menu styles */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu a,
    .mobile-menu li a {
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
        color: var(--text-light);
        font-weight: 500;
        font-size: 1rem;
        transition: var(--transition);
        display: block;
    }

    .mobile-menu a:hover,
    .mobile-menu li a:hover {
        background: rgba(47, 141, 70, 0.15);
        color: var(--primary);
        transform: translateX(5px);
    }

    .nav-actions {
        gap: 0.75rem;
    }

    /* Nav Points Mobile */
    .nav-points {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .nav-points i {
        width: 16px;
        height: 16px;
    }

    .btn-profile {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-profile span {
        display: none;
    }

    /* Hero Section Mobile - Redesigned */
    .hero-section {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-content {
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-lg);
        padding: 1.5rem 1rem;
        /* Reduced padding */
    }

    .reveal-text {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .reveal-text-sub {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        /* Better wrapping */
        gap: 0.75rem;
        /* Reduced gap */
        margin-bottom: 1.5rem;
    }

    .stat-card,
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 1rem 0.5rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.05);
        flex: 1;
        /* Allow them to grow/shrink */
    }

    .stat-divider {
        display: none;
    }

    .stat-value,
    .stat-number {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
    }

    .stat-label {
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta a,
    .hero-cta button {
        width: 100%;
    }

    .hero-visual {
        display: none;
    }

    /* Glass Card */
    .glass-card {
        padding: 1.5rem;
    }

    /* Section Blocks */
    .section-block {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header-row {
        margin-bottom: 2rem;
    }

    /* Leaderboard Mobile */
    .leaderboard-container {
        overflow-x: auto;
        padding: 1rem;
    }

    .leaderboard-container::-webkit-scrollbar {
        height: 6px;
    }

    .leaderboard-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
    }

    .leaderboard-container::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }

    #leaderboard-table {
        min-width: 500px;
    }

    #leaderboard-table th,
    #leaderboard-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Events Grid Mobile */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    /* Courses Grid Mobile */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    /* Deals Grid Mobile */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .deal-card {
        padding: 1.5rem;
    }

    /* Team Grid Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Buttons Mobile */
    .btn-glow,
    .btn-primary,
    .btn-outline {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Earn Points Section */
    .earn-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .earn-points-section {
        padding: 3rem 0;
    }

    .earn-card {
        padding: 2rem 1.5rem;
    }

    /* Banner Mobile */
    .banner-card {
        padding: 1.5rem;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    /* Tab Buttons */
    .event-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Leaderboard Mobile - Compact My Rank Card */
    .my-rank-card {
        gap: 1rem;
        padding: 1.5rem;
        position: relative;
    }

    .rank-icon {
        width: 50px;
        height: 50px;
    }

    .rank-icon i {
        width: 24px;
        height: 24px;
    }

    .rank-info {
        gap: 0.15rem;
    }

    .rank-label {
        font-size: 0.75rem;
    }

    .rank-value {
        font-size: 1.4rem;
    }

    .rank-divider {
        display: none;
    }

    .rank-action {
        margin-left: 0;
        width: 100%;
        margin-top: 0.5rem;
    }

    .rank-action span {
        display: none;
    }

    .rank-action i {
        margin: 0;
    }

    /* Leaderboard Table Mobile */
    .leaderboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .leaderboard-header h3 {
        font-size: 1.2rem;
    }

    .refresh-btn span {
        display: none;
    }

    .leaderboard-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .leaderboard-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .rank-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    /* Tier Legend Mobile */
    .tier-legend {
        padding: 1.5rem;
    }

    .tier-legend h4 {
        font-size: 1.1rem;
    }

    .tier-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tier-item {
        padding: 0.75rem;
    }

    .tier-badge {
        font-size: 1.5rem;
    }

    .tier-name {
        font-size: 1rem;
    }

    /* Profile Page Mobile */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-avatar i {
        width: 40px;
        height: 40px;
    }

    .profile-name-section h2 {
        font-size: 1.5rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-stat {
        padding: 1.25rem;
        flex-direction: row;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Grid Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem 2rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links-section {
        align-items: center;
    }

    .footer-links-section a {
        padding: 0.5rem 0;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Navigation Improvements */
    .glass-nav {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.75rem;
    }

    /* Orbs - reduce size on mobile */
    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }
}

/* Mobile Small - 480px and below */
@media (max-width: 480px) {

    /* Ultra compact for very small screens */
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .logo span {
        font-size: 0.85rem;
    }

    .logo-sub {
        display: none;
        /* Hide subtext on very small screens */
    }

    .nav-actions {
        gap: 0.2rem;
    }

    .nav-points {
        padding: 0.35rem 0.5rem;
        gap: 0.3rem;
    }

    .nav-points i {
        width: 14px;
        height: 14px;
    }

    .btn-profile {
        padding: 0.4rem 0.75rem;
    }

    /* Hero ultra compact */
    .hero-section {
        padding: 5rem 1rem 2rem;
    }

    .hero-title .line-1 {
        font-size: 1.5rem;
    }

    .hero-title .line-2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on very small screens to avoid overflow */
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-plus {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value,
    .stat-number {
        font-size: 1.3rem;
        /* Further reduced for ultra-compact */
    }

    /* Section titles smaller */
    .section-title {
        font-size: 1.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    /* Cards more compact */
    .glass-card {
        padding: 1.25rem;
    }

    .event-card,
    .course-card,
    .deal-card,
    .team-card,
    .earn-card {
        padding: 1.25rem;
    }

    /* Table even more compact */
    #leaderboard-table th,
    #leaderboard-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    /* Modal */
    .modal-content {
        padding: 1.25rem;
    }

    /* Buttons */
    .btn-glow,
    .btn-primary,
    .btn-outline {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-content {
        padding: 2rem 1rem;
    }

    .footer-logo img {
        height: 40px;
    }

    /* Tab buttons even smaller */
    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Banner */
    .banner-card {
        padding: 1.25rem;
    }

    .banner-status-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Remove scroll indicator on very small screens */
    .scroll-indicator {
        display: none;
    }

    /* Leaderboard Ultra Compact */
    .my-rank-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .rank-icon {
        width: 40px;
        height: 40px;
    }

    .rank-icon i {
        width: 20px;
        height: 20px;
    }

    .rank-value {
        font-size: 1.2rem;
    }

    .rank-label {
        font-size: 0.7rem;
    }

    .leaderboard-header h3 {
        font-size: 1rem;
    }

    .tier-legend {
        padding: 1rem;
    }

    .tier-legend h4 {
        font-size: 1rem;
    }

    /* Profile Ultra Compact */
    .profile-card,
    .settings-card {
        padding: 1.25rem;
    }

    .profile-avatar {
        width: 70px;
        height: 70px;
    }

    .profile-avatar i {
        width: 35px;
        height: 35px;
    }

    .profile-name-section h2 {
        font-size: 1.3rem;
    }

    .profile-stats {
        gap: 0.75rem;
    }

    .profile-stat {
        padding: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Ultra Compact */
    .footer-grid {
        padding: 0 1rem 1.5rem;
        gap: 1.5rem;
    }

    .main-footer {
        padding: 2rem 0 1rem;
    }
}

/* Landscape mobile optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }

    .hero-stats {
        margin-bottom: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}