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

:root {
    /* Core palette */
    --primary: #8b4513;
    --primary-dark: #6b3410;
    --primary-light: #a0522d;
    --secondary: #f5f5dc;
    --secondary-dark: #e8e4c9;
    --accent: #cd853f;
    --accent-light: #deb887;
    --accent-dark: #b8732e;

    /* Paper tones */
    --paper: #faf6ee;
    --paper-dark: #f0e8d8;
    --paper-darker: #e6dcc8;
    --parchment: #f4ead5;
    --sepia: #704214;
    --ink: #3c2415;
    --ink-light: #5c3d28;

    /* Functional */
    --success: #2d5016;
    --error: #8b0000;
    --white: #fffef9;
    --black: #1a1008;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Libre Baskerville', Georgia, serif;
    --font-mono: 'Special Elite', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Borders */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(60, 36, 21, 0.12);
    --shadow-md: 0 4px 12px rgba(60, 36, 21, 0.15);
    --shadow-lg: 0 8px 30px rgba(60, 36, 21, 0.2);
    --shadow-xl: 0 16px 50px rgba(60, 36, 21, 0.25);

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Header height */
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

/* Noise/grain texture applied via pseudo-elements */
.section-grain,
.hero-grain-layer,
.header-grain,
.footer-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    z-index: 1;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* Selection */
::selection {
    background-color: var(--accent);
    color: var(--white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

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

p {
    margin-bottom: var(--space-md);
    color: var(--ink-light);
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.8rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

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

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

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.1);
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--paper);
    border-top: 3px solid var(--primary);
    box-shadow: 0 -8px 40px rgba(60, 36, 21, 0.25);
    padding: var(--space-lg);
    animation: slideUpCookie 0.5s var(--ease-out);
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

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

.cookie-text p {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-bottom: 0;
    max-width: 600px;
    line-height: 1.5;
}

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

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

.btn-cookie {
    padding: 0.6rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--secondary);
}

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

.btn-cookie-reject {
    background-color: transparent;
    color: var(--primary);
}

.btn-cookie-reject:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-cookie-settings {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--accent);
}

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

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

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

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

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

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 16, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInModal 0.4s var(--ease-out);
}

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

.age-modal-content {
    background: var(--paper);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(205, 133, 63, 0.08), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 69, 19, 0.06), transparent 60%);
    max-width: 480px;
    width: 90%;
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    animation: scaleInModal 0.4s var(--ease-out);
}

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

.age-ornament-top,
.age-ornament-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.age-ornament-top { top: 16px; }
.age-ornament-bottom { bottom: 16px; }

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

.age-modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.age-modal-content > p {
    font-size: 0.95rem;
    color: var(--ink-light);
    margin-bottom: var(--space-xl);
}

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

.btn-age {
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-age-yes {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-age-yes:hover {
    background-color: var(--primary-dark);
}

.btn-age-no {
    background-color: transparent;
    color: var(--primary);
}

.btn-age-no:hover {
    background-color: var(--paper-dark);
}

.age-note {
    font-size: 0.75rem;
    color: var(--ink-light);
    opacity: 0.7;
    margin-top: var(--space-lg);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 69, 19, 0.15);
    transition: all var(--duration-normal) var(--ease-out);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(250, 246, 238, 0.97);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    z-index: 1001;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--duration-normal) var(--ease-out);
    border-radius: 1px;
}

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

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

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

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

.nav-link {
    padding: 0.5rem 0.9rem;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-light);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1.5px;
    background-color: var(--accent);
    transition: transform var(--duration-normal) var(--ease-out);
}

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

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

.nav-cta {
    background-color: var(--primary);
    color: var(--secondary) !important;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.2rem;
    margin-left: var(--space-sm);
}

.nav-cta::after {
    display: none;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background-color: var(--parchment);
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(205, 133, 63, 0.12), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 69, 19, 0.08), transparent 50%),
        linear-gradient(180deg, var(--paper) 0%, var(--parchment) 50%, var(--paper-dark) 100%);
    overflow: hidden;
}

.hero-bg-layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(26, 16, 8, 0.12) 100%);
    z-index: 2;
}

.hero-paper-fold {
    position: absolute;
    top: 0;
    right: 15%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(139, 69, 19, 0.06), transparent);
    z-index: 2;
}

/* Corner decorations */
.hero-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 3;
    pointer-events: none;
}

.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background-color: var(--accent);
    opacity: 0.3;
}

