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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Mobile Hero Background Animation */
@keyframes mobilePan {
    0% {
        background-position: 20% center;
    }
  
    50% {
        background-position: 60% center;
    }
    75% {
        background-position: 80% center;
    }
    100% {
        background-position: 20% center;
    }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hide mobile-only nav links on desktop */
.mobile-only-nav-link {
    display: none !important;
}

/* Navigation */
.navbar {
    background: #1E2A38;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 5px solid #F59E0B;
}

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

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: brightness(1);
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
    cursor: pointer;
}

.nav-logo a {
    display: inline-block;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

/* Desktop profile circle - override inline styles for better visibility */
.nav-auth #profile-circle .user-avatar,
.nav-auth .user-avatar {
    width: 65px !important;
    height: 65px !important;
    border: 3px solid #F59E0B !important;
}

.nav-auth #profile-circle .user-avatar span,
.nav-auth .user-avatar span {
    font-size: 1.1rem !important;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #F59E0B;
}

.nav-link.active {
    color: #F59E0B !important;
    font-weight: 600;
}

/* CTA Register Button */
.nav-link[href="register.html"] {
    color: #d4af37 !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

/* Register Button Hover Effect */
.nav-link[href="register.html"]:hover {
    color: #f59e0b !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 25px rgba(245, 158, 11, 0.4) !important;
    transform: scale(1.05) !important;
    font-weight: 800 !important;
}

/* DESKTOP REGISTER BUTTON ACTIVE STATE - MAXIMUM PRIORITY */
body .navbar .nav-container .nav-menu a.nav-link[href="register.html"].active {
    color: #f59e0b !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 25px rgba(245, 158, 11, 0.4) !important;
    transform: scale(1.05) !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* CSS Custom Property for Button Animation */
@property --BUTTON-fx-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

/* FINAL OVERRIDE - REGISTER BUTTON ACTIVE STATE */
html body .navbar .nav-container .nav-menu a[href="register.html"].nav-link.active {
    color: #f59e0b !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 25px rgba(245, 158, 11, 0.4) !important;
}

/* Advanced Login Button Styling */
.login-btn {
    --BUTTON-color: #FEF3C7;
    --BUTTON-border-width: 1px;
    --BUTTON-border-radius: 12px;
    --BUTTON-background-image: linear-gradient(
        to bottom left,
        #F59E0B,
        #D97706,
        #B45309 40% 60%,
        #D97706,
        #F59E0B
    );
    --BUTTON-background-position: 100% 0;
    --BUTTON-fx-scale: 0.5;
    --BUTTON-fx-outset: 15px;
    --BUTTON-fx-inset: 0px;
    --BUTTON-fx-angle: 45deg;
    --BUTTON-fx-blur: calc(var(--BUTTON-fx-outset) / 2);
    --BUTTON-fx-opacity: 0.5;
    --BUTTON-fx-background: conic-gradient(
        from var(--BUTTON-fx-angle, 0deg),
        #FBBF24,
        #F59E0B,
        #D97706,
        #F59E0B,
        #FBBF24,
        #F59E0B,
        #D97706,
        #FBBF24 80% 100%
    );
    --BUTTON-inner-shadow-size: 1px;
    --BUTTON-inner-shadow: calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-inner-shadow-size)) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-inner-shadow-size));
    --BUTTON-text-shadow-size: 2px;
    --BUTTON-text-shadow-color: #000;
    --BUTTON-text-shadow:
        calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 1) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 1) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 99%, transparent),
        calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 2) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 2) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 90%, transparent),
        calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 3) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 3) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 80%, transparent),
        calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 4) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 4) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 70%, transparent);
    --BUTTON-transition-duration: 600ms;

    position: relative !important;
    isolation: isolate;
    padding: 0.8rem 1.2rem !important;
    font-family: 'Josefin Sans', 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.125em;
    line-height: 1;
    color: var(--BUTTON-color) !important;
    text-shadow: var(--BUTTON-text-shadow);
    border: none !important;
    background: transparent !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 60px;
    width: auto !important;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    border-radius: var(--BUTTON-border-radius) !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all var(--BUTTON-transition-duration) ease-in-out;
    transition-property: color, --BUTTON-fx-angle;
}

.login-btn:is(:hover, :focus-visible) {
    --BUTTON-color: #FBBF24!important;
    --BUTTON-background-position: 0 100%;
    --BUTTON-fx-scale: 1;
    --BUTTON-fx-inset: calc(var(--BUTTON-fx-outset) * 0.25);
    --BUTTON-fx-blur: calc(var(--BUTTON-fx-outset));
    --BUTTON-fx-opacity: 1;
    color: #F8F592!important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: no-preference) {
    .login-btn:is(:hover, :focus-visible) {
        --BUTTON-fx-angle: 225deg;
    }
}

.login-btn:focus {
    outline: 0;
}

.login-btn:focus-visible {
    outline: 4px solid #FBBF24 !important;
    outline-offset: 4px;
}

.login-btn::before,
.login-btn::after {
    content: "";
    position: absolute;
    transition: inherit;
}

.login-btn::before {
    inset: var(--BUTTON-fx-inset);
    z-index: -2;
    border-radius: calc(var(--BUTTON-border-radius) + var(--BUTTON-fx-outset));
    background: var(--BUTTON-fx-background);
    mix-blend-mode: screen;
    filter: blur(var(--BUTTON-fx-blur)) opacity(var(--BUTTON-fx-opacity));
    transition-property: inset, opacity, filter;
    transition-delay: calc(var(--BUTTON-transition-duration) * 0.125);
}

.login-btn::after {
    inset: 0;
    z-index: -1;
    border: var(--BUTTON-border-width) solid transparent;
    border-radius: var(--BUTTON-border-radius);
    box-shadow: inset var(--BUTTON-inner-shadow) calc(16 * var(--BUTTON-inner-shadow-size)) calc(-8 * var(--BUTTON-inner-shadow-size)) #F59E0B;
    background-image: var(--BUTTON-background-image), var(--BUTTON-fx-background);
    background-size: 200% 200%, 100% 100%;
    background-position: var(--BUTTON-background-position), 50% 50%;
    background-origin: padding-box, border-box;
    background-repeat: no-repeat;
    background-clip: padding-box, border-box;
    transition-property: background-position;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1E2A38;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: #2B394A;
    color: #F59E0B !important;
}

.dropdown-item:hover i,
.dropdown-item.active i {
    color: #F59E0B;
}

/* Keep active item icon gold even when hovering other items */
.dropdown-item.active i {
    color: #F59E0B !important;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: white;
}

