/* ===================================
   GDG Gen AI Study Jams Leaderboard
   Main Stylesheet
   =================================== */

/* === CSS Variables (Design System) === */
:root {
    /* GDG Brand Colors */
    --primary-blue: #4285f4;
    --primary-red: #ea4335;
    --primary-yellow: #fbbc04;
    --primary-green: #34a853;
    
    /* Background Colors - FORCE BLACK THEME */
    --bg-light: #121212;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    
    /* Text Colors */
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --text-light: #ffffff;
    
    /* Shadows */
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.4);
    --card-shadow-hover: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    
    /* Glassmorphism */
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-light: #121212;
    --bg-card: #1e1e1e;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.4);
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-medium);
}

/* Force black background always */
body,
body.dark-theme {
    background-color: #000000 !important;
}

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

/* === Particle Background === */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    background-color: #000000;
}

/* === Header Section === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000000;
    padding: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

/* RGB Animated Line Below Header */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853, #4285f4);
    background-size: 200% 100%;
    animation: gradientMove 6s linear infinite;
    z-index: 1001;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.header.sticky {
    background: rgba(0, 0, 0, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chapter-logo {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
    background: white;
    padding: 4px;
    transition: all var(--transition-medium);
}

.chapter-logo:hover {
    transform: scale(1.02) rotate(2deg);
}

.logo-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6), transparent);
}

.gdg-logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.2s;
}

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

.logo-text {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section {
    flex: 1;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

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

.main-heading {
    font-family: 'Google Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 55px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    animation: pulse 2s infinite;
}

.whatsapp-btn span {
    font-family: 'Google Sans', sans-serif;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Floating Rewards Button */
.floating-rewards-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: floatUpDown 3s ease-in-out infinite;
}

.floating-rewards-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
}

.floating-rewards-btn svg {
    width: 24px;
    height: 24px;
    animation: rotateStar 4s linear infinite;
}

.floating-rewards-btn span {
    font-family: 'Google Sans', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

@keyframes rotateStar {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.header-actions {
    display: flex;
    gap: 10px;
}

.theme-toggle,
.refresh-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    box-shadow: var(--card-shadow);
}

.theme-toggle:hover,
.refresh-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--card-shadow-hover);
}

.refresh-btn:active {
    animation: spin 1s ease-in-out;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === Stats Section === */
.stats-section {
    padding: 60px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.stat-card::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: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card[data-animate="fade-up"] {
    animation: fadeInUp 1s ease-out forwards;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: var(--primary-blue);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
    transition: all 0.8s ease;
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.6);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.4);
}

.stat-card:nth-child(2):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.6);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
}

.stat-card:nth-child(3):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.6);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-red));
    box-shadow: 0 4px 15px rgba(251, 188, 4, 0.4);
}

.stat-card:nth-child(4):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(251, 188, 4, 0.6);
}

.stat-card:nth-child(6) .stat-icon {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.stat-card:nth-child(6):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
}

.stat-card:nth-child(7) .stat-icon {
    background: linear-gradient(135deg, #00bcd4, #009688);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.stat-card:nth-child(7):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
}

.stat-card:nth-child(8) .stat-icon {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.stat-card:nth-child(8):hover .stat-icon {
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

/* Tier 1 Card Styling */
.stat-card.tier1-card {
    background: var(--glass-bg);
    border: 1px solid #ffd700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
    position: relative;
}

.stat-card.tier1-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card.tier1-card:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) scale(1.01);
    border-color: #ffed4e;
}

.stat-card.tier1-card:hover::after {
    opacity: 0.3;
}

.circular-progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.circular-progress {
    transform: rotate(-90deg);
}

.circular-progress-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 8;
}

