/* ============================================================
   RamadanRecap2026.css — الأنماط الخاصة بصفحة RamadanRecap2026.html
   يُحمَّل بعد الملفات المشتركة، فأي قاعدة هنا تتجاوزها.
   ============================================================ */

/* ============================================
           CSS VARIABLES & RESET
           ============================================ */

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2e;
    --bg-card: rgba(20, 20, 60, 0.5);
    --gold-primary: #f0c040;
    --gold-secondary: #d4a520;
    --gold-glow: rgba(240, 192, 64, 0.4);
    --cyan-primary: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --purple-primary: #b388ff;
    --purple-glow: rgba(179, 136, 255, 0.3);
    --white: #f5f5f5;
    --white-muted: rgba(245, 245, 245, 0.7);
    --white-dim: rgba(245, 245, 245, 0.4);
    --font-display: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    --slide-transition: 0.8s;
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* هذه الصفحة عرض شرائح بملء الشاشة، فترجع لقيم المتصفح الافتراضية
   بدل الأساسيات المشتركة في main.css */
html {
    overflow: hidden;
    height: 100%;
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    line-height: normal;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
           FIREWORKS CANVAS
           ============================================ */

#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
           BACKGROUND AMBIENT LAYER
           ============================================ */

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 20% 80%, rgba(179, 136, 255, 0.08) 0%, transparent 70%), radial-gradient(ellipse 50% 60% at 80% 20%, rgba(0, 229, 255, 0.06) 0%, transparent 70%), radial-gradient(ellipse 70% 40% at 50% 50%, rgba(240, 192, 64, 0.04) 0%, transparent 60%);
}

/* ============================================
           AUDIO CONTROLS
           ============================================ */

.audio-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: 50px;
    padding: 10px 18px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s, transform 0.4s;
}

.audio-controls.visible {
    opacity: 1;
    transform: translateY(0);
}

.audio-controls .vol-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.audio-controls .vol-btn:hover {
    background: rgba(240, 192, 64, 0.15);
}

.audio-controls .vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    background: rgba(245, 245, 245, 0.2);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    direction: ltr;
}

.audio-controls .vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px var(--gold-glow);
}

.audio-controls .vol-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* ============================================
           NAVIGATION BUTTONS
           ============================================ */

.slide-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
}

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

.slide-nav button {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 36px;
    border: 2px solid var(--gold-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-next {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.nav-next:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--gold-glow);
}

.nav-prev {
    background: transparent;
    color: var(--gold-primary);
}

.nav-prev:hover {
    background: rgba(240, 192, 64, 0.1);
    transform: scale(1.05);
}

.nav-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
           PROGRESS DOTS
           ============================================ */

.progress-dots-wrapper {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    max-width: 280px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.progress-dots-wrapper::-webkit-scrollbar {
    display: none;
}

.progress-dots-wrapper.visible {
    opacity: 1;
}

.progress-dots {
    display: flex;
    gap: 8px;
    padding: 4px 8px;
    width: max-content;
}

.progress-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.2);
    border: 1px solid rgba(245, 245, 245, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.progress-dot:hover {
    background: rgba(240, 192, 64, 0.4);
    transform: scale(1.2);
}

.progress-dot.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
    transform: scale(1.3);
}

/* ============================================
           SLIDES CONTAINER
           ============================================ */

.slides-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10vh 20px 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================
           SLIDE 0 — WELCOME
           ============================================ */

.slide-welcome .welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.25);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
}

.slide-welcome .welcome-badge i {
    font-size: 0.85rem;
}

.slide-welcome h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #ffe082 40%, var(--gold-secondary) 70%, var(--gold-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s linear infinite;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 20px var(--gold-glow));
}

@keyframes shimmerGold {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.slide-welcome .subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-start {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 16px 52px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--bg-primary);
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 30px var(--gold-glow);
}

.btn-start::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-start:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 40px rgba(240, 192, 64, 0.6);
}

.btn-start:hover::before {
    opacity: 1;
}

.btn-start .btn-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Pulsing glow ring around button */

.btn-start-wrapper {
    position: relative;
    display: inline-block;
}

.btn-start-wrapper.ready::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 66px;
    border: 2px solid var(--gold-primary);
    opacity: 0;
    animation: pulseRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.04); }
}

