/* ============================================
   eviglek.no — Custom CSS
   Kids Wooden Eco-Friendly Puzzles
   ============================================ */

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

:root {
    /* Splash palette */
    --cream: #F7F3EE;
    --cloud-blue: #C5D8E8;
    --cloud-light: #DDE8F0;
    --olive: #A4AD6E;
    --olive-dark: #8A9455;
    --pink: #E8B4B8;
    --pink-deep: #D4818A;
    --mustard: #C8960C;
    --gold: #B8890A;
    --dark-mountain: #2D2D2D;
    --salmon: #D4967A;

    /* Main site palette */
    --peach: #F0D5C0;
    --peach-light: #F5E1D0;
    --forest-green: #4A6741;
    --forest-dark: #3A5230;
    --brown: #6B4D3A;
    --white: #FFFFFF;
    --off-white: #FAFAF7;
    --text-dark: #2D2D2D;
    --text-mid: #5A5A5A;
    --teal: #2A7A6D;
    --teal-dark: #1E6355;

    /* Typography */
    --font-main: 'Quicksand', sans-serif;
    --font-accent: 'Caveat', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.splash.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.splash-scene {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--cream);
}

/* ---------- Sky ---------- */
.sky {
    position: absolute;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 100%);
}

/* ---------- Clouds ---------- */
.cloud {
    position: absolute;
    background: var(--cloud-blue);
    border-radius: 50%;
}

.cloud-1 {
    width: 45vw;
    height: 30vh;
    top: 10%;
    left: 30%;
    box-shadow:
        -8vw 2vh 0 -1vh var(--cloud-light),
        10vw 1vh 0 -2vh var(--cloud-blue);
    animation: gentleFloat 6s ease-in-out infinite;
}

.cloud-2 {
    width: 25vw;
    height: 18vh;
    top: 15%;
    left: 22%;
    background: var(--cloud-light);
    animation: gentleFloat 7s ease-in-out 1s infinite;
}

.cloud-3 {
    width: 15vw;
    height: 12vh;
    top: 8%;
    left: 55%;
    background: var(--cloud-light);
    opacity: 0.6;
    animation: gentleFloat 5s ease-in-out 2s infinite;
}

/* ---------- Mountains ---------- */
.mountain {
    position: absolute;
}

.mountain-back {
    width: 80vw;
    height: 20vh;
    bottom: 38%;
    left: 15%;
    background: var(--dark-mountain);
    border-radius: 60% 40% 0 0;
    z-index: 2;
}

.mountain-back::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        rgba(255,255,255,0.05) 3px,
        rgba(255,255,255,0.05) 4px
    );
    border-radius: inherit;
}

.mountain-dark {
    width: 60vw;
    height: 15vh;
    bottom: 35%;
    left: 25%;
    background: var(--dark-mountain);
    border-radius: 50% 70% 0 0;
    z-index: 3;
    opacity: 0.7;
}

/* ---------- Windmill ---------- */
.windmill {
    position: absolute;
    top: 22%;
    left: 48%;
    z-index: 4;
}

.windmill-house {
    width: 20px;
    height: 28px;
    background: var(--mustard);
    position: relative;
    clip-path: polygon(20% 100%, 80% 100%, 65% 20%, 50% 0%, 35% 20%);
}

.windmill-house::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 8px;
    background: var(--gold);
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.windmill-blades {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    animation: rotateBlade 8s linear infinite;
}

.blade {
    position: absolute;
    width: 3px;
    height: 22px;
    background: #888;
    left: 50%;
    top: 50%;
    transform-origin: 50% 0%;
    border-radius: 1px;
}

.blade:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.blade:nth-child(2) { transform: translateX(-50%) rotate(90deg); }
.blade:nth-child(3) { transform: translateX(-50%) rotate(180deg); }
.blade:nth-child(4) { transform: translateX(-50%) rotate(270deg); }