.circular-progress-fill {
    fill: none;
    stroke: url(#tier1Gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s ease-out;
}

.circular-progress-text {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    fill: #ffd700;
    transform: rotate(90deg);
    transform-origin: 60px 60px;
}

.tier1-label {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

body.dark-theme .tier1-label {
    color: #ffd700;
}

.stat-sublabel {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

body.dark-theme .stat-sublabel {
    color: #999;
}

body.dark-theme .stat-card.tier1-card {
    background: linear-gradient(135deg, #2a2a1a, #3a3a2a);
    border-color: #ffb700;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-family: 'Google Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.top-performer-name {
    font-size: 1.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === Swags Section === */
.swags-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.swags-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853, #4285f4);
    background-size: 200% 100%;
    animation: gradientMove 6s linear infinite;
}

.swags-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease;
}

/* Swags Timestamp Badge */
.last-updated-badge.swags-updated {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.last-updated-badge.swags-updated #swagsUpdatedTime {
    color: #ffed4e;
}

.swags-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.swags-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    line-height: 1.2;
}

.swags-subtitle {
    font-size: 1.3rem;
    color: #e8eaed;
    max-width: 700px;
    margin: 0 auto 20px;
    font-weight: 500;
}

.swags-arrow {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 700;
    margin-top: 15px;
    animation: bounce 2s infinite;
}

.swags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.swag-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 30px;
    padding: 40px 25px 30px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.swag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.swag-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

.swag-card:hover::before {
    opacity: 1;
}

.swag-card.winner-1 {
    border-color: #ffd700;
}

.swag-card.winner-2 {
    border-color: #c0c0c0;
}

.swag-card.winner-3 {
    border-color: #cd7f32;
}

.swag-card.winner-4 {
    border-color: #4285f4;
}

.winner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rank-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.winner-2 .rank-circle {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.winner-3 .rank-circle {
    background: linear-gradient(135deg, #cd7f32, #e89b5a);
}

.winner-4 .rank-circle {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.trophy-large {
    font-size: 4rem;
    animation: bounce 4s infinite;
    filter: drop-shadow(0 5px 10px rgba(255, 215, 0, 0.3));
}

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

.swag-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    border: 5px solid #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.swag-card:hover .swag-avatar {
    transform: scale(1.05) rotate(2deg);
}

.swag-name {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.status-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.status-badge {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.status-badge.complete {
    background: linear-gradient(135deg, #34a853, #4caf50);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.4);
}

.status-badge.proof {
    background: linear-gradient(135deg, #4285f4, #2196f3);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.swag-card:hover .status-badge {
    transform: scale(1.05);
}

.winner-label {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    animation: glow 4s infinite;
}

.winner-label.tier-pending {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #555;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: pending-pulse 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 5px 25px rgba(255, 215, 0, 0.7); }
}

@keyframes pending-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.swags-how-to {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 3px solid #4285f4;
    border-radius: 30px;
    padding: 50px 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(66, 133, 244, 0.3);
}

.how-to-title {
    text-align: center;
    font-family: 'Google Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #4285f4;
    box-shadow: 0 15px 40px rgba(66, 133, 244, 0.4);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.5);
}

.step-icon {
    font-size: 4rem;
    margin: 20px 0;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.step-card h4 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1.1rem;
    color: #9aa0a6;
    line-height: 1.6;
}

.step-card p strong {
    color: #4285f4;
    font-weight: 700;
}

.important-note {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2), rgba(234, 67, 53, 0.1));
    border: 3px solid #ea4335;
    border-radius: 20px;
    padding: 25px 30px;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    animation: pulse 3s infinite;
}

.important-note strong {
    color: #ffd700;
    font-weight: 900;
}

/* === Filter Section === */
.filter-section {
    padding: 30px 0;
    background: #1e1e1e;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all var(--transition-medium);
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    border-radius: 20px;
}

.section-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #9aa0a6;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(66, 133, 244, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.2);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.sort-dropdown select {
    padding: 10px 16px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-dropdown select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.export-buttons {
    display: flex;
    gap: 10px;
}

.export-btn {
    padding: 10px 20px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

.export-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.reset-filters-btn {
    padding: 10px 20px;
    border: 2px solid rgba(234, 67, 53, 0.3);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

.reset-filters-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.reset-filters-btn:hover span {
    animation: resetSpin 0.6s ease-in-out;
}

@keyframes resetSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.results-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Leaderboard Section === */
.leaderboard-section {
    padding: 40px 0 80px;
    min-height: 500px;
}

/* Loading Skeleton */
.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-row {
    height: 80px;
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-light) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

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

/* Leaderboard Table */
.leaderboard-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.leaderboard-table thead {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
}

.leaderboard-table th {
    padding: 20px 15px;
    text-align: left;
    font-family: 'Google Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.leaderboard-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.leaderboard-table tbody tr:hover {
    transform: scale(1.02);
    box-shadow: var(--card-shadow-hover);
    z-index: 10;
}

.leaderboard-table td {
    padding: 20px 15px;
    font-size: 0.95rem;
    vertical-align: middle;
}

/* Rank Column */
.rank-cell {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-medal {
    font-size: 1.8rem;
}

.rank-change {
    font-size: 0.8rem;
    display: inline-block;
    animation: bounce 0.5s ease;
}

.rank-change.up {
    color: var(--primary-green);
}

.rank-change.down {
    color: var(--primary-red);
}

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

/* Participant Column */
.participant-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.participant-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.participant-info h4 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.participant-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Progress Column */
.progress-cell {
    min-width: 200px;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Google Sans', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.progress-bar-fill.low {
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
}

.progress-bar-fill.medium {
    background: linear-gradient(90deg, var(--primary-yellow), #ffd93d);
}

.progress-bar-fill.high {
    background: linear-gradient(90deg, var(--primary-green), #6bcf7f);
}

/* Badges Column */
.badges-cell {
    text-align: center;
}

.badge-count {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-blue);
    display: inline-block;
}

/* Arcade Column */
.arcade-cell {
    text-align: center;
}

.arcade-count {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-green);
    display: inline-block;
}

/* Courses Column */
.courses-cell {
    font-family: 'Google Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: center;
}

/* Proof Sent Column */
.proof-cell {
    text-align: center;
}

.proof-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.proof-yes {
    background: rgba(52, 168, 83, 0.2);
    color: var(--primary-green);
    border: 1px solid rgba(52, 168, 83, 0.4);
}

.proof-no {
    background: rgba(234, 67, 53, 0.2);
    color: var(--primary-red);
    border: 1px solid rgba(234, 67, 53, 0.4);
}

/* Last Updated Column */
.updated-cell {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === Footer === */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

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

.footer-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0;
    background: none;
    border: none;
}

.footer-social .social-link:hover {
    text-decoration: underline;
}

.footer-social .social-link span:first-child {
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-social .social-links {
        flex-direction: column;
    }
    
    .footer-social .social-link {
        justify-content: center;
    }
}

.footer-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.auto-refresh-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* === Toast Notification === */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--card-shadow-hover);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-medium);
    z-index: 10000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* === Utility Classes === */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   NAVIGATION MENU
   =================================== */
.nav-menu {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(30, 30, 30, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(66, 133, 244, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-block;
    padding: 12px 24px;
    color: #e8eaed;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    border: 2px solid rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.3), rgba(52, 168, 83, 0.3));
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.nav-link.active {
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-color: #4285f4;
    color: #fff;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.5);
}

.nav-link.whatsapp-link {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: #25d366;
}

.nav-link.whatsapp-link:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ===================================
   REWARDS & TIERS SECTION
   =================================== */
.rewards-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.section-main-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-description {
    font-size: 1.2rem;
    color: #9aa0a6;
    max-width: 700px;
    margin: 0 auto;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tier-card {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tier-card:hover::before {
    opacity: 1;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.3);
}

.tier-1:hover {
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.tier-2:hover {
    box-shadow: 0 20px 40px rgba(192, 192, 192, 0.4);
}

.tier-3:hover {
    box-shadow: 0 20px 40px rgba(205, 127, 50, 0.4);
}

.tier-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.tier-1 .tier-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.tier-2 .tier-badge {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #000;
}

.tier-3 .tier-badge {
    background: linear-gradient(135deg, #cd7f32, #e9b872);
    color: #000;
}

.tier-image-wrapper {
    margin: 25px 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
}

.tier-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.tier-card:hover .tier-image {
    transform: scale(1.05);
}

.tier-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 20px 0 15px;
}

.tier-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 15px;
}

.tier-progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.15);
    border: 3px solid #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.tier-1 .tier-progress-circle {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.tier-2 .tier-progress-circle {
    background: rgba(192, 192, 192, 0.15);
    border-color: #c0c0c0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.tier-3 .tier-progress-circle {
    background: rgba(205, 127, 50, 0.15);
    border-color: #cd7f32;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
}

.tier-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.tier-description {
    font-size: 1rem;
    color: #9aa0a6;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    text-align: left;
}

.tier-benefits li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: rgba(66, 133, 244, 0.1);
    border-left: 4px solid #4285f4;
    border-radius: 8px;
    color: #e8eaed;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tier-benefits li:hover {
    background: rgba(66, 133, 244, 0.2);
    transform: translateX(5px);
}

.tier-badge-bottom {
    margin-top: 25px;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    background: rgba(66, 133, 244, 0.2);
    color: #4285f4;
    border: 2px solid #4285f4;
    animation: pulse 2s infinite;
}

.tier-1 .tier-badge-bottom {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-color: #ffd700;
}

.tier-2 .tier-badge-bottom {
    background: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
    border-color: #c0c0c0;
}

.tier-3 .tier-badge-bottom {
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
    border-color: #cd7f32;
}

.rewards-note {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.15), rgba(234, 67, 53, 0.05));
    border: 3px solid #ea4335;
    border-radius: 25px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.note-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.note-content {
    color: #e8eaed;
    font-size: 1.1rem;
    line-height: 1.8;
}

.note-content strong {
    color: #fff;
    font-weight: 700;
}

.note-content ol {
    margin: 15px 0 0 20px;
    padding: 0;
}

.note-content li {
    margin: 10px 0;
}

.whatsapp-inline-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #25d366;
    transition: all 0.3s ease;
}

.whatsapp-inline-link:hover {
    color: #128c7e;
    border-bottom-color: #128c7e;
}

/* ===================================
   SYLLABUS & SOLUTIONS SECTION
   =================================== */
.syllabus-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.syllabus-container {
    margin-top: 50px;
}

/* Campaign Syllabus Google Sheets Link */
.campaign-syllabus-link {
    margin: 40px 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.error-helper-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbbc04;
    text-align: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.1), rgba(234, 67, 53, 0.1));
    border: 2px solid rgba(251, 188, 4, 0.3);
    border-radius: 12px;
    animation: gentlePulse 2s ease-in-out infinite;
    max-width: 600px;
    margin: 0;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        border-color: rgba(251, 188, 4, 0.3);
    }
    50% {
        transform: scale(1.02);
        border-color: rgba(251, 188, 4, 0.5);
    }
}

.syllabus-sheet-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 35px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(52, 168, 83, 0.15));
    border: 2px solid rgba(66, 133, 244, 0.4);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 700px;
    width: 100%;
}