/* ============================================
           SLIDE 1 — JOURNEY ITEMS
           ============================================ */

.slide-journey .journey-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 12px;
}

.slide-journey .journey-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--white-muted);
    text-align: center;
    margin-bottom: 40px;
}

.journey-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    width: 100%;
}

.journey-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 192, 64, 0.12);
    border-radius: 16px;
    padding: 20px 24px;
    transition: border-color 0.3s, transform 0.3s;
}

.journey-item:hover {
    border-color: rgba(240, 192, 64, 0.35);
    transform: translateX(-4px);
}

.journey-item .item-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

.journey-item:nth-child(1) .item-number {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan-primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.journey-item:nth-child(2) .item-number {
    background: rgba(240, 192, 64, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(240, 192, 64, 0.3);
}

.journey-item:nth-child(3) .item-number {
    background: rgba(179, 136, 255, 0.15);
    color: var(--purple-primary);
    border: 1px solid rgba(179, 136, 255, 0.3);
}

.journey-item:nth-child(4) .item-number {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.journey-item .item-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--white);
}

/* ============================================
           SLIDE 2 — STATS
           ============================================ */

.slide-stats .stats-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 12px;
}

.slide-stats .stats-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 600px;
    line-height: 1.9;
    margin-bottom: 50px;
}

.stats-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 192, 64, 0.15);
    border-radius: 24px;
    padding: 40px 48px;
    text-align: center;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.stat-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--cyan-primary), transparent);
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--purple-primary), transparent);
}

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.stat-card:nth-child(1) .stat-icon {
    color: var(--cyan-primary);
}

.stat-card:nth-child(2) .stat-icon {
    color: var(--purple-primary);
}

.stat-card .stat-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card:nth-child(1) .stat-number {
    background: linear-gradient(135deg, var(--cyan-primary), #80deea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(2) .stat-number {
    background: linear-gradient(135deg, var(--purple-primary), #ea80fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white-muted);
}

.stat-card .stat-plus {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    margin-left: 4px;
}

/* ============================================
           SLIDE 3 — TRANSITION / HYPE
           ============================================ */

.slide-hype .hype-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.slide-hype .hype-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    color: var(--white);
    text-align: center;
    max-width: 650px;
    line-height: 2;
}

.slide-hype .hype-highlight {
    color: var(--cyan-primary);
    position: relative;
}

.slide-hype .hype-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white-dim);
    margin-top: 30px;
    text-align: center;
}

.hype-sword {
    display: inline-block;
    animation: swordBounce 1.5s ease-in-out infinite;
}

@keyframes swordBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}

/* ============================================
           DECORATIVE ELEMENTS
           ============================================ */

.deco-line {
    width: 60px;
    height: 3px;
    min-height: 3px !important;
    flex-shrink: 0 !important;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin: 0 auto 20px;
}

.crescent-deco {
    position: fixed;
    top: 60px;
    right: 40px;
    z-index: 50;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.crescent-deco.visible {
    opacity: 0.3;
}

/* ============================================
           SLIDE 4 — UHC INTRO
           ============================================ */

.slide-uhc-intro .uhc-intro-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.slide-uhc-intro .uhc-intro-text {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 640px;
    line-height: 2;
}

.slide-uhc-intro .uhc-intro-highlight {
    color: var(--gold-primary);
    font-weight: 700;
}

/* ============================================
           SLIDE 5 — EXTREMES (Slowest vs Fastest)
           ============================================ */

.slide-extremes .extremes-vs {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
    text-align: center;
}

.extremes-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 760px;
    width: 100%;
}

