@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
    /* Warm, vibrant primary palette */
    --primary: #E85D04;
    --primary-dark: #D45200;
    --primary-light: #F48C06;
    --primary-lighter: #FAA307;

    /* Rich secondary colors */
    --coral: #FF6B6B;
    --coral-light: #FF8787;
    --teal: #20C997;
    --teal-dark: #12B886;
    --teal-light: #38D9A9;
    --sky: #4DABF7;
    --sky-dark: #339AF0;
    --violet: #845EF7;
    --violet-light: #9775FA;
    --rose: #F06595;
    --yellow: #FFD43B;
    --yellow-light: #FFE066;

    /* Gradient combinations */
    --gradient-warm: linear-gradient(135deg, #E85D04 0%, #F48C06 50%, #FAA307 100%);
    --gradient-sunset: linear-gradient(135deg, #FF6B6B 0%, #E85D04 50%, #F48C06 100%);
    --gradient-ocean: linear-gradient(135deg, #20C997 0%, #4DABF7 100%);
    --gradient-aurora: linear-gradient(135deg, #845EF7 0%, #F06595 50%, #FF6B6B 100%);
    --gradient-hero: linear-gradient(135deg, #FFF5F0 0%, #FEF3E2 50%, #E8F5E9 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(232, 93, 4, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(32, 201, 151, 0.12) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(132, 94, 247, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(255, 107, 107, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(77, 171, 247, 0.12) 0px, transparent 50%);

    /* Text colors */
    --text-dark: #1A1A2E;
    --text-grey: #4A5568;
    --text-light: #718096;
    --text-muted: #A0AEC0;

    /* Background colors */
    --background: #FFFBF7;
    --background-alt: #FFF8F3;
    --background-card: #FFFFFF;
    --background-warm: #FEF7F0;

    /* Border colors */
    --border: #E8DED4;
    --border-light: #F5EDE5;

    /* Status colors */
    --error: #E53E3E;
    --error-light: #FED7D7;
    --success: #20C997;
    --success-light: #C6F6D5;
    --warning: #F48C06;
    --warning-light: #FEFCBF;
    --info: #4DABF7;
    --info-light: #BEE3F8;

    /* Shadows with warmth */
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow: 0 4px 12px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 24px 64px rgba(26, 26, 46, 0.16);
    --shadow-glow: 0 0 40px rgba(232, 93, 4, 0.2);
    --shadow-teal-glow: 0 0 40px rgba(32, 201, 151, 0.25);

    /* Border radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
}

/* ===== DISPLAY FONT ===== */
.font-display {
    font-family: 'Fraunces', Georgia, serif;
}

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
}

/* ===== TEXT UTILITIES ===== */
.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-aurora {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-ocean {
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-primary {
    background-color: var(--primary);
}

.bg-primary-light {
    background-color: rgba(232, 93, 4, 0.1);
}

.bg-gradient {
    background: var(--gradient-warm);
}

.bg-gradient-aurora {
    background: var(--gradient-aurora);
}

.bg-gradient-ocean {
    background: var(--gradient-ocean);
}

/* ===== BORDER UTILITIES ===== */
.border-primary {
    border-color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(32, 201, 151, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(232, 93, 4, 0.15);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(32, 201, 151, 0.12);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(132, 94, 247, 0.1);
    top: 50%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

/* ===== ICON CIRCLES ===== */
.icon-circle {
    width: 56px;
    height: 56px;
    background: var(--gradient-warm);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-shadow: var(--shadow), var(--shadow-glow);
}

.icon-circle:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md), 0 0 50px rgba(232, 93, 4, 0.3);
}

.icon-circle-teal {
    background: var(--gradient-ocean);
    box-shadow: var(--shadow), var(--shadow-teal-glow);
}

.icon-circle-teal:hover {
    box-shadow: var(--shadow-md), 0 0 50px rgba(32, 201, 151, 0.35);
}

.icon-circle-violet {
    background: var(--gradient-aurora);
}

@media (min-width: 768px) {
    .icon-circle {
        width: 64px;
        height: 64px;
    }
}

.icon-circle-sm {
    width: 44px;
    height: 44px;
    background: var(--gradient-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.icon-circle-light {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.12) 0%, rgba(250, 163, 7, 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 93, 4, 0.1);
}

/* ===== MOBILE TOUCH & LAYOUT ===== */
.touch-target {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-padding {
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .mobile-bottom-padding {
        padding-bottom: 0;
    }
}

/* ===== STICKY SEARCH BAR ===== */
.sticky-search {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(26, 26, 46, 0.12);
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.sticky-search.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .sticky-search {
        display: none;
    }
}

/* ===== HIDE SCROLLBAR ===== */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ===== FORM ELEMENTS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--text-dark);
    background: var(--background-card);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

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

.form-input:hover {
    border-color: var(--primary-lighter);
    background: var(--background);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
    background: var(--background-card);
}

.form-input.error {
    border-color: var(--error);
    background: var(--error-light);
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.form-input:disabled {
    background: var(--background-alt);
    color: var(--text-light);
    cursor: not-allowed;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

.form-group {
    margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    min-height: 48px;
    border: none;
    text-decoration: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow), 0 4px 20px rgba(232, 93, 4, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 8px 30px rgba(232, 93, 4, 0.35);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--background-card);
    color: var(--text-dark);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(232, 93, 4, 0.05);
    transform: translateY(-2px);
}

.btn-teal {
    background: var(--gradient-ocean);
    color: white;
    box-shadow: var(--shadow), var(--shadow-teal-glow);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 8px 30px rgba(32, 201, 151, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-grey);
    padding: 12px 16px;
}

.btn-ghost:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 40px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    min-height: 56px;
    border-radius: var(--radius-md);
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== CARDS ===== */
.card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
    border-color: var(--primary-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-press {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-press:hover {
    box-shadow: var(--shadow-md);
}

.card-press:active {
    transform: scale(0.98);
}

.card-gradient {
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.06) 0%, rgba(32, 201, 151, 0.04) 100%);
    border: 1px solid rgba(232, 93, 4, 0.12);
}

.card-gradient:hover {
    border-color: rgba(232, 93, 4, 0.25);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

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

.feature-card:nth-child(2)::before {
    background: var(--gradient-ocean);
}

.feature-card:nth-child(3)::before {
    background: var(--gradient-aurora);
}

.feature-card:nth-child(4)::before {
    background: var(--gradient-sunset);
}

/* ===== CHECKBOX & RADIO ===== */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"],
.checkbox-container input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--primary);
}

/* ===== PASSWORD STRENGTH ===== */
.password-strength {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.password-strength-bar {
    height: 6px;
    flex: 1;
    background: var(--border);
    border-radius: var(--radius-full);
    transition: background-color 0.3s;
}

.password-strength-bar.weak {
    background: var(--error);
}

.password-strength-bar.medium {
    background: var(--warning);
}

.password-strength-bar.strong {
    background: var(--success);
}

/* ===== ALERTS & MESSAGES ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-error {
    background: linear-gradient(135deg, var(--error-light) 0%, #FEE2E2 100%);
    border: 1px solid rgba(229, 62, 62, 0.2);
    color: #C53030;
}

.alert-success {
    background: linear-gradient(135deg, var(--success-light) 0%, #C6F6D5 100%);
    border: 1px solid rgba(32, 201, 151, 0.2);
    color: #0D9488;
}

.alert-info {
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.08) 0%, rgba(250, 163, 7, 0.06) 100%);
    border: 1px solid rgba(232, 93, 4, 0.15);
    color: var(--primary-dark);
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-light) 0%, #FEF3C7 100%);
    border: 1px solid rgba(244, 140, 6, 0.2);
    color: #B45309;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    gap: 6px;
}

.badge-primary {
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.12) 0%, rgba(250, 163, 7, 0.08) 100%);
    color: var(--primary);
    border: 1px solid rgba(232, 93, 4, 0.15);
}

.badge-teal {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.12) 0%, rgba(77, 171, 247, 0.08) 100%);
    color: var(--teal-dark);
    border: 1px solid rgba(32, 201, 151, 0.15);
}

.badge-success {
    background: var(--success-light);
    color: #0D9488;
}

.badge-warning {
    background: var(--warning-light);
    color: #B45309;
}

.badge-error {
    background: var(--error-light);
    color: #C53030;
}

.badge-neutral {
    background: var(--background-alt);
    color: var(--text-grey);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    height: 10px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-warm);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== NAVIGATION ===== */
.nav-main {
    background: rgba(255, 251, 247, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-link {
    color: var(--text-grey);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: var(--radius-full);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(232, 93, 4, 0.08);
}

/* ===== PORTAL NAVIGATION ===== */
.portal-nav {
    background: rgba(255, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
}

/* ===== USER MENU ===== */
.user-menu {
    position: relative;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

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

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-grey);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.user-menu-dropdown a:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.user-menu-dropdown a.text-primary {
    color: var(--primary);
}

/* ===== SPONSOR CARDS ===== */
.sponsor-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sponsor-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-4px);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--background-card);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

@media (max-width: 767px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        max-height: 90vh;
    }
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

@media (max-width: 767px) {
    .filter-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        z-index: 60;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        max-height: 75vh;
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
    }

    .filter-sidebar.active {
        transform: translateY(0);
    }
}

/* ===== TOGGLE SWITCH ===== */
.toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle.active {
    background: var(--gradient-warm);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle.active::after {
    transform: translateX(24px);
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-grey);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: var(--primary-dark);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 28px 0;
    font-style: italic;
    color: var(--text-grey);
    background: rgba(232, 93, 4, 0.04);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== STATS SECTION ===== */
.stat-card {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-grey);
    margin-top: 6px;
    font-weight: 500;
}

/* ===== BREAKING NEWS BANNER ===== */
.breaking-banner {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
    color: white;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

.breaking-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.breaking-banner a {
    color: white;
    text-decoration: none;
    position: relative;
}

.breaking-banner a:hover {
    text-decoration: underline;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-card);
    border-top: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    z-index: 100;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-card);
    border-top: 1px solid var(--border);
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-nav a i {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-nav a.active {
    color: var(--primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

.animate-slideUp {
    animation: slideUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Staggered animations for hero */
.hero-stagger > *:nth-child(1) { animation-delay: 0s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.2s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.3s; }
.hero-stagger > *:nth-child(5) { animation-delay: 0.4s; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-dark);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--error);
}

@media (min-width: 768px) {
    .toast {
        bottom: 40px;
    }
}

/* ===== SECTION BACKGROUNDS ===== */
.section-gradient-light {
    background: linear-gradient(180deg, var(--background) 0%, var(--background-alt) 100%);
    position: relative;
}

.section-gradient-alt {
    background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
}

.section-warm {
    background: linear-gradient(180deg, var(--background-warm) 0%, var(--background) 100%);
}

.section-colorful {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(232, 93, 4, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(32, 201, 151, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--background) 0%, var(--background-alt) 100%);
}

/* ===== FOCUS STATES ===== */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* ===== LEGAL PAGES ===== */
.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    margin-top: 32px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-content p {
    color: var(--text-grey);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-grey);
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 48px;
    font-family: 'Fraunces', Georgia, serif;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    line-height: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--background-alt) 0%, #FFF5EE 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.footer-link {
    color: var(--text-grey);
    font-size: 15px;
    transition: color 0.3s;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-warm);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    transform: rotate(25deg);
    pointer-events: none;
}

.cta-section .btn {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.cta-section .btn:hover {
    background: var(--background-alt);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== DECORATIVE ELEMENTS ===== */
.decoration-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-lighter) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.5;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--primary-lighter);
    opacity: 0.3;
}

/* ===== COLOURFUL ACCENT BARS ===== */
.accent-bar {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--gradient-warm);
}

.accent-bar-teal {
    background: var(--gradient-ocean);
}

.accent-bar-aurora {
    background: var(--gradient-aurora);
}