@keyframes rotateBlade {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* ---------- Birds ---------- */
.birds {
    position: absolute;
    top: 10%;
    right: 5%;
    z-index: 10;
}

.bird {
    position: absolute;
    font-size: 10px;
    color: var(--dark-mountain);
    font-family: Arial, sans-serif;
    font-weight: bold;
    opacity: 0.7;
    animation: flyBird 6s ease-in-out infinite;
}

.bird-1 { top: 0; left: 0; font-size: 8px; animation-delay: 0s; }
.bird-2 { top: 8px; left: 20px; font-size: 10px; animation-delay: 0.3s; }
.bird-3 { top: -5px; left: 35px; font-size: 7px; animation-delay: 0.6s; }
.bird-4 { top: 15px; left: 45px; font-size: 9px; animation-delay: 0.2s; }
.bird-5 { top: 5px; left: 60px; font-size: 11px; animation-delay: 0.8s; }
.bird-6 { top: 20px; left: 70px; font-size: 8px; animation-delay: 0.4s; }
.bird-7 { top: -2px; left: 85px; font-size: 7px; animation-delay: 1s; }
.bird-8 { top: 25px; left: 95px; font-size: 9px; animation-delay: 0.5s; }
.bird-9 { top: 10px; left: 110px; font-size: 10px; animation-delay: 0.7s; }
.bird-10 { top: 30px; left: 55px; font-size: 6px; animation-delay: 1.2s; }
.bird-11 { top: -8px; left: 75px; font-size: 8px; animation-delay: 0.9s; }
.bird-12 { top: 18px; left: 30px; font-size: 7px; animation-delay: 1.1s; }

@keyframes flyBird {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-3px) translateX(5px); }
    50% { transform: translateY(2px) translateX(-3px); }
    75% { transform: translateY(-2px) translateX(4px); }
}

/* ---------- Hills ---------- */
.hill {
    position: absolute;
    z-index: 5;
}

.hill-salmon {
    width: 40vw;
    height: 35vh;
    bottom: 20%;
    left: -5%;
    background: var(--salmon);
    border-radius: 0 70% 30% 0;
    opacity: 0.6;
}

.hill-dotted-cream {
    width: 55vw;
    height: 40vh;
    bottom: 5%;
    left: -10%;
    background:
        radial-gradient(circle, var(--salmon) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 0 80% 20% 0;
    opacity: 0.4;
}

.hill-gold-1 {
    width: 40vw;
    height: 25vh;
    bottom: 10%;
    right: -5%;
    background: var(--mustard);
    border-radius: 50% 0 0 50%;
    opacity: 0.8;
}

.hill-gold-1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background:
        radial-gradient(circle, rgba(0,0,0,0.3) 1px, transparent 1px);
    background-size: 6px 6px;
}

.hill-olive-dotted {
    width: 45vw;
    height: 30vh;
    bottom: 0;
    right: 10%;
    background: var(--olive);
    border-radius: 60% 40% 0 0;
    z-index: 6;
}

.hill-olive-dotted::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background:
        radial-gradient(circle, rgba(255,255,255,0.4) 2px, transparent 2px);
    background-size: 10px 10px;
}

.hill-gold-2 {
    width: 60vw;
    height: 15vh;
    bottom: 0;
    left: 20%;
    background: var(--mustard);
    border-radius: 40% 60% 0 0;
    z-index: 5;
    opacity: 0.9;
}

.hill-olive-bottom {
    width: 100vw;
    height: 10vh;
    bottom: 0;
    left: 0;
    background: var(--olive-dark);
    z-index: 7;
}

/* ---------- River ---------- */
.river {
    position: absolute;
    width: 50vw;
    height: 18vh;
    bottom: 18%;
    left: 25%;
    background: linear-gradient(180deg, var(--cloud-light) 0%, var(--cloud-blue) 50%, var(--cloud-light) 100%);
    border-radius: 40% 60% 50% 30%;
    z-index: 5;
    opacity: 0.7;
}

/* ---------- Pink Tree ---------- */
.pink-tree {
    position: absolute;
    bottom: 25%;
    right: 20%;
    z-index: 8;
}

.tree-trunk {
    width: 6px;
    height: 80px;
    background: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.tree-branch {
    position: absolute;
    width: 4px;
    height: 35px;
    background: white;
    border-radius: 2px;
}

.branch-1 {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) rotate(-35deg);
    transform-origin: bottom center;
}

.branch-2 {
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%) rotate(40deg);
    transform-origin: bottom center;
}

.branch-3 {
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) rotate(-50deg);
    transform-origin: bottom center;
}

.branch-4 {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(30deg);
    transform-origin: bottom center;
}

