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

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

:root {
    --neon-gold: #FFD700;
    --neon-gold-dim: #C5A200;
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFE44D 50%, #C5A200 100%);
}

[data-theme="light"] {
    --glow-cyan-intense: 0 4px 30px rgba(0, 168, 204, 0.3);
}

/* Islamic geometric BG */

.bg-islamic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.09;
}

.bg-grid {
    opacity: 0.02;
    background-size: 60px 60px;
}

.bg-glow::before, .bg-glow::after {
    width: 500px;
    height: 500px;
    opacity: 0.12;
}

.bg-glow::after {
    background: var(--neon-gold);
}

.loader-text {
    letter-spacing: normal;
    word-spacing: normal;
}

/* PAGE HERO */

.page-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.ramadan-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

.page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* YEAR TABS */

.year-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
}

.year-tab {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-accent);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.year-tab.active {
    background: var(--gradient-neon);
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: var(--glow-cyan);
}

.year-tab.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.year-tab.coming-soon::after {
    content: 'قريباً';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.65rem;
    background: var(--neon-gold);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* YEAR PANES */

.year-pane {
    display: none;
}

.year-pane.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* RECAP BUTTON 2026 */

.recap-btn-2026 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 18px 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-xl);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.recap-btn-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.recap-btn-2026:hover::before {
    transform: translateX(100%);
}

.recap-btn-2026:hover {
    border-color: var(--neon-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.recap-btn-icon {
    font-size: 1.8rem;
    animation: gentleFloat 2s ease-in-out infinite;
}

.recap-btn-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-gold);
    letter-spacing: normal;
}

.recap-btn-arrow {
    font-size: 1.4rem;
    color: var(--neon-gold);
    transition: transform 0.3s ease;
}

.recap-btn-2026:hover .recap-btn-arrow {
    transform: translateX(-6px);
}

/* 2026 PODIUM ENHANCED */

.podium-2026 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.podium-2026 .podium-card {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.podium-2026 .podium-card.gold {
    height: 250px;
    overflow: hidden;
}

.podium-2026 .podium-card.silver {
    height: 230px;
    overflow: hidden;
}

.podium-2026 .podium-card.bronze {
    height: 210px;
    overflow: hidden;
}

.podium-2026 .podium-card .podium-grouped-names {
    gap: 1px;
}

.podium-2026 .podium-card .podium-name {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0;
    word-break: break-word;
}

.podium-shared-badge {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-accent);
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 6px;
    display: inline-block;
}

/* TOGGLE DETAILS BTN for 2026 */

.toggle-details-btn {
    display: block;
    margin: 20px auto;
    padding: 8px 24px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: normal;
}

.toggle-details-btn:hover {
    background: rgba(0, 212, 255, 0.15);
}

/* FZ 2026 TABLE */

.fz-table-wrapper {
    width: 100%;
    max-width: 100%;
    max-height: 450px;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 10, 26, 0.4);
    border: 1px solid rgba(240, 192, 64, 0.15);
    border-radius: 12px;
    margin-bottom: 8px;
}

[data-theme="light"] .fz-table-wrapper {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 168, 204, 0.2);
}

.fz-table-wrapper table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.fz-table-wrapper th {
    padding: 14px;
    text-align: center !important;
    white-space: normal;
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0a0a1a !important;
    border-bottom: 2px solid var(--border-accent);
}

[data-theme="light"] .fz-table-wrapper th {
    background: #e0e0e0 !important;
}

.fz-table-wrapper td {
    padding: 14px;
    text-align: center !important;
    white-space: normal;
}

.scroll-hint {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: block;
}

/* Grouped podium: multiple names inside a single card */

.podium-grouped-names {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.podium-grouped-names .podium-name {
    margin-bottom: 0;
}

/* 2026 PRIZES GRID */

.prizes-grid-2026 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.prize-card-2026 {
    text-align: center;
    padding: 22px 12px;
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.prize-card-2026.p-1 {
    border-color: rgba(255, 215, 0, 0.3);
}

.prize-card-2026.p-1::before {
    background: linear-gradient(90deg, #C5A200, #FFD700, #FFE44D, #FFD700, #C5A200);
}

.prize-card-2026.p-1:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.12);
}

.prize-card-2026.p-2 {
    border-color: rgba(192, 192, 192, 0.3);
}

.prize-card-2026.p-2::before {
    background: linear-gradient(90deg, #A0A0A0, #C0C0C0, #E0E0E0, #C0C0C0, #A0A0A0);
}

.prize-card-2026.p-3 {
    border-color: rgba(205, 127, 50, 0.3);
}

.prize-card-2026.p-3::before {
    background: linear-gradient(90deg, #A0612B, #CD7F32, #E8A84C, #CD7F32, #A0612B);
}

.prize-card-2026.p-4, .prize-card-2026.p-5 {
    border-color: rgba(0, 212, 255, 0.15);
}

.prize-card-2026.p-4::before, .prize-card-2026.p-5::before {
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.prize-card-2026.p-6 {
    border-color: rgba(0, 212, 255, 0.08);
}

.prize-card-2026.p-6::before {
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    opacity: 0.3;
}

.prize-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.prize-rank {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.prize-card-2026.p-1 .prize-rank {
    color: #FFD700;
}

.prize-card-2026.p-2 .prize-rank {
    color: #C0C0C0;
}

.prize-card-2026.p-3 .prize-rank {
    color: #CD7F32;
}

.prize-value {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

/* TOP WATCHER NOTE */

.top-watcher-note {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 14px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.top-watcher-note strong {
    color: var(--neon-cyan);
}

/* SECTION SUBTITLE */

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin: 40px 0 24px;
}

.section-subtitle .accent {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

/* SANAA 2026 CHEF SHOWCASE */

.sn-chefs-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.chef-showcase-box {
    text-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-accent);
    padding: 28px 24px 24px;
    transition: all 0.3s ease;
}

.chef-showcase-box:hover {
    box-shadow: 0 12px 40px rgba(0,212,255,0.08);
}

.chef-showcase-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-neon);
}

.chef-showcase-box.sn-rank-1 {
    border-color: rgba(255,215,0,0.35);
}

.chef-showcase-box.sn-rank-1::before {
    background: linear-gradient(90deg, #C5A200, #FFD700, #FFE44D, #FFD700, #C5A200);
}

.chef-showcase-box.sn-rank-2 {
    border-color: rgba(192,192,192,0.3);
}

.chef-showcase-box.sn-rank-2::before {
    background: linear-gradient(90deg, #A0A0A0, #C0C0C0, #E0E0E0, #C0C0C0, #A0A0A0);
}

.chef-showcase-box.sn-rank-3 {
    border-color: rgba(205,127,50,0.3);
}

.chef-showcase-box.sn-rank-3::before {
    background: linear-gradient(90deg, #A0612B, #CD7F32, #E8A84C, #CD7F32, #A0612B);
}

.chef-showcase-box.sn-spitfire {
    border-color: rgba(0,212,255,0.3);
}

.chef-showcase-box.sn-spitfire::before {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-cyan-bright), var(--teal-accent));
}

.chef-showcase-header {
    margin-bottom: 20px;
}

.chef-showcase-rank {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 6px;
}

.sn-rank-1 .chef-showcase-rank {
    color: #FFD700;
}

.sn-rank-2 .chef-showcase-rank {
    color: #C0C0C0;
}

.sn-rank-3 .chef-showcase-rank {
    color: #CD7F32;
}

.chef-showcase-name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.chef-showcase-pts {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

/* Main Dish Card */

.main-dish-card {
    max-width: 350px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-dish-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,212,255,0.1);
}

.main-dish-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    background: var(--bg-card);
}

.main-dish-card .dish-ph {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    font-size: 4rem;
}

.main-dish-card .dish-card-body {
    padding: 16px;
}

.main-dish-card .dish-card-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dish-card-rating {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--neon-gold);
    margin-bottom: 10px;
}

.dish-card-rating small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dish-card-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sn-dish-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-accent);
    background: rgba(0,212,255,0.06);
    color: var(--neon-cyan);
    transition: all 0.2s ease;
}

.sn-dish-btn:hover {
    background: rgba(0,212,255,0.15);
}

.sn-dish-btn.sn-btn-guess {
    border-color: rgba(255,215,0,0.25);
    color: var(--neon-gold);
    background: rgba(255,215,0,0.06);
}

.sn-dish-btn.sn-btn-guess:hover {
    background: rgba(255,215,0,0.15);
}

/* Other Dishes */

.other-dishes-label {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 16px 0 12px;
}

.other-dishes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.sub-dish-card {
    max-width: 220px;
    width: 100%;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.sub-dish-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.08);
}