.syllabus-sheet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.2), transparent);
    transition: left 0.6s ease;
}

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

.syllabus-sheet-btn:hover {
    border-color: #4285f4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.25), rgba(52, 168, 83, 0.25));
}

.sheet-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.syllabus-sheet-btn:hover .sheet-icon {
    transform: scale(1.1) rotate(5deg);
}

.sheet-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.sheet-description {
    font-size: 0.95rem;
    color: #9aa0a6;
    display: block;
    line-height: 1.4;
}

.sheet-arrow {
    flex-shrink: 0;
    color: #4285f4;
    transition: transform 0.3s ease;
}

.syllabus-sheet-btn:hover .sheet-arrow {
    transform: translateX(5px);
}

.syllabus-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(66, 133, 244, 0.3);
}

.category-icon {
    font-size: 2.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.course-card {
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    padding: 30px 25px;
    border: 2px solid rgba(66, 133, 244, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.course-card:hover {
    border-color: #4285f4;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(66, 133, 244, 0.3);
}

.course-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.5);
}

.course-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
    padding-right: 50px;
}

.course-info {
    color: #9aa0a6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.course-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-btn.primary {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: #fff;
}

.course-btn.primary:hover {
    background: linear-gradient(135deg, #357ae8, #2d8f47);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.course-btn.secondary {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
    border-color: #4285f4;
}

.course-btn.secondary:hover {
    background: rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}

.course-btn.full-width {
    width: 100%;
}

/* Lab Details Expandable Section */
.labs-toggle-btn {
    width: 100%;
    padding: 12px 20px;
    background: rgba(251, 188, 4, 0.1);
    border: 2px solid var(--primary-yellow);
    border-radius: 12px;
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.labs-toggle-btn:hover {
    background: rgba(251, 188, 4, 0.2);
    transform: translateY(-2px);
}

.labs-toggle-btn .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.labs-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.labs-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 15px;
}

.labs-details.expanded {
    max-height: 2000px;
}

.lab-item {
    padding: 15px;
    background: rgba(66, 133, 244, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
}

.lab-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.required-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ea4335, #d33b29);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(234, 67, 53, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(234, 67, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 3px 8px rgba(234, 67, 53, 0.5);
    }
}

