/* ============================================
   ZAGREVOX - Terracotta Casino Aggregator
   Mediterranean Pottery & Tuscan Villa Aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Primary Palette */
    --terracotta: #c1440e;
    --terracotta-dark: #9a360b;
    --terracotta-light: #d4612f;
    --sand: #faf3e8;
    --sand-dark: #f0e4d0;
    --olive: #5c6b3c;
    --olive-light: #7a8b56;
    --olive-dark: #3e4a28;
    --cream: #fff8ef;
    --burnt-sienna: #a0522d;
    --burnt-umber: #6b3a2a;
    --warm-brown: #8b5e3c;
    --clay: #b87a5a;
    --deep-night: #1a1218;
    --night-blue: #0f1729;
    --night-purple: #1e1230;

    /* Functional */
    --text-primary: #2c1810;
    --text-secondary: #5a4035;
    --text-muted: #8a7568;
    --text-on-dark: #faf3e8;
    --text-on-terracotta: #fff8ef;

    /* Shadows */
    --shadow-warm-sm: 0 2px 8px rgba(193, 68, 14, 0.12);
    --shadow-warm-md: 0 4px 20px rgba(193, 68, 14, 0.15);
    --shadow-warm-lg: 0 8px 40px rgba(193, 68, 14, 0.2);
    --shadow-warm-xl: 0 16px 60px rgba(193, 68, 14, 0.25);

    /* Borders */
    --border-rustic: 3px solid #c1a882;
    --border-terracotta: 3px solid #c1440e;
    --border-light: 1px solid rgba(193, 68, 14, 0.15);

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-pad: clamp(60px, 8vw, 120px);
    --container-max: 1280px;
    --card-radius: 4px;
    --arch-radius: 50% 50% 0 0;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--sand);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Noise/Grain texture overlay on body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    max-width: 70ch;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 3px solid transparent;
    border-radius: var(--card-radius);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out);
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--text-on-terracotta);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    color: var(--text-on-terracotta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-md);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.btn-secondary:hover {
    background: var(--cream);
    color: var(--terracotta);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--terracotta);
    color: var(--text-on-terracotta);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 70px);
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    background: rgba(193, 68, 14, 0.08);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 2px solid rgba(193, 68, 14, 0.15);
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 600px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 243, 232, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(193, 68, 14, 0.1);
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(250, 243, 232, 0.97);
    box-shadow: var(--shadow-warm-sm);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--terracotta);
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 50% 50% 4px 4px;
    border: 2px solid var(--terracotta-dark);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--terracotta);
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

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

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 18, 24, 0.95) 0%,
        rgba(30, 18, 10, 0.8) 40%,
        rgba(15, 23, 41, 0.93) 100%
    );
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    padding: 0 clamp(20px, 4vw, 40px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(193, 68, 14, 0.2);
    border: 1px solid rgba(193, 68, 14, 0.4);
    padding: 8px 20px;
    border-radius: 100px;
    color: var(--clay);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}

.badge-icon {
    font-size: 1rem;
    color: var(--terracotta-light);
}

