/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --hot-pink: #fb7185;
    --tangerine: #fb923c;
    --deep-purple: #6b21a8;
    --deep-purple-dark: #4c1d95;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-400: #94a3b8;
    --gray-800: #1e293b;
    
    --font-heading: 'Quicksand', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Ensure content clears sticky bar */
    padding-bottom: 90px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    background-color: var(--white);
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--deep-purple);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.8) 0%, rgba(251, 146, 60, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.tagline {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* =========================================
   COUNTDOWN
   ========================================= */
.countdown-wrapper {
    margin-top: 30px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cd-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 90px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cd-digit {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.cd-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.8;
}

.ended-badge {
    display: inline-block;
    background: var(--deep-purple);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 99px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

/* =========================================
   TRUST BADGES
   ========================================= */
.trust-badges {
    background-color: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-purple);
}

.badge-item svg {
    color: var(--hot-pink);
}

/* =========================================
   PRODUCT GRID
   ========================================= */
.shop-section {
    padding: 80px 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.04);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.12);
    border-color: rgba(251, 113, 133, 0.3);
}

.sale-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--hot-pink), var(--tangerine));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 99px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(251, 113, 133, 0.4);
    transform: rotate(5deg);
}

.img-wrapper {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
}

.p-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .p-image {
    transform: scale(1.1);
}

.p-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
    line-height: 1.3;
}

.p-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: auto;
}

.p-orig {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 1rem;
    font-weight: 500;
}

.p-sale {
    color: var(--hot-pink);
    font-size: 1.25rem;
    font-weight: 800;
}

.p-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gray-100);
    color: var(--deep-purple);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.p-btn:hover {
    background: var(--deep-purple);
    color: var(--white);
}

/* =========================================
   VIP SIGNUP SECTION
   ========================================= */
.vip-section {
    padding: 0 0 80px 0;
}

.vip-card {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--deep-purple-dark) 100%);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(107, 33, 168, 0.2);
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251,113,133,0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.vip-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.vip-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 400px;
}

.vip-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

#vip-form {
    display: flex;
    gap: 10px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--hot-pink);
}

.form-btn {
    background: linear-gradient(135deg, var(--hot-pink), var(--tangerine));
    color: var(--white);
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 113, 133, 0.3);
}

.form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.success-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--tangerine);
}

/* =========================================
   STICKY BOTTOM BAR
   ========================================= */
.sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 16px 0;
    border-top: 2px solid var(--hot-pink);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sticky-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--deep-purple);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-dot {
    display: block;
    width: 12px; height: 12px;
    background-color: var(--hot-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(251, 113, 133, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
}

.btn-giant {
    background: var(--deep-purple);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    padding: 16px 40px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-giant:hover {
    background: var(--deep-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 33, 168, 0.3);
}

/* =========================================
   POWERED BY SLOT
   ========================================= */
#wbx-powered-by-slot {
    margin: 40px auto 20px auto;
    text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .vip-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .vip-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
    #vip-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .countdown-grid {
        gap: 10px;
    }
    .cd-item {
        min-width: 70px;
        padding: 12px 10px;
    }
    .cd-digit {
        font-size: 1.8rem;
    }
    .badge-row {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    .sticky-content {
        flex-direction: column;
        text-align: center;
    }
    .btn-giant {
        width: 100%;
        text-align: center;
    }
    body {
        padding-bottom: 160px; /* More room for stacked sticky bar */
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
}