.lab-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lab-link {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lab-link.start-lab {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
}

.lab-link.start-lab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.lab-link.solution {
    background: rgba(234, 67, 53, 0.1);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.lab-link.solution:hover {
    background: rgba(234, 67, 53, 0.2);
    transform: translateY(-2px);
}

.challenge-lab {
    background: rgba(251, 188, 4, 0.1);
    border-left-color: var(--primary-yellow);
}

.challenge-lab .lab-name {
    color: var(--primary-yellow);
}

.arcade-card {
    background: linear-gradient(135deg, #34a853, #0f9d58);
    border-color: #34a853;
}

.arcade-card .course-number {
    background: linear-gradient(135deg, #fbbc04, #f29900);
}

.arcade-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.arcade-card .course-name,
.arcade-card .course-info {
    color: #fff;
}

.resources-box {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    border: 3px solid #4285f4;
    border-radius: 25px;
}

.resources-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(66, 133, 244, 0.1);
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #e8eaed;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: rgba(66, 133, 244, 0.2);
    border-color: #4285f4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.resource-icon {
    font-size: 2rem;
}

.resource-text {
    font-size: 1rem;
}

.whatsapp-resource {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.2));
    border-color: #25d366;
}

.whatsapp-resource:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(18, 140, 126, 0.3));
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* ===================================
   ADDITIONAL LINK STYLES
   =================================== */
