/* ============================================================
   ArcGlen Social Casino - Butterfly Garden Zen Theme
   Styles for all pages
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
    --color-primary: #2d2d2d;
    --color-secondary: #f7f5f0;
    --color-accent: #7d8c6c;
    --color-accent-light: #a3b18a;
    --color-accent-dark: #5a6b4a;
    --color-charcoal: #3a3a3a;
    --color-stone: #9a958e;
    --color-soft-white: #faf9f6;
    --color-sage: #7d8c6c;
    --color-bamboo: #c9b896;
    --color-cherry: #d4a0a7;
    --color-cherry-deep: #c4727f;
    --color-ink: #1a1a1a;
    --color-mist: #e8e4dc;
    --color-sand: #e5dfd5;
    --color-moss: #6b7c5e;
    --color-petal-pink: #f0d4d8;
    --color-warm-white: #fefcf8;
    --color-gold-muted: #b8a77e;

    --font-serif: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    --font-sans: 'Zen Kaku Gothic New', 'Segoe UI', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
    --shadow-medium: 0 4px 30px rgba(0,0,0,0.1);
    --shadow-strong: 0 8px 40px rgba(0,0,0,0.15);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    --container-max: 1200px;
    --header-height: 72px;
}

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

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: 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)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

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

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
    font-weight: 300;
}

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

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

/* ----- Enso Marks ----- */
.enso-mark {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-accent);
    position: relative;
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.enso-mark::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: var(--radius-full);
}

.enso-mark::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    opacity: 0.5;
}

.small-enso {
    width: 40px;
    height: 40px;
}

.small-enso::before {
    width: 8px;
    height: 8px;
    top: -3px;
    right: -3px;
}

.small-enso::after {
    width: 5px;
    height: 5px;
    bottom: 5px;
    left: 5px;
}

/* ----- Sand Dividers ----- */
.sand-divider {
    width: 120px;
    height: 12px;
    position: relative;
    margin: var(--space-md) 0 var(--space-lg);
    opacity: 0.5;
}

.sand-divider::before,
.sand-divider::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-stone), transparent);
}

.sand-divider::before {
    top: 2px;
}

.sand-divider::after {
    top: 8px;
}

/* Third line via box-shadow trick */
.sand-divider {
    background: linear-gradient(
        to bottom,
        transparent 0px,
        transparent 4px,
        transparent 4px,
        transparent 5px,
        transparent 5px
    );
    background-size: 100% 12px;
    position: relative;
}

/* Extra sand line */
.sand-divider::before { top: 0; }
.sand-divider::after { top: 5px; }

/* ----- Buttons ----- */
.btn-zen {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-primary);
    padding: 0.75rem 1.8rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.btn-zen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left var(--transition-medium);
    z-index: -1;
}

.btn-zen:hover::before {
    left: 0;
}

.btn-zen:hover {
    color: var(--color-soft-white);
    border-color: var(--color-accent);
}

.btn-confirm {
    background: var(--color-accent);
    color: var(--color-soft-white);
}

.btn-confirm:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn-deny {
    background: transparent;
    color: var(--color-stone);
    border-color: var(--color-stone);
}

.btn-deny:hover {
    background: var(--color-charcoal);
    color: var(--color-soft-white);
    border-color: var(--color-charcoal);
}

/* ----- Age Gate ----- */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 45, 45, 0.92);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.6s ease;
}

.age-gate-modal {
    background: var(--color-secondary);
    padding: var(--space-2xl) var(--space-xl);
    max-width: 480px;
    width: 90%;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    position: relative;
}

.age-enso {
    margin: 0 auto var(--space-lg);
}

.age-gate-modal h2 {
    margin-bottom: var(--space-sm);
}

.age-gate-modal .sand-divider {
    margin: var(--space-md) auto;
}

.age-question {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: var(--space-lg);
    color: var(--color-primary);
}

.age-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.age-buttons .btn-zen {
    min-width: 160px;
}