.tree-leaf {
    position: absolute;
    background: var(--pink);
    border-radius: 50% 50% 50% 0;
}

.leaf-1 {
    width: 50px;
    height: 65px;
    bottom: 60px;
    left: -15px;
    transform: rotate(-10deg);
}

.leaf-2 {
    width: 45px;
    height: 55px;
    bottom: 75px;
    left: 5px;
    transform: rotate(15deg);
}

.leaf-3 {
    width: 40px;
    height: 50px;
    bottom: 90px;
    left: -20px;
    transform: rotate(-25deg);
    background: var(--pink-deep);
}

.leaf-4 {
    width: 35px;
    height: 45px;
    bottom: 50px;
    left: 15px;
    transform: rotate(30deg);
}

.leaf-5 {
    width: 30px;
    height: 40px;
    bottom: 100px;
    left: -5px;
    transform: rotate(5deg);
    background: var(--pink-deep);
    opacity: 0.7;
}

/* ---------- Green Plant ---------- */
.green-plant {
    position: absolute;
    bottom: 38%;
    left: 28%;
    z-index: 8;
}

.plant-stem {
    width: 3px;
    height: 60px;
    background: var(--olive-dark);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.plant-leaf {
    position: absolute;
    background: var(--olive);
    border-radius: 50%;
}

.pl-1 {
    width: 18px;
    height: 24px;
    bottom: 40px;
    left: -8px;
    transform: rotate(-20deg);
}

.pl-2 {
    width: 18px;
    height: 24px;
    bottom: 42px;
    left: 2px;
    transform: rotate(20deg);
}

.pl-3 {
    width: 16px;
    height: 20px;
    bottom: 30px;
    left: -10px;
    transform: rotate(-40deg);
}

.pl-4 {
    width: 16px;
    height: 20px;
    bottom: 32px;
    left: 5px;
    transform: rotate(35deg);
}

.pl-5 {
    width: 14px;
    height: 18px;
    bottom: 52px;
    left: -3px;
    transform: rotate(-5deg);
    background: var(--olive-dark);
}

/* ---------- Green Blob ---------- */
.green-blob {
    position: absolute;
    width: 25px;
    height: 20px;
    background: var(--olive);
    border-radius: 50%;
    bottom: 32%;
    left: 18%;
    z-index: 6;
    opacity: 0.8;
}

/* ---------- Splash Overlay ---------- */
.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    text-align: center;
    pointer-events: none;
}

.splash-logo {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--dark-mountain);
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.splash-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-mid);
    font-weight: 500;
    margin-bottom: 2rem;
}

.splash-cta {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--text-mid);
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

.cta-arrow {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

/* ============================================
   SCROLL & INTERACTION ANIMATIONS
   ============================================ */

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

/* Hero staggered entrance */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gentle float for landscape elements */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* CTA button attention pulse */
@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Gift box wobble */
@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

/* Value icon bounce on enter */
@keyframes iconBounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* Product card shine sweep */
@keyframes shineSweep {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Newsletter input warm glow */
@keyframes warmGlow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.2); }
    50% { box-shadow: 0 0 12px 3px rgba(200, 150, 12, 0.35); }
}

/* Product badge pulse */
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Footer column staggered entrance */
@keyframes fadeSlideUpFooter {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MAIN SITE
   ============================================ */
.main-site {
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
}

.main-site.visible {
    opacity: 1;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(247, 243, 238, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.nav-logo:hover {
    transform: scale(1.05);
    color: var(--forest-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--forest-green);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: none;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: var(--text-dark);
    color: var(--cream);
}

.lang-option {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.lang-option.active {
    opacity: 1;
}

.lang-divider {
    opacity: 0.3;
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 4px;
    transition: color 0.3s;
}

.cart-btn:hover {
    color: var(--forest-green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--cream);
    z-index: 99;
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--peach-light) 0%, var(--peach) 50%, var(--cream) 100%);
}

.hero-scene {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
}

.hero-hills {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120%;
    height: 60%;
    background: var(--forest-green);
    border-radius: 0 70% 0 0;
}

.hero-hills::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 80%;
    background: var(--olive);
    border-radius: 60% 40% 0 0;
}

.hero-hills::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 60%;
    height: 50%;
    background: var(--forest-dark);
    border-radius: 0 80% 0 0;
}

