*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1e40af;
    --color-primary-dark: #1a3590;
    --color-primary-light: #3b82f6;
    --color-secondary: #f8fafc;
    --color-accent: #3b82f6;
    --color-bg: #ffffff;
    --color-bg-alt: #f1f5f9;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-success: #16a34a;
    --color-warning: #f59e0b;
    --color-danger: #dc2626;
    --color-earth-brown: #8b6f47;
    --color-earth-dark: #6b4e31;
    --color-forest-green: #2d5016;
    --color-forest-light: #4a7c23;
    --color-terracotta: #c4724e;
    --color-olive: #6b7a3d;
    --color-sand: #d4c5a9;
    --color-sand-light: #efe8d8;
    --color-gold: #b8860b;
    --color-gold-light: #daa520;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 2px 8px rgba(30, 64, 175, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', monospace;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --container-max: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--secondary:hover {
    background: var(--color-border);
    border-color: var(--color-text-muted);
}

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

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn--text {
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding: 0.5rem;
}

.btn--text:hover {
    color: var(--color-primary-dark);
    background: var(--color-bg-alt);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn--block {
    width: 100%;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

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

.age-gate__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.age-gate__content {
    position: relative;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: ageGateIn 0.4s ease;
}

@keyframes ageGateIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.age-gate__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-danger));
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.age-gate__content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.age-gate__content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.age-gate__question {
    font-weight: 600;
    color: var(--color-text) !important;
    font-size: 1.125rem;
}

.age-gate__buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.age-gate__buttons .btn {
    flex: 1;
}

.age-gate__disclaimer {
    font-size: 0.8125rem;
    color: var(--color-text-muted) !important;
    margin-top: var(--space-lg) !important;
    margin-bottom: 0 !important;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.cookie-consent__text h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.cookie-consent__text p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.cookie-settings {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.cookie-settings__group {
    margin-bottom: var(--space-md);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    transition: background var(--transition-base);
    flex-shrink: 0;
}

.cookie-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: var(--color-forest-light);
}

.cookie-toggle input:checked + .cookie-toggle__slider::after {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
    opacity: 0.6;
}

.cookie-toggle__label {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.cookie-settings .btn {
    margin-top: var(--space-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base), background var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-forest-light));
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav__logo-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-forest-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav__link {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

/* Hero */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.88) 0%,
        rgba(45, 80, 22, 0.75) 50%,
        rgba(107, 78, 49, 0.7) 100%
    );
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
}

.hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 720px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: var(--space-xl);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__badge-icon {
    font-size: 1rem;
}

/* Stats */
.stats {
    margin-top: calc(-1 * var(--space-xl));
    margin-bottom: var(--space-4xl);
    position: relative;
    z-index: 2;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.stats__item {
    text-align: center;
}

.stats__number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stats__label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Casinos Section */
.casinos {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    position: relative;
}

.casinos__filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.filter-btn--active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.casinos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

/* Casino Card */
.casino-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.casino-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--color-sand-light), var(--color-bg));
    border-bottom: 1px solid var(--color-border-light);
}

.casino-card__rank {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-earth-brown);
}

.casino-card__badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-card__badge--popular {
    background: linear-gradient(135deg, var(--color-forest-green), var(--color-forest-light));
}

.casino-card__badge--tradition {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-earth-brown));
}

.casino-card__body {
    padding: var(--space-lg);
    flex: 1;
}

.casino-card__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.casino-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

.star::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-border);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.star--full::before {
    background: var(--color-gold-light);
}

.star--partial::before {
    background: linear-gradient(
        to right,
        var(--color-gold-light) var(--fill, 50%),
        var(--color-border) var(--fill, 50%)
    );
}

.star--empty::before {
    background: var(--color-border);
}

.casino-card__score {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-earth-brown);
}

.casino-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.casino-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-forest-green);
    background: rgba(45, 80, 22, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(45, 80, 22, 0.15);
}

.casino-card__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.casino-card__detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-card__detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.casino-card__footer {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-top: 1px solid var(--color-border-light);
}

.casino-card__expanded {
    border-top: 1px solid var(--color-border-light);
    animation: expandCard 0.3s ease;
}

@keyframes expandCard {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 800px;
    }
}

.casino-card__expanded-content {
    padding: var(--space-lg);
}

.casino-card__expanded-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.casino-card__expanded-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.casino-card__pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.pros h5,
.cons h5 {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.pros h5 {
    color: var(--color-forest-green);
}

.cons h5 {
    color: var(--color-terracotta);
}

.pros ul,
.cons ul {
    list-style: none;
}

.pros li,
.cons li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-forest-light);
}

.cons li::before {
    content: '-';
    position: absolute;
    left: 2px;
    font-weight: 700;
    color: var(--color-terracotta);
}

/* Comparison Table */
.casinos__comparison {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
}