.age-disclaimer-small {
    font-size: 0.75rem;
    color: var(--color-stone);
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

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

/* ----- Cookie Consent ----- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    color: var(--color-secondary);
    z-index: 99999;
    padding: var(--space-lg);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    animation: slideUp 0.5s ease;
}

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

.cookie-text p {
    color: var(--color-mist);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

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

.btn-cookie-accept {
    background: var(--color-accent);
    color: var(--color-soft-white);
    border-color: var(--color-accent);
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
}

.btn-cookie-essential {
    background: transparent;
    color: var(--color-mist);
    border-color: var(--color-stone);
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
}

.cookie-learn-more {
    color: var(--color-cherry);
    font-size: 0.85rem;
}

/* ----- Responsible Gaming Banner ----- */
.responsible-banner {
    background: var(--color-primary);
    color: var(--color-mist);
    text-align: center;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    position: relative;
    z-index: 10;
}

.responsible-banner p {
    margin: 0;
    color: var(--color-mist);
    font-size: 0.8rem;
}

.responsible-banner i {
    margin-right: var(--space-xs);
    color: var(--color-cherry);
}

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--transition-medium);
}

.site-header.scrolled {
    box-shadow: var(--shadow-soft);
}

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

.logo-link {
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-enso {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-accent);
    position: relative;
    flex-shrink: 0;
}

.logo-enso::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: var(--radius-full);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

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

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

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

.toggle-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
}

/* ----- Hero Section ----- */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--color-secondary) 0%,
        var(--color-warm-white) 30%,
        var(--color-petal-pink) 60%,
        var(--color-sand) 100%
    );
}

.hero-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-mist {
    background: radial-gradient(ellipse at 20% 80%, rgba(125,140,108,0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(212,160,167,0.15) 0%, transparent 50%);
}

.hero-petals {
    background:
        radial-gradient(circle at 15% 30%, var(--color-cherry) 1px, transparent 1px),
        radial-gradient(circle at 85% 60%, var(--color-cherry) 1.5px, transparent 1.5px),
        radial-gradient(circle at 45% 80%, var(--color-petal-pink) 2px, transparent 2px),
        radial-gradient(circle at 70% 15%, var(--color-petal-pink) 1px, transparent 1px),
        radial-gradient(circle at 30% 55%, var(--color-cherry) 1px, transparent 1px);
    opacity: 0.4;
    animation: floatPetals 20s ease-in-out infinite;
}

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

.hero-text-block {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-enso {
    width: 80px;
    height: 80px;
    border-width: 2.5px;
    border-color: var(--color-cherry-deep);
    opacity: 0.5;
}

.hero-enso::after {
    background: var(--color-cherry-deep);
}

.hero-title {
    margin-top: var(--space-lg);
}

.title-line {
    display: block;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.title-line-1 {
    animation: fadeInUp 1s ease 0.4s both;
    color: var(--color-accent-dark);
}

.title-line-2 {
    animation: fadeInUp 1s ease 0.6s both;
    font-style: italic;
    opacity: 0.8;
}

.hero-divider {
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 400px;
    animation: fadeInUp 1s ease 1s both;
}

.btn-play-hero {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-color: var(--color-accent);
    animation: fadeInUp 1s ease 1.2s both;
}

.btn-play-hero i {
    font-size: 0.8rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1.5s ease 0.5s both;
}

.garden-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top,
        var(--color-accent) 0%,
        rgba(125,140,108,0.3) 40%,
        transparent 100%
    );
    border-radius: 50% 50% 0 0;
    opacity: 0.15;
}

/* CSS Butterflies */
.butterfly-cluster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.butterfly {
    position: absolute;
    width: 40px;
    height: 30px;
    animation: flutter 4s ease-in-out infinite;
}

.butterfly .wing {
    position: absolute;
    top: 0;
    width: 20px;
    height: 28px;
    border-radius: 50% 50% 20% 50%;
    transform-origin: right center;
}

.butterfly .wing-l {
    left: 0;
    background: linear-gradient(135deg, var(--color-cherry) 0%, var(--color-petal-pink) 100%);
    animation: flapLeft 0.6s ease-in-out infinite;
    transform-origin: right center;
}

.butterfly .wing-r {
    right: 0;
    background: linear-gradient(225deg, var(--color-cherry-deep) 0%, var(--color-cherry) 100%);
    animation: flapRight 0.6s ease-in-out infinite;
    transform-origin: left center;
    border-radius: 50% 50% 50% 20%;
}

.bf-1 { top: 15%; left: 20%; animation-delay: 0s; }
.bf-2 { top: 30%; left: 60%; animation-delay: 1s; transform: scale(0.7); }
.bf-3 { top: 50%; left: 35%; animation-delay: 2s; transform: scale(1.2); }
.bf-4 { top: 65%; left: 70%; animation-delay: 0.5s; transform: scale(0.8); }
.bf-5 { top: 20%; left: 80%; animation-delay: 1.5s; transform: scale(0.6); }

.bf-1 .wing { background: linear-gradient(135deg, #d4a0a7 0%, #f0d4d8 100%); }
.bf-2 .wing-l { background: linear-gradient(135deg, #c4727f 0%, #d4a0a7 100%); }
.bf-2 .wing-r { background: linear-gradient(225deg, #c4727f 0%, #d4a0a7 100%); }
.bf-3 .wing-l { background: linear-gradient(135deg, #7d8c6c 0%, #a3b18a 100%); }
.bf-3 .wing-r { background: linear-gradient(225deg, #7d8c6c 0%, #a3b18a 100%); }
.bf-4 .wing-l { background: linear-gradient(135deg, #c9b896 0%, #e5dfd5 100%); }
.bf-4 .wing-r { background: linear-gradient(225deg, #c9b896 0%, #e5dfd5 100%); }
.bf-5 .wing-l { background: linear-gradient(135deg, #b8a77e 0%, #d4a0a7 100%); }
.bf-5 .wing-r { background: linear-gradient(225deg, #b8a77e 0%, #d4a0a7 100%); }

/* Scroll Indicator */
.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);
    z-index: 3;
    animation: fadeIn 1s ease 2s both;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-stone);
}

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

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

.section-header .sand-divider {
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(212,160,167,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(125,140,108,0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    padding: var(--space-xl);
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: rgba(125,140,108,0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--color-soft-white);
    font-size: 1.2rem;
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ----- Game Section ----- */
.game-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(
        180deg,
        var(--color-secondary) 0%,
        var(--color-sand) 50%,
        var(--color-secondary) 100%
    );
    position: relative;
}

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

/* Slot Machine */
.slot-machine {
    background: linear-gradient(
        145deg,
        rgba(250,249,246,0.95) 0%,
        rgba(229,223,213,0.9) 100%
    );
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(125,140,108,0.15);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(212,160,167,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Slot top bar */
.slot-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(45,45,45,0.05);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.coin-display,
.level-display,
.collection-display {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
}

.coin-display i { color: var(--color-gold-muted); }
.level-display i { color: var(--color-cherry); }
.collection-display i { color: var(--color-accent); }

/* Culture fact banner */
.culture-fact-banner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(125,140,108,0.08);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: 0.8rem;
    color: var(--color-charcoal);
    border-left: 3px solid var(--color-accent);
    transition: all var(--transition-medium);
    min-height: 42px;
}

.culture-fact-banner i {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Reels Container */
.reels-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-soft-white);
    border: 2px solid rgba(125,140,108,0.2);
}

.reels-frame {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    padding: 2px;
    background: rgba(125,140,108,0.1);
}

.reel {
    height: 320px;
    overflow: hidden;
    position: relative;
    background: var(--color-soft-white);
}

.reel-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-symbol {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.reel-symbol .symbol-inner {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
}

.reel-symbol.winning .symbol-inner {
    animation: winPulse 0.6s ease infinite;
    box-shadow: 0 0 20px rgba(125,140,108,0.4);
}

.reel-symbol.cascade-out {
    animation: cascadeOut 0.3s ease forwards;
}

.reel-symbol.cascade-in {
    animation: cascadeIn 0.3s ease forwards;
}

/* Symbol Themes */
.symbol-tudor-rose .symbol-inner {
    background: linear-gradient(135deg, #f0d4d8, #d4a0a7);
}

.symbol-crown .symbol-inner {
    background: linear-gradient(135deg, #e5dfd5, #c9b896);
}

.symbol-castle .symbol-inner {
    background: linear-gradient(135deg, #d5d0c8, #9a958e);
}

.symbol-teacup .symbol-inner {
    background: linear-gradient(135deg, #faf9f6, #e8e4dc);
    border: 1px solid rgba(0,0,0,0.08);
}

.symbol-butterfly .symbol-inner {
    background: linear-gradient(135deg, #d4a0a7, #c4727f);
}

.symbol-foxglove .symbol-inner {
    background: linear-gradient(135deg, #c4a0d4, #9a72a7);
}

.symbol-bluebell .symbol-inner {
    background: linear-gradient(135deg, #a0b4d4, #7289a7);
}

.symbol-robin .symbol-inner {
    background: linear-gradient(135deg, #d4b4a0, #a78972);
}

.symbol-oak .symbol-inner {
    background: linear-gradient(135deg, #a3b18a, #7d8c6c);
}

.symbol-clock .symbol-inner {
    background: linear-gradient(135deg, #c9b896, #a0785a);
}

/* Symbol SVG icons rendered via CSS */
.symbol-inner svg {
    width: 36px;
    height: 36px;
}

/* Win overlay */
.win-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Cascade particles */
.cascade-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.particle {
    position: absolute;
    border-radius: var(--radius-full);
    pointer-events: none;
    animation: particleFall 1s ease-out forwards;
}

/* Paylines bar */
.paylines-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-stone);
    flex-wrap: wrap;
}

.separator-dot {
    width: 3px;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--color-stone);
    opacity: 0.5;
}

/* Slot Controls */
.slot-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-lg) 0 var(--space-sm);
    flex-wrap: wrap;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-bet {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.bet-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.bet-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-stone);
}

.bet-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
}

/* Spin Button */
.btn-spin {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--color-soft-white);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 20px rgba(125,140,108,0.3);
}

.btn-spin:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(125,140,108,0.4);
}

.btn-spin:active {
    transform: scale(0.95);
}

.btn-spin.spinning {
    animation: spinBtnPulse 0.8s ease-in-out infinite;
    pointer-events: none;
}

.btn-spin::before {
    display: none;
}

.spin-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(125,140,108,0.3);
    animation: ringPulse 3s ease-in-out infinite;
}

.auto-controls {
    display: flex;
    gap: var(--space-sm);
}

.btn-auto, .btn-turbo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: var(--radius-md);
}

.btn-auto.active, .btn-turbo.active {
    background: var(--color-accent);
    color: var(--color-soft-white);
    border-color: var(--color-accent);
}

/* Win Display */
.win-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
}

.win-display-inner {
    background: rgba(45,45,45,0.9);
    color: var(--color-soft-white);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    animation: winPopIn 0.5s ease;
    backdrop-filter: blur(4px);
}

.win-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-cherry);
    margin-bottom: var(--space-xs);
}

.win-amount {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold-muted);
}

/* Bonus Overlay */
.bonus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250,249,246,0.97);
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    animation: fadeIn 0.5s ease;
}

.bonus-content {
    text-align: center;
    padding: var(--space-xl);
    max-width: 500px;
}

.bonus-enso {
    margin: 0 auto var(--space-md);
    border-color: var(--color-cherry-deep);
}

.bonus-content h3 {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
}

.bonus-content > p {
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

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

.bonus-flower {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, var(--color-soft-white), var(--color-petal-pink));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.bonus-flower:hover:not(.revealed) {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-cherry);
}

.bonus-flower.revealed {
    cursor: default;
    border-color: var(--color-cherry-deep);
}

.bonus-flower.revealed.has-butterfly {
    background: linear-gradient(135deg, var(--color-cherry), var(--color-cherry-deep));
    color: var(--color-soft-white);
}

.bonus-flower.revealed.empty {
    background: var(--color-mist);
    opacity: 0.6;
}

.bonus-flower-icon {
    font-size: 1.8rem;
}

/* Game Info Panel */
.game-info-panel {
    background: var(--color-soft-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.info-tab-nav {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: var(--space-sm);
}

.info-tab {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-stone);
    background: none;
    border: none;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-tab::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--space-sm) - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.info-tab.active {
    color: var(--color-primary);
}

.info-tab.active::after {
    transform: scaleX(1);
}

.info-tab:hover {
    color: var(--color-accent);
}

/* Paytable */
.paytable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
}

.paytable-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-secondary);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-fast);
}

.paytable-item:hover {
    box-shadow: var(--shadow-soft);
}

.paytable-symbol {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.4rem;
}

.paytable-name {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.paytable-values {
    font-size: 0.7rem;
    color: var(--color-stone);
    line-height: 1.5;
}

/* Rules */
.rules-text {
    max-width: 600px;
}

.rules-text h4 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-accent-dark);
}

.rules-text h4:first-child {
    margin-top: 0;
}

.rules-text p {
    font-size: 0.9rem;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--space-md);
}

.collection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-secondary);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-fast);
    position: relative;
}

.collection-item.locked {
    opacity: 0.4;
    filter: grayscale(1);
}

.collection-item.unlocked {
    border-color: rgba(125,140,108,0.3);
}

.collection-item.unlocked::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.collection-butterfly-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
}

.collection-name {
    font-size: 0.75rem;
    font-weight: 500;
}

/* ----- Achievements Section ----- */
.achievements-section {
    padding: var(--space-3xl) 0;
    background: var(--color-soft-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.achievement-card {
    padding: var(--space-lg);
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.achievement-card.unlocked {
    border-color: rgba(125,140,108,0.3);
    background: linear-gradient(135deg, var(--color-secondary), rgba(125,140,108,0.05));
}

.achievement-card.locked {
    opacity: 0.5;
}

.achievement-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    background: var(--color-mist);
    color: var(--color-stone);
}

.achievement-card.unlocked .achievement-icon {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--color-soft-white);
}

.achievement-info h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.achievement-info p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--color-stone);
}

.achievement-progress {
    width: 100%;
    height: 4px;
    background: var(--color-mist);
    border-radius: 2px;
    margin-top: var(--space-sm);
    overflow: hidden;
}

.achievement-progress-bar {
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width var(--transition-slow);
}

/* ----- About Section ----- */
.about-section {
    padding: var(--space-3xl) 0;
    background: var(--color-secondary);
}

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

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Zen Garden Art (CSS only) */
.zen-garden-art {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(
        180deg,
        var(--color-sand) 0%,
        var(--color-mist) 100%
    );
    position: relative;
    overflow: hidden;
}

.stone {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-stone), #7a756e);
}

.stone-1 {
    width: 80px;
    height: 60px;
    bottom: 40%;
    left: 25%;
    border-radius: 45% 55% 50% 50%;
}

.stone-2 {
    width: 40px;
    height: 35px;
    bottom: 38%;
    left: 40%;
    border-radius: 50% 45% 55% 50%;
}

.stone-3 {
    width: 55px;
    height: 45px;
    bottom: 35%;
    right: 25%;
    border-radius: 48% 52% 45% 55%;
}

.sand-ripple {
    position: absolute;
    border: 1px solid rgba(154,149,142,0.3);
    border-radius: 50%;
}

.ripple-1 {
    width: 200px;
    height: 120px;
    bottom: 25%;
    left: 15%;
    animation: rippleExpand 8s ease-in-out infinite;
}

.ripple-2 {
    width: 160px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation: rippleExpand 8s ease-in-out infinite 2s;
}

.ripple-3 {
    width: 120px;
    height: 80px;
    bottom: 28%;
    right: 18%;
    animation: rippleExpand 8s ease-in-out infinite 4s;
}

.moss-patch {
    position: absolute;
    width: 30px;
    height: 20px;
    background: var(--color-moss);
    opacity: 0.4;
    border-radius: 50%;
    bottom: 42%;
    left: 28%;
}

/* ----- Culture Section ----- */
.culture-section {
    padding: var(--space-3xl) 0;
    background: var(--color-soft-white);
    position: relative;
}

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

.culture-card {
    padding: var(--space-xl);
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.culture-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

.culture-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
}

.heritage-svg {
    width: 100%;
    height: 100%;
}

.culture-card h3 {
    margin-bottom: var(--space-sm);
}

.culture-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ----- Trust Section ----- */
.trust-section {
    padding: var(--space-3xl) 0;
    background: var(--color-secondary);
}

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

.trust-item {
    text-align: center;
    padding: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.trust-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.trust-item i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    display: block;
}

.trust-item h4 {
    margin-bottom: var(--space-sm);
}

.trust-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ----- Contact Section ----- */
.contact-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-soft-white), var(--color-secondary));
}

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