.sub-dish-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    background: var(--bg-tertiary);
}

.sub-dish-card .dish-ph {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    font-size: 2.5rem;
}

.sub-dish-card .dish-card-body {
    padding: 12px;
}

.sub-dish-card .dish-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sub-dish-card .dish-card-rating {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.sub-dish-card .dish-card-btns {
    gap: 6px;
}

.sub-dish-card .sn-dish-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
}

.sn-guesser-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0,212,255,0.08);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .main-dish-card {
        max-width: 100%;
    }

    .sub-dish-card {
        max-width: 48%;
    }
}

/* SANAA 2026 DISHES GRID */

.dishes-grid-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.dish-card-2026 {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dish-card-2026:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.dish-card-2026 img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: var(--bg-tertiary);
}

.dish-card-2026 .dish-info {
    padding: 14px;
    text-align: center;
}

.dish-card-2026 .dish-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dish-card-2026 .dish-chef {
    font-size: 0.85rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.dish-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    font-size: 3rem;
}

/* FAWAZEER 2026 PREV QUESTIONS GRID */

.fz-prev-grid-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.fz-hist-card-2026 {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(0, 139, 139, 0.04) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.fz-hist-card-2026:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
}

.fz-hist-card-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
}

.fz-hist-card-2026 .fz-hist-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.fz-hist-card-2026 .fz-hist-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* FAWAZEER QUESTION CARD */

.fz-q-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(0, 139, 139, 0.03) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.fz-q-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
}

.fz-q-question {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.8;
}

.fz-q-answer-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 6px;
}

.fz-q-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.fz-exp-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    border: 1px solid var(--border-accent);
    object-fit: contain;
    display: block;
}

.fz-q-winners {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fz-winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
}

.fz-winner-badge.pts-3 {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.fz-winner-badge.pts-2 {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--neon-cyan);
}

.fz-winner-badge.pts-1 {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.fz-badge-pts {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
}

/* FAWAZEER MODAL 2026 */

.fz-modal-overlay-2026 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fz-modal-overlay-2026.active {
    display: flex;
    animation: modalIn 0.3s ease-out;
}

.fz-modal-2026 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
}

.fz-modal-close-2026 {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    background: rgba(0,0,0,0.4);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    font-size: 1.2rem;
}

.fz-modal-close-2026:hover {
    background: rgba(255,0,0,0.2);
    border-color: #f87171;
}

.fz-hist-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
}

.fz-hist-nav-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    background: rgba(0,212,255,0.06);
    color: var(--neon-cyan);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.fz-hist-nav-btn:hover {
    background: rgba(0,212,255,0.15);
}

.fz-hist-nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* MYSTERY BOX 2026 FLIP CARDS */

.flip-grid-2026 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.flip-card-wrapper-2026 {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
}

.flip-card-inner-2026 {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

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

.flip-front-2026, .flip-back-2026 {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    overflow: hidden;
    border: 1px solid var(--border-accent);
}

.flip-front-2026 {
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-front-img-2026 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-tertiary);
}

.flip-front-overlay-2026 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    text-align: center;
}

.flip-round-2026 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--border-accent);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.flip-cta-2026 {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-weight: 600;
    animation: pulse-opacity 2s ease-in-out infinite;
}

.flip-back-2026 {
    transform: rotateY(180deg);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.flip-back-img-2026 {
    width: 100%;
    flex: 1;
    min-height: 50%;
    max-height: 65%;
    object-fit: contain;
    background: var(--bg-tertiary);
}

.flip-back-info-2026 {
    padding: 10px 14px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
}

.flip-item-name-2026 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.flip-winner-2026 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-gold);
}

.flip-owner-2026 {
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-top: 4px;
    font-weight: 600;
}

.flip-time-2026 {
    font-size: 0.85rem;
    color: var(--neon-cyan);
    font-weight: 700;
    font-family: var(--font-body);
}

/* SANAA 2026 MODAL */

.sn-modal-overlay-2026 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sn-modal-overlay-2026.active {
    display: flex;
    animation: modalIn 0.3s ease-out;
}

.sn-modal-2026 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.sn-modal-close-2026 {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    background: rgba(0,0,0,0.6);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    font-size: 1.2rem;
}

.sn-modal-close-2026:hover {
    background: rgba(255,0,0,0.2);
    border-color: #f87171;
}

.sn-modal-img-2026 {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--bg-tertiary);
}

.sn-modal-img-ph-2026 {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    font-size: 5rem;
}

.sn-modal-body-2026 {
    padding: 24px;
}

.sn-modal-dish-2026 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.sn-modal-chef-2026 {
    font-size: 0.95rem;
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 20px;
}

.sn-modal-section-title-2026 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sn-modal-text-2026 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
    white-space: pre-wrap;
}

/* RESPONSIVE for 2026 */

@media (max-width: 768px) {
    .prizes-grid-2026 {
        grid-template-columns: repeat(2, 1fr);
    }

    .podium-2026 {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .podium-2026 .podium-card {
        width: 100%;
        max-width: 280px;
    }

    .podium-2026 .podium-card.gold {
        order: 1 !important;
    }

    .podium-2026 .podium-card.silver {
        order: 2 !important;
    }

    .podium-2026 .podium-card.bronze {
        order: 3 !important;
    }

    .flip-grid-2026 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .flip-card-wrapper-2026 {
        height: 340px;
    }

    .recap-btn-2026 {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .prizes-grid-2026 {
        grid-template-columns: 1fr;
    }

    .flip-card-wrapper-2026 {
        height: 300px;
    }
}

/* HUB CARDS */

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.hub-card {
    position: relative;
    padding: 40px 24px 30px;
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(0, 212, 255, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hub-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.hub-card:hover::before {
    transform: scaleX(1);
}

.hub-card:hover::after {
    opacity: 1;
}

.hub-card:hover .hub-icon {
    transform: scale(1.15);
}

.hub-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.hub-card-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.hub-card-desc {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.hub-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--neon-cyan);
    margin-top: 16px;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.hub-card:hover .hub-card-arrow {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

/* CONTENT SECTIONS */

.content-section {
    display: none;
    padding: 100px 20px 60px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.content-section.active {
    display: block;
    animation: sectionSlideIn 0.5s ease-out;
}

@keyframes sectionSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    letter-spacing: normal;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-neon);
    border-radius: 2px;
}

.section-title .accent {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
    background: transparent;
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 10px 24px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 30px;
}

.back-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-cyan);
    transform: translateX(5px);
}

.section-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-accent);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.section-loading span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.error-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.error-msg span {
    color: #f87171;
}

/* PODIUM */

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 50px;
    padding: 0 10px;
}

.podium-card {
    flex: 0 0 auto;
    text-align: center;
    padding: 24px 20px 20px;
    border-radius: var(--radius-lg);
    background: rgba(21, 21, 21, 0.9);
    border: 1px solid var(--border-accent);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

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

.podium-card.gold {
    width: 200px;
    order: 2;
}

.podium-card.gold::before {
    background: linear-gradient(90deg, #FFD700, #FFE44D, #C5A200);
}

.podium-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
}

.podium-card.silver {
    width: 200px;
    order: 1;
}

.podium-card.silver::before {
    background: linear-gradient(90deg, #C0C0C0, #E0E0E0, #A0A0A0);
}

.podium-card.silver {
    border-color: rgba(192, 192, 192, 0.3);
}

.podium-card.bronze {
    width: 200px;
    order: 3;
}

.podium-card.bronze::before {
    background: linear-gradient(90deg, #CD7F32, #E8A84C, #A0612B);
}

.podium-card.bronze {
    border-color: rgba(205, 127, 50, 0.3);
}

.podium-rank {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.podium-card.gold .podium-rank {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.podium-card.silver .podium-rank {
    color: #C0C0C0;
}

.podium-card.bronze .podium-rank {
    color: #CD7F32;
}

.podium-crown {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.podium-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.podium-points {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

/* LEADERBOARD TABLE */

.lb-table-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(21, 21, 21, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-table th {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: normal;
    padding: 14px 20px;
    text-align: right;
    background: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid var(--border-accent);
}

.lb-table td {
    text-align: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.lb-table tr:last-child td {
    border-bottom: none;
}

.lb-table tr:hover td {
    background: rgba(0, 212, 255, 0.03);
}

.lb-rank {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-muted);
    width: 50px;
}

.lb-name {
    font-weight: 600;
    color: var(--text-primary);
}

.lb-points {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--neon-cyan);
}

/* CHEF CARDS - Full Width Luxury Block */

.chef-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* تنسيق عنوان ترتيب الطباخين الجديد */

.chef-sub-header {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 30px auto 40px;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

/* الخط النيون تحت العنوان */

.chef-sub-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-neon);
    border-radius: 2px;
}

/* تلوين الكلمة الثانية بالنيون السماوي */

.chef-sub-header .highlight {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.chef-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

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

/* Gold - Rank 1 */

.chef-card.chef-gold {
    background: linear-gradient(145deg, rgba(40, 30, 10, 0.95) 0%, rgba(25, 20, 5, 0.98) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.08), inset 0 1px 0 rgba(255, 215, 0, 0.15);
}

.chef-card.chef-gold:hover {
    box-shadow: 0 12px 50px rgba(255, 215, 0, 0.18), 0 0 40px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
}

.chef-card.chef-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C5A200, #FFD700, #FFE44D, #FFD700, #C5A200);
}

.chef-card.chef-gold .chef-rank-text {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.chef-card.chef-gold .chef-name {
    color: #FFE8A0;
}

/* Silver - Rank 2 */

.chef-card.chef-silver {
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.95) 0%, rgba(20, 20, 25, 0.98) 100%);
    border: 1.5px solid rgba(192, 192, 192, 0.4);
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.06), inset 0 1px 0 rgba(192, 192, 192, 0.12);
}

.chef-card.chef-silver:hover {
    box-shadow: 0 12px 50px rgba(192, 192, 192, 0.15), 0 0 35px rgba(192, 192, 192, 0.08);
    border-color: rgba(192, 192, 192, 0.55);
}

.chef-card.chef-silver::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A0A0A0, #C0C0C0, #E0E0E0, #C0C0C0, #A0A0A0);
}

.chef-card.chef-silver .chef-rank-text {
    color: #D0D0D0;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

/* Bronze - Rank 3 */

.chef-card.chef-bronze {
    background: linear-gradient(145deg, rgba(40, 25, 15, 0.95) 0%, rgba(25, 15, 8, 0.98) 100%);
    border: 1.5px solid rgba(205, 127, 50, 0.4);
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.06), inset 0 1px 0 rgba(205, 127, 50, 0.12);
}

.chef-card.chef-bronze:hover {
    box-shadow: 0 12px 50px rgba(205, 127, 50, 0.15), 0 0 35px rgba(205, 127, 50, 0.08);
    border-color: rgba(205, 127, 50, 0.55);
}

.chef-card.chef-bronze::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A0612B, #CD7F32, #E8A84C, #CD7F32, #A0612B);
}

.chef-card.chef-bronze .chef-rank-text {
    color: #E8A84C;
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.3);
}

/* Others - Glassmorphism */

.chef-card.chef-other {
    background: linear-gradient(145deg, rgba(15, 25, 30, 0.9) 0%, rgba(10, 18, 22, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chef-card.chef-other:hover {
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.1);
}

.chef-card.chef-other::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.chef-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 24px 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.chef-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chef-rank-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: normal;
}

.chef-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: normal;
}

.chef-score {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-top: 6px;
    letter-spacing: normal;
}

.chef-score span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.chef-rank-badge {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neon-gold);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: normal;
}

.dish-ribbon {
    display: flex;
    gap: 14px;
    padding: 10px 24px 24px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--teal-accent) transparent;
}

.dish-ribbon::-webkit-scrollbar {
    height: 6px;
}

.dish-ribbon::-webkit-scrollbar-thumb {
    background: var(--teal-accent);
    border-radius: 3px;
}

.dish-thumb {
    flex: 0 0 auto;
    width: 160px;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.dish-thumb:hover {
    border-color: var(--neon-cyan);
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.dish-thumb img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    display: block;
    background: var(--bg-tertiary);
}

.dish-thumb-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 8px;
    text-align: center;
    background: rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
}

.modal-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--bg-tertiary);
}

.modal-body {
    padding: 24px;
}

.modal-dish-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-section-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: normal;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.modal-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-wrap;
}

/* FLIP CARDS */

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.flip-card-wrapper {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
}

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

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

.flip-front, .flip-back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    overflow: hidden;
    border: 1px solid var(--border-accent);
}

.flip-front {
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-front-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-tertiary);
}

.flip-front-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    text-align: center;
}

.flip-round {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--border-accent);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.flip-cta {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-weight: 600;
    animation: pulse-opacity 2s ease-in-out infinite;
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.flip-back {
    transform: rotateY(180deg);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.flip-back-img {
    width: 100%;
    flex: 1;
    min-height: 50%;
    max-height: 65%;
    object-fit: contain;
    background: var(--bg-tertiary);
}

.flip-back-info {
    padding: 10px 14px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.flip-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.flip-winner {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-gold);
}

.flip-owner {
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-top: 4px;
    font-weight: 600;
}

/* GUESSERS LEADERBOARD */

.guessers-section {
    max-width: 500px;
    margin: 0 auto;
}

.guessers-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-gold);
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.guessers-title::before, .guessers-title::after {
    content: '';
    flex: 0 0 40px;
    height: 1px;
    background: rgba(255, 215, 0, 0.3);
}

.guesser-list {
    list-style: none;
}

.guesser-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    transition: background 0.2s ease;
}

.guesser-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.guesser-rank {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 30px;
    text-align: center;
}

.guesser-item:nth-child(1) .guesser-rank {
    color: #FFD700;
}

.guesser-item:nth-child(2) .guesser-rank {
    color: #C0C0C0;
}

.guesser-item:nth-child(3) .guesser-rank {
    color: #CD7F32;
}

.guesser-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
}

.guesser-count {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 2rem;
}

/* SECTION DESCRIPTION */

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 16px auto 0;
    text-align: center;
}

/* HINT BOX */

.hint-box {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-lg);
    color: var(--neon-gold);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.7;
}

/* PODIUM SUB-POINTS */

.podium-points-sub {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neon-gold);
    margin-top: 4px;
    opacity: 0.85;
}

/* PRIZE BADGE */

.chef-prize-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
}

.chef-prize-badge.prize-1 {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.chef-prize-badge.prize-2 {
    background: rgba(192, 192, 192, 0.12);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: #C0C0C0;
}

.chef-prize-badge.prize-3 {
    background: rgba(205, 127, 50, 0.12);
    border: 1px solid rgba(205, 127, 50, 0.3);
    color: #CD7F32;
}

.chef-prize-badge.prize-other {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-accent);
    color: var(--neon-cyan);
}

/* FOOTER */

.footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .hub-card {
        padding: 30px 20px 24px;
    }

    .hub-icon {
        font-size: 2.8rem;
    }

    .page-hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }

    .content-section {
        padding: 90px 15px 40px;
    }

    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .podium-card.gold, .podium-card.silver, .podium-card.bronze {
        width: 100%;
        max-width: 280px;
        order: unset;
    }

    .chef-grid {
        grid-template-columns: 1fr;
    }

    .flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .flip-card-wrapper {
        height: 340px;
    }

    .modal-content {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .year-tabs {
        gap: 8px;
    }

    .year-tab {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .flip-card-wrapper {
        height: 300px;
    }

    .lb-table th, .lb-table td {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

.lb-table th, .lb-table thead th {
    text-align: center !important;
}

/* ---------- اتجاه الأسهم في الوضع الإنجليزي ---------- */
/* الأسهم مرسومة لاتجاه اليمين-لليسار، فتُقلب أفقيًا عند LTR */

[dir="ltr"] .hub-card-arrow svg,
[dir="ltr"] .back-btn svg,
[dir="ltr"] .fz-hist-nav-btn svg,
[dir="ltr"] .sn-nav-btn svg {
    transform: scaleX(-1);
}