.extreme-card {
    flex: 1 1 300px;
    max-width: 360px;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.extreme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.extreme-card.slow-card {
    background: rgba(255, 82, 82, 0.08);
    border: 1px solid rgba(255, 82, 82, 0.2);
}

.extreme-card.slow-card::before {
    background: linear-gradient(90deg, #ff5252, #ff8a65);
}

.extreme-card.fast-card {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.extreme-card.fast-card::before {
    background: linear-gradient(90deg, var(--cyan-primary), var(--gold-primary));
}

.extreme-card .ext-emoji {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
}

.extreme-card .ext-label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.slow-card .ext-label {
    color: #ff5252;
}

.fast-card .ext-label {
    color: var(--cyan-primary);
}

.extreme-card .ext-detail {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-muted);
    line-height: 1.9;
}

.extreme-card .ext-detail strong {
    color: var(--white);
    font-weight: 700;
}

.extreme-card .ext-time {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-top: 12px;
    direction: ltr;
    display: inline-block;
}

.slow-card .ext-time {
    background: linear-gradient(135deg, #ff5252, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fast-card .ext-time {
    background: linear-gradient(135deg, var(--cyan-primary), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
           SLIDE 6 — AVERAGE TIME
           ============================================ */

.slide-average .avg-timer {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 5rem);
    direction: ltr;
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), #ffe082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 15px var(--gold-glow));
}

.slide-average .avg-main {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 550px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.slide-average .avg-sub {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--white-dim);
    text-align: center;
    max-width: 500px;
    line-height: 1.8;
}

/* ============================================
           SLIDE 7 — TOTAL DEATHS
           ============================================ */

.slide-deaths .deaths-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 82, 82, 0.5));
}

.slide-deaths .deaths-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 550px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.slide-deaths .deaths-stat {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    background: linear-gradient(135deg, #ff5252, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 82, 82, 0.4));
}

.slide-deaths .deaths-label {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white-dim);
    margin-top: 8px;
    text-align: center;
}

/* ============================================
           SLIDE 8 — MOST DEADLY WORLDS
           ============================================ */

.slide-deadly .deadly-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.1rem, 2.8vw, 1.5rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

.deadly-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.deadly-card {
    background: rgba(255, 82, 82, 0.06);
    border: 1px solid rgba(255, 82, 82, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 28px 32px;
    text-align: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.deadly-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff5252, transparent);
}

.deadly-card .dc-skull {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.deadly-card .dc-world {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #ff5252;
    margin-bottom: 6px;
}

.deadly-card .dc-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white-muted);
    margin-bottom: 4px;
}

.deadly-card .dc-deaths {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ff8a65;
}

/* ============================================
           SLIDE 9 — DAILY GRIND
           ============================================ */

.slide-grind .grind-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--white-muted);
    text-align: center;
    max-width: 620px;
    line-height: 2;
    margin-bottom: 28px;
}

.slide-grind .grind-stat {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    text-align: center;
    color: var(--white);
    line-height: 1.8;
}

.slide-grind .grind-number {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 6vw, 3.2rem);
}

.slide-grind .grind-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 22px;
    background: rgba(255, 152, 0, 0.12);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffb74d;
}

/* ============================================
           SLIDE 10 — LEADERBOARD
           ============================================ */

.slide-leaderboard .lb-top-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.3);
    border-radius: 14px;
    padding: 12px 24px;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--gold-primary);
    text-align: center;
    line-height: 1.7;
    box-shadow: 0 0 20px rgba(240, 192, 64, 0.1);
}

.slide-leaderboard .lb-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
}

.lb-table-wrapper {
    width: 100%;
    max-width: 700px;
    max-height: 45vh;
    border-radius: 16px;
    overflow-y: auto;
    border: 1px solid rgba(240, 192, 64, 0.12);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(255, 255, 255, 0.05);
}

.lb-table-wrapper::-webkit-scrollbar {
    width: 6px;
}

.lb-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.lb-table-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--gold-primary);
    border-radius: 10px;
}

.lb-scroll-hint {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: bounceHint 1.5s infinite;
    transition: opacity 0.3s ease;
}

@keyframes bounceHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.lb-table thead th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-primary);
    padding: 14px 12px;
    text-align: center;
    background: rgba(15, 15, 46, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(240, 192, 64, 0.15);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lb-table tbody td {
    font-size: 0.92rem;
    color: var(--white-muted);
    padding: 11px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(245, 245, 245, 0.05);
}

.lb-table tbody tr:hover {
    background: rgba(240, 192, 64, 0.05);
}

.lb-table tbody tr:nth-child(1) td, .lb-table tbody tr:nth-child(2) td, .lb-table tbody tr:nth-child(3) td {
    color: var(--white);
    font-weight: 600;
}

.lb-table tbody tr:nth-child(1) td:first-child {
    color: #ffd700;
}

.lb-table tbody tr:nth-child(2) td:first-child {
    color: #c0c0c0;
}

.lb-table tbody tr:nth-child(3) td:first-child {
    color: #cd7f32;
}

.lb-table .rank-cell {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
}

.lb-table .time-cell {
    direction: ltr;
    unicode-bidi: embed;
    font-family: var(--font-display);
    font-weight: 600;
}

.lb-loading {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white-dim);
    text-align: center;
    padding: 40px 0;
}