.contact-details {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-item i {
    color: var(--color-accent);
    margin-top: 4px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--color-charcoal);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    background: var(--color-soft-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(125,140,108,0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--color-charcoal);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-accent);
    color: var(--color-soft-white);
    border-color: var(--color-accent);
}

.btn-submit:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.form-message {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

.form-message.success {
    color: var(--color-accent);
}

.form-message.error {
    color: var(--color-cherry-deep);
}

/* ----- Footer ----- */
.site-footer {
    background: var(--color-primary);
    color: var(--color-mist);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

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

.footer-brand .logo-enso {
    border-color: var(--color-stone);
}

.footer-brand .logo-enso::before {
    background: var(--color-primary);
}

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

.footer-brand p {
    color: var(--color-stone);
    font-size: 0.85rem;
}

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

.footer-col h4 {
    color: var(--color-mist);
    font-size: 0.85rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-stone);
}

.footer-col a {
    color: var(--color-stone);
    transition: color var(--transition-fast);
}

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

.footer-divider {
    width: 100%;
    margin: var(--space-xl) 0;
    opacity: 0.2;
}

.footer-divider::before,
.footer-divider::after {
    background: linear-gradient(to right, transparent, var(--color-stone), transparent);
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-stone);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    font-size: 0.7rem !important;
    color: var(--color-stone) !important;
    opacity: 0.7;
}