.hero-tree {
    position: absolute;
    z-index: 2;
    animation: gentleFloat 4s ease-in-out infinite;
}

.hero-tree-2 {
    animation-duration: 5s;
    animation-delay: 0.5s;
}

.hero-tree-3 {
    animation-delay: 1s;
}

.hero-tree-1 {
    bottom: 45%;
    left: 15%;
    width: 30px;
    height: 60px;
    background: var(--olive-dark);
    clip-path: polygon(50% 0%, 100% 60%, 80% 60%, 80% 100%, 20% 100%, 20% 60%, 0% 60%);
}

.hero-tree-2 {
    bottom: 50%;
    left: 30%;
    width: 40px;
    height: 80px;
    background: var(--forest-dark);
    border-radius: 50% 50% 5% 5%;
}

.hero-tree-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: var(--brown);
    border-radius: 2px;
}

.hero-tree-3 {
    bottom: 42%;
    left: 45%;
    width: 25px;
    height: 50px;
    background: var(--olive);
    clip-path: polygon(50% 0%, 85% 40%, 70% 40%, 90% 70%, 65% 70%, 65% 100%, 35% 100%, 35% 70%, 10% 70%, 30% 40%, 15% 40%);
}

/* Hero animals */
.hero-fox {
    position: absolute;
    bottom: 35%;
    left: 38%;
    width: 35px;
    height: 20px;
    background: var(--salmon);
    border-radius: 50% 50% 30% 30%;
    z-index: 3;
}

.hero-fox::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 2px;
    width: 10px;
    height: 12px;
    background: var(--salmon);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.hero-fox::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 12px;
    width: 10px;
    height: 12px;
    background: var(--salmon);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.hero-rabbit {
    position: absolute;
    bottom: 32%;
    left: 22%;
    width: 18px;
    height: 15px;
    background: var(--peach-light);
    border-radius: 50%;
    z-index: 3;
}

.hero-rabbit::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 3px;
    width: 5px;
    height: 14px;
    background: var(--peach-light);
    border-radius: 50%;
}

.hero-rabbit::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 10px;
    width: 5px;
    height: 14px;
    background: var(--peach-light);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 5;
    margin-left: 50%;
    padding: 60px 40px;
    max-width: 550px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-mid);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Hero staggered entrance */
.hero-animate {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.hero-content h1.hero-animate {
    animation-delay: 0.1s;
}

.hero-content .hero-sub.hero-animate {
    animation-delay: 0.3s;
}

.hero-content .hero-cta.hero-animate {
    animation-delay: 0.5s;
}

/* CTA pulse after entrance */
.hero-content .hero-cta {
    animation: fadeSlideUp 0.8s ease-out 0.5s forwards,
               ctaPulse 3s ease-in-out 1.5s infinite;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--cream);
    border-color: var(--text-dark);
}

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

.btn-secondary {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--forest-green);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: var(--text-dark);
    color: var(--cream);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: background 0.3s;
}

.btn-small:hover {
    background: var(--forest-green);
}

.link-arrow {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s;
    display: inline-block;
}

.link-arrow:hover {
    color: var(--forest-green);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow:hover .arrow-icon {
    transform: translateX(5px);
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
    height: 60px;
    width: 100%;
    position: relative;
}

.wave-1 {
    background: var(--cream);
}

.wave-1::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--off-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.wave-2 {
    background: var(--off-white);
}

.wave-2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--peach-light);
    clip-path: ellipse(60% 100% at 45% 100%);
}

.wave-3 {
    background: var(--peach-light);
}

.wave-3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--forest-green);
    clip-path: ellipse(55% 100% at 55% 100%);
}

.wave-4 {
    background: var(--peach);
}

.wave-4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--off-white);
    clip-path: ellipse(50% 100% at 50% 100%);
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}

/* ---------- Bestsellers ---------- */
.bestsellers {
    background: var(--off-white);
    text-align: center;
}

.bestsellers h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 48px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Shine sweep on hover */
.product-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-15deg);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover .product-img::after {
    animation: shineSweep 0.6s ease forwards;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--salmon);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

.product-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card h3 {
    padding: 16px 16px 4px;
    font-size: 1rem;
    font-weight: 600;
}