.casinos__comparison h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-alt);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-light);
}

.comparison-table tr:hover td {
    background: var(--color-bg-alt);
}

.table-rating {
    font-weight: 700;
    color: var(--color-earth-brown);
}

/* Gallery */
.gallery {
    padding: var(--space-4xl) 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-lg);
}

.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 2;
}

/* How It Works */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    position: relative;
}

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

.step {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-base);
}

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

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-olive), var(--color-forest-light));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.step__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.step__desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.disclaimer-box {
    background: var(--color-sand-light);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    font-size: 0.875rem;
    color: var(--color-earth-dark);
    line-height: 1.6;
}

/* Security */
.security {
    padding: var(--space-4xl) 0;
}

.security__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.security__card {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.security__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.security__icon {
    color: var(--color-forest-green);
    margin-bottom: var(--space-lg);
}

.security__card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.security__card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Bonus Game (Wheel) */
.bonus-game {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-bg) 100%);
}

.wheel-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.wheel-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

#wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--color-earth-brown), 0 0 0 12px var(--color-sand), var(--shadow-xl);
}

.wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid var(--color-terracotta);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

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

.wheel-result {
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-forest-light);
    animation: resultPop 0.3s ease;
}

@keyframes resultPop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wheel-result h3 {
    font-size: 1.125rem;
    color: var(--color-forest-green);
    margin-bottom: var(--space-sm);
}

.wheel-result p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.wheel-disclaimer {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* FAQ */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq__item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.faq__item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.faq__question {
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq__item[open] .faq__question::after {
    content: '-';
    transform: rotate(180deg);
}

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

.faq__answer {
    padding: 0 var(--space-lg) var(--space-lg);
    animation: faqOpen 0.3s ease;
}

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

.faq__answer p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: var(--space-4xl) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    outline: none;
}

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

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.form-checkbox input:checked + .form-checkbox__mark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.form-checkbox input:checked + .form-checkbox__mark::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.form-checkbox__text {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.form-checkbox__text a {
    font-weight: 600;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact__info-card {
    padding: var(--space-2xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.contact__info-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

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

.contact__detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact__detail-value {
    font-size: 0.9375rem;
    color: var(--color-text);
    word-break: break-word;
}

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

.contact__info-card--responsible {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05), rgba(107, 122, 61, 0.05));
    border-color: rgba(45, 80, 22, 0.15);
}

.contact__info-card--responsible p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.contact__help-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact__help-links li {
    font-size: 0.9375rem;
}

.contact__help-links a {
    font-weight: 600;
    color: var(--color-forest-green);
}

.contact__help-links a:hover {
    color: var(--color-forest-light);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding-top: var(--space-3xl);
}

.footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer__brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer__brand address {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer__links h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-full);
    color: var(--color-terracotta);
    font-size: 1.125rem;
    font-weight: 800;
    margin-top: var(--space-lg);
}

.footer__bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
    opacity: 0.6;
}

.footer__bottom p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
    font-weight: 500;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Legal Pages Shared Styles */
.legal-page {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
}

.legal-page .legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.legal-page .legal-updated {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.legal-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.legal-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-page h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-page p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-page ul,
.legal-page ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-page li {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    list-style-type: disc;
}

.legal-page ol li {
    list-style-type: decimal;
}

.legal-page strong {
    color: var(--color-text);
}

.legal-page a {
    color: var(--color-primary);
    font-weight: 500;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-highlight {
    background: var(--color-sand-light);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.legal-highlight p {
    color: var(--color-earth-dark);
    margin-bottom: 0;
}

.legal-contact-box {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.legal-contact-box p {
    margin-bottom: var(--space-sm);
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

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

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

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

    .gallery__item--tall {
        grid-row: span 1;
    }

    .wheel-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .wheel-controls {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__link {
        padding: 0.75rem var(--space-md);
        font-size: 1rem;
    }

    .hero {
        min-height: 500px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-lg);
    }

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

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

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

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

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

    .gallery__item--wide {
        grid-column: span 1;
    }

    .casino-card__pros-cons {
        grid-template-columns: 1fr;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        display: block;
        margin-bottom: var(--space-md);
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-md);
        overflow: hidden;
    }

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

    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text);
    }

    .wheel-wrapper {
        width: 280px;
        height: 280px;
    }

    .age-gate__content {
        padding: var(--space-xl);
    }

    .age-gate__buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__badges {
        flex-direction: column;
    }

    .stats__grid {
        gap: var(--space-md);
    }

    .stats__number {
        font-size: 1.75rem;
    }

    .wheel-wrapper {
        width: 240px;
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media print {
    .header,
    .cookie-consent,
    .age-gate,
    .back-to-top,
    .bonus-game,
    .hero__bg-overlay,
    .hero__wave,
    .footer__wave {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
