/* ============================================
   DRAGON BALL Z DOKKAN BATTLE
   Candy Pop Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Palette */
    --color-primary: #ff6b6b;
    --color-primary-dark: #e55555;
    --color-primary-light: #ff9a9a;
    --color-primary-glow: rgba(255, 107, 107, 0.35);

    /* Secondary Palette */
    --color-secondary: #4ecdc4;
    --color-secondary-dark: #3db8b0;
    --color-secondary-light: #7eddd7;
    --color-secondary-glow: rgba(78, 205, 196, 0.35);

    /* Accent Palette */
    --color-accent: #ffe66d;
    --color-accent-dark: #f0d45e;
    --color-accent-light: #fff3a3;
    --color-accent-glow: rgba(255, 230, 109, 0.35);

    /* Extended Colors */
    --color-purple: #c44dff;
    --color-purple-light: #d97fff;
    --color-orange: #ff8a5c;
    --color-orange-light: #ffb08a;
    --color-blue: #45b7d1;
    --color-blue-light: #7dd3e5;
    --color-pink: #ff6ba3;
    --color-pink-light: #ff9ec2;

    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #fef9f0;
    --color-cream: #fff8e7;
    --color-light-gray: #f5f0eb;
    --color-medium-gray: #c4bfba;
    --color-dark-gray: #4a4540;
    --color-near-black: #2d2926;
    --color-black: #1a1714;

    /* Backgrounds */
    --bg-body: #fef5ee;
    --bg-card: #ffffff;
    --bg-card-hover: #fff8f0;
    --bg-hero: linear-gradient(135deg, #fff0e5 0%, #ffe8f5 30%, #e5f0ff 60%, #e5fff5 100%);
    --bg-section-alt: #fef0f0;
    --bg-footer: #2d2926;
    --bg-footer-bottom: #1a1714;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-candy: 0 6px 0 rgba(0, 0, 0, 0.08);
    --shadow-candy-hover: 0 8px 0 rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 6px 24px rgba(255, 107, 107, 0.3);
    --shadow-secondary: 0 6px 24px rgba(78, 205, 196, 0.3);
    --shadow-accent: 0 6px 24px rgba(255, 230, 109, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;
    --radius-circle: 50%;

    /* Typography */
    --font-display: 'Lilita One', 'Impact', sans-serif;
    --font-heading: 'Fredoka', 'Nunito', sans-serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;

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

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
    --z-cookie: 600;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-near-black);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

::selection {
    background: var(--color-accent);
    color: var(--color-near-black);
}

/* ============================================
   UTILITY / LAYOUT
   ============================================ */

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

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--color-near-black);
    margin-bottom: var(--space-md);
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-bounce);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
    color: var(--color-white);
    border-color: var(--color-primary-dark);
    box-shadow: var(--shadow-primary), 0 4px 0 var(--color-primary-dark);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary), 0 7px 0 var(--color-primary-dark);
    color: var(--color-white);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-primary), 0 2px 0 var(--color-primary-dark);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-near-black);
    border-color: var(--color-medium-gray);
    box-shadow: var(--shadow-sm), 0 4px 0 var(--color-medium-gray);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), 0 7px 0 var(--color-medium-gray);
    border-color: var(--color-secondary);
    color: var(--color-near-black);
}

.btn-secondary:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-xs), 0 2px 0 var(--color-medium-gray);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    background: var(--color-white);
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

.cookie-icon-wrap {
    flex-shrink: 0;
}

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

.cookie-text p {
    font-size: 0.92rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

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

.btn-cookie-accept {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-blue));
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-secondary-dark);
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: 0 3px 0 var(--color-secondary-dark);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--color-secondary-dark);
}

.btn-cookie-reject {
    padding: 10px 22px;
    background: var(--color-light-gray);
    color: var(--color-dark-gray);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-medium-gray);
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: 0 3px 0 rgba(0,0,0,0.08);
}

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

.btn-cookie-settings {
    padding: 10px 22px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-primary-light);
    cursor: pointer;
    transition: all var(--transition-bounce);
}