.step-link,
.note-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #25d366;
    transition: all 0.3s ease;
}

.step-link:hover,
.note-link:hover {
    color: #128c7e;
    border-bottom-color: #128c7e;
}

/* === Print Styles === */
@media print {
    .header-actions,
    .filter-section,
    .footer,
    .toast,
    .nav-menu,
    #particleCanvas {
        display: none !important;
    }
    
    .header {
        position: static;
        background: white;
        color: black;
    }
    
    .leaderboard-table tbody tr:hover {
        transform: none;
    }
}

/* ===================================
   QUICK STATS SECTION (Leaderboard Page)
   =================================== */
.quick-stats-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(52, 168, 83, 0.05));
}

/* Last Updated Badge */
.last-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(66, 133, 244, 0.15);
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 50px;
    color: #4285f4;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.2);
    animation: fadeInDown 0.6s ease-out;
}

.last-updated-badge svg {
    animation: pulse 2s infinite;
}

.last-updated-badge span {
    font-family: 'Roboto', sans-serif;
}

#lastUpdatedTime {
    font-weight: 700;
    color: #fff;
}

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

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    animation: fadeInUp 1s ease-out;
}

.quick-stat-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

.stat-icon-small {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(52, 168, 83, 0.2));
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===================================
   INFO SECTION (Leaderboard Page)
   =================================== */
.info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.05), rgba(234, 67, 53, 0.05));
}

.info-box {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1.2s ease-out;
}

.info-icon {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.2), rgba(234, 67, 53, 0.2));
    border-radius: 50%;
    flex-shrink: 0;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.info-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ===================================
   RULES PAGE STYLES
   =================================== */
/* Credits Redemption Banner */
.credits-banner {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.1), rgba(234, 67, 53, 0.1));
}

