:root {
    /* Modern Color Palette */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #a5b4fc;
    --color-secondary: #f59e0b;
    --color-accent: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    
    --color-text-light: #f8fafc;
    --color-text-dark: #1e293b;
    --color-text-muted: #64748b;
    
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    
    --color-white: #ffffff;
    --color-black: #000000;

    /* Light Theme */
    --theme-bg: var(--color-white);
    --theme-surface: var(--color-gray-50);
    --theme-text: var(--color-text-dark);
    --theme-text-secondary: var(--color-text-muted);
    --theme-border: var(--color-gray-200);
    --theme-card-bg: var(--color-white);
    --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --theme-gradient-light: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Dark Theme */
    --dark-theme-bg: #0f172a;
    --dark-theme-surface: #1e293b;
    --dark-theme-text: var(--color-text-light);
    --dark-theme-text-secondary: var(--color-gray-400);
    --dark-theme-border: #334155;
    --dark-theme-card-bg: #1e293b;
    --dark-theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-theme-gradient-light: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Typography */
    --font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-body: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Box Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Layout */
    --header-height: 72px;
}

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

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

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

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

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

 html {
     scroll-behavior: smooth;
 }

body {
    font-family: var(--font-family-system);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    background-color: var(--theme-bg);
    color: var(--theme-text);
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

 body.theme-dark {
     --theme-bg: var(--dark-theme-bg);
     --theme-surface: var(--dark-theme-surface);
     --theme-text: var(--dark-theme-text);
     --theme-text-secondary: var(--dark-theme-text-secondary);
     --theme-border: var(--dark-theme-border);
     --theme-card-bg: var(--dark-theme-card-bg);
 }

 a {
     color: var(--color-primary);
     text-decoration: none;
     transition: color 0.3s;
 }

 a:hover,
 a:focus {
     color: var(--color-primary-dark);
 }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
    color: var(--theme-text);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-xl);
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

h5 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-sm);
}

h6 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-sm);
}

 p {
     margin-bottom: var(--space-md);
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 var(--space-md);
 }

 .section {
     padding: var(--space-xl) 0;
 }

.section__title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--theme-gradient);
    border-radius: var(--radius-full);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-family: var(--font-family-display);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

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

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

.btn--primary {
    background: var(--theme-gradient);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover,
.btn--primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--color-white);
}

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

.btn--secondary:hover,
.btn--secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--theme-border);
    color: var(--theme-text);
    box-shadow: var(--shadow-xs);
}

