/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Palette */
    --color-primary: #e8a0bf;
    --color-primary-light: #f0c4d8;
    --color-primary-dark: #d07aa3;
    --color-secondary: #f2e6d9;
    --color-secondary-light: #faf4ee;
    --color-secondary-dark: #e0cfc0;
    --color-accent: #a3d9a5;
    --color-accent-light: #c4eac5;
    --color-accent-dark: #7bc47e;

    /* Extended Palette */
    --color-lavender: #c9a0e8;
    --color-lavender-light: #dfc4f0;
    --color-peach: #e8c8a0;
    --color-peach-light: #f0dcc4;
    --color-mint: #a0d9d0;
    --color-mint-light: #c4eae5;

    /* Neutrals */
    --color-bg: #fdf6f0;
    --color-bg-alt: #f8ede4;
    --color-bg-card: #fff9f5;
    --color-text: #4a3f47;
    --color-text-light: #7a6e75;
    --color-text-muted: #a89da3;
    --color-white: #fffcfa;
    --color-border: rgba(0, 0, 0, 0.06);

    /* Shadows */
    --shadow-clay: 8px 8px 20px rgba(0, 0, 0, 0.1),
                   inset -2px -2px 6px rgba(0, 0, 0, 0.05),
                   inset 2px 2px 6px rgba(255, 255, 255, 0.7);
    --shadow-clay-hover: 10px 10px 28px rgba(0, 0, 0, 0.14),
                         inset -2px -2px 8px rgba(0, 0, 0, 0.06),
                         inset 3px 3px 8px rgba(255, 255, 255, 0.8);
    --shadow-clay-pressed: 4px 4px 12px rgba(0, 0, 0, 0.1),
                           inset -1px -1px 4px rgba(0, 0, 0, 0.04),
                           inset 1px 1px 4px rgba(255, 255, 255, 0.6);
    --shadow-clay-elevated: 12px 12px 30px rgba(0, 0, 0, 0.12),
                            inset -3px -3px 8px rgba(0, 0, 0, 0.06),
                            inset 3px 3px 10px rgba(255, 255, 255, 0.75);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-display: 'Nunito', 'Quicksand', sans-serif;
    --font-body: 'Quicksand', 'Nunito', sans-serif;

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

    /* Borders */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

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

/* ============================================
   CLAY UTILITY CLASSES
   ============================================ */
.clay-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-clay);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.clay-card:hover {
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-2px);
}

.clay-card-elevated {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-clay-elevated);
}

.clay-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-secondary-light);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-clay-pressed);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
}

.clay-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-clay-pressed);
}

.clay-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-clay-pressed);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-clay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-clay-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 6px 6px 16px rgba(232, 160, 191, 0.4),
                inset -2px -2px 4px rgba(0, 0, 0, 0.08),
                inset 2px 2px 4px rgba(255, 255, 255, 0.4);
}

.btn-clay-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 8px 8px 24px rgba(232, 160, 191, 0.5),
                inset -2px -2px 6px rgba(0, 0, 0, 0.1),
                inset 3px 3px 6px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-clay-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-clay-pressed);
}

.btn-clay-secondary {
    background: var(--color-secondary);
    color: var(--color-text);
    box-shadow: var(--shadow-clay);
}

.btn-clay-secondary:hover {
    background: var(--color-secondary-dark);
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-2px);
    color: var(--color-text);
}

.btn-clay-ghost {
    background: transparent;
    color: var(--color-text-light);
    box-shadow: none;
    border: 2px solid var(--color-border);
}

.btn-clay-ghost:hover {
    background: var(--color-secondary-light);
    color: var(--color-text);
    border-color: var(--color-secondary-dark);
}

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

.btn-full {
    width: 100%;
}

.clay-btn-round {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-clay);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--color-text);
}

.clay-btn-round:hover {
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(253, 246, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: var(--space-sm) 0;
}

.nav-clay {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-clay);
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-clay-pressed);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    letter-spacing: -0.02em;
}

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

.nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary-dark);
    background: var(--color-secondary-light);
}

.nav-link-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    box-shadow: 4px 4px 12px rgba(232, 160, 191, 0.3),
                inset -1px -1px 3px rgba(0, 0, 0, 0.06),
                inset 1px 1px 3px rgba(255, 255, 255, 0.35);
}

.nav-link-cta:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.clay-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -80px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    bottom: -60px;
    left: -60px;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-lavender);
    top: 30%;
    left: 10%;
    animation: floatShape 18s ease-in-out infinite;
    animation-delay: -5s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--color-peach);
    top: 20%;
    right: 20%;
    animation: floatShape 22s ease-in-out infinite reverse;
    animation-delay: -8s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--color-mint);
    bottom: 20%;
    right: 10%;
    animation: floatShape 15s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-6 {
    width: 250px;
    height: 250px;
    background: var(--color-primary-light);
    top: 60%;
    left: 40%;
    animation: floatShape 28s ease-in-out infinite reverse;
    animation-delay: -12s;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

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

.hero-badge {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.title-line-1 {
    display: block;
    color: var(--color-text-light);
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.title-line-2 {
    display: block;
    color: var(--color-primary-dark);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.title-line-3 {
    display: block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

.hero-image-wrap {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--color-secondary-light), var(--color-primary-light));
    animation: breathe 4s ease-in-out infinite;
}

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

.hero-game-icon {
    width: 260px;
    height: 260px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.hero-floating-tile {
    position: absolute;
    animation: floatTile 6s ease-in-out infinite;
}

.tile-1 {
    top: -20px;
    right: -30px;
    animation-delay: -2s;
}

.tile-2 {
    bottom: -10px;
    left: -20px;
    animation-delay: -4s;
}

@keyframes floatTile {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(3deg); }
    75% { transform: translateY(8px) rotate(-2deg); }
}

.domino-tile {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-clay);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 50px;
}

.domino-half {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: center;
    padding: 4px;
    min-height: 28px;
    align-items: center;
}

.domino-divider {
    height: 2px;
    background: var(--color-border);
    border-radius: 1px;
    margin: 0 2px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary-dark);
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   SOCIAL PROOF / COUNTERS
   ============================================ */
.social-proof-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
    position: relative;
}

.social-proof-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-alt));
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.counter-card {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
}

.counter-icon {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.counter-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* Activity Feed */
.activity-feed {
    padding: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.feed-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 200px;
    overflow: hidden;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-secondary-light);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    color: var(--color-text-light);
    animation: slideInFeed 0.4s ease forwards;
    box-shadow: var(--shadow-clay-pressed);
}

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

.feed-item-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
}

.feed-item-text {
    flex: 1;
}

.feed-item-time {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-xl);
    text-align: center;
}

.feature-icon-wrap {
    margin: 0 auto var(--space-md);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   SCREENSHOTS GALLERY
   ============================================ */
.screenshots-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.gallery-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-slide {
    min-width: 100%;
    transition: transform var(--transition-slow);
    padding: var(--space-sm);
}

.gallery-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.gallery-dots {
    display: flex;
    gap: var(--space-sm);
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-secondary-dark);
    box-shadow: var(--shadow-clay-pressed);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.gallery-dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light), var(--shadow-clay-pressed);
    transform: scale(1.2);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    padding: var(--space-3xl) 0;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    padding: var(--space-xl);
    text-align: center;
}

.step-number {
    margin: 0 auto var(--space-md);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ============================================
   SIGNUP / LEAD FORM
   ============================================ */
.signup-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(160deg, var(--color-bg-alt) 0%, var(--color-secondary-light) 50%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    opacity: 0.06;
    border-radius: 50%;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.signup-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 450px;
}

.signup-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.signup-form-wrap {
    padding: var(--space-xl);
}

.form-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.form-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.required-star {
    color: #e74c3c;
}

.clay-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-secondary-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.06),
                inset -2px -2px 6px rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

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

.clay-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(232, 160, 191, 0.15),
                inset 2px 2px 6px rgba(0, 0, 0, 0.04);
}

.clay-input.error {
    border-color: #e74c3c;
}

.form-error {
    display: block;
    font-size: 0.82rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 1.2em;
    font-weight: 600;
}

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

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

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

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--color-secondary-light);
    border-radius: 6px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.06),
                inset -1px -1px 3px rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--color-primary);
    box-shadow: 3px 3px 8px rgba(232, 160, 191, 0.3),
                inset -1px -1px 3px rgba(0, 0, 0, 0.1),
                inset 1px 1px 3px rgba(255, 255, 255, 0.3);
}

.form-checkbox:checked + .checkbox-custom::after {
    content: '';
    width: 8px;
    height: 12px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.form-checkbox:focus-visible + .checkbox-custom {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.signup-success {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    margin-bottom: var(--space-md);
    animation: scaleIn 0.5s var(--transition-bounce);
}

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

.signup-success h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
    color: var(--color-accent-dark);
}

.signup-success p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-3xl) 0;
}

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

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text);
    text-align: left;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary-dark);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    color: var(--color-primary);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.trust-card {
    padding: var(--space-xl);
}

.trust-card-icon {
    margin-bottom: var(--space-md);
}

.trust-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.trust-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-text);
    color: var(--color-secondary);
    padding: var(--space-2xl) 0 var(--space-lg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    text-decoration: none;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--color-primary-light);
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 280px;
}

.footer-col-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-secondary-light);
    margin-bottom: var(--space-md);
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link-list a {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-lg);
}

.footer-bottom-inner {
    text-align: center;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.footer-age-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.footer-24h {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--color-white);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

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

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-clay-pressed);
}

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

.cookie-text p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.cookie-text a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-btn {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: var(--space-md) auto 0;
    padding: var(--space-md);
    background: var(--color-secondary-light);
    border-radius: var(--radius-md);
}

.cookie-setting-row {
    padding: var(--space-sm) 0;
}

.cookie-setting-row label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
}

.cookie-setting-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(74, 63, 71, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal-clay {
    width: 100%;
    max-width: 460px;
    animation: modalIn 0.4s var(--transition-bounce);
}

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

.modal-clay-inner {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-clay-elevated);
    padding: var(--space-2xl);
    text-align: center;
}

.age-icon-wrap {
    margin-bottom: var(--space-md);
}

.modal-clay-inner h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
}

.modal-clay-inner p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.age-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-xl);
    text-align: center;
    background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-secondary-light) 100%);
}

.legal-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.legal-hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
}

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

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: var(--color-white);
    line-height: 1.75;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-secondary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.legal-content p {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

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

.legal-content li {
    list-style: disc;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

.legal-content a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-footer-note {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--color-secondary);
}

.legal-footer-note p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-trust {
        justify-content: center;
    }

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

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

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

    .signup-perks {
        align-items: center;
    }

    .signup-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px var(--space-lg) var(--space-lg);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 999;
        gap: var(--space-sm);
        align-items: stretch;
    }

    .nav-links.open {
        min-height: 100vh;
        transform: translateX(0);
    }

    .nav-link {
        text-align: center;
        padding: 14px;
    }

    .hero-section {
        min-height: auto;
        padding-top: calc(80px + var(--space-xl));
        padding-bottom: var(--space-xl);
    }

    .hero-image-wrap {
        width: 240px;
        height: 240px;
    }

    .hero-game-icon {
        width: 200px;
        height: 200px;
    }

    .hero-floating-tile {
        display: none;
    }

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

    .counter-value {
        font-size: 1.8rem;
    }

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

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .cookie-inner {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }

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

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

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

    .btn-large {
        width: 100%;
        justify-content: center;
    }

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

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

    .age-actions .btn-clay {
        width: 100%;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .cookie-banner,
    .modal-overlay,
    .hero-bg-shapes,
    .hero-floating-tile,
    .hero-scroll-indicator,
    .gallery-controls {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .clay-card,
    .clay-card-elevated {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