.btn-cookie-settings:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: var(--space-md) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-light-gray);
}

.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-dark-gray);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(254, 245, 238, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 3px solid transparent;
    transition: all var(--transition-base);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-near-black);
}

.logo-bubble {
    display: flex;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
    padding: 6px 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 0 var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
}

.logo-bubble-sm {
    padding: 4px 10px;
}

.logo-bubble span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-white);
    text-shadow: 0 2px 3px rgba(0,0,0,0.2);
    line-height: 1;
}

.logo-bubble-sm span {
    font-size: 1.1rem;
}

.logo-d { color: var(--color-accent) !important; }
.logo-b { color: var(--color-white) !important; }
.logo-z { color: var(--color-accent) !important; }

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-near-black);
    letter-spacing: 0.5px;
}

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

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-dark-gray);
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(255, 107, 107, 0.08);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
    color: var(--color-white) !important;
    padding: 10px 24px;
    border: 2px solid var(--color-primary-dark);
    box-shadow: 0 3px 0 var(--color-primary-dark);
    transition: all var(--transition-bounce);
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--color-primary-dark);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: var(--z-sticky);
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-near-black);
    border-radius: 3px;
    transition: all var(--transition-base);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding: 120px var(--space-lg) var(--space-2xl);
    background: var(--bg-hero);
    overflow: hidden;
}

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

.shape {
    position: absolute;
    border-radius: var(--radius-circle);
    opacity: 0.15;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: -50px;
    right: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-secondary);
    bottom: 10%;
    left: -60px;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--color-accent);
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    background: var(--color-purple);
    top: 20%;
    left: 15%;
    animation-delay: 3s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    background: var(--color-orange);
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.shape-6 {
    width: 60px;
    height: 60px;
    background: var(--color-pink);
    top: 60%;
    left: 30%;
    animation-delay: 4s;
}

.shape-7 {
    width: 100px;
    height: 100px;
    background: var(--color-blue);
    top: 10%;
    left: 50%;
    animation-delay: 2.5s;
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
}

.shape-8 {
    width: 70px;
    height: 70px;
    background: var(--color-accent);
    bottom: 30%;
    left: 60%;
    animation-delay: 3.5s;
    border-radius: var(--radius-lg);
    transform: rotate(30deg);
}

.shape-9 {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    top: 75%;
    right: 35%;
    animation-delay: 0.5s;
}

.shape-10 {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    top: 5%;
    right: 40%;
    animation-delay: 4.5s;
    border-radius: var(--radius-md);
}

.shape-11 {
    width: 90px;
    height: 90px;
    background: var(--color-orange);
    top: 45%;
    left: 5%;
    animation-delay: 1.8s;
    opacity: 0.1;
}

.shape-12 {
    width: 160px;
    height: 160px;
    background: var(--color-pink);
    bottom: -30px;
    right: 50%;
    animation-delay: 2.8s;
    opacity: 0.08;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-dark-gray);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out both;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
}

.title-line-1 {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-dark-gray);
    letter-spacing: 3px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.title-line-2 {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-orange) 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 107, 0.2));
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.title-line-3 {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(78, 205, 196, 0.2));
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 480px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.btn-hero {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    line-height: 1.1;
}

.stat-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.stat-divider {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary-light));
    border-radius: 3px;
}

/* Hero Image */
.hero-image-wrap {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-image-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    border-radius: var(--radius-circle);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

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

.hero-game-icon {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-xl);
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-xl), 0 0 60px var(--color-primary-glow);
    position: relative;
    z-index: 2;
    object-fit: cover;
    transition: transform var(--transition-bounce);
}

.hero-game-icon:hover {
    transform: scale(1.03) rotate(2deg);
}

.hero-floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-light-gray);
}

.fc-1 {
    top: -10px;
    right: -20px;
    animation: floatCard 4s ease-in-out infinite;
}

.fc-2 {
    bottom: 20px;
    left: -30px;
    animation: floatCard 4s ease-in-out 1s infinite;
}

.fc-3 {
    top: 50%;
    right: -35px;
    animation: floatCard 4s ease-in-out 2s infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */

.social-proof-ticker {
    background: linear-gradient(135deg, var(--color-near-black), var(--color-dark-gray));
    padding: var(--space-md) 0;
    overflow: hidden;
    position: relative;
}

.social-proof-ticker::before,
.social-proof-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.social-proof-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--color-near-black), transparent);
}

.social-proof-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--color-near-black), transparent);
}

.ticker-inner {
    display: flex;
    gap: var(--space-xl);
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
}

.ticker-item strong {
    color: var(--color-accent);
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary), var(--color-purple), var(--color-primary));
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    border: 3px solid var(--color-light-gray);
    box-shadow: var(--shadow-candy);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: height var(--transition-base);
}

.feature-card-1::before { background: linear-gradient(90deg, var(--color-primary), var(--color-orange)); }
.feature-card-2::before { background: linear-gradient(90deg, var(--color-secondary), var(--color-blue)); }
.feature-card-3::before { background: linear-gradient(90deg, var(--color-accent), var(--color-orange)); }
.feature-card-4::before { background: linear-gradient(90deg, var(--color-orange), var(--color-pink)); }
.feature-card-5::before { background: linear-gradient(90deg, var(--color-purple), var(--color-pink)); }
.feature-card-6::before { background: linear-gradient(90deg, var(--color-blue), var(--color-secondary)); }

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-candy-hover), var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.feature-card:hover::before {
    height: 8px;
}

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

.feature-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-near-black);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    line-height: 1.65;
    margin-bottom: var(--space-md);
}

.feature-tag-row {
    display: flex;
    gap: var(--space-sm);
}

.feature-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-cream);
    color: var(--color-dark-gray);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-accent-light);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-section-alt);
    position: relative;
}

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

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-md), var(--shadow-candy);
    cursor: pointer;
    height: 100%;
}

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

.gallery-img-wrap:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-img-wrap:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-circle);
    padding: 14px;
    transition: transform var(--transition-bounce);
}

.gallery-img-wrap:hover .gallery-zoom {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-caption {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-circle);
    padding: 12px;
    cursor: pointer;
    transition: background var(--transition-fast);
    z-index: 10;
    border: none;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: contain;
}

/* ============================================
   COMMUNITY / COUNTERS SECTION
   ============================================ */

.community-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
    position: relative;
}

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

.counter-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border: 3px solid var(--color-light-gray);
    box-shadow: var(--shadow-candy);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.counter-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

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

.counter-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-near-black);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.counter-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-dark-gray);
    margin-bottom: var(--space-sm);
}

.counter-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-circle);
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-dot-green {
    background: var(--color-secondary);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */

.registration-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #fff5f0 0%, #f0fff8 50%, #fff0f5 100%);
    position: relative;
    overflow: hidden;
}

.registration-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.reg-shape {
    position: absolute;
    border-radius: var(--radius-circle);
    opacity: 0.08;
}

.reg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.reg-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -80px;
    left: -80px;
}

.reg-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.registration-desc {
    font-size: 1.05rem;
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.registration-benefits {
    margin-bottom: var(--space-xl);
}

.registration-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--color-near-black);
}

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

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--color-dark-gray);
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-light-gray);
    box-shadow: var(--shadow-xs);
}

/* Form */
.registration-form-wrap {
    position: relative;
}

.registration-form {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    border: 3px solid var(--color-accent-light);
    box-shadow: var(--shadow-lg), 0 8px 0 var(--color-accent-light);
    position: relative;
}

.registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-near-black);
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-near-black);
    margin-bottom: 6px;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-off-white);
    border: 3px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-base);
}

.input-wrap:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px var(--color-secondary-glow);
    background: var(--color-white);
}

.input-wrap svg {
    flex-shrink: 0;
}

.input-wrap input {
    flex: 1;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-near-black);
    outline: none;
}

.input-wrap input::placeholder {
    color: var(--color-medium-gray);
}

.form-error {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--color-primary);
    margin-top: 4px;
    min-height: 18px;
}

