/* ============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================ */
:root {
    /* Core Terracotta Palette */
    --primary: #c1440e;
    --primary-dark: #8b2f0a;
    --primary-light: #d4724a;
    --secondary: #faf3e8;
    --secondary-dark: #f0e4d0;
    --accent: #5c6b3c;
    --accent-light: #7a8c57;
    --accent-dark: #3d4828;

    /* Extended Palette */
    --terracotta: #c1440e;
    --burnt-sienna: #a0522d;
    --warm-sand: #e8d5b7;
    --cream: #faf3e8;
    --olive: #5c6b3c;
    --deep-brown: #2d1a0e;
    --clay: #b8734a;
    --rust: #8b4513;

    /* Neutrals */
    --text-primary: #2d1a0e;
    --text-secondary: #5a3e2b;
    --text-muted: #8b7355;
    --text-light: #faf3e8;
    --border-warm: #d4a574;
    --border-light: #e8d5b7;

    /* Shadows (warm-tinted) */
    --shadow-sm: 0 2px 8px rgba(193, 68, 14, 0.08);
    --shadow-md: 0 4px 16px rgba(193, 68, 14, 0.12);
    --shadow-lg: 0 8px 32px rgba(193, 68, 14, 0.16);
    --shadow-xl: 0 16px 48px rgba(193, 68, 14, 0.2);
    --shadow-arch: 0 12px 40px rgba(139, 47, 10, 0.15);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-arch: 50% 50% 0 0;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 200ms var(--ease-out);
    --transition-base: 350ms var(--ease-out);
    --transition-slow: 600ms var(--ease-out);

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

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

ul, ol {
    list-style: none;
}

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   NOISE / GRAIN TEXTURE
   ============================================ */
.hero-noise,
.features-noise,
.registration-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(193, 68, 14, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(193, 68, 14, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(193, 68, 14, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-header {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(250, 243, 232, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--border-light);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(250, 243, 232, 0.97);
    box-shadow: var(--shadow-md);
    height: 68px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.header-actions .btn-primary {
    display: none;
}

@media (min-width: 1024px) {
    .header-actions .btn-primary {
        display: inline-flex;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    padding: 6px;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    background: rgba(250, 243, 232, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: var(--space-2xl);
    overflow-y: auto;
}

.mobile-nav.open {
    display: block;
    animation: fadeInDown 0.3s var(--ease-out);
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    display: block;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: linear-gradient(
        175deg,
        var(--cream) 0%,
        #f5e6d0 30%,
        #eddcc5 60%,
        var(--warm-sand) 100%
    );
    overflow: hidden;
}

.hero-arch-overlay {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(
        ellipse at 70% 50%,
        rgba(193, 68, 14, 0.04) 0%,
        transparent 70%
    );
    pointer-events: none;
}

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

@media (min-width: 900px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: rgba(193, 68, 14, 0.08);
    border: 1.5px solid rgba(193, 68, 14, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    color: var(--primary);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-warm);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-arch {
    position: relative;
    width: 320px;
    max-width: 100%;
    border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--border-warm);
    box-shadow: var(--shadow-xl);
    background: var(--cream);
}

@media (min-width: 600px) {
    .hero-image-arch {
        width: 380px;
    }
}

.hero-game-icon {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-image-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(193, 68, 14, 0.12) 0%, transparent 70%);
    top: -20px;
    right: -30px;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-deco-2 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(92, 107, 60, 0.15) 0%, transparent 70%);
    bottom: 40px;
    left: -20px;
    animation: floatSlow 8s ease-in-out infinite reverse;
}

.hero-deco-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(193, 68, 14, 0.08);
    bottom: -40px;
    right: -40px;
    animation: spinSlow 20s linear infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-arrow {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */
.social-proof-section {
    background: var(--primary-dark);
    padding: var(--space-md) 0;
    overflow: hidden;
}

.ticker-wrap {
    overflow: hidden;
    width: 100%;
}

.ticker {
    display: flex;
    gap: var(--space-3xl);
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    flex-shrink: 0;
}

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

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

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

.mosaic-divider .mosaic-tile:nth-child(odd) {
    background: var(--primary);
}

.mosaic-divider .mosaic-tile:nth-child(even) {
    background: var(--accent);
}

.mosaic-divider .mosaic-tile:nth-child(3n) {
    background: var(--clay);
}

.mosaic-divider .mosaic-tile:nth-child(4n) {
    background: var(--warm-sand);
}

.mosaic-divider .mosaic-tile:nth-child(5n) {
    background: var(--burnt-sienna);
}

.mosaic-divider.mosaic-alt .mosaic-tile:nth-child(odd) {
    background: var(--accent);
}

.mosaic-divider.mosaic-alt .mosaic-tile:nth-child(even) {
    background: var(--primary);
}

.mosaic-divider.mosaic-alt .mosaic-tile:nth-child(3n) {
    background: var(--warm-sand);
}

.footer-mosaic {
    display: flex;
    height: 6px;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}

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

.footer-mosaic .mosaic-tile:nth-child(odd) {
    background: var(--primary-light);
    opacity: 0.5;
}

.footer-mosaic .mosaic-tile:nth-child(even) {
    background: var(--accent-light);
    opacity: 0.4;
}

.footer-mosaic .mosaic-tile:nth-child(3n) {
    background: var(--clay);
    opacity: 0.3;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    background: rgba(193, 68, 14, 0.08);
    padding: 6px 18px;
    border-radius: 100px;
    border: 1.5px solid rgba(193, 68, 14, 0.15);
    margin-bottom: var(--space-md);
}

.section-tag-light {
    color: var(--cream);
    background: rgba(250, 243, 232, 0.1);
    border-color: rgba(250, 243, 232, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   ARCH CARDS
   ============================================ */
.arch-card {
    position: relative;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.arch-card-top {
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--clay), var(--accent));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--space-5xl) 0;
    background: var(--secondary);
    position: relative;
}

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

@media (min-width: 600px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

.about-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.about-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

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

@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

.gallery-arch {
    position: relative;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-md) var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--border-warm);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.gallery-arch:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary);
}

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

.gallery-item-large .gallery-arch img {
    height: 340px;
}

.gallery-item-wide .gallery-arch img {
    height: 300px;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(45, 26, 14, 0.8));
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-arch:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(
        170deg,
        var(--deep-brown) 0%,
        #3a2214 50%,
        #2d1a0e 100%
    );
    overflow: hidden;
}

.features-section .section-tag {
    color: var(--cream);
    background: rgba(250, 243, 232, 0.08);
    border-color: rgba(250, 243, 232, 0.15);
}

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

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

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: var(--space-xl);
    border: 1.5px solid rgba(250, 243, 232, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(250, 243, 232, 0.03);
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    background: rgba(250, 243, 232, 0.08);
    border-color: rgba(193, 68, 14, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(193, 68, 14, 0.15);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.feature-card:hover .feature-number {
    opacity: 0.8;
}

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

.feature-text {
    font-size: 0.9rem;
    color: rgba(250, 243, 232, 0.7);
    line-height: 1.65;
}

.feature-line {
    margin-top: var(--space-lg);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 1px;
    opacity: 0.3;
}

.feature-card:hover .feature-line {
    opacity: 0.7;
}

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter-section {
    padding: var(--space-4xl) 0;
    background: var(--secondary);
}

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

@media (min-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.counter-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-base);
}

.counter-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.counter-value {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.counter-live-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    background: white;
    transition: all var(--transition-base);
}

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

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

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

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 var(--space-xl);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.registration-section {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(
        170deg,
        var(--primary-dark) 0%,
        var(--primary) 40%,
        #d4724a 100%
    );
    overflow: hidden;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 900px) {
    .registration-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.registration-desc {
    font-size: 1.05rem;
    color: rgba(250, 243, 232, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

.registration-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--cream);
    font-size: 0.95rem;
}

.registration-benefits svg {
    flex-shrink: 0;
    background: rgba(250, 243, 232, 0.15);
    border-radius: 50%;
    padding: 2px;
}

/* Form Card */
.form-arch-card {
    background: white;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(250, 243, 232, 0.3);
}

.form-arch-top {
    height: 12px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--clay), var(--primary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

@media (min-width: 600px) {
    .signup-form {
        padding: var(--space-2xl) var(--space-2xl) var(--space-3xl);
    }
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

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

.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(193, 68, 14, 0.08);
    outline: none;
}

.form-input.error {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 4px;
    min-height: 1.2em;
}

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

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

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-warm);
    border-radius: var(--radius-sm);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 1px;
}

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

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

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

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success {
    background: rgba(92, 107, 60, 0.1);
    border: 1.5px solid rgba(92, 107, 60, 0.3);
    color: var(--accent-dark);
}

.form-error-msg {
    background: rgba(193, 68, 14, 0.08);
    border: 1.5px solid rgba(193, 68, 14, 0.3);
    color: var(--primary-dark);
}

.form-message svg {
    flex-shrink: 0;
}

/* Button loader */
.btn-loader {
    display: inline-flex;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--space-5xl) 0;
    background: var(--secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.contact-link {
    font-size: 0.85rem;
    color: var(--primary);
    word-break: break-all;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--space-4xl) 0 var(--space-5xl);
    background: var(--secondary-dark);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    text-align: center;
    padding: var(--space-lg);
}

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

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.trust-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--deep-brown);
    color: rgba(250, 243, 232, 0.8);
    padding-top: 0;
    padding-bottom: var(--space-2xl);
}

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

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

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

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

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(250, 243, 232, 0.65);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(250, 243, 232, 0.1);
}

.footer-address {
    margin-bottom: var(--space-sm);
}

.footer-address p {
    font-size: 0.82rem;
    color: rgba(250, 243, 232, 0.5);
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(250, 243, 232, 0.5);
    margin-bottom: var(--space-sm);
}

.footer-responsible {
    font-size: 0.75rem;
    color: rgba(250, 243, 232, 0.35);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    border: 2px solid var(--primary-dark);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: white;
    border-top: 3px solid var(--primary);
    box-shadow: 0 -8px 32px rgba(45, 26, 14, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out);
}

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

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

.cookie-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

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

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

.cookie-settings-panel {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

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

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-5xl);
}

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

