/* ========================================
   Lulutox Detox Tea — Quiz Advertorial v3
   Dark YLE News Theme
   Palette: #1a1a1a · #222 · #2a2a2a · #fff · #a0a0a0 · Accent #18d2c8
   Fonts: system sans-serif
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #e0e0e0;
    background: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #18d2c8; text-decoration: none; }

/* --- Container --- */
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* --- Header (YLE News style) --- */
.site-header {
    background: #1a1a1a;
    color: #fff;
    width: 100%;
}

/* TOP BAR */
.header-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
}
.topbar-left {
    display: flex;
    align-items: center;
}
.header-logo {
    min-width: 52px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    flex-shrink: 0;
}
.logo-img {
    height: 28px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}
.topbar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    margin: 0 16px;
    flex-shrink: 0;
}
.topbar-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.topbar-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.topbar-nav a:hover {
    opacity: 0.75;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-action {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    white-space: nowrap;
}
.topbar-action:hover {
    opacity: 0.75;
}
.topbar-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* SECTION NAV */
.header-sectionnav {
    display: flex;
    align-items: center;
    padding: 8px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.section-title-hdr {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-right: 32px;
    white-space: nowrap;
}
.section-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}
.section-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.section-links a:hover {
    opacity: 0.85;
}
.section-links li.active a {
    border-bottom-color: #18d2c8;
}
.arrow-down {
    font-size: 12px;
    vertical-align: middle;
}

/* HEADER MOBILE */
@media (max-width: 768px) {
    .header-topbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 10px 16px;
    }
    .topbar-left,
    .topbar-right {
        display: contents;
    }
    .topbar-divider,
    .topbar-nav,
    .topbar-search-action {
        display: none;
    }
    .topbar-login {
        justify-self: start;
        order: 1;
    }
    .header-logo {
        justify-self: center;
        order: 2;
    }
    .menu-btn {
        justify-self: end;
        order: 3;
        font-size: 0;
    }
    .menu-btn > svg {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    .logo-img {
        height: 32px;
    }
    .header-sectionnav {
        flex-direction: column;
        align-items: center;
        padding: 12px 16px 0;
    }
    .section-title-hdr {
        margin-right: 0;
        margin-bottom: 8px;
    }
    .section-links {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .section-links ul {
        justify-content: center;
        white-space: nowrap;
    }
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 40px 0 32px;
}
.hero-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #18d2c8;
    margin-bottom: 14px;
}
.hero h1 {
    font-size: clamp(1.4rem, 3.8vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.hero-sub {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.hero-product {
    max-width: 200px;
    margin: 0 auto 24px;
}
.hero-product img { width: 100%; }

/* --- CTA Button --- */
.cta-btn {
    display: inline-block;
    background: #18d2c8;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 40px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.02em;
}
.cta-btn:hover {
    background: #14b8b0;
}

/* --- Divider --- */
.divider { height: 1px; background: rgba(255,255,255,0.1); border: none; margin: 0; }

/* --- Section --- */
.section { padding: 40px 0; }
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* --- Article Text --- */
.article-text p {
    font-size: 1rem;
    color: #c8c8c8;
    line-height: 1.8;
    margin-bottom: 18px;
}
.article-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.article-text ul li {
    font-size: 0.95rem;
    color: #c8c8c8;
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #18d2c8;
    border-radius: 50%;
}
.article-text ul li:last-child { border-bottom: none; }
.article-text ul li strong {
    color: #ffffff;
}

/* --- Figure --- */
.fig {
    margin: 28px 0;
}
.fig img { width: 100%; border-radius: 0; }
.fig--center {
    max-width: 360px;
    margin: 28px auto;
}
.fig figcaption {
    font-size: 0.75rem;
    color: #a0a0a0;
    margin-top: 8px;
    line-height: 1.4;
}

/* --- Inline Review Snippet --- */
.inline-snippet {
    display: flex;
    gap: 14px;
    padding: 18px;
    margin: 28px 0;
    background: #222222;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}
.inline-snippet .snippet-ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.inline-snippet .snippet-body { flex: 1; }
.inline-snippet .snippet-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #18d2c8;
    margin-bottom: 4px;
}
.inline-snippet .snippet-text {
    font-size: 0.88rem;
    color: #c8c8c8;
    line-height: 1.55;
    margin-bottom: 10px;
}
.inline-snippet .snippet-photo {
    width: 100%;
    border-radius: 0;
}

/* --- Health Concerns --- */
.health-concerns-img {
    margin: 24px 0;
    background: #222222;
    padding: 16px;
    border-radius: 0;
}
.health-concerns-img img { width: 100%; border-radius: 0; }

/* --- Blood Vessel --- */
.vessel-block {
    margin: 24px 0;
    background: #222222;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 20px;
}
.vessel-block img {
    width: 100%;
    border-radius: 0;
    margin-bottom: 12px;
}
.vessel-block p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0;
}

/* --- Prep Section --- */
.prep-block {
    margin: 24px 0;
    text-align: center;
}
.prep-block img {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
}

/* --- Video Testimonial --- */
.video-block {
    margin: 28px 0;
    background: #222222;
    border-radius: 0;
    overflow: hidden;
}
.video-block video {
    width: 100%;
    display: block;
}
.video-caption {
    padding: 14px 16px;
    font-size: 0.82rem;
    color: #a0a0a0;
    line-height: 1.5;
}

/* --- CTA Block --- */
.cta-block {
    text-align: center;
    padding: 28px 0;
}

/* ===================================
   QUIZ — Dark Theme
   =================================== */

@keyframes quizPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(24, 210, 200, 0.4); }
    50% { box-shadow: 0 0 0 18px rgba(24, 210, 200, 0); }
}
@keyframes quizGlow {
    0%, 100% { box-shadow: 0 4px 30px rgba(24, 210, 200, 0.08); }
    50% { box-shadow: 0 4px 40px rgba(24, 210, 200, 0.18); }
}
@keyframes quizSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes quizBorderShimmer {
    0% { border-color: #18d2c8; }
    50% { border-color: #0fa89f; }
    100% { border-color: #18d2c8; }
}
@keyframes quizBadgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.quiz-section {
    padding: 56px 0 60px;
    background: linear-gradient(180deg, #222222 0%, #1e1e1e 40%, #1a1a1a 100%);
    border-top: 3px solid #18d2c8;
    border-bottom: 3px solid rgba(255,255,255,0.1);
    position: relative;
    animation: quizGlow 3s ease-in-out infinite;
}
.quiz-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #18d2c8, #0fa89f, #18d2c8);
    background-size: 200% 100%;
    animation: quizBorderShimmer 2.5s ease-in-out infinite;
}
.quiz-header {
    text-align: center;
    margin-bottom: 40px;
    animation: quizSlideUp 0.6s ease-out;
}
.quiz-header .quiz-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: quizBadgeBounce 2s ease-in-out infinite;
}
.quiz-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.quiz-header p {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 460px;
    margin: 0 auto;
}

/* Progress Bar */
.quiz-progress-bar {
    max-width: 500px;
    margin: 0 auto 32px;
    height: 8px;
    background: #333333;
    border-radius: 4px;
    overflow: hidden;
}
.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #18d2c8, #14b8b0);
    border-radius: 4px;
    width: 0%;
    transition: width 0.4s ease;
}

/* Quiz Steps */
.quiz-step {
    display: none;
    max-width: 520px;
    margin: 0 auto;
}
.quiz-step.active {
    display: block;
    animation: quizSlideUp 0.4s ease-out;
}
.quiz-question {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    text-align: center;
    line-height: 1.35;
}
.quiz-step-label {
    font-size: 0.78rem;
    color: #18d2c8;
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.quiz-option {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-size: 1.05rem;
    color: #e0e0e0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-weight: 500;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.quiz-option:hover {
    transform: translateY(-2px);
    border-color: #18d2c8;
    box-shadow: 0 4px 16px rgba(24, 210, 200, 0.15);
}
.quiz-option:active {
    transform: scale(0.98);
}
.quiz-option.selected {
    background: #1e2e2d;
    border-color: #18d2c8;
    color: #18d2c8;
    font-weight: 700;
    animation: quizPulse 1s ease-out;
}

/* ===================================
   OFFER — Dark Theme
   =================================== */
.offer-section {
    display: none;
    text-align: center;
    padding: 52px 0;
    background: linear-gradient(180deg, #222222 0%, #1a1a1a 60%);
    border-top: 3px solid #18d2c8;
}
.offer-section.visible { display: block; }
.offer-badge {
    display: inline-block;
    background: #18d2c8;
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 20px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.offer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}
.offer-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #18d2c8;
    margin-bottom: 12px;
}
.offer-text {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 440px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.offer-product {
    max-width: 200px;
    margin: 0 auto 28px;
}
.offer-product img { width: 100%; }

/* ===================================
   FACEBOOK COMMENTS — Dark Theme
   =================================== */
.fb-comments-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.fb-comments-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.fb-comments-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}
.fb-comments-count {
    font-size: 0.82rem;
    color: #a0a0a0;
}

.fb-comment {
    display: flex;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fb-comment:last-child { border-bottom: none; }
.fb-c-ava {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fb-c-ava--placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #333;
    border: 2px dashed #555;
}
.fb-c-body { flex: 1; }
.fb-c-bubble {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 6px;
}
.fb-c-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}
.fb-c-text {
    font-size: 0.88rem;
    color: #c8c8c8;
    line-height: 1.5;
}
.fb-c-photo {
    width: 100%;
    max-width: 280px;
    border-radius: 0;
    margin-top: 8px;
    margin-bottom: 6px;
}
.fb-c-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: #a0a0a0;
    font-weight: 600;
}
.fb-c-actions .fb-c-like { color: #18d2c8; }
.fb-c-reactions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.fb-c-reactions img {
    width: 16px;
    height: 16px;
    margin-left: -2px;
}
.fb-c-reactions img:first-child { margin-left: 0; }
.fb-c-reactions span {
    font-size: 0.72rem;
    color: #a0a0a0;
    margin-left: 4px;
}

/* ===================================
   COUNTDOWN TIMER — Dark Theme
   =================================== */
.offer-timer {
    margin: 24px auto 0;
    text-align: center;
}
.timer-label {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.timer-display {
    font-size: 2.4rem;
    font-weight: 800;
    color: #18d2c8;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}
.timer-display.urgent {
    color: #e74c3c;
    animation: progressPulse 1s ease-in-out infinite;
}

/* ===================================
   SOCIAL PROOF POPUP — Dark Theme
   =================================== */
.social-proof {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.social-proof.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.sp-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #222222;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 12px 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
    max-width: 320px;
}
.sp-product {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0;
}
.sp-text { flex: 1; }
.sp-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}
.sp-detail {
    font-size: 0.78rem;
    color: #c8c8c8;
    line-height: 1.4;
}
.sp-detail strong {
    color: #18d2c8;
}
.sp-city {
    font-size: 0.72rem;
    color: #a0a0a0;
    margin-top: 2px;
}
.sp-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
}
.sp-close:hover { color: #aaa; }

/* --- Footer --- */
.site-footer {
    padding: 32px 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-text {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.5;
    max-width: 520px;
    margin: 0 auto;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.3rem; }
    .section { padding: 28px 0; }
    .section-title { font-size: 1.15rem; }
    .hero { padding: 28px 0 24px; }
    .cta-btn { width: 100%; padding: 16px 24px; }
    .inline-snippet { flex-direction: column; }
    .inline-snippet .snippet-ava { width: 38px; height: 38px; }
    .quiz-header h2 { font-size: 1.6rem; }
    .quiz-question { font-size: 1.15rem; }
    .offer-title { font-size: 1.5rem; }
    .offer-subtitle { font-size: 1.1rem; }
    .timer-display { font-size: 1.8rem; }
    .social-proof { left: 10px; right: 10px; bottom: 12px; }
    .sp-inner { max-width: 100%; }
}

@media (min-width: 768px) {
    body { font-size: 17px; }
    .wrap { padding: 0 32px; }
}