.lb-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
           PHASE 3 — MAGIC BOX SLIDES
           ============================================ */

.flip-cards-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.flip-card {
    width: 200px;
    height: 320px;
    perspective: 800px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(240, 192, 64, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: var(--bg-card);
}

.flip-card-front, .flip-card-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.flip-card.is-flipped .flip-card-front {
    opacity: 0;
    transition: opacity 0s 0.2s;
}

.flip-card:not(.is-flipped) .flip-card-front {
    opacity: 1;
    transition: opacity 0s 0.2s;
}

.flip-card-front img, .flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.flip-card-front .fc-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(10, 10, 26, 0.85);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gold-primary);
    text-align: center;
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: var(--bg-secondary);
    border-color: var(--gold-primary);
}

.flip-card-back .fc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.95));
    text-align: center;
    z-index: 2;
}

.flip-card-back .fc-content h4 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-bottom: 3px;
}

.flip-card-back .fc-content p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--white-dim);
}

/* Podium */

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    margin-top: 10px;
    min-height: 180px;
}

#mbPodiumContainer {
    margin-top: 40px !important;
}

#fzPodiumContainer {
    margin-top: 70px !important;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.podium-item .p-medal {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.podium-item .p-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 2px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.podium-item .p-score {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--white-muted);
    margin-bottom: 8px;
}

.podium-bar {
    width: 90px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: rgba(0,0,0,0.6);
}

.podium-item:nth-child(1) .podium-bar {
    background: linear-gradient(180deg, #c0c0c0, #9e9e9e);
    height: 100px;
}

.podium-item:nth-child(2) .podium-bar {
    background: linear-gradient(180deg, #ffd700, #d4a520);
    height: 130px;
}

.podium-item:nth-child(3) .podium-bar {
    background: linear-gradient(180deg, #cd7f32, #a0522d);
    height: 75px;
}

/* Fix deco-line rendering glitch */

.deco-line {
    transform-origin: right center;
    will-change: transform;
    flex-shrink: 0 !important;
    min-height: 3px !important;
}

/* Fawazir styles */

.fz-q-card {
    background: rgba(179, 136, 255, 0.08);
    border: 1px solid rgba(179, 136, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.fz-q-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), transparent);
}

.fz-q-badge {
    background: var(--purple-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 12px;
}

.fz-helpers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fz-helper-badge {
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
}

.fz-helper-badge span {
    color: var(--gold-primary);
    margin-right: 6px;
}

/* ============================================
           PHASE 5 — SANAA ROOM
           ============================================ */

.dish-card {
    background: var(--bg-card);
    border: 1px solid rgba(240, 192, 64, 0.15);
    border-radius: 20px;
    overflow: hidden;
    width: 240px;
    flex-shrink: 0;
    text-align: center;
}

.dish-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    cursor: zoom-in;
}

.dish-card-lg .dish-img-wrapper {
    height: 380px;
}

.dish-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dish-img-wrapper:hover img {
    transform: scale(1.05);
}

.dish-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dish-img-wrapper:hover .dish-img-overlay {
    opacity: 1;
}

.dish-img-overlay span {
    background: rgba(240, 192, 64, 0.9);
    color: var(--bg-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.dish-img-wrapper:hover .dish-img-overlay span {
    transform: translateY(0);
}

.dish-card .dish-info {
    padding: 14px 12px;
}

.dish-card .dish-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.dish-card .dish-rating {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--gold-primary);
}

.dish-card .dish-chef {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--white-dim);
    margin-bottom: 6px;
}

.dish-card-lg {
    width: 280px;
}

.dish-guess-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(240,192,64,0.15), rgba(240,192,64,0.05));
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    color: var(--gold-primary);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(240, 192, 64, 0.1);
}

