:root {
    --bg: #0e0e10;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --text: #f4f4f5;
    --text-dim: #a1a1aa;
    --accent: #d4af37;
    --accent-hover: #e6c659;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --max-width: 1200px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

/* === Hero === */
.wella-hero {
    padding: 48px 24px 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.wella-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}
.wella-hero__eyebrow {
    color: var(--accent);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.wella-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 700;
}
.wella-hero__lead {
    color: var(--text-dim);
    font-size: 1.05em;
    margin: 0;
}

/* === Grid === */
.wella-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.wella-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-dim);
    padding: 60px 0;
}
.wella-error {
    grid-column: 1 / -1;
    text-align: center;
    color: #ff6b6b;
    padding: 60px 0;
}

/* === Card === */
.wella-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    border: 1px solid var(--border);
    aspect-ratio: 9 / 16;
    position: relative;
}
.wella-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.wella-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.wella-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.wella-card:hover .wella-card__play { opacity: 1; }
.wella-card__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    font-size: 0.85em;
    display: flex;
    gap: 12px;
    align-items: center;
    pointer-events: none;
}
.wella-card__stat { display: inline-flex; align-items: center; gap: 4px; }
.wella-card__stat--views { color: #fff; font-weight: 600; }
.wella-card__stat--likes { color: var(--text-dim); }

/* === CTA === */
.wella-cta {
    max-width: 800px;
    margin: 48px auto 64px;
    padding: 40px 24px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1f 0%, #2a2018 100%);
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    box-shadow: var(--shadow);
}
.wella-cta__inner { max-width: 600px; margin: 0 auto; }
.wella-cta__text {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0 0 24px;
}
.wella-cta__text strong {
    color: var(--accent);
    font-weight: 700;
}
.wella-cta__btn {
    display: inline-block;
    background: var(--accent);
    color: #0e0e10;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.05em;
    transition: background 0.15s ease, transform 0.15s ease;
    min-height: 44px;
}
.wella-cta__btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* === Lightbox === */
.wella-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.wella-lightbox[hidden] { display: none; } /* MISTAKES 2026-04-08 — explicit hidden-override */
.wella-cta[hidden] { display: none; }
.wella-lightbox__inner {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wella-lightbox__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 32px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    z-index: 1;
}
.wella-lightbox__video {
    width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    background: #000;
}
.wella-lightbox__meta {
    color: var(--text-dim);
    font-size: 0.9em;
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
}

/* === Footer === */
.wella-footer {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85em;
    padding: 24px;
    border-top: 1px solid var(--border);
}

/* === Mobile === */
@media (max-width: 480px) {
    .wella-hero { padding: 32px 16px 24px; }
    .wella-grid { padding: 24px 16px; gap: 12px; grid-template-columns: repeat(2, 1fr); }
    .wella-card__stats { padding: 8px; font-size: 0.8em; }
    .wella-cta { margin: 32px 16px; padding: 28px 20px; }
    .wella-lightbox { padding: 0; }
    .wella-lightbox__inner {
        max-width: 100vw;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
        justify-content: center;
    }
}