/* ----- Floating Butterflies ----- */
.floating-butterflies {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.floating-bf {
    position: absolute;
    width: 20px;
    height: 16px;
    opacity: 0.2;
}

.floating-bf .mini-wing {
    position: absolute;
    top: 0;
    width: 10px;
    height: 14px;
    border-radius: 50%;
}

.floating-bf .mini-wing-l {
    left: 0;
    animation: flapLeft 0.5s ease-in-out infinite;
    transform-origin: right center;
}

.floating-bf .mini-wing-r {
    right: 0;
    animation: flapRight 0.5s ease-in-out infinite;
    transform-origin: left center;
}

/* ----- Animations ----- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes floatPetals {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5px, -8px); }
    50% { transform: translate(-3px, 5px); }
    75% { transform: translate(7px, -3px); }
}

@keyframes flutter {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, -25px) rotate(-3deg); }
    75% { transform: translate(8px, -10px) rotate(4deg); }
}

@keyframes flapLeft {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(60deg); }
}

@keyframes flapRight {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-60deg); }
}

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

@keyframes spinBtnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(125,140,108,0.3); }
    50% { box-shadow: 0 4px 30px rgba(125,140,108,0.6); }
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

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

@keyframes winPopIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes cascadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3) translateY(20px); }
}

@keyframes cascadeIn {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes particleFall {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
}

@keyframes rippleExpand {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

/* ----- Legal Page Styles ----- */
.legal-page {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
}

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

.legal-content h1 {
    margin-bottom: var(--space-md);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--color-accent-dark);
}