.dish-guess-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.chef-rank-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--gold-primary);
    margin-bottom: 8px;
    text-align: center;
}

.chef-name-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.chef-sub-dishes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.chef-sub-dishes .dish-card {
    width: 200px;
}

.chef-sub-dishes .dish-img-wrapper {
    height: 260px;
}

.slide-chef-first .chef-rank-title {
    font-size: 2.4rem;
    text-shadow: 0 0 30px var(--gold-glow);
}

/* Guessers Modal */

.guess-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.guess-modal-overlay.active {
    display: flex;
}

.guess-modal {
    background: var(--bg-secondary);
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
}

.guess-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    border: none;
    color: var(--white-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.guess-modal h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.guess-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.guess-badge {
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
}

.heroes-tier {
    margin-bottom: 20px;
    text-align: center;
}

.heroes-tier-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding: 6px 16px;
    border-radius: 10px;
    display: inline-block;
}

.heroes-names {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* ============================================
           SECRET DISH CARD CENTERING
           ============================================ */

#secretDishCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ============================================
           IMAGE LIGHTBOX (Fullscreen)
           ============================================ */

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

/* ============================================
           OUTRO & FEEDBACK FORM
           ============================================ */

.feedback-container {
    background: var(--bg-card);
    border: 1px solid rgba(240, 192, 64, 0.15);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    backdrop-filter: blur(10px);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-input, .feedback-textarea {
    width: 100%;
    background: rgba(10, 10, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.feedback-textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-input:focus, .feedback-textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(240, 192, 64, 0.2);
}

.feedback-input::placeholder, .feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-submit-feedback {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 192, 64, 0.3);
}

.feedback-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

.feedback-success i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 16px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-archive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white-muted);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-archive:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
           UTILITY & FIX CLASSES
           ============================================ */

.stat-number {
    white-space: nowrap;
}

/* ============================================
           RESPONSIVE
           ============================================ */

@media (max-width: 640px) {
    .audio-controls {
        top: 12px;
        left: 12px;
        padding: 8px 14px;
        gap: 8px;
    }

    .audio-controls .vol-slider {
        width: 60px;
    }

    .slide {
        padding: 10vh 16px 160px;
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .stat-card {
        padding: 24px 10px;
        width: 45%;
        min-width: 140px;
        max-width: none;
    }

    .stat-card .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .stat-card .stat-number {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .stat-card .stat-label {
        font-size: 0.95rem;
    }

    .stat-card .stat-plus {
        font-size: 1.1rem;
    }

    .journey-item {
        padding: 16px 18px;
        gap: 14px;
    }

    .slide-nav button {
        padding: 10px 28px;
        font-size: 0.9rem;
        min-width: 110px;
    }

    .progress-dots-wrapper {
        max-width: 220px;
        bottom: 130px;
    }

    .extremes-grid {
        gap: 16px;
    }

    .extreme-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 24px 20px;
    }

    .extreme-card .ext-emoji {
        font-size: 2rem;
    }

    .extreme-card .ext-time {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .deadly-cards {
        gap: 14px;
    }

    .deadly-card {
        min-width: 0;
        width: 45%;
        padding: 20px 16px;
    }

    .lb-table thead th, .lb-table tbody td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }

    .slide-leaderboard .lb-top-note {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .slide-uhc-intro .uhc-intro-text {
        font-size: 1.25rem;
    }

    .flip-card {
        width: 160px;
        height: 260px;
    }

    .slide-mb-fastest .flip-card {
        width: 200px;
        height: 320px;
    }

    .flip-cards-container {
        gap: 12px;
    }

    .podium-bar {
        width: 70px;
    }

    .podium-item .p-name {
        font-size: 0.75rem;
    }

    .lb-table-wrapper {
        max-height: 40vh !important;
        min-height: 150px;
    }
}

/* ---------- زر تبديل اللغة (الصفحة بلا شريط علوي) ---------- */

.recap-lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;   /* ثابت أعلى اليمين في اللغتين، بعيدًا عن أزرار الصوت */
    z-index: 1001;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid var(--gold-primary, #f0c040);
    color: var(--white, #f5f5f5);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.recap-lang-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.06);
}

html[lang="en"] .recap-lang-toggle {
    font-family: var(--font-body);
    font-size: 1rem;
}