.credits-alert {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--bg-card);
    border: 3px solid rgba(251, 188, 4, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(251, 188, 4, 0.2);
    transition: all 0.3s ease;
}

.credits-alert:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 188, 4, 0.3);
    border-color: var(--primary-yellow);
}

.credits-icon {
    font-size: 60px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.credits-content {
    flex: 1;
}

.credits-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.credits-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.credits-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-yellow), rgba(251, 188, 4, 0.8));
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(251, 188, 4, 0.3);
}

.credits-btn:hover {
    background: linear-gradient(135deg, rgba(251, 188, 4, 1), var(--primary-yellow));
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(251, 188, 4, 0.4);
}

.rules-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(251, 188, 4, 0.05));
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-card-large {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 35px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    animation: fadeInUp 1s ease-out;
}

.step-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

.step-number-large {
    font-size: 3rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
}

.step-content-large {
    flex: 1;
}

.step-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.inline-code {
    background: rgba(66, 133, 244, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--primary-blue);
    font-weight: 600;
}

.step-example {
    padding: 15px 20px;
    background: rgba(52, 168, 83, 0.1);
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
    margin-top: 15px;
}

.step-tip {
    padding: 15px 20px;
    background: rgba(251, 188, 4, 0.1);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 8px;
    margin-top: 15px;
}

.step-warning {
    padding: 15px 20px;
    background: rgba(234, 67, 53, 0.1);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    margin-top: 15px;
}

.rules-important-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.05), rgba(251, 188, 4, 0.05));
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.rule-card {
    padding: 30px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    animation: fadeInUp 1s ease-out;
}

.rule-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-red);
}

.rule-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.rule-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.rule-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.rule-reason {
    padding: 12px 18px;
    background: rgba(234, 67, 53, 0.1);
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.rule-tip-box {
    padding: 12px 18px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.tips-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.05), rgba(66, 133, 244, 0.05));
}

.tips-box {
    padding: 40px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tips-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-green));
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(251, 188, 4, 0.4);
}

.tips-title {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(52, 168, 83, 0.1);
    border-left: 4px solid var(--primary-green);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.tip-item:hover {
    transform: translateX(5px);
    background: rgba(52, 168, 83, 0.15);
}

.tip-emoji {
    font-size: 1.5rem;
}

.tip-text {
    font-size: 1rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .step-card-large {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .step-number-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    border-top: 2px solid rgba(66, 133, 244, 0.3);
    border-bottom: 2px solid rgba(52, 168, 83, 0.3);
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    animation: fadeInUp 1.2s ease-out 0.2s backwards;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.4s backwards;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary {
    background: linear-gradient(135deg, #4285f4, #357ae8);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.cta-btn.secondary {
    background: linear-gradient(135deg, #34a853, #2d9548);
    color: white;
}

.cta-btn.secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.4);
}

.cta-btn.tertiary {
    background: linear-gradient(135deg, #fbbc04, #f9ab00);
    color: white;
}

.cta-btn.tertiary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(251, 188, 4, 0.4);
}

.cta-btn span:first-child {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ===================================
   FLOATING BOTTOM NAVBAR
   =================================== */
.floating-navbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 700px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUpFade 0.5s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.floating-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.floating-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 60px;
}

.floating-nav-item:hover {
    background: rgba(66, 133, 244, 0.2);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.floating-nav-item.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.floating-nav-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.floating-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Hide labels on very small screens */
@media (max-width: 600px) {
    .floating-navbar {
        width: 95%;
        max-width: 400px;
        padding: 10px 15px;
    }
    
    .floating-nav-item {
        padding: 8px 10px;
        min-width: 50px;
    }
    
    .floating-nav-icon {
        font-size: 1.3rem;
    }
    
    .floating-nav-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .floating-navbar {
        bottom: 10px;
        border-radius: 40px;
        padding: 8px 12px;
    }
    
    .floating-nav-content {
        gap: 5px;
    }
    
    .floating-nav-item {
        padding: 6px 8px;
        min-width: 45px;
    }
    
    .floating-nav-label {
        display: none;
    }
}

