        /* ═══════════════════════════════════════
           RESET & BASE
           ═══════════════════════════════════════ */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --better-blue: #1A39DA;
            --better-blue-light: #3566F6;
            --better-teal: #5AE3CF;
            --better-dark: #070C4E;
            --better-warm-white: #FAF9F5;
            --brand-gradient: linear-gradient(135deg, #1A39DA, #3566F6, #5AE3CF);
            --purple-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            --font: 'Heebo', 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        html, body {
            height: 100%;
            overflow: hidden;
            font-family: var(--font);
            background: #000;
            direction: rtl;
            cursor: none;
        }

        body:hover { cursor: default; }

        /* ═══════════════════════════════════════
           SEGMENTS
           ═══════════════════════════════════════ */
        .segment {
            position: fixed;
            inset: 0;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.6s ease;
            z-index: 1;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .segment.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 10;
        }

        /* Background variants */
        .segment[data-bg="black"]           { background: #000; }
        .segment[data-bg="white"]           { background: #fff; }
        .segment[data-bg="dark"]            { background: #0a0a0a; }
        .segment[data-bg="dark-brand"]      { background: var(--better-dark); }
        .segment[data-bg="light"]           { background: var(--better-warm-white); }
        .segment[data-bg="gradient-brand"]  { background: var(--brand-gradient); }
        .segment[data-bg="gradient-purple"] { background: var(--purple-gradient); }
        .segment[data-bg="ocean-dark"]      { background: linear-gradient(180deg, #0a1628, #0d2137, #122a45); }

        /* ═══ Strikes Intro Slide ═══ */
        .strikes-intro-content {
            text-align: center;
        }
        .strikes-intro-title {
            font-size: 3rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 10px;
        }
        .strikes-intro-subtitle {
            font-size: 1.3rem;
            color: rgba(255,255,255,0.45);
            margin-bottom: 50px;
        }
        .strikes-categories {
            display: flex;
            justify-content: center;
            gap: 60px;
            margin-bottom: 50px;
        }
        .strikes-cat {
            text-align: center;
        }
        .strikes-cat-emoji {
            font-size: 4rem;
            display: block;
            margin-bottom: 12px;
        }
        .strikes-cat-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
        }
        .strikes-cat-count {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.4);
            font-weight: 600;
        }
        .strikes-intro-footer {
            font-size: 1.2rem;
            color: rgba(255,255,255,0.35);
            font-style: italic;
        }

        /* ═══ Strikes — Bridge Slide ═══ */
        .sk-bridge { text-align: center; max-width: 850px; }
        .sk-bridge-amount {
            font-size: 5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #f7971e, #ffd200);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
            margin-bottom: 20px;
        }
        .sk-bridge-text {
            font-size: 1.8rem;
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            line-height: 1.6;
            margin-bottom: 40px;
        }
        .sk-bridge-sub {
            font-size: 1.2rem;
            color: rgba(255,255,255,0.35);
            font-style: italic;
        }

        /* ═══ Strikes — Linear Slides (Clicker-friendly) ═══ */
        .sk-cat-header { text-align: center; }
        .sk-cat-hdr-emoji { font-size: 6rem; display: block; margin-bottom: 24px; }
        .sk-cat-hdr-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 16px;
        }
        .sk-cat-hdr-count {
            font-size: 1.4rem;
            color: rgba(255,255,255,0.4);
            font-weight: 600;
        }

        /* Overview grid */
        .sk-overview { text-align: center; max-width: 900px; }
        .sk-overview-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 40px;
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .sk-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; direction: rtl; max-width: 720px; margin: 0 auto; }
        .sk-overview-card { border-radius: 12px; padding: 22px 16px; text-align: center; transition: transform 0.2s, background 0.2s;
            display: flex; align-items: center; justify-content: center; }
        .sk-ov-name { display: block; font-size: 1.15rem; color: rgba(255,255,255,0.9); font-weight: 600; }
        /* Overview accent colors — use background-image (not shorthand!) to preserve background-clip: text */
        [data-accent="blue"] .sk-overview-title { background-image: linear-gradient(135deg, #42a5f5, #64b5f6); }
        [data-accent="blue"] .sk-overview-card { background: rgba(66,165,245,0.08); border: 1px solid rgba(66,165,245,0.2); }
        [data-accent="teal"] .sk-overview-title { background-image: linear-gradient(135deg, #5ae3cf, #26c6da); }
        [data-accent="teal"] .sk-overview-card { background: rgba(90,227,207,0.08); border: 1px solid rgba(90,227,207,0.2); }
        [data-accent="orange"] .sk-overview-title { background-image: linear-gradient(135deg, #f7971e, #ffd200); }
        [data-accent="orange"] .sk-overview-card { background: rgba(247,151,30,0.08); border: 1px solid rgba(247,151,30,0.2); }

        .sk-strike { text-align: center; max-width: 800px; position: relative; }
        .sk-cat-badge {
            display: inline-block;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.35);
            font-weight: 600;
            margin-bottom: 20px;
            letter-spacing: 0.02em;
        }
        .sk-emoji { font-size: 5rem; display: block; margin-bottom: 20px; }
        .sk-meta { margin-bottom: 28px; }
        .sk-title { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
        .sk-body {
            font-size: 1.15rem;
            line-height: 1.9;
            color: rgba(255,255,255,0.75);
            font-weight: 400;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Accent colors per category */
        [data-accent="blue"] .sk-cat-hdr-title,
        [data-accent="blue"] .sk-title {
            background: linear-gradient(135deg, #42a5f5, #64b5f6);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        [data-accent="teal"] .sk-cat-hdr-title,
        [data-accent="teal"] .sk-title {
            background: linear-gradient(135deg, #5ae3cf, #26c6da);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        [data-accent="orange"] .sk-cat-hdr-title,
        [data-accent="orange"] .sk-title {
            background: linear-gradient(135deg, #f7971e, #ffd200);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        [data-accent="green"] .sk-cat-hdr-title,
        [data-accent="green"] .sk-title {
            background: linear-gradient(135deg, #66bb6a, #aed581);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        /* Progress dots within strike slides */
        .sk-progress {
            display: flex;
            gap: 6px;
            justify-content: center;
            margin-bottom: 16px;
        }
        .sk-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.12);
        }
        [data-accent="blue"] .sk-dot.filled { background: #64b5f6; }
        [data-accent="teal"] .sk-dot.filled { background: #5ae3cf; }
        [data-accent="orange"] .sk-dot.filled { background: #f7971e; }
        [data-accent="green"] .sk-dot.filled { background: #66bb6a; }

        /* Savings line at bottom of strike slide */
        .sk-savings {
            margin-top: 32px;
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255,255,255,0.45);
        }
        [data-accent="blue"] .sk-savings { color: rgba(100,181,246,0.7); }
        [data-accent="teal"] .sk-savings { color: rgba(90,227,207,0.7); }
        [data-accent="orange"] .sk-savings { color: rgba(247,151,30,0.7); }

        /* ═══ Two-column layout: risk vs action ═══ */
        .sk-columns {
            display: flex;
            gap: 48px;
            margin-top: 32px;
            direction: rtl;
            text-align: right;
            max-width: 900px;
        }
        .sk-col {
            flex: 1;
            min-width: 0;
        }
        .sk-col-label {
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sk-col-label-icon { font-size: 1.2rem; }
        [data-accent="blue"] .sk-col-label { color: rgba(100,181,246,0.6); }
        [data-accent="teal"] .sk-col-label { color: rgba(90,227,207,0.6); }
        [data-accent="orange"] .sk-col-label { color: rgba(247,151,30,0.6); }

        .sk-col-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255,255,255,0.75);
        }
        .sk-col-action .sk-col-text {
            color: rgba(255,255,255,0.95);
            font-weight: 600;
        }
        /* Push action text right on slides with photo, so it doesn't overlap */
        .has-photo .sk-col-action .sk-col-text {
            padding-left: 100px;
        }

        .sk-col-separator {
            width: 2px;
            flex-shrink: 0;
            border-radius: 1px;
            align-self: stretch;
        }
        [data-accent="blue"] .sk-col-separator { background: rgba(100,181,246,0.2); }
        [data-accent="teal"] .sk-col-separator { background: rgba(90,227,207,0.2); }
        [data-accent="orange"] .sk-col-separator { background: rgba(247,151,30,0.2); }

        /* ═══ Victory value ═══ */
        .sk-victory {
            margin-top: 36px;
            font-size: 1.2rem;
            font-weight: 700;
        }
        [data-accent="blue"] .sk-victory { color: rgba(100,181,246,0.85); }
        [data-accent="teal"] .sk-victory { color: rgba(90,227,207,0.85); }
        [data-accent="orange"] .sk-victory { color: rgba(247,151,30,0.85); }
        /* Participant AI photo on strike slides — positioned to the side */
        .sk-participant-photo {
            position: fixed;
            bottom: 60px;
            left: 40px;
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 16px;
            border: 3px solid rgba(255,255,255,0.15);
            box-shadow: 0 8px 32px rgba(0,0,0,0.5);
            z-index: 10;
        }
        /* photo-left/photo-right removed — photo always at left: 40px via base rule */

        /* Emoji placeholder — shown when no AI participant photo */
        .sk-photo-placeholder {
            position: fixed;
            bottom: 60px;
            left: 40px;
            width: 200px;
            height: 200px;
            border-radius: 16px;
            border: 3px solid rgba(255,255,255,0.15);
            box-shadow: 0 8px 32px rgba(0,0,0,0.5);
            z-index: 10;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            background: rgba(255,255,255,0.05);
        }

        /* Thanks slide — polaroid credits */
        .thanks-goals {
            position: fixed;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
            z-index: 5;
        }
        .polaroid {
            position: absolute;
            bottom: -320px;
            width: 180px;
            background: #fff;
            padding: 10px 10px 40px 10px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
            animation: polaroidRise linear forwards;
            z-index: 5;
        }
        .polaroid img {
            width: 160px;
            height: 160px;
            object-fit: cover;
            display: block;
            background: #ddd;
        }
        .polaroid .polaroid-label {
            display: block;
            text-align: center;
            font-family: 'Heebo', sans-serif;
            font-size: 0.9rem;
            font-weight: 700;
            color: #333;
            margin-top: 8px;
        }
        @keyframes polaroidRise {
            0% { transform: translateY(0) rotate(var(--rot)); opacity: 0; }
            5% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(calc(-100vh - 400px)) rotate(var(--rot)); opacity: 0; }
        }

        /* Slide inner layout */
        .slide-inner {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            padding: 60px 80px;
            display: flex;
            flex-direction: column;
        }

        .slide-inner.center-content {
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .slide-inner.two-col {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 80px;
        }

        .col-text { flex: 1; text-align: right; }
        .col-image { flex: 0 0 auto; }

        /* ═══════════════════════════════════════
           TYPOGRAPHY
           ═══════════════════════════════════════ */
        .hero-text {
            font-size: 4.5rem;
            font-weight: 900;
            line-height: 1.15;
            color: #fff;
        }

        .subtitle-text {
            font-size: 1.5rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.45);
            margin-top: 24px;
        }

        .about-bullets {
            list-style: none;
            padding: 0;
            margin-top: 32px;
        }

        .about-bullets li {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.35rem;
            padding: 12px 0;
            padding-right: 28px;
            position: relative;
            line-height: 1.5;
        }

        .about-bullets li::before {
            content: '›';
            position: absolute;
            right: 0;
            color: var(--better-teal);
            font-weight: 700;
            font-size: 1.5rem;
        }

        .about-photo {
            width: 320px;
            height: 320px;
            border-radius: 24px;
            object-fit: cover;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
            border: 4px solid rgba(255, 255, 255, 0.15);
        }

        /* ═══════════════════════════════════════
           ENTRY ANIMATIONS
           ═══════════════════════════════════════ */
        .anim-fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .anim-scale-in {
            opacity: 0;
            transform: scale(0.85);
            transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .anim-fade-in {
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        .d1 { transition-delay: 0.2s; }
        .d2 { transition-delay: 0.4s; }
        .d3 { transition-delay: 0.6s; }
        .d4 { transition-delay: 0.8s; }
        .d5 { transition-delay: 1.0s; }

        .segment.active .anim-fade-up {
            opacity: 1;
            transform: translateY(0);
        }

        .segment.active .anim-scale-in {
            opacity: 1;
            transform: scale(1);
        }

        .segment.active .anim-fade-in {
            opacity: 1;
        }

        /* ═══════════════════════════════════════
           IFRAMES (interactive segments)
           ═══════════════════════════════════════ */
        .segment.interactive iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: transparent;
        }

        /* ═══════════════════════════════════════
           BACKGROUND VIDEO
           ═══════════════════════════════════════ */
        .bg-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.2;
            z-index: 1;
        }

        /* Fallback animated gradient when no video */
        .bg-gradient-anim {
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(135deg, #0a0a0a 0%, #0d1b3e 30%, #0a0a0a 60%, #1a0a2e 100%);
            background-size: 400% 400%;
            animation: gradientShift 12s ease infinite;
            opacity: 0.6;
        }

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

        /* ═══════════════════════════════════════
           QR CODE
           ═══════════════════════════════════════ */
        .qr-box {
            display: inline-block;
            background: #fff;
            padding: 28px;
            border-radius: 24px;
            margin-top: 40px;
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
        }

        /* ═══════════════════════════════════════
           QR JOIN SLIDE (seg-slido-qr)
           ═══════════════════════════════════════ */
        .qr-join-title {
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(135deg, #1A39DA, #3566F6, #5AE3CF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 12px;
        }
        .qr-join-subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 40px;
        }
        .qr-join-box {
            display: inline-block;
            background: #fff;
            padding: 24px;
            border-radius: 20px;
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
        }
        .qr-join-hint {
            margin-top: 28px;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.25);
        }

        /* ═══════════════════════════════════════
           TIMELINE BAR (Phase slides)
           ═══════════════════════════════════════ */
        .timeline-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 60px;
            margin-bottom: 60px;
            width: 100%;
            max-width: 1100px;
        }
        .timeline-node {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .timeline-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 4px solid;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            background: rgba(255,255,255,0.05);
        }
        .timeline-label {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
        }
        .timeline-ages {
            font-size: 1.3rem;
            color: rgba(255,255,255,0.5);
            font-weight: 600;
        }
        .timeline-line {
            flex: 1;
            height: 4px;
            border-radius: 2px;
            margin: 0 -4px;
            margin-bottom: 72px;
            position: relative;
        }
        .timeline-line-label {
            position: absolute;
            top: -48px;
            left: 0;
            right: 0;
            text-align: center;
            white-space: nowrap;
            font-size: 1.4rem;
            font-weight: 700;
            color: rgba(255,255,255,0.85);
        }

        .phase-columns {
            display: flex;
            gap: 32px;
            justify-content: center;
            width: 100%;
            max-width: 1000px;
            padding: 0 32px;
        }
        .phase-col {
            flex: 1;
            text-align: center;
            padding: 24px 16px;
            border-radius: 16px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.08);
        }
        .phase-col-number {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .phase-col-text {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.5;
        }
        .phase-col-range {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .phase-col-desc {
            font-size: 1rem;
            color: rgba(255,255,255,0.6);
            line-height: 1.6;
        }

        /* ═══════════════════════════════════════
           LOGO GRID (Credibility)
           ═══════════════════════════════════════ */
        .logo-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 24px 40px;
            justify-content: center;
            align-items: center;
            margin-top: 48px;
            max-width: 900px;
        }

        .logo-grid img {
            height: 36px;
            opacity: 0.7;
            filter: grayscale(100%);
            transition: all 0.3s ease;
        }

        .logo-grid img:hover {
            opacity: 1;
            filter: grayscale(0%);
        }

        /* Media mentions row */
        .media-row {
            display: flex;
            gap: 32px;
            margin-top: 40px;
            align-items: center;
            justify-content: center;
        }

        .media-card {
            display: flex;
            align-items: center;
            gap: 16px;
            background: #F8F8F6;
            padding: 16px 24px;
            border-radius: 12px;
            border: 1px solid #E5E4E0;
        }

        .media-card img {
            height: 32px;
        }

        .media-card span {
            font-size: 0.95rem;
            color: #555;
            max-width: 280px;
            text-align: right;
        }

        /* ═══════════════════════════════════════
           SUMMARY CARDS
           ═══════════════════════════════════════ */
        .summary-cards {
            display: flex;
            gap: 28px;
            margin-top: 56px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .summary-card {
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 36px 28px;
            width: 300px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .summary-card:hover {
            transform: translateY(-4px);
        }

        .sc-icon { font-size: 2.8rem; display: block; margin-bottom: 20px; }
        .sc-text  { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; line-height: 1.7; }

        /* ═══════════════════════════════════════
           CREDIBILITY - Company logos as text
           ═══════════════════════════════════════ */
        .company-logos-wrap {
            width: 100vw;
            margin-top: 20px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 12px;
            direction: ltr;
        }

        .logo-row {
            display: flex;
            gap: 20px;
            width: max-content;
            animation: scrollRowLeft 60s linear infinite;
            animation-play-state: paused;
            opacity: 0;
        }
        #seg-credibility.active .logo-row {
            animation-play-state: running;
            opacity: 1;
            transition: opacity 0.4s ease 0.15s;
        }
        .logo-row:nth-child(even) {
            animation-name: scrollRowRight;
        }
        .logo-row:nth-child(1) { animation-duration: 85s; animation-delay: -2s; }
        .logo-row:nth-child(2) { animation-duration: 70s; animation-delay: -20s; }
        .logo-row:nth-child(3) { animation-duration: 58s; animation-delay: -3s; }
        .logo-row:nth-child(4) { animation-duration: 62s; animation-delay: -15s; }

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

        .company-logo-badge {
            padding: 10px 18px;
            border-radius: 14px;
            background: #fff;
            border: 1px solid #E8E8E4;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        }
        .company-logo-badge img {
            height: 34px;
            width: auto;
            max-width: 160px;
            object-fit: contain;
        }
        .company-logo-badge.featured img {
            height: 44px;
            max-width: 200px;
        }

        /* ═══════════════════════════════════════
           UI CHROME
           ═══════════════════════════════════════ */

        /* Progress bar */
        #progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: var(--brand-gradient);
            transition: width 0.5s ease;
            z-index: 1000;
            pointer-events: none;
            width: 0%;
        }

        /* Presenter HUD */
        #presenter-hud {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 12px 28px;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        #presenter-hud.visible {
            opacity: 1;
            pointer-events: auto;
        }

        #hud-lock {
            padding: 4px 14px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.75rem;
            letter-spacing: 1px;
        }

        #hud-lock.unlocked { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
        #hud-lock.locked   { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

        /* Speaker notes panel */
        #speaker-notes {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            height: 180px;
            background: rgba(0, 0, 0, 0.88);
            backdrop-filter: blur(12px);
            z-index: 998;
            display: flex;
            flex-direction: column;
            padding: 12px 28px;
            transition: transform 0.3s ease;
            border-top: 1px solid rgba(90, 227, 207, 0.3);
        }
        #speaker-notes.hidden { transform: translateY(100%); }
        #speaker-notes .notes-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        #speaker-notes .notes-header span {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
        }
        #notes-saved { transition: opacity 0.3s; }
        #notes-textarea {
            flex: 1;
            resize: none;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            color: #fff;
            font-size: 1.1rem;
            line-height: 1.6;
            padding: 10px 14px;
            font-family: inherit;
            direction: rtl;
        }
        #notes-textarea:focus { outline: none; border-color: rgba(90, 227, 207, 0.5); }
        #notes-textarea::placeholder { color: rgba(255, 255, 255, 0.25); }

        /* Shift HUD and dots up when notes panel is open */
        body.notes-open #presenter-hud { bottom: 180px; }
        body.notes-open #nav-dots { bottom: 232px; }

        /* Navigation dots */
        #nav-dots {
            position: fixed;
            bottom: 52px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        #nav-dots.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .nav-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .nav-dot.active {
            background: var(--better-teal);
            transform: scale(1.5);
        }

        .nav-dot.interactive-dot {
            border-radius: 3px;
            width: 16px;
        }

        /* Start overlay */
        #start-overlay {
            position: fixed;
            inset: 0;
            background: #000;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-align: center;
        }

        #start-overlay h1 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 48px;
            color: rgba(255, 255, 255, 0.6);
        }

        #start-btn {
            padding: 18px 56px;
            border-radius: 16px;
            border: 2px solid rgba(255, 255, 255, 0.15);
            background: rgba(26, 57, 218, 0.25);
            color: #fff;
            font-size: 1.4rem;
            font-weight: 600;
            font-family: var(--font);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #start-btn:hover {
            background: rgba(26, 57, 218, 0.5);
            border-color: var(--better-blue-light);
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(26, 57, 218, 0.3);
        }

        .start-hint {
            margin-top: 32px;
            color: rgba(255, 255, 255, 0.15);
            font-size: 0.85rem;
        }

        .start-hint kbd {
            background: rgba(255,255,255,0.1);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: var(--font);
        }

        /* Black screen overlay */
        #black-overlay {
            position: fixed;
            inset: 0;
            background: #000;
            z-index: 1500;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        #black-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* ═══════════════════════════════════════
           INTERACTIVE SEGMENT ESCAPE HINT
           ═══════════════════════════════════════ */
        .escape-hint {
            position: fixed;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            color: rgba(255, 255, 255, 0.5);
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 0.8rem;
            z-index: 100;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .segment.interactive.active .escape-hint {
            opacity: 1;
            animation: hintFade 4s ease forwards;
        }

        @keyframes hintFade {
            0%   { opacity: 0; }
            10%  { opacity: 1; }
            70%  { opacity: 1; }
            100% { opacity: 0; }
        }

        /* ═══════════════════════════════════════
           BETTER LOGO WATERMARK
           ═══════════════════════════════════════ */
        .better-watermark {
            position: fixed;
            bottom: 16px;
            left: 24px;
            z-index: 50;
            opacity: 0.08;
            pointer-events: none;
            transition: opacity 0.6s ease;
        }

        .segment[data-bg="white"].active ~ .better-watermark,
        .segment[data-bg="light"].active ~ .better-watermark {
            filter: invert(1);
        }

        /* ═══════════════════════════════════════
           IFRAME ERROR OVERLAY
           ═══════════════════════════════════════ */
        .iframe-error-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.92);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 20;
            gap: 16px;
        }

        .iframe-error-overlay .err-icon {
            font-size: 3rem;
        }

        .iframe-error-overlay .err-msg {
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.2rem;
        }

        .iframe-error-overlay .retry-btn {
            margin-top: 12px;
            padding: 12px 32px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 1rem;
            font-family: var(--font);
            cursor: pointer;
            transition: background 0.2s;
        }

        .iframe-error-overlay .retry-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }
