@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Rajdhani', 'Segoe UI', sans-serif;
    background: #080810;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

/* ========================
   INTRO
======================== */
#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
}
#intro-video { width: 100%; height: 100%; object-fit: cover; }
.intro-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.sound-btn {
    position: absolute; bottom: 30px; left: 30px;
    background: rgba(0,0,0,0.6);
    color: white; border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px; border-radius: 40px;
    cursor: pointer; z-index: 2;
    display: flex; gap: 10px; align-items: center;
    font-family: 'Poppins', sans-serif; font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}
.sound-btn:hover { background: #e50914; }
.skip-btn {
    position: absolute; bottom: 30px; right: 30px;
    background: #e50914; color: white;
    border: none; padding: 10px 28px;
    border-radius: 4px; cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700; font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s; z-index: 2;
}
.skip-btn:hover { background: #ff1a1a; transform: scale(1.04); }
.video-credits {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 16px;
    border-radius: 30px;
}
.video-credit-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}
.controller-indicator {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(0,255,0,0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

/* ========================
   MODAL DE VÍDEO (StoryMap)
======================== */
#video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
}
.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
}
.video-modal-container {
    position: relative;
    z-index: 20001;
    background: linear-gradient(145deg, #0f0f1a, #1a1a2e);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    border: 1px solid #e50914;
    box-shadow: 0 0 40px rgba(229,9,20,0.3);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(229,9,20,0.3);
}
.video-modal-header h3 {
    color: white;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    margin: 0;
    font-size: 1rem;
}
.video-modal-header h3 i { color: #e50914; margin-right: 8px; }
.close-video-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s;
}
.close-video-btn:hover { color: #e50914; }
.video-wrapper {
    padding: 15px;
    background: #000;
}
#trailer-video {
    width: 100%;
    max-height: 55vh;
    border-radius: 12px;
    outline: none;
}
.video-modal-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.video-control-btn {
    background: rgba(229,9,20,0.2);
    border: 1px solid rgba(229,9,20,0.5);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}
.video-control-btn:hover {
    background: #e50914;
    border-color: #e50914;
}
.video-control-btn.primary {
    background: #e50914;
    border-color: #e50914;
}
.video-control-btn.primary:hover {
    background: #b20710;
    transform: scale(1.02);
}

/* ========================
   MENU PRINCIPAL
======================== */
#main-menu {
    position: fixed; inset: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    background: #0c0c14;
    overflow: hidden;
}
#main-menu::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}
.gt-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 30px;
    height: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.4);
    flex-shrink: 0;
}
.gt-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem; font-weight: 900;
    letter-spacing: 3px; color: #fff;
}
.gt-logo span { color: #ccc; font-weight: 400; }
.gt-logo em { color: #e50914; font-style: normal; margin-left: 4px; }
.topbar-credits { display: flex; align-items: baseline; gap: 5px; }
.credits-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: #ffd700;
}
.credits-label { font-size: 0.7rem; color: #888; font-family: 'Poppins', sans-serif; }
.topbar-right { display: flex; align-items: center; gap: 15px; }
.car-chip { text-align: right; }
.car-chip-name { font-size: 0.9rem; font-weight: 700; color: #fff; font-family: 'Poppins', sans-serif; }
.car-chip-specs { font-size: 0.65rem; color: #e50914; font-family: 'Poppins', sans-serif; }
.pp-chip {
    background: rgba(229,9,20,0.1);
    border: 1px solid rgba(229,9,20,0.3);
    padding: 4px 10px; border-radius: 4px;
    font-size: 0.7rem; color: #fff;
    font-family: 'Poppins', sans-serif;
}
.pp-chip strong { color: #00aaff; }

.menu-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    overflow: hidden;
}
.menu-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.menu-car-img {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.car-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.menu-left::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 50%, #0c0c14 100%),
                linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.car-glow {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 180px;
    background: radial-gradient(ellipse at 50% 100%, rgba(229,9,20,0.15), transparent 70%);
}
.menu-tagline {
    position: relative; z-index: 2;
    padding: 0 30px 30px;
}
.tagline-sub {
    font-size: 0.6rem; letter-spacing: 4px;
    color: #e50914; margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.tagline-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem; font-weight: 900;
    line-height: 1.2; color: #fff;
    margin-bottom: 6px;
}
.tagline-main span { color: #e50914; }
.tagline-desc {
    font-size: 0.7rem; letter-spacing: 3px;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.menu-right {
    background: rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 20px 0 15px;
}
.menu-list { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* ANIMAÇÃO VERMELHA PULSANTE - GARANTIDA */
@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(229,9,20,0.4); }
    50% { box-shadow: 0 0 0 5px rgba(229,9,20,0); }
    100% { box-shadow: 0 0 0 0 rgba(229,9,20,0); }
}

.menu-item, .menu-item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}
.menu-item::after, .menu-item-link::after {
    content: '';
    position: absolute; bottom: 0; left: 25px; right: 25px;
    height: 1px;
    background: rgba(255,255,255,0.04);
}
.menu-item:hover, .menu-item-link:hover,
.menu-item.active, .menu-item-link.active {
    background: rgba(229,9,20,0.15);
    border-left-color: #e50914;
    animation: pulseRed 1.5s infinite;
}
.menu-item.locked, .menu-item-link.locked { opacity: 0.4; cursor: not-allowed; }
.menu-item-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #e50914;
    flex-shrink: 0;
}
.menu-item-body { flex: 1; }
.menu-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #ccc;
}
.menu-item:hover .menu-item-title, .menu-item-link:hover .menu-item-title { color: #fff; }
.menu-item-sub {
    font-size: 0.7rem; color: #555;
    margin-top: 2px;
    font-family: 'Poppins', sans-serif;
}
.badge-pp {
    font-size: 0.7rem; color: #00aaff;
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.2);
    padding: 3px 8px; border-radius: 3px;
    font-family: 'Poppins', sans-serif;
}
.confirm-hint {
    display: flex; gap: 15px;
    padding: 12px 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.btn-hint { font-size: 0.7rem; color: #555; font-family: 'Poppins', sans-serif; }
.btn-confirm { color: #00aaff; }

.gt-bottombar {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 30px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.bottom-daily { display: flex; align-items: center; gap: 8px; }
.bottom-daily i { color: #e50914; font-size: 1.1rem; }
.bottom-label { font-size: 0.65rem; color: #555; font-family: 'Poppins', sans-serif; }
.bottom-value { font-size: 0.85rem; font-weight: 700; color: #fff; font-family: 'Poppins', sans-serif; }
.bottom-level { display: flex; align-items: center; gap: 10px; }
.level-track {
    width: 120px; height: 3px;
    background: #222; border-radius: 2px; overflow: hidden;
}
.level-bar { width: 74%; height: 100%; background: #e50914; }
.bottom-live {
    display: flex; align-items: center; gap: 6px;
    background: rgba(229,9,20,0.15);
    border: 1px solid rgba(229,9,20,0.3);
    padding: 4px 12px; border-radius: 3px;
    font-size: 0.7rem; font-weight: 700;
    font-family: 'Poppins', sans-serif;
}
.live-dot {
    width: 7px; height: 7px;
    background: #e50914; border-radius: 50%;
    animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ========================
   STORYMAP
======================== */
#storymap-container {
    display: none;
    position: fixed; inset: 0;
    z-index: 10001;
    background: #080810;
}
#gt-hud {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 12px 25px;
    display: flex; align-items: center; justify-content: space-between;
    pointer-events: none;
}
.hud-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem; font-weight: 900;
    letter-spacing: 2px; color: #fff;
}
.hud-logo span { color: #e50914; }
.scene-counter {
    background: rgba(229,9,20,0.15);
    border: 1px solid rgba(229,9,20,0.4);
    padding: 5px 18px;
    border-radius: 3px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #e50914;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.hud-right { display: flex; align-items: center; gap: 15px; }
.pp-badge {
    background: rgba(0,170,255,0.15);
    border: 1px solid rgba(0,170,255,0.3);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.7rem; color: #00aaff;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.live-pill {
    display: flex; align-items: center; gap: 6px;
    background: rgba(229,9,20,0.2);
    border: 1px solid rgba(229,9,20,0.4);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.7rem; color: #fff;
    font-family: 'Poppins', sans-serif;
}
.live-dot-sm {
    width: 7px; height: 7px;
    background: #e50914; border-radius: 50%;
    animation: blink 1s infinite;
}
#progress-bar {
    position: absolute; top: 55px; left: 0; right: 600px;
    z-index: 998; height: 3px;
    background: rgba(255,255,255,0.04);
}
#progress-fill {
    height: 100%; width: 10%;
    background: linear-gradient(90deg, #e50914, #ff6b35);
    transition: width 0.5s ease;
}
#map {
    position: absolute;
    top: 0; left: 0;
    width: calc(100% - 600px);
    height: 100%;
    z-index: 1;
}
#scene-sidebar {
    position: absolute;
    top: 0; right: 0;
    width: 600px;
    height: 100%;
    z-index: 999;
    background: rgba(8,8,16,0.97);
    border-left: 1px solid rgba(229,9,20,0.15);
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}
.sidebar-header {
    padding: 60px 24px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.sidebar-tag {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: #e50914;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.sidebar-thumb-wrap {
    position: relative;
    flex-shrink: 0;
    height: 180px;
    overflow: hidden;
    background: #000;
}
.sidebar-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}
.thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(8,8,16,0.8) 0%, transparent 50%),
                linear-gradient(180deg, transparent 50%, rgba(8,8,16,0.6) 100%);
}
.image-credits {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.image-credits::before { content: '📸 '; font-size: 0.7rem; margin-right: 4px; }
.sidebar-desc {
    padding: 20px 24px 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    flex: 1;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}
.sidebar-location {
    padding: 0 24px 20px;
    font-size: 1rem;
    color: #00aaff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.sidebar-location::before { content: '📍'; font-size: 0.95rem; }
.sidebar-nav {
    padding: 15px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.snav-btn {
    background: rgba(229,9,20,0.08);
    border: 1px solid rgba(229,9,20,0.25);
    color: #e50914;
    padding: 10px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.2s;
    white-space: nowrap;
}
.snav-btn:hover { background: #e50914; color: #fff; }
.snav-btn:disabled { opacity: 0.2; cursor: default; }
.dots-col {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; flex: 1;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
}
.dot.active { background: #e50914; transform: scale(1.4); }
.sidebar-footer {
    padding: 15px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
    background: rgba(0,0,0,0.3);
}
.sidebar-footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229,9,20,0.3), transparent);
    margin-bottom: 12px;
}
.copyright-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
    text-align: center;
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
}
.back-btn {
    position: fixed; top: 15px; left: 15px;
    background: rgba(0,0,0,0.85);
    color: #ccc; border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer; z-index: 10002;
    display: none; gap: 8px; align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}
.back-btn:hover { background: #e50914; color: #fff; }

/* ========================
   MARCADORES GT7
======================== */
.gt7-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8));
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
    --pin-color: #e50914;
}
.gt7-pin:hover { transform: scale(1.08) translateY(-3px); }
.gt7-pin-body {
    width: 55px; height: 55px;
    background: rgba(8,8,16,0.92);
    border: 2px solid var(--pin-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
}
.gt7-pin-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--pin-color);
}
.gt7-pin-emoji { font-size: 1rem; margin-top: 2px; }
.gt7-pin-body::after {
    content: '';
    position: absolute;
    bottom: -9px; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top: 9px solid var(--pin-color);
}
.gt7-pin-ring {
    position: absolute;
    top: -6px; left: -6px;
    width: 67px; height: 67px;
    border: 1px solid var(--pin-color);
    border-radius: 50%;
    opacity: 0.25;
}
.gt7-pin-label {
    margin-top: 12px;
    background: rgba(8,8,16,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--pin-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ccc;
    white-space: nowrap;
}
.gt7-pin-pulse {
    position: absolute;
    top: -6px; left: -6px;
    width: 67px; height: 67px;
    border: 2px solid var(--pin-color);
    border-radius: 50%;
    opacity: 0;
    animation: pinPulse 3s ease-out infinite;
}
@keyframes pinPulse {
    0% { transform: scale(1); opacity: 0.6; }
    80% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}
.gt7-pin--active .gt7-pin-body {
    background: color-mix(in srgb, var(--pin-color) 20%, rgba(8,8,16,0.95));
    border-width: 2.5px;
    box-shadow: 0 0 15px color-mix(in srgb, var(--pin-color) 50%, transparent);
}
.gt7-pin--active .gt7-pin-ring {
    opacity: 0.6;
    width: 71px; height: 71px;
    top: -8px; left: -8px;
}
.gt7-pin--active .gt7-pin-label { color: #fff; }
.dot.active { background: var(--dot-color, #e50914) !important; }

/* ========================
   LINKS DO MENU (Timeline, Elenco)
======================== */
.menu-item-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    background: rgba(0,0,0,0.5);
    border-left: 3px solid transparent;
    transition: 0.2s;
}
.menu-item-link:hover {
    background: rgba(229,9,20,0.08);
    border-left-color: #e50914;
}
.menu-item-link .menu-item-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #e50914;
}
.menu-item-link .menu-item-body {
    flex: 1;
}
.menu-item-link .menu-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ccc;
}
.menu-item-link .menu-item-sub {
    font-size: 0.7rem;
    color: #555;
    margin-top: 2px;
}
.menu-item-link .badge-pp {
    font-size: 0.7rem;
    color: #00aaff;
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.2);
    padding: 3px 8px;
    border-radius: 3px;
}

/* ========================
   MODAL DE VÍDEO PARA CENAS (MP4 local)
======================== */
#scene-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30000;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
}
.scene-video-container {
    width: 90%;
    max-width: 800px;
    background: #0f0f1a;
    border-radius: 20px;
    border: 1px solid #e50914;
    padding: 20px;
    text-align: center;
}
.scene-video-container video {
    width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    outline: none;
}
.scene-video-container h3 {
    font-family: 'Orbitron', monospace;
    color: #e50914;
    margin-bottom: 15px;
}
.scene-video-close {
    background: #e50914;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
}
.play-video-btn {
    background: #e50914;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 15px;
    display: inline-block;
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(229,9,20,0.3);
}
.play-video-btn:hover {
    background: #b20710;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(229,9,20,0.5);
}
.play-video-btn:active {
    transform: scale(0.98);
}

/* ========================
   CORREÇÃO: FULLSCREEN REAL NO VÍDEO
======================== */
#trailer-video:fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================
   RESPONSIVO
======================== */
@media (max-width: 1100px) {
    .menu-body { grid-template-columns: 1fr; }
    .menu-left { display: none; }
    #map { width: 100%; }
    #scene-sidebar { width: 100%; height: 55vh; top: auto; bottom: 0; border-top: 1px solid rgba(229,9,20,0.2); border-left: none; }
    #progress-bar { right: 0; }
    .sidebar-thumb-wrap { height: 160px; }
    .sidebar-header { padding: 20px 20px 12px; }
    .sidebar-desc { font-size: 0.9rem; }
    .sidebar-location { font-size: 0.9rem; }
    .copyright-text { font-size: 0.6rem; }
}

/* ========================
   PÁGINAS SECUNDÁRIAS (timeline, cast)
======================== */
.timeline-page, .cast-page {
    background: #080810;
    min-height: 100vh;
    padding: 80px 40px 60px;
    font-family: 'Poppins', sans-serif;
}
.timeline-header, .cast-header { text-align: center; margin-bottom: 60px; }
.timeline-header h1, .cast-header h1 { font-family: 'Orbitron', monospace; font-size: 2.5rem; color: #e50914; }
.timeline-header p, .cast-header p { color: #aaa; font-size: 1rem; }
.timeline-container { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline { position: relative; width: 100%; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #e50914, #00aaff);
}
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.timeline-item.active .timeline-content {
    border-color: #e50914;
    background: rgba(0,0,0,0.85);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(229,9,20,0.5);
    animation: pulseRed 1.5s infinite;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #e50914;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px #e50914;
    transition: 0.2s;
}
.timeline-item.active .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    background: #ff4444;
    box-shadow: 0 0 20px #ff4444;
}
.timeline-content {
    width: 45%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(229,9,20,0.3);
    transition: 0.3s;
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; margin-left: 5%; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; margin-right: 5%; }
.timeline-year {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: bold;
    color: #e50914;
    margin-bottom: 10px;
}
.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.nav-btn {
    background: #e50914;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.2s;
}
.nav-btn:hover {
    background: #b20710;
    transform: scale(1.02);
}
.back-link {
    display: inline-block;
    margin-top: 40px;
    background: #e50914;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    text-align: center;
}
.back-link:hover { background: #b20710; }

/* Modais (evento e carta) */
.event-modal, .license-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    z-index: 30000;
    display: none;
    justify-content: center;
    align-items: center;
}
.event-card, .license-card {
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: 24px;
    border: 2px solid #e50914;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    text-align: center;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.event-year {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #e50914;
    margin-bottom: 10px;
}
.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}
.event-full-desc {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}
.close-event, .close-license {
    background: #e50914;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
}
.license-header {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #e50914;
    margin-bottom: 20px;
}
.license-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e50914;
    margin: 0 auto 20px;
}
.license-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}
.license-role {
    font-size: 1rem;
    color: #e50914;
    margin-bottom: 20px;
}
.license-details {
    text-align: left;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}
.license-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.license-detail-label { color: #aaa; }
.license-detail-value { color: #00aaff; font-weight: bold; }

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.cast-card {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(229,9,20,0.3);
    transition: 0.3s;
    text-align: center;
    padding-bottom: 20px;
    cursor: pointer;
}
.cast-card.active {
    border-color: #e50914;
    transform: scale(1.02);
    background: rgba(0,0,0,0.85);
    box-shadow: 0 0 20px rgba(229,9,20,0.5);
    animation: pulseRed 1.5s infinite;
}
.cast-card:hover {
    transform: translateY(-8px);
    border-color: #e50914;
}
.cast-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #1a1a2e;
}
.cast-info { padding: 20px; }
.actor-name { font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 5px; }
.character-name { font-size: 1rem; color: #e50914; font-weight: 600; }