.product-price {
    padding: 0 16px 20px;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.price-old {
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 8px;
}

.price-current {
    font-weight: 600;
    color: var(--text-dark);
}

/* ---------- Puzzle Art (product cards) ---------- */
.puzzle-art {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Forest puzzle */
.p-tree {
    position: absolute;
    background: var(--olive);
    border-radius: 50% 50% 5% 5%;
}

.p-tree1 {
    width: 40px;
    height: 70px;
    bottom: 30%;
    left: 25%;
}

.p-tree2 {
    width: 30px;
    height: 55px;
    bottom: 30%;
    right: 30%;
    background: var(--olive-dark);
}

.p-animal {
    position: absolute;
}

.p-deer {
    width: 30px;
    height: 20px;
    background: var(--brown);
    border-radius: 50%;
    bottom: 25%;
    left: 45%;
}

.p-rabbit {
    width: 15px;
    height: 12px;
    background: var(--peach-light);
    border-radius: 50%;
    bottom: 22%;
    right: 25%;
}

/* Mountain puzzle */
.p-mtn {
    position: absolute;
    bottom: 20%;
}

.p-mtn1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid var(--cloud-blue);
    left: 15%;
}

.p-mtn2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid var(--olive);
    left: 40%;
}

.p-mtn3 {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 70px solid var(--forest-green);
    right: 15%;
}

.p-sun {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--mustard);
    border-radius: 50%;
    top: 20%;
    right: 25%;
}

/* Viking ship puzzle */
.p-boat {
    position: absolute;
    width: 80px;
    height: 30px;
    background: var(--brown);
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 50% 50%;
}

.p-sail {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid var(--cream);
    bottom: 55%;
    left: 50%;
    transform: translateX(-50%);
}

.p-wave {
    position: absolute;
    width: 100%;
    height: 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.p-wave1 {
    bottom: 25%;
}

.p-wave2 {
    bottom: 15%;
    opacity: 0.5;
}

/* Aurora puzzle */
.p-aurora {
    position: absolute;
    height: 8px;
    border-radius: 50%;
    opacity: 0.6;
}

.p-a1 {
    width: 80%;
    background: var(--forest-green);
    top: 25%;
    left: 10%;
    transform: rotate(-5deg);
}

.p-a2 {
    width: 70%;
    background: var(--olive);
    top: 35%;
    left: 15%;
    transform: rotate(3deg);
}

.p-a3 {
    width: 60%;
    background: var(--teal);
    top: 45%;
    left: 20%;
    transform: rotate(-2deg);
}

.p-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.p-star1 { top: 15%; left: 20%; }
.p-star2 { top: 55%; right: 25%; }
.p-star3 { top: 30%; right: 15%; }

/* ---------- Imaginative Section ---------- */
.imaginative {
    background: var(--peach-light);
}

.imaginative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.imaginative-art {
    position: relative;
}

.ima-scene {
    width: 100%;
    height: 350px;
    background: var(--peach);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.ima-hill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--forest-green);
    border-radius: 50% 60% 0 0;
}

.ima-tree1 {
    position: absolute;
    bottom: 45%;
    left: 20%;
    width: 35px;
    height: 65px;
    background: var(--olive-dark);
    border-radius: 50% 50% 5% 5%;
    z-index: 2;
}

.ima-tree2 {
    position: absolute;
    bottom: 40%;
    right: 25%;
    width: 25px;
    height: 50px;
    background: var(--olive);
    clip-path: polygon(50% 0%, 100% 60%, 80% 60%, 80% 100%, 20% 100%, 20% 60%, 0% 60%);
    z-index: 2;
}

.ima-animal {
    position: absolute;
    bottom: 38%;
    left: 50%;
    width: 30px;
    height: 18px;
    background: var(--salmon);
    border-radius: 50%;
    z-index: 3;
}

.imaginative-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.imaginative-text p {
    color: var(--text-mid);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ---------- About Section ---------- */
.about {
    background: var(--forest-green);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.02rem;
}

.about-art {
    display: flex;
    justify-content: center;
}

.about-box {
    width: 300px;
    height: 350px;
    background: var(--mustard);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-illustration {
    position: relative;
    width: 200px;
    height: 200px;
}

.gift-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 120px;
    background: var(--salmon);
    border-radius: 12px;
}

.gift-ribbon {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 120px;
    background: var(--pink);
    z-index: 2;
}

.gift-bow {
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 25px;
    background: var(--pink);
    border-radius: 50%;
    z-index: 3;
}

.gift-bow::before,
.gift-bow::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 20px;
    background: var(--pink-deep);
    border-radius: 50%;
    top: 5px;
}