@media (min-width: 600px) {
    .legal-content .legal-card {
        padding: var(--space-3xl) var(--space-2xl);
    }
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-light);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

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

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

.legal-content ul {
    list-style: disc;
}

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

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-xs);
}

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

.legal-content .last-updated {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-xl);
}

.legal-content .legal-highlight {
    background: rgba(193, 68, 14, 0.06);
    border-left: 4px solid var(--primary);
    padding: var(--space-md) var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-lg) 0;
}

.legal-content .legal-highlight p {
    margin-bottom: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delay helpers */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="800"] { transition-delay: 800ms; }

/* ============================================
   RESPONSIVE REFINEMENTS
   ============================================ */
@media (max-width: 599px) {
    .hero-title {
        font-size: 2.4rem;
    }

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

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-image-arch {
        width: 260px;
    }

    .gallery-arch img {
        height: 200px;
    }

    .gallery-item-large .gallery-arch img,
    .gallery-item-wide .gallery-arch img {
        height: 200px;
    }

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

    .cookie-inner {
        padding: var(--space-md);
    }
}

@media (max-width: 899px) {
    .hero-section {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-4xl);
    }

    .hero-content {
        text-align: center;
    }

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

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

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

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

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

/* Print styles */
@media print {
    .site-header,
    .cookie-banner,
    .back-to-top,
    .social-proof-section,
    .mosaic-divider,
    .footer-mosaic {
        display: none !important;
    }

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

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

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .ticker {
        animation: none;
    }
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }

    .arch-card-top,
    .form-arch-top,
    .mosaic-tile {
        forced-color-adjust: none;
    }
}