/* ==========================================================================
   HOMEPAGE REDESIGN (Hero, Marquee, Deal of the Day)
   ========================================================================== */

/* 1. ANIMATED GRADIENT HERO */
.hero-animated {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: linear-gradient(to right, rgba(7, 7, 13, 0.9) 0%, rgba(7, 7, 13, 0.6) 50%, rgba(7, 7, 13, 0.3) 100%), url('../images/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism card inside hero */
.hero-animated__card {
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 20, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.hero-animated__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #b8a6d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-animated__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. SCROLLING MARQUEE */
.marquee-container {
    background: var(--primary-dark);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
    min-width: 100%;
}

.marquee-content span {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 3rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 3. DEAL VAN DE DAG */
.deal-of-day {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.deal-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .deal-card {
        grid-template-columns: 1fr 1fr;
    }
}

.deal-card__image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.deal-card__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.deal-card__image:hover {
    transform: scale(1.05);
}

.deal-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Note: Rule 6 says NO gradient keywords, so we use white text */
.deal-card__content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.deal-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.deal-card__price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.deal-card__old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.timer-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 70px;
}

.timer-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-light);
    display: block;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}