.gift-bow::before { left: -15px; }
.gift-bow::after { right: -15px; }

.puzzle-pieces .piece {
    position: absolute;
    border-radius: 6px;
}

.piece-1 {
    width: 35px;
    height: 25px;
    background: var(--olive);
    top: 40px;
    left: 20px;
    transform: rotate(-15deg);
}

.piece-2 {
    width: 30px;
    height: 20px;
    background: var(--cloud-blue);
    top: 30px;
    right: 15px;
    transform: rotate(10deg);
}

.piece-3 {
    width: 25px;
    height: 30px;
    background: var(--pink);
    top: 55px;
    right: 35px;
    transform: rotate(-8deg);
}

/* About wave decoration */
.about-wave {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}

.about-wave::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 30px;
    bottom: 0;
    left: -50%;
    border-top: 3px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

/* ---------- Gift Section ---------- */
.gift {
    background: var(--peach);
    text-align: center;
}

.gift-content {
    max-width: 600px;
    margin: 0 auto;
}

.gift h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    font-weight: 700;
}

.gift p {
    color: var(--text-mid);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- Values Section ---------- */
.values {
    background: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.value-card {
    padding: 32px 24px;
}

.value-icon {
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.value-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text-dark);
    color: var(--cream);
    padding: 60px 0 20px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--text-dark);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 8px;
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: var(--cream);
    font-family: var(--font-main);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    border-color: var(--mustard);
    animation: warmGlow 2s ease-in-out infinite;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ---------- Scroll-Triggered Animations ---------- */

/* Section heading scale-fade */
.animate-heading {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-heading.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Gift box wobble when in view */
.gift-wobble.in-view .gift-box,
.gift-wobble.in-view .gift-bow,
.gift-wobble.in-view .gift-ribbon {
    animation: wobble 3s ease-in-out infinite;
}

.gift-wobble.in-view .puzzle-pieces .piece {
    animation: gentleFloat 3s ease-in-out infinite;
}

.gift-wobble.in-view .piece-1 { animation-delay: 0s; }
.gift-wobble.in-view .piece-2 { animation-delay: 0.5s; }
.gift-wobble.in-view .piece-3 { animation-delay: 1s; }

/* Value icon bounce */
.value-icon-bounce svg {
    display: inline-block;
}

.value-card.animate-in .value-icon-bounce svg {
    animation: iconBounce 0.6s ease forwards;
}

.value-card:nth-child(1).animate-in .value-icon-bounce svg { animation-delay: 0.1s; }
.value-card:nth-child(2).animate-in .value-icon-bounce svg { animation-delay: 0.3s; }
.value-card:nth-child(3).animate-in .value-icon-bounce svg { animation-delay: 0.5s; }

/* Footer column stagger entrance */
.footer-animate {
    opacity: 0;
    transform: translateY(25px);
}

.footer-animate.in-view {
    animation: fadeSlideUpFooter 0.6s ease-out forwards;
}

.footer-animate:nth-child(1).in-view { animation-delay: 0s; }
.footer-animate:nth-child(2).in-view { animation-delay: 0.1s; }
.footer-animate:nth-child(3).in-view { animation-delay: 0.2s; }
.footer-animate:nth-child(4).in-view { animation-delay: 0.3s; }

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

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        margin-left: 40%;
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 40px;
    }

    .hero-scene {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .hero-content {
        margin-left: 0;
        padding: 40px 24px;
        max-width: 100%;
        text-align: center;
    }

    .imaginative-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-art {
        order: -1;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Reduce animation intensity on mobile */
    .hero-animate {
        animation-duration: 0.6s;
    }

    .product-card:hover {
        transform: translateY(-4px) rotate(0deg);
    }

    /* Splash adjustments */
    .windmill {
        top: 18%;
        left: 45%;
    }

    .pink-tree {
        right: 10%;
        bottom: 22%;
    }

    .birds {
        right: 2%;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .splash-logo {
        font-size: 3rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