.hero-corner-tl { top: 20px; left: 20px; }
.hero-corner-tl::before { top: 0; left: 0; width: 40px; height: 1.5px; }
.hero-corner-tl::after { top: 0; left: 0; width: 1.5px; height: 40px; }

.hero-corner-tr { top: 20px; right: 20px; }
.hero-corner-tr::before { top: 0; right: 0; width: 40px; height: 1.5px; }
.hero-corner-tr::after { top: 0; right: 0; width: 1.5px; height: 40px; }

.hero-corner-bl { bottom: 20px; left: 20px; }
.hero-corner-bl::before { bottom: 0; left: 0; width: 40px; height: 1.5px; }
.hero-corner-bl::after { bottom: 0; left: 0; width: 1.5px; height: 40px; }

.hero-corner-br { bottom: 20px; right: 20px; }
.hero-corner-br::before { bottom: 0; right: 0; width: 40px; height: 1.5px; }
.hero-corner-br::after { bottom: 0; right: 0; width: 1.5px; height: 40px; }

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

.hero-content {
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.4rem 1rem;
    background: rgba(139, 69, 19, 0.08);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: var(--space-xl);
}

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

.hero-title-line-1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--accent);
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-title-line-2 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
    line-height: 0.95;
    animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.hero-title-line-3 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 400;
    color: var(--ink-light);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--ink-light);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

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

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

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

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: var(--ink-light);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

/* Hero visual / image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-border {
    position: absolute;
    inset: -12px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.5;
}

.hero-image-border::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--accent);
    border-radius: calc(var(--radius-lg) + 4px);
    opacity: 0.3;
}

.hero-game-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(60, 36, 21, 0.3));
}

.hero-image-stamp {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
    box-shadow: var(--shadow-md);
}

.hero-image-stamp span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1rem;
    background: var(--paper);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    z-index: 3;
    white-space: nowrap;
}

.hero-float-card-1 {
    bottom: 15%;
    left: -10%;
    animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card-2 {
    top: 20%;
    right: -5%;
    animation: floatCard 4s ease-in-out 1.5s infinite;
}

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

.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-xs);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-light);
    opacity: 0.5;
    animation: bounce 2s ease-in-out infinite;
    z-index: 5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.ornament-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.ornament-line:last-child {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   ABOUT / FEATURES SECTION
   ============================================ */
.about-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse at 10% 90%, rgba(205, 133, 63, 0.06), transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(139, 69, 19, 0.04), transparent 40%);
}

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

.about-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

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

.about-card-inner {
    padding: var(--space-2xl);
    position: relative;
}

.about-card-stamp {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.06;
    line-height: 1;
}

.about-card-icon {
    margin-bottom: var(--space-lg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 69, 19, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.about-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-light);
}

.about-card-main {
    grid-column: span 2;
    background:
        linear-gradient(135deg, var(--white) 0%, rgba(244, 234, 213, 0.4) 100%);
    border-color: var(--accent);
}

.about-card-main .about-card-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 var(--space-xl);
}

.about-card-main .about-card-stamp {
    font-size: 5rem;
}

.about-card-main .about-card-icon {
    grid-row: span 2;
    width: 80px;
    height: 80px;
    align-self: center;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-proof-section {
    position: relative;
    padding: var(--space-2xl) 0;
    background: var(--paper-dark);
}

.social-proof-banner {
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.social-proof-border-deco {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(245, 245, 220, 0.15);
    border-radius: calc(var(--radius-lg) - 4px);
    pointer-events: none;
}

.social-proof-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
}

.social-proof-icon {
    flex-shrink: 0;
    opacity: 0.8;
}

.social-proof-data {
    display: flex;
    flex-direction: column;
}

.social-proof-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.social-proof-label {
    font-size: 0.72rem;
    color: rgba(245, 245, 220, 0.7);
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.social-proof-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(245, 245, 220, 0.3), transparent);
}

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

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

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(205, 133, 63, 0.06), transparent 40%);
}

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

.gallery-item {
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-out);
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

.gallery-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 2px solid rgba(139, 69, 19, 0.15);
    background: var(--paper-dark);
    height: 100%;
}

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

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

.gallery-frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 3;
    pointer-events: none;
}

.gallery-frame-corner::before,
.gallery-frame-corner::after {
    content: '';
    position: absolute;
    background: var(--accent);
    opacity: 0.5;
}