.btn--outline:hover,
.btn--outline:focus {
    background-color: var(--theme-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

 .btn-icon {
     background: none;
     border: none;
     color: var(--theme-text);
     font-size: 1.5rem;
     cursor: pointer;
     transition: color 0.3s;
 }

 .btn-icon:hover,
 .btn-icon:focus {
     color: var(--color-primary);
 }

 /* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--theme-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.theme-dark .header {
    background-color: rgba(15, 23, 42, 0.8);
    border-color: var(--dark-theme-border);
    box-shadow: var(--shadow-lg);
}

 .header__container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: var(--space-sm) var(--space-md);
 }

.logo {
    font-family: var(--font-family-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    text-decoration: none;
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

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

.logo i {
    color: var(--color-text-dark);
}

.theme-dark .logo i {
    color: var(--color-text-light);
}

 .nav {
     display: none;
 }

 .nav__list {
     display: flex;
     list-style: none;
     gap: var(--space-md);
 }

.nav__link {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    color: var(--theme-text);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--theme-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__link:hover {
    color: var(--color-primary);
    background-color: var(--theme-surface);
    transform: translateY(-1px);
}

.nav__link:hover::after {
    width: 80%;
}

 .header__actions {
     display: flex;
     align-items: center;
     gap: var(--space-md);
 }

 .menu-toggle {
     background: none;
     border: none;
     font-size: 1.5rem;
     color: var(--theme-text);
     cursor: pointer;
 }

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--theme-surface) 0%, var(--color-gray-100) 100%);
    border-bottom: 1px solid var(--theme-border);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

 .mobile-menu.is-active {
     transform: translateY(0);
     opacity: 1;
     pointer-events: auto;
 }

 .mobile-menu__list {
     list-style: none;
 }

 .mobile-menu__item {
     margin-bottom: var(--space-sm);
 }

.mobile-menu__link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    color: var(--theme-text);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu__link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateX(var(--space-sm));
}

 /* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + var(--space-md));
    padding-bottom: var(--space-3xl);
    text-align: center;
    background: linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-surface) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-xl);
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    color: var(--theme-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

 .hero__actions {
     display: flex;
     flex-direction: column;
     gap: var(--space-sm);
     margin-top: var(--space-md);
 }

 .hero__image-placeholder {
     width: 100%;
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-md);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--theme-text-secondary);
     font-style: italic;
 }

 .hero__image-placeholder img {
     width: 100%;
     border-radius: var(--radius-md);
 }

 /* ==========================================================================
   Cards & Grids
   ========================================================================== */
 .cards-grid,
 .steps-grid,
 .payment-methods-grid {
     display: grid;
     gap: var(--space-md);
 }

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

.card {
    background-color: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

 .bookmaker-card {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }

 .bookmaker-card__logo-placeholder {
     width: 100%;
     height: 80px;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: var(--theme-surface);
     border-radius: var(--radius-sm);
     margin-bottom: var(--space-md);
     font-size: 0.9rem;
     color: var(--theme-text-secondary);
 }

 .bookmaker-card__logo-placeholder img {
     height: 80px;
 }

 .bookmaker-card__tags {
     list-style: none;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: var(--space-sm);
     margin: var(--space-md) 0;
     color: var(--theme-text-secondary);
 }

 .bookmaker-card__tags i {
     color: var(--color-primary);
     margin-right: 5px;
 }

 .bookmaker-card__bonus {
     background-color: var(--theme-surface);
     padding: var(--space-sm);
     border-radius: var(--radius-sm);
     margin-bottom: var(--space-md);
 }

 .placeholder-text {
     color: var(--theme-text-secondary);
     font-style: italic;
     font-size: 0.9rem;
 }

 .bookmaker-card__disclaimer {
     font-size: 0.8rem;
     color: var(--color-gray-500);
     margin-top: var(--space-sm);
 }

 .badge {
     background-color: var(--color-primary);
     color: var(--color-white);
     padding: 4px 8px;
     border-radius: var(--radius-sm);
     font-size: 0.8rem;
     font-weight: bold;
     display: inline-block;
     margin-top: var(--space-sm);
 }

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

.step-card {
    background-color: var(--theme-card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.step-card__icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.step-card:hover .step-card__icon {
    transform: scale(1.1);
}

 /* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-table {
    width: 100%;
    overflow-x: auto;
    background-color: var(--theme-card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--theme-border);
    overflow: hidden;
}

 .comparison-table__header,
 .comparison-table__row {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     border-bottom: 1px solid var(--theme-border);
 }

.comparison-table__header {
    font-weight: var(--font-weight-bold);
    background: var(--theme-gradient);
    color: var(--color-white);
    padding: var(--space-lg) var(--space-md);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table__row {
    transition: background-color 0.2s ease;
}

.comparison-table__row:hover {
    background-color: var(--theme-surface);
}

.comparison-table__row:nth-child(even) {
    background-color: var(--theme-surface);
}

.comparison-table__row:nth-child(even):hover {
    background-color: var(--color-gray-100);
}

.comparison-table__cell {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    word-break: break-word;
    font-size: var(--font-size-sm);
    border-right: 1px solid var(--theme-border);
}

.comparison-table__cell:last-child {
    border-right: none;
}

.comparison-table__cell i {
    color: var(--color-accent);
    font-size: var(--font-size-lg);
}

 /* ==========================================================================
   Other Sections
   ========================================================================== */
 .payment-methods-grid {
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     text-align: center;
 }

.payment-method-card {
    background-color: var(--theme-card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.payment-method-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

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

.payment-method-card__icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--theme-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.payment-method-card:hover .payment-method-card__icon-placeholder {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.payment-method-card__icon-placeholder img {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    object-fit: contain;
}

 .mobile-app-section {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: var(--space-md);
     text-align: center;
 }

 .mobile-app__image-placeholder {
     width: 100%;
     max-width: 640px;
     height: 200px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--theme-text-secondary);
     font-style: italic;
 }

 .mobile-app__image-placeholder img {
     width: 100%;
     border-radius: var(--radius-md);

 }

 /* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
 .accordion {
     max-width: 800px;
     margin: 0 auto;
 }

 .accordion__item {
     border-bottom: 1px solid var(--theme-border);
 }

 .accordion__button {
     width: 100%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: var(--space-md);
     background: none;
     border: none;
     cursor: pointer;
     font-size: 1.1rem;
     font-weight: bold;
     color: var(--theme-text);
     text-align: left;
 }

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

 .accordion__icon {
     font-size: 1.5rem;
     transition: transform 0.3s;
 }

 .accordion__button[aria-expanded="true"] .accordion__icon {
     transform: rotate(45deg);
 }

 .accordion__content {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease-in-out;
     padding: 0 var(--space-md);
 }

 .accordion__content.is-expanded {
     max-height: 500px;
     /* A safe value, can be adjusted or calculated with JS */
     padding: var(--space-md);
 }

 /* ==========================================================================
   Contact Section
   ========================================================================== */
 .contact-grid {
     display: grid;
     gap: var(--space-md);
     grid-template-columns: 1fr;
 }

 .contact-form {
     background-color: var(--theme-card-bg);
     padding: var(--space-md);
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-sm);
 }

 .form-group {
     margin-bottom: var(--space-md);
 }

 .form-group label {
     display: block;
     margin-bottom: 5px;
     font-weight: bold;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 10px;
     border: 1px solid var(--theme-border);
     border-radius: var(--radius-sm);
     background-color: var(--theme-surface);
     color: var(--theme-text);
     transition: border-color 0.3s;
 }

 .form-group input:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: var(--color-primary);
 }

 .contact-info {
     padding: var(--space-md);
     background-color: var(--theme-surface);
     border-radius: var(--radius-md);
 }

 .contact-info i {
     color: var(--color-primary);
     margin-right: 8px;
 }

 /* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid #64748b;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer__disclaimer {
    color: #cbd5e1;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
}

.footer .logo {
    color: #f1f5f9;
    margin-bottom: var(--space-md);
}

.footer__links-section h4 {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    color: #f1f5f9;
    font-weight: var(--font-weight-semibold);
}

 .footer__links {
     list-style: none;
 }

 .footer__links li {
     margin-bottom: 5px;
 }

.footer__links a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #a5b4fc;
}

 .footer__compliance {
     margin-top: var(--space-md);
 }

.footer__responsible-gaming {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: var(--space-sm);
}

 .compliance-logos {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: var(--space-sm);
 }

 .compliance-logo {
     height: 40px;
     filter: grayscale(100%);
     opacity: 0.6;
 }

 .compliance-logo:hover {
     filter: grayscale(0%);
     opacity: 0.6;
 }

.footer__copyright {
    text-align: center;
    border-top: 1px solid #64748b;
    padding-top: var(--space-sm);
    font-size: 0.8rem;
    color: #94a3b8;
}

 /* ==========================================================================
   Overlays & Banners
   ========================================================================== */
 .age-gate {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.8);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 1000;
 }

 .age-gate.hidden {
     display: none;
 }

.age-gate__content {
    background-color: var(--theme-card-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--theme-border);
    position: relative;
    overflow: hidden;
}

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

.cookie-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--theme-surface) 0%, var(--color-gray-100) 100%);
    border-top: 1px solid var(--theme-border);
    padding: var(--space-lg);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

 .cookie-banner.visible {
     transform: translateY(0);
     opacity: 1;
 }

 .cookie-banner__content {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: var(--space-md);
 }

 .cookie-banner__actions {
     display: flex;
     gap: var(--space-sm);
     flex-wrap: wrap;
 }

 /* ==========================================================================
   Responsive Utilities
   ========================================================================== */
 /* ==========================================================================
   Jogo Responsável Section (Updated)
   ========================================================================== */
 .section--responsible-gaming {
     background-color: var(--theme-surface);
     border-top: 1px solid var(--theme-border);
     border-bottom: 1px solid var(--theme-border);
 }

 .responsible-gaming-container {
     padding-top: var(--space-xl);
     padding-bottom: var(--space-xl);
 }

 .responsible-gaming__content {
     display: flex;
     flex-direction: column;
     gap: var(--space-lg);
 }

 .responsible-gaming__text-block h3 {
     margin-top: var(--space-md);
     color: var(--color-primary-dark);
 }

 .responsible-gaming__symptoms,
 .responsible-gaming__tools {
     list-style: none;
     margin-bottom: var(--space-lg);
 }

 .responsible-gaming__symptoms li,
 .responsible-gaming__tools li {
     margin-bottom: var(--space-sm);
     color: var(--theme-text);
 }

 .responsible-gaming__symptoms i {
     color: #e53e3e;
     /* Red color for warning */
     margin-right: 8px;
 }

 .responsible-gaming__tools i {
     color: #48bb78;
     /* Green color for tools */
     margin-right: 8px;
 }

 .responsible-gaming__tips-block {
     display: flex;
     flex-direction: column;
     gap: var(--space-md);
 }

 .responsible-gaming__card {
     background-color: var(--theme-card-bg);
     padding: var(--space-lg);
     border-radius: var(--radius-md);
     box-shadow: var(--shadow-md);
     border: 1px solid var(--theme-border);
 }

 .responsible-gaming__card ul {
     list-style: none;
 }

 .responsible-gaming__card li {
     margin-bottom: var(--space-sm);
     color: var(--theme-text-secondary);
 }

 .responsible-gaming__card i {
     color: var(--color-primary);
     margin-right: 8px;
 }

 .responsible-gaming__help-box {
     padding: var(--space-md);
     background-color: var(--theme-surface);
     border-left: 4px solid var(--color-primary);
     border-radius: var(--radius-sm);
 }

 .responsible-gaming__help-box p {
     margin-bottom: 0;
 }


 /* Media Queries for better layout on larger screens */
 @media (min-width: 768px) {
     .responsible-gaming__content {
         flex-direction: row;
         align-items: flex-start;
         gap: var(--space-xl);
     }

     .responsible-gaming__text-block,
     .responsible-gaming__tips-block {
         flex: 1;
     }
 }

 .d-none {
     display: none;
 }

 .d-md-inline {
     display: none;
 }

@media (min-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .hero__title {
        font-size: var(--font-size-5xl);
    }
    
    .hero__subtitle {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 768px) {
    .hero__actions {
        flex-direction: row;
        gap: var(--space-lg);
    }

    .hero__title {
        font-size: var(--font-size-6xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-xl);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .mobile-app-section {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: var(--space-2xl);
    }

    .mobile-app__image-placeholder {
        height: 400px;
    }

    .d-md-none {
        display: none;
    }

    .d-md-inline {
        display: block;
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}

@media (min-width: 1024px) {
    .header__container {
        padding: var(--space-md) var(--space-xl);
    }

    .nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero__container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: var(--space-3xl);
    }

    .hero__text {
        width: 50%;
    }

    .hero__image-placeholder {
        width: 50%;
        height: 600px;
    }

    .hero__title {
        font-size: var(--font-size-6xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-xl);
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }

    .contact-grid {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-2xl);
    }

    .footer__container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        gap: var(--space-2xl);
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

 .privacy {
     padding: 120px 0;
 }

 .privacy-content h1 {
     font-size: 2.25rem;
     font-weight: 700;
     text-align: center;
     margin-bottom: 2rem;
     color: #4338ca;
 }

 .privacy-content h2 {
     font-size: 1.875rem;
     font-weight: 600;
     margin-top: 1.5rem;
     margin-bottom: 0.5rem;
     color: #4f46e5;
 }

 .privacy-content h3 {
     font-size: 1.25rem;
     font-weight: 600;
     margin-top: 1rem;
     margin-bottom: 0.5rem;
     color: white;
 }

 .privacy-content p,
 .privacy-content li {
     font-size: 1rem;
     line-height: 1.625;
     color: white;
     margin-bottom: 1rem;
 }

 .privacy-content a {
     color: #4f46e5;
     font-weight: 500;
     text-decoration: none;
     transition: color 0.2s ease-in-out;
 }

 .privacy-content a:hover {
     color: #4338ca;
 }

 .privacy-content section {
     margin-bottom: 2rem;
 }

 .privacy-content ul {
     list-style-type: disc;
     margin-left: 24px;
 }

 .thanks-content {
    text-align: center;
     padding: 2rem;
     background-color: #ffffff;
     border-radius: 0.5rem;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     margin: 6rem 0;
 }

 .thanks-content h1 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: #4338ca;
 }

 .thanks-content p {
     font-size: 1.125rem;
     color: #374151;
     margin-bottom: 2rem;
 }

 .thanks-content a {
     display: inline-block;
     background-color: #4f46e5;
     color: #ffffff;
     font-weight: 600;
     padding: 0.75rem 1.5rem;
     border-radius: 0.375rem;
     text-decoration: none;
     transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
     border: none;
     cursor: pointer;
 }

 .thanks-content a:hover {
     background-color: #4338ca;
     transform: translateY(-2px);
 }
/* ==========================================================================
   Dark Theme Enhancements (Non-destructive overrides)
   ========================================================================== */
body.theme-dark {
    --theme-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #0ea5e9 100%);
    --theme-gradient-light: linear-gradient(135deg, rgba(99,102,241,0.25) 0%, rgba(124,58,237,0.25) 100%);
}

/* Subtle patterned backdrop for depth */
body.theme-dark {
    background-image: radial-gradient(ellipse at 20% 10%, rgba(99,102,241,0.12) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 0%, rgba(14,165,233,0.10) 0%, transparent 50%),
                      radial-gradient(ellipse at 50% 100%, rgba(124,58,237,0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Buttons */
.theme-dark .btn--secondary {
    background-color: transparent;
    border: 2px solid #64748b;
    color: #e2e8f0;
}

.theme-dark .btn--secondary:hover,
.theme-dark .btn--secondary:focus {
    background-color: rgba(99,102,241,0.15);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Header translucency */
.theme-dark .header {
    background-color: rgba(15, 23, 42, 0.7);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Mobile menu */
.theme-dark .mobile-menu {
    background: linear-gradient(135deg, rgba(30,41,59,0.95) 0%, rgba(15,23,42,0.95) 100%);
}

.theme-dark .mobile-menu__link:hover {
    background: var(--theme-gradient);
    color: var(--color-white);
}

/* Hero */
.theme-dark .hero {
    background: 
  linear-gradient(180deg, rgba(2,6,23,0.9) 0%, rgba(2,6,23,0.6) 100%),
  url('../img/hero.png') bottom/cover no-repeat;
}

.theme-dark .hero::before {
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(124,58,237,0.06) 100%);
}

.theme-dark .hero__image-placeholder {
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

/* Surfaces */
.theme-dark .card,
.theme-dark .payment-method-card,
.theme-dark .comparison-table,
.theme-dark .contact-form {
    background-color: rgba(2,6,23,0.35);
    border: 1px solid rgba(148,163,184,0.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.theme-dark .card:hover,
.theme-dark .payment-method-card:hover {
    box-shadow: 0 22px 50px rgba(0,0,0,0.5);
    border-color: rgba(99,102,241,0.45);
}

.theme-dark .bookmaker-card__logo-placeholder,
.theme-dark .contact-info {
    background-color: rgba(30,41,59,0.7);
}

/* Comparison table rows */
.theme-dark .comparison-table__row:hover {
    background-color: rgba(30,41,59,0.65);
}

.theme-dark .comparison-table__row:nth-child(even) {
    background-color: rgba(30,41,59,0.55);
}

.theme-dark .comparison-table__row:nth-child(even):hover {
    background-color: rgba(30,41,59,0.7);
}

.theme-dark .comparison-table__cell {
    border-right: 1px solid rgba(148,163,184,0.15);
}

/* Cookie banner stays readable on dark */
.theme-dark .cookie-banner {
    position: fixed;
    background: linear-gradient(135deg, rgba(30,41,59,0.95) 0%, rgba(15,23,42,0.95) 100%);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.35);
    z-index: 200;
}

/* ==========================================================================
   Alternate Layout (opt-in via body.layout-alt)
   ========================================================================== */
body.layout-alt .hero__container {
    flex-direction: column-reverse;
}

@media (min-width: 1024px) {
    body.layout-alt .hero__container {
        flex-direction: row-reverse;
    }
}

/* Bookmakers list-style cards */
body.layout-alt .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

body.layout-alt .bookmaker-card {
    width: 100%;
    text-align: left;
    align-items: stretch;
}

@media (min-width: 768px) {
    body.layout-alt .bookmaker-card {
        display: grid;
        grid-template-columns: 140px 1fr auto;
        align-items: center;
        gap: var(--space-lg);
    }
}

body.layout-alt .bookmaker-card .card__header {
    display: contents;
}

body.layout-alt .bookmaker-card__logo-placeholder {
    height: 80px;
    width: 140px;
    margin: 0;
}

body.layout-alt .bookmaker-card .card__body {
    margin: 0;
}

body.layout-alt .bookmaker-card__tags {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

body.layout-alt .bookmaker-card .card__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
}

/* Steps as vertical timeline */
body.layout-alt .steps-grid {
    position: relative;
}

@media (min-width: 768px) {
    body.layout-alt .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

body.layout-alt .step-card {
    border-left: 4px solid transparent;
    border-image: var(--theme-gradient) 1;
}

/* Payment methods as horizontal pills */
body.layout-alt .payment-method-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: var(--space-lg);
}

body.layout-alt .payment-method-card__icon-placeholder {
    margin: 0;
}

/* ==========================================================================
   Alternating Sections & Dividers
   ========================================================================== */
main > section.section {
    position: relative;
}

/* even sections: subtle surface tint */
main > section.section:nth-of-type(even) {
    background-color: rgba(30,41,59,0.40);
    border-top: 1px solid rgba(148,163,184,0.12);
    border-bottom: 1px solid rgba(148,163,184,0.12);
}

/* section top divider */
main > section.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(99,102,241,0) 0%, rgba(99,102,241,0.45) 50%, rgba(99,102,241,0) 100%);
    opacity: 0.5;
}

/* ==========================================================================
   Reveal-on-scroll Animations
   ========================================================================== */
.will-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.will-reveal.is-visible {
    opacity: 1;
    transform: none;
}