.legal-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p, .legal-content li {
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.legal-content li {
    margin-bottom: var(--space-sm);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(125,140,108,0.3);
    text-underline-offset: 3px;
}

.legal-content a:hover {
    text-decoration-color: var(--color-accent);
}

.legal-date {
    font-size: 0.85rem;
    color: var(--color-stone);
    margin-bottom: var(--space-xl);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-visual {
        height: 300px;
    }

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

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

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-secondary);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: var(--space-lg);
        box-shadow: var(--shadow-medium);
    }

    .main-nav.open {
        display: block;
    }

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

    .mobile-toggle {
        display: flex;
    }

    .reels-frame {
        grid-template-columns: repeat(5, 1fr);
    }

    .reel:nth-child(6) {
        display: none;
    }

    .reel {
        height: 240px;
    }

    .reel-symbol {
        height: 60px;
    }

    .reel-symbol .symbol-inner {
        width: 44px;
        height: 44px;
    }

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

    .btn-spin {
        width: 80px;
        height: 80px;
        font-size: 0.85rem;
    }

    .bonus-flowers {
        grid-template-columns: repeat(3, 1fr);
    }

    .culture-cards {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 480px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 5rem;
    }

    .hero-section {
        min-height: 80vh;
    }

    .reels-frame {
        grid-template-columns: repeat(4, 1fr);
    }

    .reel:nth-child(5),
    .reel:nth-child(6) {
        display: none;
    }

    .reel {
        height: 200px;
    }

    .reel-symbol {
        height: 50px;
    }

    .reel-symbol .symbol-inner {
        width: 36px;
        height: 36px;
    }

    .reel-symbol .symbol-inner svg {
        width: 24px;
        height: 24px;
    }

    .slot-top-bar {
        font-size: 0.75rem;
    }

    .slot-controls {
        flex-direction: column;
    }

    .bet-controls {
        order: 2;
    }

    .btn-spin {
        order: 1;
    }

    .auto-controls {
        order: 3;
    }

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

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

    .age-buttons .btn-zen {
        width: 100%;
    }
}

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

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Screen reader only */
.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;
}