/* Checkboxes */
.form-group-checkbox {
    margin-bottom: var(--space-sm);
}

.form-group-checkbox label.form-group-checkbox-label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-dark-gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 3px solid var(--color-medium-gray);
    border-radius: 6px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-secondary);
    border-color: var(--color-secondary-dark);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: var(--space-md);
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Success / Error Messages */
.form-success {
    text-align: center;
    padding: var(--space-xl);
    animation: fadeInUp 0.5s ease-out;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-secondary-dark);
    margin: var(--space-md) 0 var(--space-sm);
}

.form-success p {
    color: var(--color-dark-gray);
    font-size: 0.95rem;
}

.form-error-message {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 107, 107, 0.08);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-primary-light);
    margin-top: var(--space-md);
    animation: shakeError 0.4s ease;
}

.form-error-message p {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: var(--space-sm);
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    border: 3px solid var(--color-light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-candy);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-accent-light);
}

.faq-item.active {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md), 0 0 0 4px var(--color-secondary-glow);
}

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

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
    color: var(--color-medium-gray);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-secondary);
}

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

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

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

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--bg-section-alt);
}

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

.trust-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border: 3px solid var(--color-light-gray);
    box-shadow: var(--shadow-candy);
    transition: all var(--transition-bounce);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-light);
}

.trust-card svg {
    margin: 0 auto var(--space-md);
}

.trust-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-near-black);
    margin-bottom: var(--space-sm);
}

.trust-card p {
    font-size: 0.88rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    padding: var(--space-2xl) 0 var(--space-xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    color: var(--color-white);
    font-size: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 350px;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-contact-item:hover {
    color: var(--color-accent);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

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

.footer-links-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--color-accent);
}

.footer-address {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

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

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

.footer-bottom-inner p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
    max-width: 700px;
    margin: 0 auto var(--space-md) !important;
    line-height: 1.6;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-dropdown);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
    color: var(--color-white);
    border: 3px solid var(--color-primary-dark);
    border-radius: var(--radius-circle);
    box-shadow: var(--shadow-primary), 0 4px 0 var(--color-primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-bounce);
    animation: fadeInUp 0.4s ease-out;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary), 0 7px 0 var(--color-primary-dark);
}

/* ============================================
   LEGAL CONTENT (shared with legal pages)
   ============================================ */

.legal-content {
    max-width: 880px;
    margin: 0 auto;
    padding: 120px var(--space-lg) var(--space-3xl);
}

.legal-content .legal-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 3px solid var(--color-light-gray);
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-near-black);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.legal-content .legal-updated {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-medium-gray);
    margin-bottom: var(--space-xl);
    display: block;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-near-black);
    margin: var(--space-xl) 0 var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--color-light-gray);
}

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

.legal-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

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

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

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

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

.legal-content strong {
    color: var(--color-near-black);
}

.legal-content .contact-box {
    background: var(--color-cream);
    border: 2px solid var(--color-accent-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.features-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.features-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.features-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.features-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.features-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.features-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }

.counters-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.counters-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.counters-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.counters-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.gallery-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.gallery-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

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

    .hero-image-wrap {
        margin-top: var(--space-xl);
    }

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

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

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

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

    .gallery-item-large {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

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

    .section-title {
        text-align: center !important;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: var(--z-overlay);
        gap: var(--space-xs);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
    }

    .nav-link.nav-cta {
        text-align: center;
        margin-top: var(--space-md);
    }

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

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

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

    .gallery-item-wide {
        grid-column: span 1;
    }

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

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

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

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

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

@media (max-width: 480px) {
    .section-container {
        padding: 0 var(--space-md);
    }

    .hero-section {
        padding: 90px var(--space-md) var(--space-xl);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
    }

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

    .registration-form {
        padding: var(--space-lg);
    }

    .logo-text {
        display: none;
    }

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

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .main-header,
    .cookie-consent,
    .scroll-top-btn,
    .social-proof-ticker,
    .hero-bg-shapes,
    .registration-bg-shapes,
    .lightbox {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