.dashboard-btn {
    background: #3B82F6;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dashboard-btn:hover {
    background: #2563EB;
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    min-width: 50px;
    min-height: 50px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.hamburger:hover {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
}

.hamburger:active {
    background: rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    transform: scale(0.95);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Layout - Full Width */
.main-container {
    width: 100%;
    min-height: 100vh;
    margin-top: 80px;
}

.main-content {
    width: 100%;
    max-width: 100%;
}

/* Sections */
.section {
    padding: 4rem 0;
    width: 100%;
}

.section:nth-child(even) {
    background-color: white;
}

/* Background color classes */
.light-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.dark-bg {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.dark-bg .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.dark-bg .section-subtitle {
    color: #CBD5E1;
}

/* Content containers for better full-width utilization */
.section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Special full-width sections */
.hero,
.page-header {
    width: 100%;
}

.page-header {
    background: linear-gradient(135deg, #1E2A38 0%, #2D3748 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.5) 0%, rgba(45, 55, 72, 0.5) 100%), 
                url('assets/images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
    min-height: 80vh;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* Use different background for How It Works page */
body.how-it-works-page .hero {
    /* OPTION 1: Lighter overlay (30% opacity) - More image visible, clean modern look */
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.3) 0%, rgba(45, 55, 72, 0.3) 100%), 
                url('assets/images/How-it-works-hero.png');
    
    /* Show even more of the bottom part of the image */
    background-position: center 180%;    /* Push beyond 100% to show more bottom */
    background-size: cover;              /* Use cover for better control */
    
    /* Alternative approaches - uncomment one to test */
    /* background-position: center bottom;
       background-size: auto 480%; */      /* Original approach */
    
    /* background-position: center calc(100% + 100px);
       background-size: cover; */           /* Try calc with more pixels */
    
    /* background-position: center -100px;
       background-size: cover; */           /* Use negative pixels to go further down */
    background-repeat: no-repeat;
    
    /* OPTION 2: Darker overlay (70% opacity) - More sophisticated, better text contrast */
    /* background: linear-gradient(135deg, rgba(30, 42, 56, 0.7) 0%, rgba(45, 55, 72, 0.7) 100%), 
                url('assets/images/How-it-works-hero.png'); */
    
    /* OPTION 3: Warmer tone overlay - Professional bronze/gold tint */
    /* background: linear-gradient(135deg, rgba(42, 35, 28, 0.5) 0%, rgba(65, 52, 42, 0.5) 100%), 
                url('assets/images/How-it-works-hero.png'); */
    
    /* OPTION 4: Keep current (50% blue-gray) */
    /* background: linear-gradient(135deg, rgba(30, 42, 56, 0.5) 0%, rgba(45, 55, 72, 0.5) 100%), 
                url('assets/images/How-it-works-hero.png'); */
}

/* How It Works specific content styling within hero */
body.how-it-works-page .hero-cta {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

body.how-it-works-page .hero-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5rem; /* Increased from 2rem to move badge lower */
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

body.how-it-works-page .hero-trust-badge .trust-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

body.how-it-works-page .hero-trust-badge span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

body.how-it-works-page .breadcrumb {
    margin-bottom: 5rem;
    margin-top: -5rem; /* Move breadcrumb higher up */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

body.how-it-works-page .breadcrumb a {
    color: #F59E0B;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

body.how-it-works-page .breadcrumb a:hover {
    opacity: 0.8;
}

body.how-it-works-page .breadcrumb i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

body.how-it-works-page .breadcrumb span {
    color: white;
}

/* How It Works Page - Steps Section */
body.how-it-works-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem auto; /* Center the grid */
    max-width: 1200px;
    width: 100%; /* Ensure full width */
}

body.how-it-works-page .step-card {
    background: white !important;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 400px; /* Ensure cards have height */
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1 !important;
    visibility: visible !important;
}

body.how-it-works-page .step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(245, 158, 11, 0.2);
}

body.how-it-works-page .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

body.how-it-works-page .step-icon {
    font-size: 3rem;
    color: #1E293B;
    margin: 1.5rem 0 1rem 0;
}

body.how-it-works-page .step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

body.how-it-works-page .step-description {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

body.how-it-works-page .step-description strong {
    color: #F59E0B;
    font-weight: 600;
}

body.how-it-works-page .step-example {
    background: #F8FAFC;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #F59E0B;
}

body.how-it-works-page .example-label {
    font-weight: 600;
    color: #1E293B;
    display: inline-block;
    margin-right: 0.5rem;
}

body.how-it-works-page .example-text {
    color: #F59E0B;
    font-weight: 600;
}

/* Section CTA */
.section-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile Responsiveness - How It Works Page Only */
@media (max-width: 768px) {
    body.how-it-works-page .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    body.how-it-works-page .step-card {
        padding: 2rem;
    }
    
    body.how-it-works-page .step-title {
        font-size: 1.5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.7) 0%, rgba(45, 55, 72, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-main {
    color: white;
    display: block;
}

.hero-highlight {
    color: #F59E0B;
    display: block;
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
    opacity: 0.95;
    line-height: 1.6;
}


.amount-white {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.highlight-white {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.highlight-grey {
    color: #000;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.highlight-number {
    color: #e2e8f0;
    font-weight: 550;
    text-shadow: 0 0 8px rgba(226, 232, 240, 0.3);
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-media {
    color: #FBBF24;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

/* Golden separator line above stats */
.hero-stats::before {
    content: '';
    display: block;
    width: 1500px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%);
    margin: 0 auto 4rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 20px rgba(245, 158, 11, 0.5);
    position: absolute;
    left: 50%;
    top: -2.15rem;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.green-stat {
    color: #FFFFFF;
    background: linear-gradient(135deg, #f1f5f9, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgb(211, 203, 147);
}

.white-stat {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.gray-stat {
    color: #94a3b8;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.3);
}

/* Circular Progress Indicator */
.circular-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px; /* Ensure enough space */
}

.circular-progress {
    position: relative;
    width: 140px;
    height: 140px;
    margin: -20px auto 0.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
    overflow: visible;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.progress-ring-fill {
    fill: none;
    stroke: #EFECD8 !important;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 376.99; /* 2π × 60 (radius) */
    stroke-dashoffset: 376.99; /* Start completely empty */
    transform-origin: 50% 50%;
    /* Remove CSS transition to let JS handle the animation */
    filter: drop-shadow(0 0 10px rgba(211, 203, 147, 0.8)) 
            drop-shadow(0 0 18px rgba(211, 203, 147, 0.4))
            drop-shadow(0 0 3px rgba(241, 245, 249, 0.6));
    opacity: 1;
}

/* Add a subtle overlay effect to make it more milky */
.circular-progress::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        transparent 45px, 
        rgba(241, 245, 249, 0.1) 46px, 
        rgba(241, 245, 249, 0.15) 52px, 
        transparent 53px
    );
    pointer-events: none;
    z-index: 1;
}

.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.progress-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    color: #FFFFFF;
    background: linear-gradient(135deg, #f1f5f9, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgb(211, 203, 147);
}

.progress-total {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
    margin-top: -4px;
}

/* Flip Counter Animation */
.flip-counter {
    perspective: 1000px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.flip-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #f1f5f9, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgb(211, 203, 147);
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.flip-number.flipping {
    animation: flipDown 0.6s ease-in-out;
    color: #F59E0B;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

@keyframes flipDown {
    0% {
        transform: rotateX(0);
    }
    50% {
        transform: rotateX(-90deg);
        color: #163355;
        text-shadow: 0 0 25px rgba(18, 39, 73, 0.8);
    }
    100% {
        transform: rotateX(0);
        color: #94a3b8;
        text-shadow: 0 0 15px rgba(148, 163, 184, 0.4);
    }
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #3B82F6;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

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


/* Hero Section Orange Primary Button */
.btn-orange-primary {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.btn-orange-primary:hover {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Hero Section white Outline Button */
.btn-blue-outline {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.btn-blue-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.text-blue {
    color: #FFFFFF;
}

.bg-blue-light {
    background-color: #F59E0B;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Calculator Section Background - Light */
.calculator-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Shared Circuit Board Pattern for Light Sections */
.circuit-board-pattern {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        linear-gradient(0deg, transparent 95%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        radial-gradient(circle at 30px 30px, rgba(30, 41, 59, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90px 90px, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px, 180px 180px;
    background-position: 0 0, 0 0, 0 0, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Vertical gradient mask - darker at top/bottom, lighter in middle */
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,     /* Full opacity at top */
        rgba(0,0,0,0.3) 50%,  /* Light opacity in middle */
        rgba(0,0,0,1) 100%    /* Full opacity at bottom */
    );
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,1) 100%
    );
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.calculator-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        linear-gradient(0deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        radial-gradient(circle at 30px 30px, rgba(30, 41, 59, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90px 90px, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px, 180px 180px;
    background-position: 0 0, 0 0, 0 0, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Vertical gradient mask - darker at top/bottom, lighter in middle */
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,     /* Full opacity at top */
        rgba(0,0,0,0.3) 50%,  /* Light opacity in middle */
        
        rgba(0,0,0,1) 100%    /* Full opacity at bottom */
    );
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,1) 100%
    );
}

.calculator-section .container {
    position: relative;
    z-index: 2;
}

/* Calculator Section Header */
.calculator-section h2 {
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 41, 59, 0.2);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.calculator-section h2::after {
    display: none;
}

.calculator-section .golden-line {
    margin: 2rem auto 3rem auto;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Calculator */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Point Rules Section - Light Background with Navy Content */
.point-rules {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.1), rgba(51, 65, 85, 0.05));
    backdrop-filter: blur(3px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(30, 41, 59, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(30, 41, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.point-rules:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(30, 41, 59, 0.4),
        0 10px 25px rgba(51, 65, 85, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(71, 85, 105, 0.4);
    background: linear-gradient(145deg, rgba(51, 65, 85, 0.15), rgba(30, 41, 59, 0.1));
}

/* Remove the dark line ::before effect - not needed anymore */
.point-rules::before {
    display: none;
}

.point-rules:hover::before {
    display: none;
}

.point-rules h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: none;
    text-align: center;
}

.point-rules h3 i {
    color: #334155;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.2), rgba(51, 65, 85, 0.1));
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(51, 65, 85, 0.1);
    box-shadow: 0 0 15px rgba(226, 232, 240, 0.2);
    transition: all 0.3s ease;
}

.point-rules:hover h3 i {
    color: #334155;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.2), rgba(30, 41, 59, 0.15));
    border-color: rgba(71, 85, 105, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(51, 65, 85, 0.3);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* New text-based rules content */
.rules-content {
    padding: 1.5rem;
}

.rules-intro {
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.rules-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.rules-bullet-list li {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.rules-bullet-list li:before {
    content: "•";
    color: #334155;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.rules-bullet-list li strong {
    color: #1e293b;
    font-weight: 800;
}

.rules-note {
    color: #334155;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(30, 41, 59, 0.05));
    border-radius: 8px;
    border-left: 3px solid rgba(30, 41, 59, 0.1);
}

/* Underline Styling for Key Terms */
.underline-highlight {
    font-weight: 800;
    color: #1e293b;
}

/* Calculator Box Animations */
.point-rules {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-tool {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.point-rules.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.point-rules.animate-in:hover {
    transform: translateY(-5px);
}

.calculator-tool.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile animations - from top and bottom */
@media (max-width: 768px) {
    .point-rules {
        transform: translateY(-30px) !important;
    }
    
    .calculator-tool {
        transform: translateY(30px) !important;
    }
    
    .point-rules.animate-in {
        transform: translateY(0) !important;
    }
    
    .point-rules.animate-in:hover {
        transform: translateY(-5px) !important;
    }
    
    .calculator-tool.animate-in {
        transform: translateY(0) !important;
    }
}

/* Trust Indicator Animations */
.trust-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for trust items */
.trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-item:nth-child(2) { transition-delay: 150ms; }
.trust-item:nth-child(3) { transition-delay: 300ms; }
.trust-item:nth-child(4) { transition-delay: 450ms; }

/* Desktop trust animations - from different directions */
@media (min-width: 769px) {
    .trust-item:nth-child(1) {
        transform: translateX(-40px) translateY(20px);
    }
    
    .trust-item:nth-child(2) {
        transform: translateX(-20px) translateY(30px);
    }
    
    .trust-item:nth-child(3) {
        transform: translateX(20px) translateY(30px);
    }
    
    .trust-item:nth-child(4) {
        transform: translateX(40px) translateY(20px);
    }
    
    .trust-item.animate-in {
        transform: translateX(0) translateY(0);
    }
}

.rule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.5));
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.7));
    border-color: rgba(226, 232, 240, 0.3);
    transform: translateX(5px);
}

.amount-range {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
}

.points-earned {
    font-weight: 700;
    color: #f8fafc;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.15), rgba(226, 232, 240, 0.1));
    border-radius: 9px;
    border: 1px solid rgba(248, 250, 252, 0.3);
    text-shadow: none;
}

/* Calculator Tool Section - Light Background with Navy Content */
.calculator-tool {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(30, 41, 59, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(30, 41, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.calculator-tool:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(30, 41, 59, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(30, 41, 59, 0.7);
}

.calculator-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    box-shadow: 0 0 20px rgba(30, 41, 59, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-tool:hover::before {
    opacity: 1;
}

.calculator-tool h3 {
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: none;
    text-align: center;
}

.calculator-tool h3 i {
    color: #e2e8f0;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.2), rgba(248, 250, 252, 0.1));
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 0 15px rgba(226, 232, 240, 0.2);
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
    text-align: center;
}

.calculator-input {
    margin-bottom: 1.5rem;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-input input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.5));
    backdrop-filter: blur(5px);
    color: #f8fafc;
    margin-bottom: 0;
    min-height: 20px;
    box-sizing: border-box;
    text-align: center;
}

.calculator-input input::placeholder {
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
}

.calculator-input input::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.calculator-input input:focus {
    outline: none;
    border-color: rgba(226, 232, 240, 0.5);
    box-shadow: 0 0 20px rgba(226, 232, 240, 0.2);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.7));
}

.calculator-result {
    margin-top: 1rem;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.6));
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.points-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.points-label {
    color: #e2e8f0;
    font-weight: 500;
}

.points-value {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.points-unit {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1.1rem;
}

.calculator-info {
    margin-top: 1rem;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.4));
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.15);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.info-label {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1rem;
}

.info-value {
    color: #f8fafc;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-note {
    text-align: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.info-note small {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-style: italic;
}

.calculator-cta {
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
    display: none; /* Hidden by default, shown by JavaScript when input has value */
}

.btn-register {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-register:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-register:disabled,
.btn-register.disabled {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.btn-register:disabled:hover,
.btn-register.disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
}

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



/* Participants Section Styling - Dark Background */
.participants-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 8rem 0;
    overflow: hidden;
}

.participants-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Participant Groups */
.participant-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.group {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.group:hover::before {
    opacity: 1;
}

.group i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.group:hover i {
    color: #FBBF24;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4));
}

.group h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.group:hover h3 {
    color: #FBBF24;
}

/* Prize Structure Section - Dark Background */
.prizes-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.prizes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(51, 65, 85, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.prizes-section .container {
    position: relative;
    z-index: 1;
}

.prizes-section h2 {
    color: white !important;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 
                 0 0 40px rgba(255, 255, 255, 0.1),
                 0 0 60px rgba(245, 158, 11, 0.2);
}

.prizes-section h2::after {
    display: none;
}

.prizes-section .golden-line {
    margin: 2rem auto 3rem auto;
    background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

.prizes-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Prizes */
.prizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Grand Prize Featured Section */
.grand-prize-featured {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.grand-prize-featured .prize {
    width: 100%;
}

/* Three prizes in a row */
.prizes-three {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
}

.prize {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(226, 232, 240, 0.25);
}

.grand-prize::before {
    display: none;
}

.second-prize::before {
    display: none;
}

.third-prize::before {
    display: none;
}

.prize-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Prize icon size variations */
.grand-prize .prize-icon {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
}

/* Bottom row prizes - consistent icon sizing */
.second-prize .prize-icon,
.third-prize .prize-icon,
.fourth-prize .prize-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.prize h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Prize title size variations */
.grand-prize h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Bottom row prizes - all same size for consistency */
.second-prize h3,
.third-prize h3,
.fourth-prize h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Prize amount size variations */
.grand-prize .prize-amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Bottom row prizes - consistent sizing */
.second-prize .prize-amount,
.third-prize .prize-amount,
.fourth-prize .prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.grand-prize .prize-amount {
    color: #f8fafc;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.prize p {
    color: #cbd5e1;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.transparency-notice {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.15);
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.transparency-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.transparency-notice h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.transparency-notice p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

/* Registration Section - Dark Background */
.registration-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.registration-section .container {
    position: relative;
    z-index: 1;
}

.registration-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.registration-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    margin: 2rem auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* Forms */
.registration-form, .search-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.registration-form::before,
.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(5px);
    color: white;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1e293b;
    color: white;
}

/* Participants & Leaderboard Section - Light Background */
.participants-leaderboard-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.participants-leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.participants-leaderboard-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        linear-gradient(0deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        radial-gradient(circle at 30px 30px, rgba(30, 41, 59, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90px 90px, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px, 180px 180px;
    background-position: 0 0, 0 0, 0 0, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Vertical gradient mask - darker at top/bottom, lighter in middle */
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,     /* Full opacity at top */
        rgba(0,0,0,0.3) 50%,  /* Light opacity in middle */
        rgba(0,0,0,1) 100%    /* Full opacity at bottom */
    );
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,1) 100%
    );
}

.participants-leaderboard-section .container {
    position: relative;
    z-index: 2;
}

.participants-leaderboard-section h2 {
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 41, 59, 0.2);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.participants-leaderboard-section h2::after {
    display: none;
}

.participants-leaderboard-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

/* Participants Content */
.participants-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0 auto;
}

/* Search Participants */
.search-participants {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(51, 65, 85, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-participants h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(71, 85, 105, 0.6);
    font-size: 1rem;
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(226, 232, 240, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(71, 85, 105, 0.7);
}

.search-box input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    background: #ffffff;
}

.search-box input:focus + .search-icon {
    color: #f59e0b;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 2px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
}

.search-results:empty {
    display: none;
}

/* Custom scrollbar for search results */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #D97706, #B45309);
}


/* Leaderboard */
.leaderboard {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(51, 65, 85, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leaderboard h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.leaderboard-table {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.4));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.3);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(51, 65, 85, 0.4);
    position: sticky;
    top: 0;
    z-index: 10;
}

.leaderboard-body {
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.2);
    transition: all 0.3s ease;
    align-items: center;
}

.leaderboard-row:hover {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4), rgba(30, 41, 59, 0.5));
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.rank {
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    font-size: 1.1rem;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.participant-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.participant-name {
    color: #f8fafc;
    font-weight: 600;
    font-size: 1rem;
}

.participant-meta {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.tickets {
    color: #f59e0b;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
}

.participant-location {
    color: #cbd5e1;
    font-size: 0.85rem;
    text-align: center;
}

.show-more-action {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

.show-more-action .btn-outline {
    background: none;
    color: #f8fafc;
    border: none;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.show-more-action .btn-outline:hover {
    background: none;
    border: none;
    color: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.show-more-action .btn-outline i {
    color: #f8fafc;
    font-size: 0.9rem;
}

/* Current Status Section - Light Background */
.status-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.status-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        linear-gradient(0deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        radial-gradient(circle at 30px 30px, rgba(30, 41, 59, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90px 90px, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px, 180px 180px;
    background-position: 0 0, 0 0, 0 0, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Vertical gradient mask - darker at top/bottom, lighter in middle */
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,     /* Full opacity at top */
        rgba(0,0,0,0.3) 50%,  /* Light opacity in middle */
        rgba(0,0,0,1) 100%    /* Full opacity at bottom */
    );
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,1) 100%
    );
}

.status-section .container {
    position: relative;
    z-index: 2;
}

.status-section h2 {
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 41, 59, 0.2);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.status-section h2::after {
    display: none;
}

.status-section .golden-line {
    margin: 2rem auto 3rem auto;
}

/* Section Header with Action Button */
.section-header-with-action {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.section-header-with-action h2 {
    margin: 0;
}

/* Floating Action Button - Top Right */
.floating-action-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 
        0 8px 25px rgba(30, 41, 59, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(51, 65, 85, 0.4);
    backdrop-filter: blur(10px);
}

.floating-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(30, 41, 59, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #f8fafc;
    text-decoration: none;
}

.floating-action-btn i {
    font-size: 1.1rem;
    color: #fbbf24;
    transition: all 0.3s ease;
}

.floating-action-btn:hover i {
    transform: scale(1.1);
    color: #f59e0b;
}

/* Section Bottom Action Button */
.section-bottom-action {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid rgba(245, 158, 11, 0.6);
}

.section-bottom-action .cta-content {
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.1), rgba(51, 65, 85, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(30, 41, 59, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-bottom-action .cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section-bottom-action .cta-description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    text-align: center !important;
}

.section-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #f8fafc;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 
        0 10px 30px rgba(30, 41, 59, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(51, 65, 85, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.section-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(30, 41, 59, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #f8fafc;
    text-decoration: none;
}

.section-action-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.section-action-btn:hover i {
    transform: translateX(5px);
}

.progress-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.4));
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(51, 65, 85, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #334155, #1e293b);
    transition: width 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(51, 65, 85, 0.4);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    border-radius: 10px;
}

.progress-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.progress-text #current-points {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.6rem;
}

.next-drawing {
    font-size: 1.2rem;
    color: #475569;
    font-weight: 600;
    margin-top: 1rem;
}

.register-link {
    color: #f59e0b;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: #d97706;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    color: #f8fafc;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 1rem auto 2rem auto;
    max-width: 280px;
    font-size: 1.05rem;
    text-align: center;
}

.footer-logo img {
    height: 42px;
    width: auto;
    margin-bottom: 1rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.footer-social a:hover {
    background: #f59e0b;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: #f59e0b;
    padding-left: 8px;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::before {
    width: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #94a3b8;
    font-size: 1rem;
}

.contact-item i {
    color: #FFFFFF;
    width: 16px;
    text-align: center;
}

/* Fix phone number blue color on mobile */
.contact-item span {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

/* Disable automatic phone number detection styling */
a[href^="tel"], 
.contact-item a,
.contact-item span a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.footer-bottom {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright p {
    color: #64748b;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
}

.trust-text {
    color: #FFD700;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 1.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .footer-copyright .trust-text {
        font-size: 0.85rem;
        color: #e2e8f0 !important;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

/* Trust Badge for How It Works Section */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: #1e293b;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  margin: 2rem auto 0 auto;
  width: fit-content;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  text-shadow: none;
}

.trust-icon {
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* For image-based trust icons in first section */
img.trust-icon {
  width: 40px;
  height: 40px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 1rem 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0.5rem 10px 1rem 10px !important; /* Top Right Bottom Left - different right padding */
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        /* Flexbox layout: Hamburger + Logo on left, Auth on right */
    }
    
    /* Reset spacing for dashboard page (which doesn't have hamburger) */
    .dashboard-page .nav-container {
        padding: 1rem 20px !important;
    }
    
    /* Dashboard page logo positioning on mobile - target nav without hamburger */
    .nav-container:not(:has(.hamburger)) .nav-logo {
        margin-left: 10px !important; /* Move logo to the right */
        text-align: left !important;
        padding-left: 10px !important; /* Additional padding if needed */
    }
    
    /* Alternative approach - target all nav-logo on mobile then override for hamburger pages */
    .nav-logo {
        margin-left: 20px !important;
    }
    
    /* Reset for hamburger menu pages (override the above) */
    .nav-container:has(.hamburger) .nav-logo {
        margin-left: 0px !important;
    }
    
    /* Profile circle spacing - high specificity to override inline styles */
    .navbar .nav-container .nav-auth #profile-circle {
        margin-right: -10px !important;
        position: relative !important;
        /* Add right margin to profile circle itself to move it away from edge */
        transform: translateX(-10px) !important;
    }
    
    /* Alternative approach - add padding to the profile circle container */
    .nav-auth #profile-circle {
        padding-right: 00px !important;
        margin-right: 0px !important;
        position: relative !important;
    }

    .hamburger {
        order: 1;
        margin-right: 0.5rem !important;
        flex-shrink: 0 !important;
    }

    .nav-logo {
        order: 2;
        flex-grow: 1 !important;
        text-align: left !important;
        margin-top: 4px;
    }

    .nav-auth {
        order: 3;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        margin-right: 0px !important; /* Let container padding handle spacing */
    }

    /* Mobile profile circle adjustments - larger for better visibility */
    .nav-auth #profile-circle .user-avatar,
    .nav-auth .user-avatar {
        width: 60px !important; /* Increased from 50px */
        height: 60px !important;
        border: 3px solid #F59E0B !important;
    }

    .nav-auth #profile-circle .user-avatar span,
    .nav-auth .user-avatar span {
        font-size: 1.1rem !important;
    }

    /* Mobile menu implementation removed - using slide-in version below */

    .nav-logo img {
        height: 40px;
        max-width: 160px;
    }

    .navbar {
        border-bottom: 5px solid #F59E0B;
    }

    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 86px !important;
        flex-direction: column !important;
        background: #1E2A38 !important;
        width: 100% !important;
        height: calc(100vh - 95px) !important;
        text-align: center !important;
        transition: 0.3s !important;
        padding: 0.5rem 0 !important;
        z-index: 999 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        display: flex !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    /* Compact spacing for mobile nav links to fit on one screen */
    .nav-menu .nav-link {
        padding: 0.2rem 0;
        margin: 0.2rem 0;
        font-size: 1.25rem;
        border-bottom: 1px solid rgba(245, 158, 11, 0.1);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(245, 158, 11, 0.1);
        border-bottom-color: rgba(245, 158, 11, 0.3);
    }

    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0.5rem 0;
        background: #263141;
        border-radius: 8px;
        padding: 0.5rem 0;
    }

    .dropdown-item {
        justify-content: center;
        padding: 1.2rem 1rem;
        margin: 0.3rem 0;
        font-size: 1.2rem;
        color: #e2e8f0;
        border-bottom: 1px solid rgba(245, 158, 11, 0.1);
        transition: all 0.3s ease;
    }

    .dropdown-item:hover,
    .dropdown-item.active {
        background: #2B394A;
        color: #F59E0B !important;
    }

    /* Hide the More dropdown in mobile and show individual items */
    .dropdown {
        display: none !important;
    }
    
    /* Show individual menu items that were under More dropdown - compact spacing */
    .mobile-only-nav-link {
        display: block !important;
        padding: 0.8rem 0;
        margin: 0.2rem 0;
        font-size: 1.25rem;
        border-bottom: 1px solid rgba(245, 158, 11, 0.1);
        transition: all 0.3s ease;
        color: #e2e8f0 !important;
        text-decoration: none;
        text-align: center;
    }
    
    .mobile-only-nav-link i {
        display: none !important;
    }
    
    .mobile-only-nav-link:hover,
    .mobile-only-nav-link.active {
        background: rgba(245, 158, 11, 0.1);
        border-bottom-color: rgba(245, 158, 11, 0.3);
        color: #F59E0B !important;
    }

    /* Center the dropdown toggle in mobile */
    .dropdown-toggle {
        justify-content: center;
    }

    /* Mobile CTA Register Button */
    .nav-link[href="register.html"]:not(.active) {
        font-size: 1.3rem;
        font-weight: 800;
        color: #d4af37 !important;
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
        margin: 0.5rem 0;
        animation: shine-pulse-gold 3s infinite;
    }

    @keyframes shine-pulse-gold {
        0% {
            text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
        }
        50% {
            text-shadow: 0 0 25px rgba(212, 175, 55, 1), 0 0 35px rgba(212, 175, 55, 0.7);
        }
        100% {
            text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
        }
    }

    /* Mobile Register Button Active State */
    @media (max-width: 768px) {
        .navbar .nav-container .nav-menu .nav-link[href="register.html"].active {
            color: #f59e0b !important;
            text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 25px rgba(245, 158, 11, 0.4) !important;
            transform: scale(1.05) !important;
            font-weight: 800 !important;
            font-size: 1.3rem !important;
        }
    }

    /* Mobile Login Button - Advanced Style */
    .login-btn {
        --BUTTON-color: #FEF3C7;
        --BUTTON-border-width: 1px;
        --BUTTON-border-radius: 10px;
        --BUTTON-background-image: linear-gradient(
            to bottom left,
            #F59E0B,
            #D97706,
            #B45309 40% 60%,
            #D97706,
            #F59E0B
        );
        --BUTTON-background-position: 100% 0;
        --BUTTON-fx-scale: 0.5;
        --BUTTON-fx-outset: 12px;
        --BUTTON-fx-inset: 0px;
        --BUTTON-fx-angle: 45deg;
        --BUTTON-fx-blur: calc(var(--BUTTON-fx-outset) / 2);
        --BUTTON-fx-opacity: 0.4;
        --BUTTON-fx-background: conic-gradient(
            from var(--BUTTON-fx-angle, 0deg),
            #FBBF24,
            #F59E0B,
            #D97706,
            #F59E0B,
            #FBBF24,
            #F59E0B,
            #D97706,
            #FBBF24 80% 100%
        );
        --BUTTON-inner-shadow-size: 1px;
        --BUTTON-inner-shadow: calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-inner-shadow-size)) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-inner-shadow-size));
        --BUTTON-text-shadow-size: 1.5px;
        --BUTTON-text-shadow-color: #000;
        --BUTTON-text-shadow:
            calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 1) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 1) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 99%, transparent),
            calc(sin(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 2) calc(cos(var(--BUTTON-fx-angle) - 90deg) * var(--BUTTON-text-shadow-size) * 2) 0 color-mix(in hsl, var(--BUTTON-text-shadow-color) 90%, transparent);
        --BUTTON-transition-duration: 500ms;

        position: relative !important;
        isolation: isolate;
        padding: 0.8rem 1.2rem !important;
        font-family: 'Josefin Sans', 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        line-height: 1;
        color: var(--BUTTON-color) !important;
        text-shadow: var(--BUTTON-text-shadow);
        border: none !important;
        background: transparent !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        max-width: 120px;
        width: auto !important;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        border-radius: var(--BUTTON-border-radius) !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        margin: 0.5rem 0;
        transition: all var(--BUTTON-transition-duration) ease-in-out;
        transition-property: color, --BUTTON-fx-angle;
    }

    .login-btn:is(:hover, :focus-visible) {
        --BUTTON-color: #F59E0B !important;
        --BUTTON-background-position: 0 100%;
        --BUTTON-fx-scale: 1;
        --BUTTON-fx-inset: calc(var(--BUTTON-fx-outset) * 0.25);
        --BUTTON-fx-blur: calc(var(--BUTTON-fx-outset));
        --BUTTON-fx-opacity: 0.8;
        color: #F59E0B !important;
    }

    .login-btn::before,
    .login-btn::after {
        content: "";
        position: absolute;
        transition: inherit;
    }

    .login-btn::before {
        inset: var(--BUTTON-fx-inset);
        z-index: -2;
        border-radius: calc(var(--BUTTON-border-radius) + var(--BUTTON-fx-outset));
        background: var(--BUTTON-fx-background);
        mix-blend-mode: screen;
        filter: blur(var(--BUTTON-fx-blur)) opacity(var(--BUTTON-fx-opacity));
        transition-property: inset, opacity, filter;
        transition-delay: calc(var(--BUTTON-transition-duration) * 0.125);
    }

    .login-btn::after {
        inset: 0;
        z-index: -1;
        border: var(--BUTTON-border-width) solid transparent;
        border-radius: var(--BUTTON-border-radius);
        box-shadow: inset var(--BUTTON-inner-shadow) calc(16 * var(--BUTTON-inner-shadow-size)) calc(-8 * var(--BUTTON-inner-shadow-size)) #F59E0B;
        background-image: var(--BUTTON-background-image), var(--BUTTON-fx-background);
        background-size: 200% 200%, 100% 100%;
        background-position: var(--BUTTON-background-position), 50% 50%;
        background-origin: padding-box, border-box;
        background-repeat: no-repeat;
        background-clip: padding-box, border-box;
        transition-property: background-position;
    }

    .hamburger {
        display: flex;
    }

    .hamburger:active {
        background: rgba(245, 158, 11, 0.1);
        border-radius: 4px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 2rem 0 !important;
        min-height: calc(100vh - 80px) !important; /* Full screen minus navbar */
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        margin-top: 80px !important; /* Account for fixed navbar */
        background-attachment: scroll; /* Ensures background works on mobile */
        background-size: cover !important; /* Better mobile coverage */
        background-position: center;
        animation: mobilePan 15s ease-in-out infinite;
        display: flex !important;
        align-items: flex-start !important; /* Move content towards top */
        justify-content: center !important;
        padding-top: 0.5rem !important; /* Reduced gap from navbar */
    }

    .hero-content {
        transform: scale(0.9) !important; /* Scale down content for real mobile */
        transform-origin: center !important;
        padding: 1rem !important;
        max-width: 95% !important;
    }

    .hero h1 {
        font-size: 2.5rem !important; /* Increased for better impact */
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .hero-main {
        font-size: 2.5rem !important; /* Match h1 size */
    }

    .hero-highlight {
        font-size: 2.7rem !important; /* Slightly larger for emphasis */
    }

    .hero-subtitle {
        display: none !important; /* Hide subtitle on mobile */
    }
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 20px; /* Add padding to prevent overflow */
    }

    .hero-stats::before {
        width: 420px;
        box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
        top: -1.15rem;
        margin: 0.55rem auto 4rem auto !important; /* Add top spacing to separate from title */
    }

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

    .green-stat {
        text-shadow: 0 0 20px rgba(211, 203, 147, 0.7);
    }

    .white-stat {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    }

    .gray-stat {
        text-shadow: 0 0 8px rgba(148, 163, 184, 0.4);
    }

    .stat h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-blue,
    .btn-orange-primary,
    .btn-blue-outline {
        width: 100%;
        max-width: 280px;
    }

    /* Mobile circular progress - ensure it fits properly */
    .circular-stat {
        min-width: 110px;
    }

    .circular-progress {
        width: 110px;
        height: 110px;
        margin: 0 auto 0.5rem auto;
    }

    .progress-ring {
        max-width: 110px;
        max-height: 110px;
    }

    .progress-ring-bg,
    .progress-ring-fill {
        stroke-width: 12 !important;
    }

    .progress-number {
        font-size: 1.4rem;
        text-shadow: 0 0 20px rgb(211, 203, 147, 0.7);
    }

    .progress-total {
        font-size: 0.8rem;
    }

    /* Mobile flip counter */
    .flip-number {
        font-size: 2rem;
        text-shadow: 0 0 20px rgb(211, 203, 147, 0.7);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .prizes-three {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .second-prize {
        order: 1;
    }

    .third-prize {
        order: 2;
    }

    .fourth-prize {
        order: 3;
    }

    .grand-prize-featured .prize {
        max-width: 100%;
    }

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

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

    .calculator-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .point-rules, .calculator-tool {
        padding: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }


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

    /* Extra small screens - profile circle */
    .nav-auth #profile-circle .user-avatar,
    .nav-auth .user-avatar {
        width: 55px !important; /* Increased from 40px */
        height: 55px !important;
        border: 3px solid #F59E0B !important;
    }

    .nav-auth #profile-circle .user-avatar span,
    .nav-auth .user-avatar span {
        font-size: 1rem !important;
    }

    .hero {
        padding: 1.5rem 0 !important;
        min-height: calc(100vh - 80px) !important; /* Full screen minus navbar */
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        margin-top: 80px !important; /* Account for fixed navbar */
        background-attachment: scroll; /* Ensures background works on mobile */
        background-size: cover !important; /* Better mobile coverage */
        background-position: center;
        animation: mobilePan 15s ease-in-out infinite;
        display: flex !important;
        align-items: flex-start !important; /* Move content towards top */
        justify-content: center !important;
        padding-top: 0.3rem !important; /* Reduced gap from navbar on small screens */
    }

    .hero-content {
        transform: scale(0.85) !important; /* Even smaller for very small screens */
        transform-origin: center !important;
        padding: 0.8rem !important;
        max-width: 95% !important;
    }

    .hero h1 {
        font-size: 2.3rem !important; /* Increased for better readability */
        line-height: 1.1 !important;
    }

    .hero-main {
        font-size: 2.3rem !important; /* Match h1 size */
    }

    .hero-highlight {
        font-size: 2.5rem !important; /* Slightly larger for emphasis */
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    }

    .hero-subtitle {
        display: none !important; /* Hide subtitle on small screens too */
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .highlight-white {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    .participant-groups {
        grid-template-columns: 1fr;
    }

    .prize-amount {
        font-size: 2rem;
    }
}

/* Section Headers */
h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section h2 {
    position: relative;
    padding-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Participants Section Header */
.participants-section h2 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 
                 0 0 40px rgba(255, 255, 255, 0.1),
                 0 0 60px rgba(245, 158, 11, 0.2);
}

.participants-section h2::after {
    display: none;
}

.participants-section .golden-line {
    margin: 2rem auto 3rem auto;
    background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

.participants-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

/* How It Works Section - Light Design */
.how-it-works-section {
    background: linear-gradient(185deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        linear-gradient(0deg, transparent 5%, rgba(30, 41, 59, 0.06) 95%, rgba(30, 41, 59, 0.06) 100%),
        radial-gradient(circle at 30px 30px, rgba(30, 41, 59, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90px 90px, rgba(30, 41, 59, 0.06) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px, 180px 180px;
    background-position: 0 0, 0 0, 0 0, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Vertical gradient mask - darker at top/bottom, lighter in middle */
    mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,     /* Full opacity at top */
        rgba(0,0,0,0.3) 50%,  /* Light opacity in middle */
        rgba(0,0,0,1) 100%    /* Full opacity at bottom */
    );
    -webkit-mask: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,1) 100%
    );
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 41, 59, 0.2);
}

.section-subtitle {
    font-size: 1.3rem;
    color: #374151;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
}

.golden-line {
    width: 900px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%);
    margin: 1rem auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    max-width: 80vw;
}

/* Mobile override for golden line spacing in sections */
@media (max-width: 768px) {
    .golden-line,
    div.golden-line,
    .section-header .golden-line,
    .how-it-works-section .golden-line,
    .how-it-works-section .section-header .golden-line,
    .calculator-section .golden-line,
    .prizes-section .golden-line,
    .status-section .golden-line,
    .participants-section .golden-line,
    .interactive-cta-section .golden-line,
    section .golden-line,
    html body section .golden-line,
    html body .section-header .golden-line {
        margin: 2rem auto !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Fix spacing between hero and first section - standardized padding to match other sections */
    .hero {
        margin-bottom: 0 !important;
    }
    
    .how-it-works-section {
        margin-top: 0 !important;
        padding: 4rem 0 !important; /* Standardized to match section base padding */
    }
    
    .how-it-works-section .section-header {
        margin-bottom: 4rem !important;
    }
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.step-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    border: 2px solid rgba(51, 65, 85, 0.4);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 280px; /* Default for large screens, overridden by media queries */
    height: 380px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* Prevent shrinking by default */
}

.step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3) 0%, rgba(71, 85, 105, 0.2) 50%, rgba(51, 65, 85, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(145deg, rgba(51, 65, 85, 0.98) 0%, rgba(71, 85, 105, 0.95) 100%);
    border-color: rgba(71, 85, 105, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(248, 250, 252, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.step-card > * {
    position: relative;
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    color: #f8fafc;
    text-shadow: 0 0 20px rgba(248, 250, 252, 0.4);
}

.step-card .step-number {
    position: absolute;
    top: -9px;
    right: -9px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #f8fafc;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(30, 41, 59, 0.4);
    border: 3px solid rgba(30, 41, 59, 0.2);
    z-index: 3;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.5);
    border-color: rgba(30, 41, 59, 0.4);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.step-highlight {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-card:hover .step-highlight {
    background: linear-gradient(135deg, #334155, #475569);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
}

.step-arrow {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 1.5rem;
    margin-top: calc(190px - 0.75rem);
    animation: pulse 2s infinite;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-arrow.animate-in {
    opacity: 1;
    transform: scale(1);
}

.step-arrow i {
    filter: drop-shadow(0 0 10px rgba(30, 41, 59, 0.4));
}

@keyframes pulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 1; }
}

.prize-breakdown {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(17, 24, 39, 0.4);
    border-radius: 25px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(10px);
}

.breakdown-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: end;
}

.prize-item {
    padding: 2rem 1.5rem;
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.prize:hover {
    transform: translateY(-8px) scale(1.02);
}

.grand-prize:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(248, 250, 252, 0.15);
}

.second-prize:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.third-prize:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.grand-prize,
.second-prize,
.third-prize {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3), rgba(30, 41, 59, 0.2));
    border: 2px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Height variations for visual hierarchy */
.grand-prize {
    padding: 3.5rem 2rem !important;
    min-height: 420px;
    transform: translateY(50px) scale(0.8) rotate(2deg);
}

.second-prize {
    padding: 2.8rem 1.8rem !important;
    min-height: 350px;
    transform: translateY(50px) scale(0.8) rotate(-1deg);
}

.third-prize {
    padding: 2.2rem 1.5rem !important;
    min-height: 280px;
    transform: translateY(50px) scale(0.8) rotate(1deg);
}

/* Scroll animation classes */
.prize.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
}

.prize.animate-in.grand-prize {
    animation: grandPrizeEntry 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.prize.animate-in.second-prize {
    animation: secondPrizeEntry 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.prize.animate-in.third-prize {
    animation: thirdPrizeEntry 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Prize entry animations */
@keyframes grandPrizeEntry {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotate(2deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(248, 250, 252, 0.1);
    }
}

@keyframes secondPrizeEntry {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotate(-1deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02) rotate(0.5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    }
}

@keyframes thirdPrizeEntry {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotate(1deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-3px) scale(1.01) rotate(-0.5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

.prize-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.prize-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prize-count {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .golden-line,
    div.golden-line,
    .golden-line[class],
    body .golden-line,
    html body .golden-line {
        width: 350px !important;
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.4) !important;
        max-width: calc(100vw - 40px) !important;
        margin: 2rem auto !important; /* Add proper spacing above and below */
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .how-it-works-section .golden-line,
    .calculator-section .golden-line,
    .prizes-section .golden-line,
    .status-section .golden-line,
    .participants-section .golden-line,
    .interactive-cta-section .golden-line,
    .section-header .golden-line,
    .how-it-works-section .section-header .golden-line,
    div.section-header div.golden-line {
        margin: 2rem auto !important; /* Specific spacing for all sections */
    }
    
    .participants-section .golden-line {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.4) !important;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: none;
        margin: 2rem 0;
        margin-top: 2rem;
    }
    
    .step-arrow i::before {
        content: "\f063"; /* FontAwesome down arrow */
    }
    
    .step-card {
        width: 100%;
        max-width: 350px;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    /* Mobile: Equal heights and simple order */
    .grand-prize,
    .second-prize,
    .third-prize {
        min-height: auto !important;
        padding: 2.5rem 1.5rem !important;
        order: 0;
    }
    
    .grand-prize {
        order: 1;
    }
    
    .second-prize {
        order: 2;
    }
    
    .third-prize {
        order: 3;
    }
    
    /* Mobile: Uniform text sizes */
    .prize-icon {
        font-size: 3.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .prize h3 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
    }
    
    .prize-amount {
        font-size: 2.2rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.8rem !important;
    }
    
    .breakdown-title {
        font-size: 2rem;
    }
    
    /* Mobile: Action Buttons */
    .section-header-with-action {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .floating-action-btn {
        position: static;
        margin-top: 1rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-action-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-bottom-action {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    /* Mobile: CTA Content */
    .section-bottom-action .cta-content {
        margin: 0 auto 2rem auto;
        padding: 1.5rem;
    }
    
    .section-bottom-action .cta-title {
        font-size: 1.5rem;
    }
    
    .section-bottom-action .cta-description {
        font-size: 1rem;
        text-align: center !important;
    }
    
    /* Mobile: Participants & Leaderboard Section */
    .participants-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-participants,
    .leaderboard {
        padding: 1.5rem;
    }
    
    .leaderboard-header {
        padding: 1rem;
        font-size: 0.8rem;
        grid-template-columns: 40px 1fr 60px;
        gap: 0.8rem;
    }
    
    .leaderboard-row {
        padding: 0.8rem 1rem;
        grid-template-columns: 40px 1fr 60px;
        gap: 0.8rem;
    }
    
    .leaderboard-header span:nth-child(3),
    .participant-location {
        display: none;
    }
    
    .participant-info {
        gap: 0.6rem;
    }
    
    .participant-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .participant-name {
        font-size: 0.9rem;
    }
    
    .participant-meta {
        font-size: 0.75rem;
    }
    
    .rank,
    .tickets {
        font-size: 1rem;
    }
}

/* Remove unused floating action button styles */
.section-header-with-action,
.floating-action-btn {
    display: none;
}

/* Desktop: Different box heights and podium layout */
@media (min-width: 769px) {
    .prizes-grid {
        align-items: end !important;
    }
    
    .grand-prize {
        min-height: 420px !important;
    }
    
    .second-prize {
        min-height: 350px !important;
    }
    
    .third-prize {
        min-height: 280px !important;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.message.success {
    background-color: #1E293B;
    color: #ffffff;
    border: 1px solid #334155;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Button-53 Login Button Responsive Styles */
@media (min-width: 768px) {
    .login-btn {
        padding: .88rem 3rem !important;
        font-size: 1.18rem !important;
        max-width: 170px;
    }
    
    /* Trust items desktop styles */
    .trust-indicators {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        max-width: 1400px;
        gap: 30px;
    }
    
    .trust-item.grid__cell {
        height: 80px;
        min-width: 400px;
    }
    
    .trust-item.grid__cell .trust-icon {
        font-size: 28px !important;
    }
    
    .trust-text {
        font-size: 1.05rem;
    }
}

/* Interactive CTA Section */
.interactive-cta-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

#bg-canvas {
    display: none;
}

.cta-content-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cta-text-center {
    text-align: center;
}

.cta-main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(245, 158, 11, 0.1);
    white-space: nowrap;
}

.cta-description {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* White golden line specifically for CTA section */
.interactive-cta-section .golden-line {
    background: linear-gradient(90deg, transparent 0%, #ffffff 25%, #f8f9fa 50%, #ffffff 75%, transparent 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cta-button-container {
    margin: 3rem 0;
}

/* Trust Indicators - Animated Grid Style */
.trust-indicators {
    display: grid;
    grid-template-columns: 350px 350px;
    gap: 20px;
    margin: 3rem auto 4rem auto;
    justify-content: center;
}

.trust-item.grid__cell {
    width: 350px;
    height: 80px;
    border: 3px solid white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: 0.25s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item.grid__cell:hover {
    border-color: white;
    transform: translateY(-5px);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    transition: 0.25s ease;
    padding: 0 1rem;
    width: 100%;
}

/* Desktop layout - different order for left and right boxes */
@media (min-width: 769px) {
    .trust-indicators {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 3rem auto 4rem auto;
        max-width: 600px;
    }
    
    /* Left column boxes - Image first, then text */
    .trust-item.grid__cell:nth-child(1) .trust-content,
    .trust-item.grid__cell:nth-child(3) .trust-content {
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 1.5rem;
    }
    
    /* Right column boxes - Text first, then image */
    .trust-item.grid__cell:nth-child(2) .trust-content,
    .trust-item.grid__cell:nth-child(4) .trust-content {
        flex-direction: row-reverse;
        justify-content: flex-start;
        padding-right: 1.5rem;
    }
}

.trust-item.grid__cell:hover .trust-content {
    transform: scale(1.05);
}

.trust-icon {
    font-size: 56px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
    transition: 0.25s ease;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item.grid__cell:hover .trust-icon {
    filter: drop-shadow(0 0 15px rgba(30, 41, 59, 0.4));
    color: #1e293b !important;
}

.trust-text {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    transition: 0.25s ease;
    flex: 1;
}

.trust-item.grid__cell:hover .trust-text {
    color: #1e293b;
    text-shadow: 
        0 2px 4px rgba(30, 41, 59, 0.1),
        0 4px 8px rgba(30, 41, 59, 0.1);
}

.hover-block {
    height: 100%;
    width: 100%;
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
    /* Default hidden position */
    top: -100%;
    left: 0;
}

.hover-block[data-slide="top"] {
    top: -100%;
    left: 0;
    animation: slideInTop 0.25s ease forwards;
}

.hover-block[data-slide="bottom"] {
    top: 100%;
    left: 0;
    animation: slideInDown 0.25s ease forwards;
}

.hover-block[data-slide="left"] {
    top: 0;
    left: -100%;
    animation: slideInLeft 0.25s ease forwards;
}

.hover-block[data-slide="right"] {
    top: 0;
    left: 100%;
    animation: slideInRight 0.25s ease forwards;
}

.hover-block[data-slide="top-out"] {
    top: 0;
    left: 0;
    animation: slideOutTop 0.25s ease forwards;
}

.hover-block[data-slide="bottom-out"] {
    top: 0;
    left: 0;
    animation: slideOutDown 0.25s ease forwards;
}

.hover-block[data-slide="left-out"] {
    top: 0;
    left: 0;
    animation: slideOutLeft 0.25s ease forwards;
}

.hover-block[data-slide="right-out"] {
    top: 0;
    left: 0;
    animation: slideOutRight 0.25s ease forwards;
}

@keyframes slideInTop {
    from { top: -100%; }
    to { top: 0; }
}

@keyframes slideInDown {
    from { top: 100%; }
    to { top: 0; }
}

@keyframes slideInLeft {
    from { left: -100%; }
    to { left: 0; }
}

@keyframes slideInRight {
    from { left: 100%; }
    to { left: 0; }
}

@keyframes slideOutTop {
    to { top: -100%; }
    from { top: 0; }
}

@keyframes slideOutDown {
    to { top: 100%; }
    from { top: 0; }
}

@keyframes slideOutLeft {
    to { left: -100%; }
    from { left: 0; }
}

@keyframes slideOutRight {
    to { left: 100%; }
    from { left: 0; }
}

/* Sketch Button for CTA Registration */
.sketch-button.cta-register-button {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    appearance: none;
    outline: none;
    border: none;
    font-family: inherit;
    background: none;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sketch-button.cta-register-button span {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #d4af37 100%);
    padding: 0 3rem;
    height: 80px;
    width: 445px;
    position: relative;
    line-height: 80px;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.3),
        0 0 30px rgba(212, 175, 55, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.02%), 
        0 4px 16px rgba(0, 0, 0, 0.02%),
        0 4px 24px rgba(0, 0, 0, 0.02%);
    
    transition: all 0.3s ease;
}

.sketch-button.cta-register-button:hover span {
    background: linear-gradient(135deg, #f59e0b 0%, #d4af37 50%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(212, 175, 55, 0.4),
        0 0 50px rgba(212, 175, 55, 0.3);
}

.sketch-button.cta-register-button.start svg {
    animation: stroke 1s linear;
}

.sketch-button.cta-register-button .lines {
    position: absolute;
    inset: 0;
    mix-blend-mode: hard-light;
    pointer-events: none;
    z-index: 1;
    transform: scaleX(0.92) scaleY(0.95) translateZ(0);
}

.sketch-button.cta-register-button .lines > div {
    position: absolute;
    inset: 0;
}

.sketch-button.cta-register-button .lines > div:last-child {
    transform: rotate(180deg);
}

.sketch-button.cta-register-button .lines svg {
    display: block;
    position: absolute;
    inset: 0;
    overflow: visible;
    fill: none;
    stroke-width: 1;
    stroke: #f59e0b;
    width: 100%;
    height: 100%;
    stroke-dasharray: 2 10;
    stroke-dashoffset: 14;
    opacity: 0;
}

.sketch-button.cta-register-button .lines svg:nth-child(1) {
    stroke: #d4af37;
}

.sketch-button.cta-register-button .lines svg:nth-child(2) {
    stroke-width: 6px;
    filter: blur(20px);
}

.sketch-button.cta-register-button .lines svg:nth-child(3) {
    stroke-width: 5px;
    filter: blur(6px);
}

.sketch-button.cta-register-button .lines svg:nth-child(4) {
    stroke-width: 10px;
    filter: blur(56px);
}

@keyframes stroke {
    30%, 55% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 4;
        opacity: 0;
    }
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cta-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cta-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    display: block;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .cta-content-container {
        padding: 1rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-main-title {
        white-space: normal;
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 2rem auto 3rem auto;
    }
    
    .trust-item.grid__cell {
        height: 100px;
    }
    
    /* Mobile - all boxes centered with closer spacing */
    .trust-item.grid__cell .trust-content {
        flex-direction: row !important;
        justify-content: center !important;
        padding: 0 0.5rem !important;
        gap: 0.75rem;
    }
    
    .trust-icon {
        font-size: 32px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .trust-text {
        font-size: 1.05rem;
        text-align: center;
    }
    
    .sketch-button.cta-register-button {
        font-size: 1.1rem;
    }
    
    .sketch-button.cta-register-button span {
        padding: 0 1.0rem;
        height: 100px;
        width: 100%;
        max-width: 450px;
        line-height: 100px;
        white-space: nowrap;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .cta-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .interactive-cta-section {
        min-height: 80vh;
    }
    
    .cta-main-title {
        margin-bottom: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button-container {
        margin: 2rem 0;
    }
}

/* ================================
   AUTHENTICATION PAGES
================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 42, 56, 0.3);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.auth-header {
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E2A38;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 6px rgba(30, 42, 56, 0.3),
        0 0 12px rgba(30, 42, 56, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 0 4px rgba(30, 42, 56, 0.25));
}

.brand-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.brand-link:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 8px rgba(30, 42, 56, 0.4),
        0 0 16px rgba(30, 42, 56, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 0 6px rgba(30, 42, 56, 0.35));
}

.auth-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.home-link {
    display: inline-block;
    color: #1E2A38;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 6px 12px;
    margin-top: 8px;
    border: 1px solid rgba(30, 42, 56, 0.1);
}

.home-link:hover {
    color: #2C3E50;
    background: rgba(30, 42, 56, 0.08);
    border-color: rgba(30, 42, 56, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #1E2A38;
}

.auth-tab.active {
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(30, 42, 56, 0.3);
}

.auth-form {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Special styling for checkbox form groups */
.form-group:has(.checkbox-container) {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1E2A38;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    color: #1E2A38;
    background: white;
    transition: all 0.3s ease;
}

.form-group select {
    background: #f8f9fa;
    color: #1E2A38;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1E2A38;
    box-shadow: 0 0 0 3px rgba(30, 42, 56, 0.1);
}

.form-group select:focus {
    background: #f1f3f4;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

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

.form-options a {
    color: #1E2A38;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-options a:hover {
    color: #2C3E50;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1rem;
    color: #1E2A38;
    line-height: 1.6;
    padding: 0.5rem 0;
    min-height: 44px;
}

/* Enhanced styling for registration form checkbox */
#register-form .checkbox-container {
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
    color: #1E2A38 !important;
    cursor: pointer !important;
    min-height: 44px !important;
    padding: 0.5rem 0 !important;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkmark {
    width: 8px;
    height: 8px;
    border: 3px solid #ddd;
    border-radius: 6px;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    background: white;
}

/* Specifically target registration form checkboxes to ensure they're same as login */
#register-form .checkmark {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #ddd !important;
    border-radius: 6px !important;
    margin-right: 0.75rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    background: white !important;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%);
    border-color: #1E2A38;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

/* Same size checkmark for registration form as login */
#register-form .checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    font-size: 14px !important;
    font-weight: 900 !important;
}

#register-form .checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%) !important;
    border-color: #1E2A38 !important;
}

.checkbox-container a {
    color: #1E2A38;
    text-decoration: none;
}

.checkbox-container a:hover {
    color: #2C3E50;
    text-decoration: underline;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 42, 56, 0.3);
    background: linear-gradient(135deg, #2C3E50 0%, #374151 100%);
}

.btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.recaptcha-container > div {
    transform: scale(0.95);
    transform-origin: center center;
}

.btn-secondary {
    background: #1E2A38;
    color: white;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: #2C3E50;
    box-shadow: 0 10px 30px rgba(30, 42, 56, 0.3);
    transform: translateY(-2px);
}

.auth-message {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.auth-message.success {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
    border: 1px solid #F59E0B;
}

.auth-message.error {
    background: rgba(153, 27, 27, 0.1);
    color: #991B1B;
    border: 1px solid #991B1B;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    margin-bottom: -2rem;
}

.auth-footer p {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.security-badges i {
    color: #1E2A38;
    font-size: 1.25rem;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.75rem;
    color: #6c757d;
}

.strength-text small {
    color: #dc3545;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* reCAPTCHA mobile scaling */
    .recaptcha-container > div {
        transform: scale(0.85);
        transform-origin: center center;
    }
}

/* ================================
   FINAL CHECKBOX SIZE OVERRIDE
================================ */
/* Both login and registration checkboxes should be the same size */
form#register-form .form-group .checkbox-container .checkmark,
form#login-form .form-group .checkbox-container .checkmark {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #ddd !important;
    border-radius: 6px !important;
    margin-right: 0.75rem !important;
    background: white !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

form#register-form .form-group .checkbox-container input[type="checkbox"]:checked + .checkmark,
form#login-form .form-group .checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%) !important;
    border-color: #1E2A38 !important;
}

form#register-form .form-group .checkbox-container input[type="checkbox"]:checked + .checkmark::after,
form#login-form .form-group .checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

/* ================================
   LOGIN FORM CHECKBOX FIX
================================ */
/* Fix for login form remember me checkbox */
#login-form .checkbox-container .checkmark {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    border: 3px solid #ddd !important;
    background-color: #ffffff !important;
    margin-right: 0.75rem !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#login-form .checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #1E2A38 0%, #2C3E50 100%) !important;
    border-color: #1E2A38 !important;
}

#login-form .checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

#login-form .checkbox-container {
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
    color: #1E2A38 !important;
    cursor: pointer !important;
    min-height: 44px !important;
    padding: 0.5rem 0 !important;
}

/* Ensure proper spacing in form options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-options .checkbox-container {
    margin: 0;
}

/* ================================ */
/* DASHBOARD STYLES */
/* ================================ */

/* Dashboard Header */
.dashboard-header {
    background: #1E2A38;
    color: #fff;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(22, 33, 62, 0.25);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.user-category {
    opacity: 0.9;
    font-size: 1rem;
}

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

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Dashboard Navigation */

.dashboard-nav {
    background: #1E2A38;
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(22, 33, 62, 0.25);
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e0e6f6;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    box-shadow: 0 2px 8px rgba(22,33,62,0.10);
}

.nav-item.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffd700;
    box-shadow: 0 2px 12px rgba(30,60,114,0.18);
}

/* Dashboard Content */
.dashboard-content {
    margin-bottom: 2rem;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin: 0.5rem 0;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.quick-actions h3 {
    margin: 0 0 1rem 0;
    color: #1e3c72;
    font-weight: 600;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    color: white;
}

.action-btn i {
    font-size: 1.2rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    margin: 0 0 1rem 0;
    color: #1e3c72;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h4 i {
    color: #d4af37;
}

/* Activity List */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    color: #1e3c72;
}

.activity-description {
    color: #6c757d;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #adb5bd;
    font-size: 0.75rem;
}

/* Dashboard Footer */
.dashboard-footer {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 2rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Dashboard Header Dropdown */
.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #2B394A;
    color: #F59E0B !important;
}

.dropdown-item:hover i {
    color: #F59E0B;
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
}

.dropdown-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 4px auto;
    width: 85%;
}

.text-danger {
    color: #dc3545 !important;
}

.text-danger:hover {
    color: #dc3545 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-item {
        text-align: center;
    }
    
    .security-badges {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* How It Works Page Styling */

/* Hero Section - How It Works Page */
.hero-how-it-works {
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.5) 0%, rgba(45, 55, 72, 0.5) 100%), 
                url('assets/images/How-it-works-hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 0;
    min-height: 80vh;
    height: 80vh;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.7) 0%, rgba(45, 55, 72, 0.6) 100%);
    z-index: 1;
}

.hero-content-how-it-works {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #F59E0B;
}

.breadcrumb i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.breadcrumb span {
    color: #F59E0B;
    font-weight: 500;
}

.hero-title-how-it-works {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-highlight-how-it-works {
    display: block;
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    text-shadow: none;
}

.hero-subtitle-how-it-works {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-accent {
    color: #F59E0B;
    font-weight: 500;
}

.hero-cta-how-it-works {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.btn-primary-hero:hover {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #F59E0B;
    color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin: 0 auto;
    max-width: 320px;
}

.trust-icon {
    width: 24px;
    height: 24px;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Increased z-index to ensure visibility */
    pointer-events: none;
    overflow: visible; /* Ensure nothing gets clipped */
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #F59E0B;
    animation: float 6s ease-in-out infinite; /* Back to float for base icons */
    z-index: 10;
    /* Add subtle shadow for hanging effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(245, 158, 11, 0.2);
    /* DEBUG: Temporarily make more visible */
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid #F59E0B;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-how-it-works {
        padding: 4rem 0;
        min-height: 60vh;
        height: auto;
        background-attachment: scroll; /* Ensures background works on mobile */
        background-size: cover; /* Changed back to cover for consistency */
        background-position: center center;
        animation: mobilePan 15s ease-in-out infinite;
    }

    .hero-title-how-it-works {
        font-size: 2.5rem;
    }

    .hero-highlight-how-it-works {
        font-size: 2rem;
    }

    .hero-subtitle-how-it-works {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-cta-how-it-works {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        max-width: 280px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-trust-badge {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Desktop/Windows Screen Optimization - Ensure full height on larger screens */
@media (min-width: 769px) {
    .hero-how-it-works {
        min-height: 80vh !important;
        height: 80vh !important;
        padding: 8rem 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero {
        min-height: 80vh !important;
        height: 80vh !important;
        padding: 8rem 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* Ensure steps display horizontally on desktop */
    .steps-container {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: flex-start !important;
        flex-wrap: wrap !important;
        /* gap removed - let responsive media queries control it */
    }
    
    /* Ensure hero CTA buttons display in a row on desktop */
    body.how-it-works-page .hero-cta {
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 2rem 0 !important;
        flex-wrap: wrap !important;
    }
    
    /* Force guide grid to display horizontally on desktop */
    body.how-it-works-page .hiw-guide-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1200px !important;
        margin: 4rem auto 0 auto !important;
    }
}

/* NUCLEAR OPTION - Force identical hero heights on all screens >= 769px */
@media (min-width: 769px) {
    .hero-how-it-works,
    .hero,
    body.prizes-page .hero {
        min-height: 80vh !important;
        height: 80vh !important;
        max-height: 80vh !important;
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        background-size: cover !important;
        background-position: center center !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .hero-how-it-works,
    body.how-it-works-page .hero {
        padding: 1.5rem 0 !important;
        min-height: calc(100vh - 80px) !important; /* Full screen minus navbar */
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        margin-top: 80px !important; /* Account for fixed navbar */
        background-attachment: scroll !important; /* Ensures background works on mobile */
        background-size: cover !important; /* Better coverage */
        background-position: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Mobile styles for unified How It Works hero */
@media (max-width: 768px) {
    body.how-it-works-page .hero {
        padding: 2rem 0 !important;
        min-height: calc(100vh - 80px) !important; /* Full screen minus navbar */
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        margin-top: 80px !important; /* Account for fixed navbar */
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.how-it-works-page .hero-cta {
        flex-direction: column !important;
        gap: 15px !important;
        margin: 1.5rem 0 !important;
    }

    body.how-it-works-page .hero-trust-badge {
        margin-top: 1.5rem !important;
        padding: 12px 20px !important;
        max-width: 280px !important;
    }

    body.how-it-works-page .hero-trust-badge span {
        font-size: 0.8rem !important;
    }

    body.how-it-works-page .hero-title {
        font-size: 2.5rem !important;
    }

    body.how-it-works-page .hero-highlight {
        font-size: 2rem !important;
    }

    body.how-it-works-page .hero-subtitle {
        font-size: 1.1rem !important;
    }

    /* Hide rope effect on mobile for better performance and visual clarity */
    body.how-it-works-page .floating-icon::before,
    body.how-it-works-page .floating-icon::after {
        display: none;
    }

    /* Restore original floating icon style on mobile */
    body.how-it-works-page .floating-icon {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(245, 158, 11, 0.2);
    }
}

/* FINAL NUCLEAR OPTION - PRIZES PAGE HERO DIMENSIONS */
/* This must be at the end of the file to override everything */
html body.prizes-page section.hero,
html body.prizes-page .hero,
body.prizes-page section.hero,
body.prizes-page .hero,
.prizes-page section.hero,
.prizes-page .hero {
    min-height: 80vh !important;
    height: 80vh !important;
    max-height: 80vh !important;
    padding: 8rem 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background-size: cover !important;
    background-position: center center !important;
}

@media (max-width: 768px) {
    html body.prizes-page section.hero,
    html body.prizes-page .hero,
    body.prizes-page section.hero,  
    body.prizes-page .hero,
    .prizes-page section.hero,
    .prizes-page .hero {
        min-height: 70vh !important;
        height: 70vh !important;
        padding: 4rem 0 !important;
    }
}

/* FINAL DESKTOP OVERRIDES - Must be at the very end */
@media (min-width: 769px) {
    /* Force hero CTA buttons horizontal on desktop */
    html body.how-it-works-page .hero-cta,
    body.how-it-works-page .hero-cta,
    .how-it-works-page .hero-cta {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 2rem 0 !important;
        flex-wrap: wrap !important;
    }
    
    /* Force guide grid horizontal on desktop */
    html body.how-it-works-page .hiw-guide-grid,
    body.how-it-works-page .hiw-guide-grid,
    .how-it-works-page .hiw-guide-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1200px !important;
        margin: 4rem auto 0 auto !important;
    }
    
    /* Force about content grid horizontal on desktop */
    html body.how-it-works-page .about-content-grid,
    body.how-it-works-page .about-content-grid,
    .how-it-works-page .about-content-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    /* Force security grid horizontal on desktop */
    html body.how-it-works-page .hiw-security-grid,
    body.how-it-works-page .hiw-security-grid,
    .how-it-works-page .hiw-security-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    /* Force any other grids on the page to display horizontally */
    html body.how-it-works-page [class*="grid"],
    body.how-it-works-page [class*="grid"],
    .how-it-works-page [class*="grid"] {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
    
    /* HOME PAGE DESKTOP OVERRIDES */
    /* Force steps container horizontal on HOME PAGE desktop */
    html body .steps-container,
    body .steps-container,
    .steps-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: flex-start !important;
        /* gap removed - let responsive media queries control it */
        flex-wrap: wrap !important;
        margin-top: 2rem !important;
        margin-bottom: 6rem !important;
    }
    
    /* Force hero CTA horizontal on HOME PAGE desktop - using correct class */
    html body .cta-buttons,
    body .cta-buttons,
    .cta-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    /* Also keep the how-it-works page hero-cta fix */
    html body .hero-cta,
    body .hero-cta,
    .hero-cta {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    /* Force all grids on HOME PAGE to display horizontally */
    html body [class*="grid"],
    body [class*="grid"] {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    /* FIX SPECIFIC SECTION LAYOUTS ON DESKTOP */
    /* Prize Structure section - display prizes horizontally */
    html body .prizes,
    body .prizes,
    .prizes {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Who Can Participate section - display groups in proper grid */
    html body .participant-groups,
    body .participant-groups,
    .participant-groups {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Override for tablets only - force 5 columns */
    @media (max-width: 1024px) {
        html body .participant-groups,
        body .participant-groups,
        .participants-section .participant-groups {
            grid-template-columns: repeat(5, 1fr) !important;
            gap: 0.8rem !important;
        }
        
        .participants-section .group,
        .group {
            padding: 1.2rem 0.6rem !important;
        }
        
        .participants-section .group i {
            font-size: 1.8rem !important;
        }
        
        .participants-section .group h3 {
            font-size: 0.85rem !important;
        }
    }
    
    /* Point Calculator section - display two boxes side by side */
    html body .calculator-container,
    body .calculator-container,
    .calculator-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Current Drawing Status section - balanced spacing (accounting for existing padding) */
    html body .progress-container,
    body .progress-container,
    .progress-container {
        margin-top: 0rem !important;
        margin-bottom: -1rem !important;
        padding: 2rem 0 2rem 0 !important;
    }
    
    /* Turn Your Success Into Rewards section - balanced spacing */
    html body .trust-indicators,
    body .trust-indicators,
    .trust-indicators {
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    html body .cta-button-container,
    body .cta-button-container,
    .cta-button-container {
        margin-top: 4rem !important;
        margin-bottom: 0rem !important;
    }
    
    /* Participants & Leaderboard section - balanced spacing */
    html body .participants-content,
    body .participants-content,
    .participants-content {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Hero Stats section - display three stats horizontally */
    html body .hero-stats,
    body .hero-stats,
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 3rem !important;
        margin-bottom: 3rem !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    /* NUCLEAR GOLDEN LINE OVERRIDE - MUST BE LAST */
    html body section .section-header .golden-line[class],
    html body .section-header .golden-line[class],  
    html body section div.golden-line[class],
    html body div.golden-line[class],
    html body section .golden-line[class],
    html body .golden-line[class],
    html body section .section-header .golden-line,
    html body .section-header .golden-line,
    html body section div.golden-line,
    html body div.golden-line,
    html body section .golden-line,
    html body .golden-line,
    .how-it-works-section .golden-line,
    .calculator-section .golden-line,
    .prizes-section .golden-line,
    .status-section .golden-line,
    .participants-section .golden-line,
    .interactive-cta-section .golden-line,
    .section-header .golden-line,
    .how-it-works-section .section-header .golden-line,
    div.section-header div.golden-line,
    section .golden-line,
    div.golden-line,
    .golden-line {
        width: 900px !important;
        margin: 2rem auto !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        max-width: 80vw !important;
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
        height: 4px !important;
        background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%) !important;
        border-radius: 2px !important;
    }
    
    /* MAIN PAGE GOLDEN LINE FIX - Target home page only */
    body:not(.how-it-works-page):not(.prizes-page) .golden-line,
    body:not([class]) .golden-line,
    html body .golden-line {
        width: 900px !important;
        margin: 1rem auto 2rem auto !important;
        margin-top: 1.0rem !important;
        margin-bottom: 2rem !important;
        max-width: 80vw !important;
        transform: none !important;
    }
    
    /* Ensure main page golden lines have proper specificity */
    body:not(.how-it-works-page):not(.prizes-page) .how-it-works-section .golden-line,
    body:not(.how-it-works-page):not(.prizes-page) .calculator-section .golden-line,
    body:not(.how-it-works-page):not(.prizes-page) .prizes-section .golden-line,
    body:not(.how-it-works-page):not(.prizes-page) .status-section .golden-line,
    body:not(.how-it-works-page):not(.prizes-page) .participants-section .golden-line {
        width: 900px !important;
        margin: 1rem auto 2rem auto !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* SEPARATE GOLDEN LINE FIXES FOR DIFFERENT SECTIONS */
    
    /* How It Works section golden line - keep it normal size */
    body:not(.how-it-works-page) .how-it-works-section .golden-line,
    body:not(.how-it-works-page) #how-it-works .golden-line {
        width: 750px !important;
        margin: 1rem auto 2rem auto !important;
        max-width: 75vw !important;
        transform: none !important;
    }
    
    /* ACTUAL HERO GOLDEN LINE - the ::before pseudo-element of hero-stats */
    body:not(.how-it-works-page) .hero-stats::before {
        width: 820px !important;
        height: 4px !important;
        background: linear-gradient(90deg, transparent 0%, #F59E0B 25%, #FBBF24 50%, #F59E0B 75%, transparent 100%) !important;
        border-radius: 2px !important;
        box-shadow: 0 2px 20px rgba(245, 158, 11, 0.5) !important;
        max-width: 90vw !important;
        transform: translateX(-50%) scaleX(1.2) !important;
        top: -2.5rem !important;
        position: absolute !important;
        left: 50% !important;
        z-index: 1 !important;
    }
    
    /* MAKE HERO STATS BIGGER ON DESKTOP */
    body:not(.how-it-works-page) .hero-stats .stat {
        transform: scale(1.15) !important;
        margin: 0 1rem !important;
    }
    
    body:not(.how-it-works-page) .hero-stats .stat-number {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
    }
    
    body:not(.how-it-works-page) .hero-stats .stat p {
        font-size: 1.0rem !important;
        margin-top: 0.5rem !important;
    }
    
    body:not(.how-it-works-page) .hero-stats .flip-number {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
    }
    
    body:not(.how-it-works-page) .hero-stats .progress-number {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
    }
    
    body:not(.how-it-works-page) .hero-stats .progress-total {
        font-size: 1.0rem !important;
    }
    
    /* STANDARDIZED SECTION SPACING FOR MAIN PAGE DESKTOP */
    /* Apply 3rem top, 4rem bottom to all sections except hero */
    
    body:not(.how-it-works-page) .how-it-works-section {
        padding: 4rem 0 4rem 0 !important;
    }
    
    body:not(.how-it-works-page) .participants-section {
        padding: 4rem 0 4rem 0 !important;
    }
    
    body:not(.how-it-works-page) .calculator-section {
        padding: 4rem 0 4rem 0 !important;
    }
    
    body:not(.how-it-works-page) .prizes-section {
        padding: 4rem 0 4rem 0 !important;
    }
    
    body:not(.how-it-works-page) .status-section {
        padding: 4rem 0 4rem 0 !important;
    }
    
    body:not(.how-it-works-page) .interactive-cta-section {
        padding: 4rem 0 4rem 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Any other sections on main page */
    body:not(.how-it-works-page) .section:not(.hero) {
        padding: 4rem 0 4rem 0 !important;
    }

}

/* MOBILE SPACING FIXES */
@media (max-width: 768px) {
    /* How It Works section - reduce top padding to match other sections */
    .how-it-works-section {
        padding-top: 3rem !important;
    }
    
    /* How It Works section - match font sizes with how-it-works.html page */
    .how-it-works-section .section-title {
        font-size: 2rem !important;
    }
    
    .how-it-works-section .section-subtitle {
        font-size: 1.2rem !important;
    }
    
    /* How It Works section - balanced mobile spacing */
    .steps-container {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
    
    /* How It Works section - reduce card and arrow spacing on mobile */
    .step-arrow {
        margin: 1rem 0 !important;
        animation: pulse-vertical 2s infinite !important;
    }
    
    .steps-container {
        gap: 1rem !important;
    }
    
    /* Mobile-specific vertical arrow animation (top to bottom) */
    @keyframes pulse-vertical {
        0%, 100% { transform: translateY(0); opacity: 0.7; }
        50% { transform: translateY(5px); opacity: 1; }
    }
    
    /* Who Can Participate section - match font sizes with How It Works section */
    .participants-section h2 {
        font-size: 2rem !important;
    }
    
    .participants-subtitle {
        font-size: 1.2rem !important;
    }
    
    /* Point Calculator section - match font sizes and fix spacing */
    .calculator-section h2 {
        font-size: 2rem !important;
    }
    
    .calculator-subtitle {
        font-size: 1.2rem !important;
    }
    
    .calculator-container {
        margin-bottom: 2rem !important;
    }
    
    .calculator-cta {
        margin-bottom: 2rem !important;
    }
    
    /* Current Drawing Status section - match font sizes and fix spacing */
    .status-section h2 {
        font-size: 2rem !important;
    }
    
    .status-section .section-subtitle {
        font-size: 1.2rem !important;
    }
    
    .progress-container {
        padding-bottom: 1rem !important;
        margin-bottom: 0rem !important;
    }
    
    /* Turn Your Success Into Rewards section - fix spacing and layout for mobile */
    .interactive-cta-section {
        min-height: auto !important;
        padding: 3rem 0 !important;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin: 2rem auto !important;
    }
    
    .trust-item.grid__cell {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .cta-button-container {
        margin: 3rem auto 0rem auto !important;
    }
    
    .interactive-cta-section {
        padding-bottom: 3rem !important;
    }
    
    /* Participants & Leaderboard section - match header and fix end spacing */
    .participants-leaderboard-section h2 {
        font-size: 2rem !important;
    }
    
    .participants-leaderboard-section .section-subtitle {
        font-size: 1.2rem !important;
    }
    
    .participants-content {
        margin-bottom: 2rem !important;
    }
    
    /* Point Calculator - Center align "How Points Work" box content on mobile */
    .rules-content {
        text-align: center !important;
    }
    
    .rules-intro {
        text-align: center !important;
    }
    
    .rules-bullet-list {
        text-align: left !important;
        display: inline-block !important;
    }
    
    .rules-note {
        text-align: center !important;
    }
    
    /* Who Can Participate section - balanced mobile spacing */
    .participant-groups {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Desktop navbar consistency - fix flexbox layout differences */
@media (min-width: 769px) {
    /* Force consistent nav-container layout */
    .navbar .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }
    
    /* Center nav-menu accounting for logo and auth sections */
    .navbar .nav-container .nav-menu {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }
    
    /* Force nav-auth to always be positioned at the right edge */
    .navbar .nav-container .nav-auth {
        position: absolute !important;
        right: 40px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Ensure profile circle positioning is consistent */
    .navbar .nav-container .nav-auth #profile-circle {
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        /* Override any JavaScript inline style differences */
        transform: none !important;
    }
    
    /* Reset any mobile-specific transforms on avatar */
    .nav-auth #profile-circle .user-avatar {
        transform: none !important;
    }
}

/* ===================================================================
   RESPONSIVE OPTIMIZATION - Small Laptops & Tablets
   Target: 1280×720, 1366×768, and tablet devices
   =================================================================== */

/* Small Laptops (1280px - 1366px) */
@media (max-width: 1366px) {
    /* Reduce container padding to maximize space */
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 1rem 30px;
    }
    
    /* Adjust nav font sizes */
    .nav-link {
        font-size: 1.05rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 90px 0 40px !important;
        min-height: 500px !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-main {
        font-size: 2.2rem !important;
    }
    
    .hero-highlight {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin: 0.6rem auto !important;
        padding-bottom: 0.5rem !important;
        max-width: 90% !important;
        line-height: 1.4 !important;
    }
    
    .hero-subtitle::after {
        content: '' !important;
        display: block !important;
        width: 80px !important;
        height: 3px !important;
        background: linear-gradient(90deg, transparent, #D3CB93, transparent) !important;
        margin: 1.1rem auto 0 !important;
    }
    
    /* Reduce max-widths to fit better */
    .hero-content,
    .section-content {
        max-width: 1100px;
    }
    
    /* Hide the subtitle after line (the new one we added) */
    .hero-subtitle::after {
        display: none !important;
    }
    
    /* Keep the main golden line above stats, but adjust position */
    .hero .hero-stats::before,
    body .hero .hero-stats::before {
        width: 700px !important;
        top: -1.5rem !important;
        height: 3px !important;
    }
    
    /* Stats cards sizing - more compact */
    .hero-stats {
        gap: 0.8rem !important;
        padding: 1rem 0.8rem !important;
        margin: 1.5rem auto 0.4rem !important;
    }
    
    .stat {
        padding: 0.6rem 0.8rem !important;
    }
    
    .stat-item {
        padding: 0.8rem 1rem !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .stat p {
        font-size: 0.85rem !important;
        margin: 0 !important;
    }
    
    /* Circular progress sizing */
    .circular-progress svg {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* Make both circles same size and aligned */
    .progress-ring-bg {
        stroke-width: 9 !important;
        stroke: rgba(255, 255, 255, 0.15) !important;
    }
    
    .progress-ring-fill {
        stroke-width: 9 !important;
    }
    
    /* Hide the overlay effect that creates extra rings */
    .circular-progress::after {
        display: none !important;
    }
    
    .progress-number {
        font-size: 1.6rem !important;
    }
    
    .progress-total {
        font-size: 0.85rem !important;
    }
    
    /* Countdown counter */
    .flip-number {
        font-size: 1.8rem !important;
    }
    
    /* CTA buttons */
    .cta-buttons {
        gap: 0.6rem !important;
        margin-top: -2rem !important;
    }
    
    .btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    /* How it works - keep 4 in a row for 1366px */
    .steps-container {
        gap: 0.8rem;
    }
    
    /* Hide arrows on this size too */
    .step-arrow {
        display: none !important;
    }
    
    .steps-container {
        gap: 1.2rem !important;
        padding: 0 20px !important;
    }
    
    .step-card {
        width: 22% !important; /* Narrower for more breathing room */
        padding: 1.5rem 0.8rem !important;
        height: auto;
        min-height: 340px;
        max-width: none !important;
        flex-shrink: 1 !important; /* Allow slight shrinking */
        font-size: 0.9rem !important;
    }
    
    .step-card h3,
    .step-card .step-title {
        font-size: 1.15rem !important;
    }
    
    .step-card p,
    .step-card .step-description {
        font-size: 0.95rem !important;
    }
}

/* Very Small Laptops (1280px and below) - CRITICAL FOR 1280×720 */
@media (max-width: 1280px) {
    /* Further reduce padding */
    .container {
        padding: 0 25px;
    }
    
    .nav-container {
        padding: 0.9rem 25px;
    }
    
    /* Compact navigation */
    .nav-link {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    /* Hero adjustments for small screens */
    .hero {
        padding: 80px 0 30px !important;
        min-height: 450px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-main {
        font-size: 1.8rem !important;
    }
    
    .hero-highlight {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin: 0.5rem auto !important;
        padding-bottom: 0.4rem !important;
        max-width: 90% !important;
        line-height: 1.35 !important;
    }
    
    .hero-subtitle::after {
        content: '' !important;
        display: block !important;
        width: 80px !important;
        height: 3px !important;
        background: linear-gradient(90deg, transparent, #D3CB93, transparent) !important;
        margin: 1rem auto 0 !important;
    }
    
    /* Hide the subtitle after line (the new one we added) */
    .hero-subtitle::after {
        display: none !important;
    }
    
    /* Keep the main golden line above stats, but adjust position */
    .hero .hero-stats::before,
    body .hero .hero-stats::before {
        width: 600px !important;
        top: -1.5rem !important;
        height: 3px !important;
    }
    
    /* Stack hero stats vertically or 2 columns */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        padding: 0.8rem 0.6rem !important;
        margin: 1.4rem auto 0.3rem !important;
    }
    
    .stat {
        padding: 0.5rem 0.6rem !important;
    }
    
    .stat-number {
        font-size: 1.4rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .stat p {
        font-size: 0.8rem !important;
        margin: 0 !important;
    }
    
    /* Circular progress - smaller */
    .circular-progress svg {
        width: 90px !important;
        height: 90px !important;
    }
    
    /* Make both circles same size and aligned */
    .progress-ring-bg {
        stroke-width: 9 !important;
        stroke: rgba(255, 255, 255, 0.15) !important;
    }
    
    .progress-ring-fill {
        stroke-width: 9 !important;
    }
    
    /* Hide the overlay effect that creates extra rings */
    .circular-progress::after {
        display: none !important;
    }
    
    .progress-number {
        font-size: 1.4rem !important;
    }
    
    .progress-total {
        font-size: 0.8rem !important;
    }
    
    /* Countdown counter */
    .flip-number {
        font-size: 1.6rem !important;
    }
    
    /* CTA buttons */
    .cta-buttons {
        gap: 0.5rem !important;
        margin-top: -1.5rem !important;
        flex-wrap: wrap !important;
    }
    
    .btn {
        padding: 0.7rem 1.3rem !important;
        font-size: 0.9rem !important;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* CTA buttons */
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .login-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Section spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Feature cards */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* How it works steps - FORCE 4 in a row */
    .steps-container {
        gap: 1rem !important;
        flex-wrap: nowrap !important; /* Prevent wrapping */
        justify-content: space-between;
        padding: 0 15px !important;
    }
    
    /* HIDE ARROWS - they take up space and cause wrapping */
    .step-arrow {
        display: none !important;
    }
    
    .step-card {
        padding: 1rem 0.5rem !important;
        width: 22% !important; /* Narrower cards for more space between */
        min-width: 0 !important; /* Remove min-width restriction */
        max-width: none !important;
        height: auto;
        min-height: 300px;
        font-size: 0.8rem !important;
        flex-shrink: 1 !important; /* Allow slight shrinking if needed */
    }
    
    .step-card .step-icon {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .step-card .step-number {
        font-size: 1.6rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .step-card h3,
    .step-card .step-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .step-card p,
    .step-card .step-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .step-card .step-highlight {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.75rem !important;
    }
}

/* Tablets Portrait (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet-specific adjustments */
    .container {
        padding: 0 20px;
    }
    
    /* Hero for tablets */
    .hero h1 {
        font-size: 2.2rem;
    }
    
    /* 2-column layouts for tablets */
    .features-grid,
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Stack stats in 2 columns */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Circular progress - thicker for tablets */
    .circular-progress svg {
        width: 120px !important;
        height: 120px !important;
    }
    
    .progress-ring-bg {
        stroke-width: 10 !important;
    }
    
    .progress-ring-fill {
        stroke-width: 10 !important;
    }
    
    /* Hide the overlay effect */
    .circular-progress::after {
        display: none !important;
    }
    
    /* Who Can Participate - make boxes smaller to fit 5 in one row */
    html body .participant-groups,
    body .participant-groups,
    .participants-section .participant-groups {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    .participants-section .group,
    .group {
        padding: 1.2rem 0.6rem !important;
        min-width: 0 !important;
    }
    
    .participants-section .group i,
    .group i {
        font-size: 1.8rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .participants-section .group h3,
    .group h3 {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }
}

/* Tablets & Mobile (below 768px) - Enhanced */
@media (max-width: 768px) {
    /* Full mobile/tablet adjustments */
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.8rem 15px;
    }
    
    /* Hero mobile */
    .hero {
        padding: 100px 0 50px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Single column layouts */
    .hero-stats,
    .features-grid,
    .steps-container,
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Buttons full width on mobile */
    .btn,
    .login-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Cards */
    .feature-card,
    .step-card,
    .prize-card {
        padding: 1.2rem;
    }
}

/* Very Small Mobile (below 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* Landscape mode fixes for small laptops */
@media (max-height: 800px) and (min-width: 1024px) {
    .hero {
        min-height: 550px;
        padding: 100px 0 50px;
    }
    
    .hero-stats {
        padding: 1.5rem 1rem;
    }
}

/* ===================================================================
   END RESPONSIVE OPTIMIZATION
   =================================================================== */