:root {
    --cream: #D8E983;     /* Light green */
    --dark-green: #4C763B; /* Dark Green */
    --accent: #F0A043;    /* Warm Orange/Yellow */
    --charcoal: #1C1C1C;  /* For text */
    --paper: #FDFCFB;     /* Background fallback */
}

body {
    background-color: var(--cream);
    color: var(--charcoal);
    font-family: 'Young Serif', serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Fonts */
.serif { font-family: 'Young Serif', serif; }
.cursive { font-family: 'Sacramento', cursive; color: var(--accent); }
.bold-display { font-family: 'Black Ops One', system-ui; }
.fun-display { font-family: 'Monoton', sans-serif; }
.nixie-display { font-family: 'Nixie One', system-ui; }
.pacifico-regular { font-family: 'Pacifico', cursive; }

/* Navigation */
nav {
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-scrolled {
    background: rgba(216, 233, 131, 0.95);
    padding: 1rem 2rem !important;
    border-bottom: 1px solid rgba(76, 118, 59, 0.2);
    backdrop-filter: blur(10px);
}
.nav-link {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark-green);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* Buttons */
.btn-haven {
    padding: 1.25rem 3rem;
    border: 1px solid var(--dark-green);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block;
    background: transparent;
    position: relative;
}
.btn-haven:hover {
    background: var(--dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Page Animations */
.page-view { display: none; opacity: 0; transform: translateY(30px); }
.page-view.active { display: block; animation: fadeInUp 1s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Hero Shapes Background */
.hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: drift 20s infinite alternate;
}
@keyframes drift {
    from { transform: translate(0,0) scale(1); }
    to { transform: translate(10%,15%) scale(1.1); }
}

/* Product Cards */
.product-card img { transition: transform 1.5s cubic-bezier(0.19,1,0.22,1); }
.product-card:hover img { transform: scale(1.05); }

/* Cart Dot */
.cart-dot {
    position: absolute;
    top: -5px; right: -8px;
    background: var(--accent);
    color: white;
    font-size: 8px;
    width: 16px;
    height: 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

/* Modal & Overlays */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(216, 233, 131, 0.98);
    z-index: 10000; display: none; overflow-y: auto; padding: 5vw;
}

/* Responsive Grids */
.magazine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }

/* Toast Notifications */
.toast {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--dark-green); color: white;
    padding: 1rem 2rem; border-radius: 4px;
    z-index: 10001; display: none; animation: slideIn 0.3s forwards;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