.hero-title {
    color: var(--cream);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-weight: 300;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.title-line-2 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
    background: linear-gradient(135deg, var(--cream) 0%, var(--clay) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-3 {
    font-weight: 300;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    letter-spacing: 0.05em;
    color: rgba(250, 243, 232, 0.7);
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

.hero-subtitle {
    color: rgba(250, 243, 232, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 50px);
    animation: fadeInUp 0.8s var(--ease-out) 1.3s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--cream);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clay);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(193, 68, 14, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    animation: fadeInUp 0.8s var(--ease-out) 1.5s both;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(250, 243, 232, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--terracotta-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   MOSAIC DIVIDER
   ============================================ */
.mosaic-divider {
    display: flex;
    height: 12px;
    overflow: hidden;
}

.mosaic-tile {
    flex: 1;
    min-width: 5%;
}

.mosaic-divider .mosaic-tile:nth-child(1) { background: var(--terracotta); }
.mosaic-divider .mosaic-tile:nth-child(2) { background: var(--burnt-sienna); }
.mosaic-divider .mosaic-tile:nth-child(3) { background: var(--olive); }
.mosaic-divider .mosaic-tile:nth-child(4) { background: var(--clay); }
.mosaic-divider .mosaic-tile:nth-child(5) { background: var(--terracotta-dark); }
.mosaic-divider .mosaic-tile:nth-child(6) { background: var(--warm-brown); }
.mosaic-divider .mosaic-tile:nth-child(7) { background: var(--olive-light); }
.mosaic-divider .mosaic-tile:nth-child(8) { background: var(--terracotta-light); }
.mosaic-divider .mosaic-tile:nth-child(9) { background: var(--burnt-umber); }
.mosaic-divider .mosaic-tile:nth-child(10) { background: var(--olive-dark); }
.mosaic-divider .mosaic-tile:nth-child(11) { background: var(--terracotta); opacity: 0.7; }
.mosaic-divider .mosaic-tile:nth-child(12) { background: var(--clay); opacity: 0.8; }
.mosaic-divider .mosaic-tile:nth-child(13) { background: var(--olive); opacity: 0.6; }
.mosaic-divider .mosaic-tile:nth-child(14) { background: var(--burnt-sienna); opacity: 0.9; }
.mosaic-divider .mosaic-tile:nth-child(15) { background: var(--terracotta-dark); opacity: 0.5; }
.mosaic-divider .mosaic-tile:nth-child(16) { background: var(--warm-brown); opacity: 0.7; }
.mosaic-divider .mosaic-tile:nth-child(17) { background: var(--olive-light); opacity: 0.8; }
.mosaic-divider .mosaic-tile:nth-child(18) { background: var(--terracotta-light); opacity: 0.6; }
.mosaic-divider .mosaic-tile:nth-child(19) { background: var(--burnt-umber); opacity: 0.9; }
.mosaic-divider .mosaic-tile:nth-child(20) { background: var(--terracotta); opacity: 0.4; }

.mosaic-alt .mosaic-tile:nth-child(odd) { opacity: 0.5; }
.mosaic-alt .mosaic-tile:nth-child(even) { opacity: 1; }

/* ============================================
   IMAGE STRIP
   ============================================ */
.image-strip {
    padding: 0;
    overflow: hidden;
    background: var(--burnt-umber);
}

.strip-inner {
    display: flex;
    gap: 0;
}

.strip-item {
    flex: 1;
    min-width: 25%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.strip-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(193, 68, 14, 0.2), rgba(107, 58, 42, 0.4));
    pointer-events: none;
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.strip-item:hover img {
    transform: scale(1.08);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--sand);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(193, 68, 14, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(92, 107, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.step-card {
    background: var(--cream);
    border: 3px solid rgba(193, 68, 14, 0.12);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

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

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-warm-lg);
    border-color: var(--terracotta);
}

.step-arch {
    height: 80px;
    background: var(--terracotta);
    border-radius: 0 0 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: inherit;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.step-body {
    padding: 28px 24px 32px;
    text-align: center;
}

.step-body h3 {
    margin-bottom: 12px;
    color: var(--terracotta);
}

.step-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 auto;
}

/* ============================================
   CASINO SECTION
   ============================================ */
.casinos-section {
    padding: var(--section-pad) 0;
    background: var(--cream);
    position: relative;
}

.casinos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(to bottom, var(--sand), var(--cream));
    pointer-events: none;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(193, 68, 14, 0.2);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

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

.filter-btn.active {
    background: var(--terracotta);
    color: var(--cream);
    border-color: var(--terracotta);
}

/* Casino Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    position: relative;
}

/* Casino Card */
.casino-card {
    background: var(--sand);
    border: 3px solid rgba(193, 68, 14, 0.12);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.casino-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.card-arch-top {
    height: 56px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    border-radius: 0 0 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.card-arch-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.12) 0%, transparent 60%);
    border-radius: inherit;
}

.card-rank {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.card-badge {
    background: rgba(255,255,255,0.2);
    color: var(--cream);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 100px;
    position: relative;
    z-index: 1;
}

.card-body {
    padding: 24px 28px 28px;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.casino-name {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.casino-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
}

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

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

.star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    background: #d4d0c8;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.star.filled::before {
    background: var(--terracotta);
}

.star.half::before {
    background: linear-gradient(90deg, var(--terracotta) 50%, #d4d0c8 50%);
}

.casino-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--olive-dark);
    background: rgba(92, 107, 60, 0.1);
    border: 1px solid rgba(92, 107, 60, 0.2);
    border-radius: 100px;
}

.casino-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(193, 68, 14, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-icon {
    font-size: 0.85rem;
    color: var(--olive);
    font-weight: 700;
    min-width: 50px;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.card-actions .btn {
    flex: 1;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
    margin-top: 60px;
    background: var(--sand);
    border: 3px solid rgba(193, 68, 14, 0.12);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.table-title {
    padding: 24px 28px;
    background: var(--terracotta);
    color: var(--cream);
    font-size: 1.3rem;
    text-align: center;
}

.table-scroll {
    overflow-x: auto;
}

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

.comparison-table th {
    background: rgba(193, 68, 14, 0.06);
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid rgba(193, 68, 14, 0.15);
    white-space: nowrap;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(193, 68, 14, 0.08);
    color: var(--text-secondary);
    vertical-align: middle;
}

.comparison-table tbody tr:hover {
    background: rgba(193, 68, 14, 0.03);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.table-rating {
    font-weight: 700;
    color: var(--terracotta);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.comparison-table a {
    color: var(--terracotta);
    font-weight: 600;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--section-pad) 0;
    background: var(--sand);
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.trust-card {
    background: var(--cream);
    border: 3px solid rgba(193, 68, 14, 0.1);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

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

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

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

.trust-icon {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--terracotta);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(193, 68, 14, 0.08);
    border-radius: 50%;
    border: 2px solid rgba(193, 68, 14, 0.15);
}

.trust-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 auto;
}

.trust-card a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   GAME SECTION - SPIN THE WHEEL
   ============================================ */
.game-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(135deg, var(--burnt-umber) 0%, var(--deep-night) 50%, var(--night-blue) 100%);
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(193, 68, 14, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(92, 107, 60, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.game-section .section-tag {
    background: rgba(193, 68, 14, 0.3);
    border-color: rgba(193, 68, 14, 0.5);
    color: var(--clay);
}

.game-section .section-title {
    color: var(--cream);
}

.game-section .section-desc {
    color: rgba(250, 243, 232, 0.7);
}

.wheel-game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
    position: relative;
}

.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 36px solid var(--terracotta);
    filter: drop-shadow(0 3px 6px rgba(193, 68, 14, 0.4));
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -10px;
    width: 20px;
    height: 8px;
    background: var(--terracotta-dark);
    border-radius: 50%;
}

#wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow:
        0 0 0 8px var(--terracotta-dark),
        0 0 0 12px var(--clay),
        0 0 0 16px rgba(193, 68, 14, 0.3),
        var(--shadow-warm-xl);
}

.wheel-controls {
    max-width: 380px;
    text-align: center;
}

.wheel-controls .btn {
    margin-bottom: 24px;
}

.wheel-result {
    background: rgba(193, 68, 14, 0.15);
    border: 2px solid var(--terracotta);
    border-radius: var(--card-radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s var(--ease-spring);
}

.wheel-result h4 {
    color: var(--clay);
    font-size: 1rem;
    margin-bottom: 8px;
}

.wheel-result p {
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.wheel-disclaimer {
    color: rgba(250, 243, 232, 0.5);
    font-size: 0.78rem;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-pad) 0;
    background: var(--cream);
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-info .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.contact-info .section-title {
    margin-bottom: 16px;
    text-align: left;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(193, 68, 14, 0.08);
    border: 2px solid rgba(193, 68, 14, 0.15);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item strong {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.contact-item a,
.contact-item span {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--terracotta);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--sand);
    border: 3px solid rgba(193, 68, 14, 0.12);
    border-radius: var(--card-radius);
    padding: clamp(28px, 4vw, 44px);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--terracotta), var(--olive), var(--clay), var(--terracotta));
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--cream);
    border: 2px solid rgba(193, 68, 14, 0.15);
    border-radius: var(--card-radius);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group input:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(193, 68, 14, 0.1);
}

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

.form-consent {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--terracotta);
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--terracotta);
    text-decoration: underline;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--card-radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background: rgba(92, 107, 60, 0.1);
    color: var(--olive-dark);
    border: 2px solid var(--olive);
}

.form-message.error {
    background: rgba(193, 68, 14, 0.1);
    color: var(--terracotta-dark);
    border: 2px solid var(--terracotta);
}

/* ============================================
   RESPONSIBLE GAMING BANNER
   ============================================ */
.responsible-gaming {
    padding: 40px 0;
    background: var(--terracotta);
    position: relative;
}

.responsible-gaming::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.rg-content {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.rg-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    flex-shrink: 0;
}

.rg-text h3 {
    color: var(--cream);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.rg-text p {
    color: rgba(250, 243, 232, 0.85);
    font-size: 0.9rem;
    max-width: 800px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--deep-night);
    padding: 60px 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--olive), var(--clay), var(--burnt-sienna), var(--terracotta));
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: clamp(40px, 6vw, 80px);
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(193, 68, 14, 0.15);
}

.footer-brand .footer-logo .logo-mark {
    background: var(--terracotta);
}

.footer-brand .footer-logo .logo-text {
    color: var(--cream);
}

.footer-brand > p {
    color: rgba(250, 243, 232, 0.6);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.footer-col h4 {
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col li {
    font-size: 0.88rem;
    color: rgba(250, 243, 232, 0.5);
}

.footer-col a {
    color: rgba(250, 243, 232, 0.6);
    transition: color 0.3s var(--ease-out);
}

.footer-col a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-disclaimers p {
    color: rgba(250, 243, 232, 0.4);
    font-size: 0.8rem;
    line-height: 1.7;
    max-width: 100%;
}

.footer-copyright p {
    color: rgba(250, 243, 232, 0.3);
    font-size: 0.78rem;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(26, 18, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s var(--ease-out);
}

.age-modal-overlay.hidden {
    display: none;
}

.age-modal {
    background: var(--sand);
    border: 4px solid var(--terracotta);
    border-radius: var(--card-radius);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    position: relative;
    animation: scaleIn 0.5s var(--ease-spring);
}

.age-modal-arch {
    height: 80px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    border-radius: 0 0 50% 50%;
    position: relative;
}

.age-modal-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: inherit;
}

.age-modal-content {
    padding: 32px 36px 40px;
    text-align: center;
}

.age-icon-wrapper {
    margin-bottom: 20px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--terracotta);
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    border: 4px solid var(--terracotta-dark);
    box-shadow: var(--shadow-warm-md);
}

.age-modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.age-modal-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.age-question {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 24px !important;
    margin-top: 16px;
}

.age-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-age-yes {
    padding: 14px 40px;
    background: var(--terracotta);
    color: var(--cream);
    border: 3px solid var(--terracotta);
    border-radius: var(--card-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-age-yes:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-md);
}

.btn-age-no {
    padding: 14px 40px;
    background: transparent;
    color: var(--text-secondary);
    border: 3px solid rgba(193, 68, 14, 0.2);
    border-radius: var(--card-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-age-no:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.age-disclaimer {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--deep-night);
    border-top: 3px solid var(--terracotta);
    padding: 24px clamp(20px, 4vw, 40px);
    animation: slideUp 0.5s var(--ease-out);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cookie-text p {
    color: rgba(250, 243, 232, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--terracotta-light);
    text-decoration: underline;
}

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

.btn-cookie-accept {
    padding: 10px 24px;
    background: var(--terracotta);
    color: var(--cream);
    border: 2px solid var(--terracotta);
    border-radius: var(--card-radius);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cookie-accept:hover {
    background: var(--terracotta-dark);
}

.btn-cookie-necessary {
    padding: 10px 24px;
    background: transparent;
    color: rgba(250, 243, 232, 0.7);
    border: 2px solid rgba(250, 243, 232, 0.3);
    border-radius: var(--card-radius);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cookie-necessary:hover {
    border-color: rgba(250, 243, 232, 0.6);
    color: var(--cream);
}

.btn-cookie-settings {
    padding: 10px 24px;
    background: transparent;
    color: rgba(250, 243, 232, 0.5);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s var(--ease-out);
    text-decoration: underline;
}

.btn-cookie-settings:hover {
    color: var(--cream);
}

.cookie-settings-panel {
    max-width: var(--container-max);
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(250, 243, 232, 0.1);
}

.cookie-setting-item {
    margin-bottom: 10px;
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(250, 243, 232, 0.7);
    font-size: 0.88rem;
    cursor: pointer;
}

.cookie-setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--terracotta);
}

.btn-cookie-save {
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--olive);
    color: var(--cream);
    border: 2px solid var(--olive);
    border-radius: var(--card-radius);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
}

.btn-cookie-save:hover {
    background: var(--olive-dark);
}

/* ============================================
   DETAIL MODAL
   ============================================ */
.detail-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 24, 0.85);
    backdrop-filter: blur(8px);
}

.detail-modal-content {
    position: relative;
    background: var(--sand);
    border: 4px solid var(--terracotta);
    border-radius: var(--card-radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: scaleIn 0.4s var(--ease-spring);
}

.detail-modal-arch {
    height: 60px;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    border-radius: 0 0 50% 50%;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--cream);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body-inner {
    padding: 28px 32px 36px;
}

.modal-body-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-body-inner .modal-rating {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.modal-body-inner .modal-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.modal-info-list {
    margin-bottom: 24px;
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(193, 68, 14, 0.1);
    font-size: 0.92rem;
}

.modal-info-item strong {
    color: var(--text-primary);
}

.modal-info-item span {
    color: var(--text-secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}

@keyframes spinWheel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(var(--spin-degrees)); }
}

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

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

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

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 243, 232, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(193, 68, 14, 0.1);
        padding: 20px;
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out);
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .strip-inner {
        flex-wrap: wrap;
    }

    .strip-item {
        min-width: 50%;
        height: 150px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .btn-age-yes,
    .btn-age-no {
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }

    .rg-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wheel-wrapper {
        width: 260px;
        height: 260px;
    }

    .card-actions {
        flex-direction: column;
    }

    .card-header-row {
        flex-direction: column;
    }

    .casino-rating {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
    }

    .filter-bar {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

/* ============================================
   LEGAL PAGES SHARED STYLES
   ============================================ */
.legal-page {
    padding-top: 100px;
    padding-bottom: var(--section-pad);
    min-height: 100vh;
    background: var(--sand);
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 3px solid rgba(193, 68, 14, 0.15);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.legal-header .legal-updated {
    color: var(--text-muted);
    font-size: 0.88rem;
}

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

.legal-content h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--terracotta);
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(193, 68, 14, 0.1);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

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

.legal-content a {
    color: var(--terracotta);
    text-decoration: underline;
}

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

.legal-content .legal-highlight {
    background: rgba(193, 68, 14, 0.06);
    border-left: 4px solid var(--terracotta);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
}

.legal-content .legal-highlight p {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 12px 24px;
    background: var(--terracotta);
    color: var(--cream);
    border-radius: var(--card-radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.legal-back-link:hover {
    background: var(--terracotta-dark);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--sand-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--clay);
    border-radius: 5px;
    border: 2px solid var(--sand-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 3px;
}

/* Selection */
::selection {
    background: var(--terracotta);
    color: var(--cream);
}
