/*
 * DESIGN INTENT
 * Tone: Festive playful — Christmas meets confident sensuality
 * Fonts: Playfair Display (display) + DM Sans (body)
 * Palette: #0d0a0a (bg) #1a0d0d (surface) #f5e6d0 (text) #c41e3a (red accent) #c9a052 (gold) #1b4332 (green accent)
 * Layout signature: Full-bleed hero with snowfall canvas, festive product grid, glow-accent countdown CTA
 * Memorable element: Canvas snowfall overlay + product cards with ornament-style hover
 */

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

:root {
    --bg: #0d0a0a;
    --surface: #1a0d0d;
    --surface-light: #2a1a1a;
    --text: #f5e6d0;
    --text-muted: #a8927a;
    --text-dim: #6a5a4a;
    --red: #c41e3a;
    --red-dark: #8b0000;
    --red-glow: rgba(196, 30, 58, 0.3);
    --gold: #c9a052;
    --gold-light: #e8c97a;
    --gold-glow: rgba(201, 160, 82, 0.3);
    --green: #1b4332;
    --green-light: #2d6a4f;
    --white: #fff;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 8px 32px var(--red-glow);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-pad: clamp(4rem, 10vw, 8rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--gold-light);
}

::selection {
    background: var(--red);
    color: var(--white);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== SNOWFALL CANVAS ========== */
#snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: 0 4px 20px var(--red-glow);
}
.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--red-glow);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(245, 230, 208, 0.2);
    backdrop-filter: blur(4px);
}
.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn--small {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== SECTION COMMON ========== */
.section-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.text-accent {
    color: var(--red);
    font-style: italic;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: radial-gradient(ellipse at 50% 0%, var(--surface-light) 0%, var(--bg) 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 120%;
    height: 80%;
    background: radial-gradient(circle at 30% 50%, rgba(196,30,58,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero__ornament {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatGlow 6s ease-in-out infinite;
    pointer-events: none;
}
.hero__ornament--1 { top: 10%; left: 8%; animation-delay: 0s; }
.hero__ornament--2 { top: 20%; right: 12%; animation-delay: 2s; font-size: 2.5rem; }
.hero__ornament--3 { bottom: 25%; left: 15%; animation-delay: 4s; }

@keyframes floatGlow {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 0.3; }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero__logo {
    max-width: 280px;
    width: 100%;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 20px rgba(201,160,82,0.2));
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--gold);
    border-radius: var(--radius-xl);
    color: var(--gold);
    background: rgba(201, 160, 82, 0.08);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.hero__title-accent {
    color: var(--red);
    font-style: italic;
    text-shadow: 0 0 40px var(--red-glow);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gold);
    letter-spacing: 0.05em;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.hero__scroll {
    margin-top: 3rem;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(10px); opacity: 0.8; }
}

/* ========== PRODUCTS ========== */
.products {
    padding: var(--section-pad) 0;
    background: var(--surface);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface) 100%);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(196,30,58,0.03) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(201, 160, 82, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(196,30,58,0.06);
}
.product-card:hover::before {
    opacity: 1;
}

.product-card--featured {
    border-color: rgba(201, 160, 82, 0.15);
    box-shadow: 0 0 30px rgba(201, 160, 82, 0.04);
}

.product-card__image {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
    background: var(--gold);
    color: var(--bg);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.product-card__emoji {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0.25rem;
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.price-old {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.price-new {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
}

/* ========== OFFER ========== */
.offer {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.offer__card {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%);
    border: 1px solid rgba(201, 160, 82, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(196,30,58,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.offer__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--red);
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.offer__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}

.offer__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
}

.offer__desc strong {
    color: var(--red);
}

.offer__countdown {
    margin: 2rem 0;
    position: relative;
}

.offer__countdown > span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    min-width: 2ch;
    text-align: center;
    text-shadow: 0 0 30px var(--gold-glow);
}

.countdown__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

.countdown__sep {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text-dim);
    padding-bottom: 1rem;
}

/* ========== CTA / NEWSLETTER ========== */
.cta {
    padding: var(--section-pad) 0;
    background: var(--surface);
    text-align: center;
    position: relative;
}

.cta__ornament {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
    animation: floatGlow 4s ease-in-out infinite;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta__desc {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta__form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta__input {
    flex: 1;
    min-width: 220px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(255,255,255,0.08);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.cta__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 160, 82, 0.1);
}
.cta__input::placeholder {
    color: var(--text-dim);
}

.cta__note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__logo {
    max-width: 140px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer__col p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.footer__col a:hover {
    color: var(--gold);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}
.footer__social a {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}
.footer__social a:hover {
    transform: scale(1.2);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero__logo {
        max-width: 200px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .countdown {
        gap: 0.25rem;
    }

    .countdown__num {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .cta__form {
        flex-direction: column;
        align-items: center;
    }

    .cta__input {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 3rem;
    }

    .hero__title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .offer__card {
        padding: 2rem 1rem;
    }

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