.gallery-frame-corner-tl { top: 6px; left: 6px; }
.gallery-frame-corner-tl::before { top: 0; left: 0; width: 16px; height: 1px; }
.gallery-frame-corner-tl::after { top: 0; left: 0; width: 1px; height: 16px; }

.gallery-frame-corner-tr { top: 6px; right: 6px; }
.gallery-frame-corner-tr::before { top: 0; right: 0; width: 16px; height: 1px; }
.gallery-frame-corner-tr::after { top: 0; right: 0; width: 1px; height: 16px; }

.gallery-frame-corner-bl { bottom: 6px; left: 6px; }
.gallery-frame-corner-bl::before { bottom: 0; left: 0; width: 16px; height: 1px; }
.gallery-frame-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 16px; }

.gallery-frame-corner-br { bottom: 6px; right: 6px; }
.gallery-frame-corner-br::before { bottom: 0; right: 0; width: 16px; height: 1px; }
.gallery-frame-corner-br::after { bottom: 0; right: 0; width: 1px; height: 16px; }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 16, 8, 0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
    z-index: 2;
}

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

.gallery-zoom-icon {
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.gallery-caption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary);
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(26, 16, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s var(--ease-out);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    color: var(--secondary);
    padding: var(--space-md);
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.4);
    border: 1px solid rgba(245, 245, 220, 0.2);
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139, 69, 19, 0.7);
}

.lightbox-close { top: var(--space-xl); right: var(--space-xl); }
.lightbox-prev { left: var(--space-xl); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-xl); top: 50%; transform: translateY(-50%); }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-counter {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(245, 245, 220, 0.6);
}

/* ============================================
   COMMUNITY / TESTIMONIALS
   ============================================ */
.community-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--parchment);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(205, 133, 63, 0.08), transparent 50%);
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

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

.testimonial-quote-mark {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.testimonial-info span {
    font-size: 0.75rem;
    color: var(--ink-light);
    opacity: 0.7;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--paper);
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(139, 69, 19, 0.04), transparent 40%);
}

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

.faq-item {
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    background: var(--white);
    transition: all var(--duration-normal) var(--ease-out);
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: left;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    background: transparent;
    border: none;
}

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--accent);
}

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

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

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

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--ink-light);
}

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

/* ============================================
   CONTACT / SIGNUP SECTION
   ============================================ */
.contact-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--parchment);
    background-image:
        radial-gradient(ellipse at 30% 70%, rgba(205, 133, 63, 0.08), transparent 40%),
        radial-gradient(ellipse at 70% 30%, rgba(139, 69, 19, 0.05), transparent 40%);
}

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

.form-paper {
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    position: relative;
    box-shadow: var(--shadow-md);
}

.form-paper-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.form-paper-corner::before,
.form-paper-corner::after {
    content: '';
    position: absolute;
    background: var(--accent);
    opacity: 0.4;
}

.form-paper-corner-tl { top: 8px; left: 8px; }
.form-paper-corner-tl::before { top: 0; left: 0; width: 18px; height: 1px; }
.form-paper-corner-tl::after { top: 0; left: 0; width: 1px; height: 18px; }

.form-paper-corner-tr { top: 8px; right: 8px; }
.form-paper-corner-tr::before { top: 0; right: 0; width: 18px; height: 1px; }
.form-paper-corner-tr::after { top: 0; right: 0; width: 1px; height: 18px; }

.form-paper-corner-bl { bottom: 8px; left: 8px; }
.form-paper-corner-bl::before { bottom: 0; left: 0; width: 18px; height: 1px; }
.form-paper-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 18px; }

.form-paper-corner-br { bottom: 8px; right: 8px; }
.form-paper-corner-br::before { bottom: 0; right: 0; width: 18px; height: 1px; }
.form-paper-corner-br::after { bottom: 0; right: 0; width: 1px; height: 18px; }

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

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid rgba(139, 69, 19, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group input::placeholder {
    color: var(--ink-light);
    opacity: 0.4;
}

.form-group input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: var(--error);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

.form-checkbox-group label {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400 !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: var(--ink-light) !important;
    line-height: 1.5;
}

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

.checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(139, 69, 19, 0.3);
    border-radius: var(--radius-sm);
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) var(--ease-out);
    margin-top: 2px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--secondary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

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

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

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

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

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

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--success);
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--ink-light);
}

.form-error-message {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
}

.form-error-message p {
    font-size: 0.85rem;
    color: var(--error);
    margin: 0;
}

/* Contact info side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-card,
.trust-card {
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-info-card h3,
.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.06);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.contact-info-item a {
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: underline;
    word-break: break-all;
}

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

.trust-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.88rem;
    color: var(--ink-light);
    padding: var(--space-xs) 0;
}

.trust-list li svg {
    flex-shrink: 0;
}

/* ============================================
   RESPONSIBLE GAMING
   ============================================ */
.responsible-gaming-section {
    padding: var(--space-xl) 0;
    background: var(--paper-dark);
}

.responsible-gaming-banner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.15);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.responsible-gaming-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.responsible-gaming-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ink-light);
}

.responsible-gaming-text strong {
    color: var(--primary-dark);
}

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

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    position: relative;
    background: var(--ink);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(139, 69, 19, 0.15), transparent 60%);
    color: rgba(245, 245, 220, 0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.main-footer .footer-grain {
    opacity: 0.03;
}

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

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

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(245, 245, 220, 0.5);
    max-width: 280px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--accent-light);
    margin-bottom: var(--space-lg);
}

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

.footer-links-group a {
    font-size: 0.85rem;
    color: rgba(245, 245, 220, 0.6);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.3), transparent);
    margin-bottom: var(--space-xl);
}

.footer-bottom {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 245, 220, 0.4);
    margin-bottom: var(--space-xs);
}

.footer-address {
    font-family: var(--font-mono);
    font-size: 0.75rem !important;
}

.footer-age-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    font-size: 0.75rem !important;
    color: rgba(245, 245, 220, 0.5) !important;
}

.footer-age-notice svg {
    color: rgba(245, 245, 220, 0.5);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    opacity: 0;
    transform: translateY(20px);
}

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

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

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 320px;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.82rem;
    color: var(--ink);
    animation: slideInToast 0.4s var(--ease-out);
    position: relative;
}

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

.toast.removing {
    animation: slideOutToast 0.3s var(--ease-out) forwards;
}

@keyframes slideOutToast {
    to { opacity: 0; transform: translateX(-30px); }
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--primary-dark);
}

.toast-text span {
    font-size: 0.75rem;
    color: var(--ink-light);
}

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

.legal-content .legal-paper {
    background: var(--white);
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.legal-content .legal-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.legal-content h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.legal-content .legal-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-light);
    opacity: 0.6;
    margin-bottom: var(--space-2xl);
    display: block;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

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

.legal-content p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: var(--space-md);
}

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

.legal-content li {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: var(--space-xs);
    list-style: disc;
}

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

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

.legal-content .legal-contact-box {
    background: rgba(139, 69, 19, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

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

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        max-width: 320px;
        margin: 0 auto;
    }

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

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

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

    .hero-float-card-1 {
        left: 0;
    }

    .hero-float-card-2 {
        right: 0;
    }

    .about-card-main {
        grid-column: span 2;
    }

    .about-card-main .about-card-inner {
        display: block;
    }

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

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

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

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

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--paper);
        border-left: 1px solid rgba(139, 69, 19, 0.15);
        box-shadow: -8px 0 40px rgba(26, 16, 8, 0.2);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        gap: var(--space-xs);
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-out);
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem var(--space-md);
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-md);
        text-align: center;
        justify-content: center;
    }

    .hero-corner {
        display: none;
    }

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

    .about-card-main {
        grid-column: span 1;
    }

    .social-proof-items {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-proof-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(245, 245, 220, 0.2), transparent);
    }

    .social-proof-banner {
        padding: var(--space-xl);
    }

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

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

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

    .footer-brand {
        grid-column: span 1;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: var(--space-xl);
        transform: none;
    }

    .lightbox-prev { left: var(--space-xl); }
    .lightbox-next { right: var(--space-xl); }

    .toast-container {
        left: var(--space-md);
        right: var(--space-md);
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-xl));
        min-height: auto;
    }

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

    .hero-stat-divider {
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .hero-image-frame {
        max-width: 260px;
    }

    .hero-float-card {
        display: none;
    }

    .about-card-inner {
        padding: var(--space-lg);
    }

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

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

    .age-modal-content {
        padding: var(--space-2xl) var(--space-lg);
    }
}

/* Print styles */
@media print {
    .main-header,
    .cookie-banner,
    .age-modal,
    .back-to-top,
    .toast-container,
    .lightbox {
        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;
    }

    html {
        scroll-behavior: auto;
    }
}

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

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

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

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

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }