        :root {
            --gold: #d4a574;
            --gold-light: #e8c9a0;
            --navy: #0a1628;
            --navy-light: #152238;
            --cream: #f5f0e8;
            --coral: #e07a5f;
        }

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

        body {
            font-family: 'DM Sans', sans-serif;
            background: radial-gradient(ellipse at center, #1a2a4a 0%, var(--navy) 70%);
            color: var(--cream);
            min-height: 100vh;
            min-height: -webkit-fill-available; /* iOS Safari viewport fix */
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight globally */
        }
        
        /* iOS height fix */
        html {
            height: -webkit-fill-available;
        }

        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            background: #0a1628; /* Match WebGL clear color to prevent flash */
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 2rem 3rem;
            background: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
            pointer-events: none;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .header a {
            pointer-events: auto;
        }

        .logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-shadow: 0 0 8px rgba(0, 0, 0, 1), 0 0 16px rgba(0, 0, 0, 0.9), 0 0 32px rgba(10, 22, 40, 0.8);
            color: var(--gold);
        }

        .logo span {
            color: var(--gold);
        }

        .logo .num {
            font-size: 1.3em;
            color: var(--gold);
        }

        .logo .word {
            font-size: 0.9em;
            color: var(--gold);
        }

        .tagline {
            font-size: 0.7rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: rgba(245, 240, 232, 0.4);
            margin-top: 0.25rem;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        }

        .center-name {
            position: fixed;
            top: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            pointer-events: auto;
        }

        .center-name a {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            font-weight: 300;
            color: var(--cream);
            text-decoration: none;
            letter-spacing: 0.1em;
            transition: opacity 0.3s ease;
            text-shadow: 0 0 8px rgba(0, 0, 0, 1), 0 0 16px rgba(0, 0, 0, 0.9), 0 0 32px rgba(10, 22, 40, 0.8);
        }

        .center-name a span {
            color: var(--gold);
        }

        .center-name a:hover {
            opacity: 0.8;
        }

        /* Instructions */
        .instructions {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            text-align: center;
            pointer-events: none;
        }

        .instructions p {
            font-size: 0.8rem;
            color: rgba(245, 240, 232, 0.5);
            letter-spacing: 0.1em;
        }

        /* Location tooltip - anchored below icon */
        .tooltip {
            position: fixed;
            z-index: 200;
            background: linear-gradient(135deg, 
                rgba(30, 80, 140, 0.92), 
                rgba(20, 60, 120, 0.88));
            backdrop-filter: blur(20px);
            border: 1px solid rgba(100, 160, 220, 0.4);
            border-radius: 12px;
            padding: 0.875rem 1.25rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s ease, transform 0.2s ease;
            max-width: 260px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            transform: translateX(-50%) translateY(8px);
        }
        
        /* Pointer arrow pointing up to the icon */
        .tooltip::before {
            content: '';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 12px solid rgba(30, 80, 140, 0.92);
        }
        
        /* Subtle glow effect */
        .tooltip::after {
            content: '';
            position: absolute;
            top: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(100, 160, 220, 0.6), transparent);
            border-radius: 2px;
        }

        .tooltip.visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        
        /* Hide tooltip on touch devices */
        @media (hover: none) and (pointer: coarse) {
            .tooltip {
                display: none !important;
            }
        }

        .tooltip-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            color: var(--cream);
            margin-bottom: 0.15rem;
            line-height: 1.2;
        }

        .tooltip-tag {
            font-size: 0.6rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.4rem;
        }

        .tooltip-desc {
            font-size: 0.75rem;
            color: rgba(245, 240, 232, 0.8);
            line-height: 1.4;
        }

        /* Side panel for clicked location */
        .side-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 400px;
            height: 100%;
            background: linear-gradient(180deg, 
                rgb(50, 54, 48) 0%, 
                rgb(38, 42, 36) 100%);
            border-left: 1px solid rgba(212, 165, 116, 0.3);
            z-index: 150;
            transform: translateX(100%);
            transition: none;
            overflow-y: auto;
        }

        /* Nautical decorative elements */
        .side-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M20 50 Q35 35 50 50 T80 50' stroke='%23d4a574' stroke-width='1' fill='none' opacity='0.08'/%3E%3Cpath d='M10 80 Q25 65 40 80 T70 80' stroke='%23d4a574' stroke-width='1' fill='none' opacity='0.06'/%3E%3Ccircle cx='85' cy='25' r='3' fill='%23d4a574' opacity='0.1'/%3E%3Cpath d='M5 20 Q20 5 35 20' stroke='%23d4a574' stroke-width='1' fill='none' opacity='0.07'/%3E%3C/svg%3E");
            background-size: 150px 150px;
            pointer-events: none;
            z-index: 0;
        }

        .side-panel > * {
            position: relative;
            z-index: 1;
        }

        .side-panel.open {
            transform: translateX(0);
        }

        .panel-close {
            position: sticky;
            top: 1rem;
            float: right;
            margin-right: 1rem;
            margin-top: 1rem;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255,255,255,0.25);
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.25rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 200;
            backdrop-filter: blur(4px);
        }

        .panel-close:hover {
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border-color: rgba(255,255,255,0.4);
        }

        /* Three Doors Navigation - sticky at top of panel */
        .three-doors-nav {
            display: flex;
            justify-content: center;
            gap: 8px;
            padding: 15px 20px;
            background: linear-gradient(180deg, rgba(30, 35, 28, 0.98) 0%, rgba(30, 35, 28, 0.95) 100%);
            margin-bottom: 0;
            position: sticky;
            top: 0;
            z-index: 10;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(212, 165, 116, 0.2);
        }
        
        .door-nav-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .door-nav-label {
            font-size: 0.65rem;
            color: rgba(245, 240, 232, 0.5);
            text-transform: lowercase;
            letter-spacing: 0.02em;
            white-space: nowrap;
            transition: color 0.3s ease;
        }
        
        .door-nav-item:hover .door-nav-label {
            color: var(--gold);
        }
        
        .door-nav-label.active-label {
            color: var(--gold);
            font-weight: 500;
        }
        
        .door-nav-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 2px solid rgba(212, 165, 116, 0.4);
            background: rgba(30, 35, 28, 0.8);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            position: relative;
        }
        
        .door-nav-btn:hover {
            border-color: var(--gold);
            transform: scale(1.1);
            background: rgba(212, 165, 116, 0.15);
        }
        
        .door-nav-btn.active {
            border-color: var(--gold);
            background: rgba(212, 165, 116, 0.25);
            box-shadow: 0 0 15px rgba(212, 165, 116, 0.5), 
                        0 0 30px rgba(212, 165, 116, 0.3),
                        inset 0 0 10px rgba(212, 165, 116, 0.2);
        }
        
        .door-nav-btn .door-number {
            position: absolute;
            bottom: -4px;
            right: -4px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--gold);
            color: var(--navy);
            font-size: 0.6rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .door-nav-btn.active .door-number {
            background: var(--cream);
        }
        
        /* Hide three doors nav for non-door locations */
        .three-doors-nav.hidden {
            display: none;
        }

        /* Scroll hint at bottom of panel */
        .scroll-hint-bottom {
            position: fixed;
            bottom: 2rem;
            right: 0;
            width: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            z-index: 160;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            pointer-events: none;
        }
        
        .scroll-hint-bottom-inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.25), rgba(212, 165, 116, 0.15));
            border: 1px solid rgba(212, 165, 116, 0.5);
            border-radius: 25px;
            color: var(--gold-light);
            font-size: 0.8rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .scroll-hint-bottom-inner .scroll-arrow {
            animation: bounceDown 1.5s ease-in-out infinite;
            font-size: 1.1rem;
        }

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

        .scroll-hint-bottom.visible {
            opacity: 1;
            visibility: visible;
        }

        /* Sidebar Scroll Hint */
        .sidebar-scroll-hint {
            position: fixed;
            left: 2rem;
            top: calc(50% + 32vh);
            z-index: 101;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.8rem;
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
            border: 1px solid rgba(212, 165, 116, 0.4);
            border-radius: 15px;
            color: var(--gold-light);
            font-size: 0.65rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            backdrop-filter: blur(8px);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            pointer-events: none;
        }

        .sidebar-scroll-hint.visible {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-scroll-hint .scroll-arrow {
            animation: bounceDown 1.5s ease-in-out infinite;
            font-size: 0.9rem;
        }


        @media (max-width: 768px) {
            .scroll-hint-bottom {
                right: 0;
                left: 0;
                width: 100%;
                bottom: 1.5rem;
            }
        }

        .panel-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            object-position: var(--image-position, center);
            transition: opacity 0.2s ease;
        }

        .panel-image-container {
            position: relative;
        }

        .panel-image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem 1rem 0.75rem;
            background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
            font-size: 0.75rem;
            color: rgba(245, 240, 232, 0.7);
            font-style: italic;
            text-align: center;
        }

        .panel-image-caption:empty {
            display: none;
        }

        .panel-content {
            position: relative;
            padding: 2rem;
            padding-bottom: 3rem;
            overflow: visible;
        }

        .panel-tag {
            display: inline-block;
            font-size: 0.65rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--gold);
            background: rgba(212, 165, 116, 0.15);
            padding: 0.4rem 0.8rem;
            border-radius: 3px;
            border: 1px solid rgba(212, 165, 116, 0.3);
            margin-bottom: 0.75rem;
        }

        .panel-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            font-weight: 300;
            color: var(--cream);
            margin-bottom: 1.5rem;
        }

        .panel-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(245, 240, 232, 0.85);
        }

        .panel-text p {
            margin-bottom: 1rem;
        }

        .story-image {
            width: 100%;
            border-radius: 8px;
            margin-top: 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .story-gallery {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .story-gallery .story-image {
            margin-top: 0;
        }

        /* Rich story panel styles */
        .story-section-panel {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(212, 165, 116, 0.25);
        }

        .story-section-panel:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .section-tag-panel {
            display: block;
            font-size: 0.65rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }

        .section-tag-glow {
            display: block;
            font-size: 1rem !important;
            letter-spacing: 0.12em !important;
            text-align: center;
            padding: 1rem 1.5rem;
            margin: 0 auto 1rem auto;
            border: 1px solid rgba(212, 165, 116, 0.4);
            border-radius: 4px;
            background: rgba(212, 165, 116, 0.08);
            animation: textGlow 2.5s ease-in-out infinite;
        }

        @keyframes textGlow {
            0%, 100% {
                text-shadow: 0 0 5px rgba(212, 165, 116, 0.5),
                             0 0 10px rgba(212, 165, 116, 0.3);
                color: #d4a574;
            }
            50% {
                text-shadow: 0 0 10px rgba(255, 215, 150, 1),
                             0 0 20px rgba(255, 215, 150, 0.7),
                             0 0 30px rgba(255, 215, 150, 0.5),
                             0 0 40px rgba(212, 165, 116, 0.3);
                color: #ffe4b5;
            }
        }

        .section-title-panel {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.4rem;
            font-weight: 300;
            color: var(--cream);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .story-section-panel p {
            margin-bottom: 0.8rem;
            line-height: 1.7;
        }

        .story-section-panel p:last-of-type {
            margin-bottom: 0;
        }

        /* Inline images in story panels */
        .inline-image {
            margin: 1rem 0;
            border-radius: 8px;
            overflow: hidden;
        }

        .inline-image img {
            width: 100%;
            max-height: 280px;
            object-fit: cover;
            display: block;
            border-radius: 8px;
        }

        /* When inline-image class is directly on the img element */
        img.inline-image {
            width: 100%;
            max-height: 280px;
            object-fit: cover;
            display: block;
            border-radius: 8px;
            margin: 1rem 0;
            cursor: pointer;
        }

        .inline-image figcaption {
            font-size: 0.8rem;
            color: rgba(245, 240, 232, 0.6);
            font-style: italic;
            margin-top: 0.5rem;
            line-height: 1.4;
        }

        /* Side-by-side image rows */
        .image-row-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 1rem 0;
        }

        .image-row-2 img.inline-image {
            margin: 0;
            height: 200px;
            max-height: 200px;
        }

        .image-row-3 {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
            margin: 1rem 0;
        }

        .image-row-3 img.inline-image {
            margin: 0;
            height: 160px;
            max-height: 160px;
        }

        .story-quote {
            position: relative;
            padding: 1.25rem 1.25rem 1.25rem 1.5rem;
            margin: 1.25rem 0;
            background: rgba(212, 165, 116, 0.12);
            border-left: 3px solid var(--gold);
            border-radius: 0 8px 8px 0;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-style: italic;
            color: var(--cream);
            line-height: 1.5;
        }

        .story-quote cite {
            display: block;
            margin-top: 0.75rem;
            font-size: 0.8rem;
            font-style: normal;
            color: var(--gold);
        }

        .story-quote.final-quote {
            text-align: center;
            border-left: none;
            border: 1px solid rgba(212, 165, 116, 0.2);
            background: rgba(212, 165, 116, 0.05);
        }

        /* Story gallery grid for side-by-side photos */
        .story-gallery-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin: 1rem 0;
        }

        .story-gallery-grid .story-image {
            margin: 0;
            aspect-ratio: 4/3;
            object-fit: cover;
        }

        /* Small 3-column grid for sightseeing thumbnails */
        .story-gallery-grid-small {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            margin: 1rem 0;
        }

        .story-gallery-grid-small img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .story-gallery-grid-small img:hover {
            transform: scale(1.02);
        }

        .photo-caption-inline {
            font-size: 0.75rem;
            color: rgba(245, 240, 232, 0.5);
            font-style: italic;
            margin-top: 0.5rem;
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        /* Story section break - subtle divider */
        .story-break {
            text-align: center;
            margin: 1.75rem 0;
            font-size: 1.25rem;
            letter-spacing: 0.75em;
            color: var(--gold);
            opacity: 0.7;
        }

        /* Gallery story section - mini story within photo gallery */
        .gallery-story-section {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(212, 165, 116, 0.2);
        }

        .gallery-story-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: var(--gold);
            margin-bottom: 0.75rem;
        }

        .gallery-story-section p {
            font-size: 0.85rem;
            line-height: 1.6;
            color: rgba(245, 240, 232, 0.8);
            margin-bottom: 0.75rem;
        }

        .gallery-story-image {
            width: 100%;
            max-width: 400px;
            border-radius: 6px;
            margin: 0.75rem 0;
        }

        /* Demographics Strip */
        .demographics-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem 1.25rem;
            padding: 0.75rem 0;
            margin-bottom: 1rem;
            border-bottom: 1px solid rgba(212, 165, 116, 0.2);
            font-size: 0.72rem;
            color: rgba(245, 240, 232, 0.6);
        }

        .demo-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .demo-item .demo-icon {
            font-size: 0.85rem;
            opacity: 0.7;
        }

        .demo-item .demo-value {
            color: var(--cream);
            font-weight: 500;
        }

        /* More Info Button & Popup */
        .more-info-container {
            position: relative;
            margin: 1.5rem 0;
        }

        .more-info-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.9rem 1rem;
            background: rgba(212, 165, 116, 0.08);
            border: 1px dashed rgba(212, 165, 116, 0.4);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.8rem;
            color: var(--gold-light);
            letter-spacing: 0.05em;
        }

        .more-info-btn:hover {
            background: rgba(212, 165, 116, 0.15);
            border-color: var(--gold);
        }

        .more-info-btn .info-icon {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .more-info-btn:hover .info-icon {
            transform: scale(1.15);
        }

        .more-info-popup {
            position: absolute;
            bottom: calc(100% + 10px);
            left: 0;
            right: 0;
            background: linear-gradient(135deg, rgba(30, 60, 100, 0.95), rgba(20, 45, 80, 0.95));
            backdrop-filter: blur(20px);
            border: 1px solid rgba(100, 160, 220, 0.4);
            border-radius: 12px;
            padding: 1.25rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

        .more-info-popup::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid rgba(30, 60, 100, 0.95);
        }

        /* Click-only - no hover trigger */
        .more-info-container.active .more-info-popup {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* More Info Toggle (text-based expandable sections) */
        .more-info-toggle {
            color: var(--gold-light);
            cursor: pointer;
            font-size: 0.9rem;
            padding: 0.5rem 0;
            margin: 0.75rem 0 0.25rem 0;
            border-top: 1px solid rgba(212, 165, 116, 0.2);
            transition: color 0.2s ease;
        }

        .more-info-toggle:hover {
            color: var(--gold);
        }

        .more-info-content {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.4s ease, opacity 0.3s ease;
            margin-bottom: 0;
        }

        .more-info-content.expanded {
            max-height: 1000px;
            opacity: 1;
            margin-bottom: 1.5rem;
        }

        /* Reduce gap when more-info is collapsed */
        .more-info-content:not(.expanded) + .photo-gallery-section {
            margin-top: 0.5rem;
        }

        .more-info-content p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: rgba(245, 240, 232, 0.85);
            margin-bottom: 1rem;
        }

        .popup-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: var(--gold-light);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .popup-title .title-icon {
            font-size: 1.2rem;
        }

        .fun-facts-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .fun-facts-list li {
            position: relative;
            padding: 0.5rem 0 0.5rem 1.25rem;
            font-size: 0.85rem;
            color: rgba(245, 240, 232, 0.9);
            line-height: 1.5;
            border-bottom: 1px solid rgba(100, 160, 220, 0.15);
        }

        .fun-facts-list li:last-child {
            border-bottom: none;
        }

        .fun-facts-list li::before {
            content: '✦';
            position: absolute;
            left: 0;
            color: var(--gold);
            font-size: 0.7rem;
        }

        .fun-facts-list li strong {
            color: var(--gold-light);
        }

        /* Easter Egg Container (hidden story reveal) */
        .easter-egg-container {
            position: relative;
            display: flex;
            justify-content: center;
            margin: 2rem 0 1rem 0;
        }

        .easter-egg-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: rgba(100, 100, 120, 0.2);
            border: 1px dashed rgba(150, 150, 170, 0.3);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0.5;
        }

        .easter-egg-btn:hover {
            opacity: 1;
            background: rgba(100, 100, 120, 0.4);
            border-color: rgba(150, 150, 170, 0.6);
            transform: scale(1.1);
        }

        .easter-egg-icon {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .easter-egg-container.active .easter-egg-btn {
            opacity: 1;
            background: rgba(100, 100, 120, 0.4);
        }

        .easter-egg-container.active .easter-egg-icon {
            animation: spin 1s ease-out;
        }

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

        .easter-egg-content {
            position: absolute;
            bottom: 60px;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, rgba(30, 30, 45, 0.98) 0%, rgba(20, 25, 35, 0.98) 100%);
            border: 1px solid rgba(150, 150, 170, 0.3);
            border-radius: 12px;
            padding: 1.5rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            max-height: 60vh;
            overflow-y: auto;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
        }

        .easter-egg-container.active .easter-egg-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .easter-egg-content p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: rgba(245, 240, 232, 0.85);
            margin-bottom: 1rem;
        }

        .easter-egg-content .story-image {
            width: 100%;
            border-radius: 8px;
            margin: 1rem 0;
        }

        .easter-egg-content .photo-caption-inline {
            font-size: 0.8rem;
            color: rgba(245, 240, 232, 0.6);
            font-style: italic;
            margin-bottom: 1rem;
        }

        /* Director's Commentary Easter Egg */
        .directors-commentary {
            display: inline-flex;
            align-items: center;
            margin-left: 1.25rem;
            vertical-align: middle;
            position: relative;
        }

        .commentary-trigger {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 75px;
            height: 75px;
            background: transparent;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 2px 15px rgba(212, 165, 116, 0.4), 0 0 25px rgba(212, 165, 116, 0.2);
            animation: phoneGlow 2s ease-in-out infinite;
            overflow: hidden;
        }

        .commentary-trigger img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        @keyframes phoneGlow {
            0%, 100% { box-shadow: 0 2px 15px rgba(212, 165, 116, 0.4), 0 0 25px rgba(212, 165, 116, 0.2); }
            50% { box-shadow: 0 4px 20px rgba(212, 165, 116, 0.6), 0 0 35px rgba(212, 165, 116, 0.4); }
        }

        .commentary-trigger:hover {
            transform: scale(1.15);
            box-shadow: 0 4px 25px rgba(212, 165, 116, 0.6), 0 0 45px rgba(212, 165, 116, 0.3);
            animation: none;
        }

        .click-me-text {
            position: absolute;
            width: 115px;
            height: 115px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            animation: rotateText 8s linear infinite;
        }

        @keyframes rotateText {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .click-me-text text {
            fill: var(--gold);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .directors-commentary:hover .click-me-text {
            animation-play-state: paused;
        }

        /* Darwin captain - slightly smaller than default */
        .darwin-captain .commentary-trigger {
            width: 65px;
            height: 65px;
        }

        .darwin-captain .click-me-text {
            width: 100px;
            height: 100px;
        }

        .darwin-captain .click-me-text text {
            font-size: 11px;
        }

        /* Mobile adjustments for captain icon */
        @media (max-width: 768px) {
            .directors-commentary {
                margin-left: 2rem;
            }

            .commentary-trigger {
                width: 100px;
                height: 100px;
            }

            .click-me-text {
                width: 130px;
                height: 130px;
            }

            .click-me-text text {
                font-size: 11px;
            }
        }

        /* Modal Overlay for Commentary */
        .commentary-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 22, 40, 0.85);
            backdrop-filter: blur(8px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .commentary-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .commentary-modal {
            position: relative;
            background: linear-gradient(135deg, rgba(38, 42, 36, 0.98), rgba(28, 32, 26, 0.98));
            border: 1px solid rgba(212, 165, 116, 0.4);
            border-radius: 16px;
            padding: 2rem;
            max-width: 500px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
            transform: scale(0.9) translateY(20px);
            transition: transform 0.3s ease;
        }

        .commentary-modal-overlay.active .commentary-modal {
            transform: scale(1) translateY(0);
        }

        .commentary-modal-close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            width: 36px;
            height: 36px;
            background: rgba(212, 165, 116, 0.15);
            border: 1px solid rgba(212, 165, 116, 0.3);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--gold-light);
            transition: all 0.2s ease;
        }

        .commentary-modal-close:hover {
            background: rgba(212, 165, 116, 0.25);
            transform: scale(1.1);
        }

        .commentary-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(212, 165, 116, 0.2);
        }

        .commentary-icon {
            font-size: 1.2rem;
        }

        .commentary-label {
            font-size: 0.6rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
        }

        .commentary-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--cream);
            margin-bottom: 1.25rem;
            line-height: 1.3;
        }

        .commentary-modal p {
            font-size: 0.92rem;
            line-height: 1.75;
            color: rgba(245, 240, 232, 0.9);
            margin-bottom: 0.8rem;
        }

        .commentary-modal p:last-of-type {
            margin-bottom: 0;
        }

        .commentary-modal .story-emphasis {
            color: var(--gold-light);
            font-weight: 500;
        }

        .commentary-modal .zeros {
            font-family: monospace;
            font-style: italic;
            color: rgba(245, 240, 232, 0.7);
            margin-bottom: 0.4rem;
        }

        .commentary-modal .captain-voice {
            display: block;
            margin: 1rem 0;
            padding: 0.75rem 1rem;
            background: rgba(212, 165, 116, 0.1);
            border-left: 2px solid var(--gold);
            border-radius: 0 6px 6px 0;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            font-style: italic;
            color: var(--cream);
        }

        .commentary-modal .rule-one {
            display: block;
            margin: 1.25rem 0;
            padding: 0.75rem 1rem;
            background: rgba(224, 122, 95, 0.15);
            border: 1px solid rgba(224, 122, 95, 0.3);
            border-radius: 6px;
            font-size: 0.88rem;
            color: var(--coral);
            font-weight: 500;
        }

        .commentary-modal .kicker {
            font-style: italic;
            color: var(--gold-light);
            margin-top: 1.25rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(212, 165, 116, 0.15);
        }

        @media (max-width: 600px) {
            .commentary-modal {
                padding: 1.5rem;
                margin: 1rem;
            }
            
            .commentary-title {
                font-size: 1.3rem;
            }
            
            .commentary-modal .commentary-trigger {
                width: 32px;
                height: 32px;
                font-size: 1rem;
            }
        }

        .commentary-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(212, 165, 116, 0.2);
        }

        .commentary-icon {
            font-size: 1.2rem;
        }

        .commentary-label {
            font-size: 0.6rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
        }

        .commentary-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.3rem;
            color: var(--cream);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .commentary-popup p {
            font-size: 0.88rem;
            line-height: 1.7;
            color: rgba(245, 240, 232, 0.9);
            margin-bottom: 0.75rem;
        }

        .commentary-popup p:last-of-type {
            margin-bottom: 0;
        }

        .commentary-popup .story-emphasis {
            color: var(--gold-light);
            font-weight: 500;
        }

        .commentary-popup .zeros {
            font-family: monospace;
            font-style: italic;
            color: rgba(245, 240, 232, 0.7);
        }

        .commentary-popup .captain-voice {
            display: block;
            margin: 1rem 0;
            padding: 0.75rem 1rem;
            background: rgba(212, 165, 116, 0.1);
            border-left: 2px solid var(--gold);
            border-radius: 0 6px 6px 0;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            font-style: italic;
            color: var(--cream);
        }

        .commentary-popup .rule-one {
            display: block;
            margin: 1rem 0;
            padding: 0.6rem 0.8rem;
            background: rgba(224, 122, 95, 0.15);
            border: 1px solid rgba(224, 122, 95, 0.3);
            border-radius: 6px;
            font-size: 0.82rem;
            color: var(--coral);
            font-weight: 500;
        }

        .commentary-popup .kicker {
            font-style: italic;
            color: var(--gold-light);
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(212, 165, 116, 0.15);
        }

        /* Mobile tap support for commentary */
        @media (hover: none) and (pointer: coarse) {
            .commentary-trigger::after {
                display: none;
            }
        }

        /* Photo Gallery Section */
        .photo-gallery-section {
            margin-top: 2rem;
            margin-bottom: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(212, 165, 116, 0.25);
        }

        .gallery-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
            cursor: pointer;
        }

        .gallery-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: var(--cream);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .gallery-title .gallery-icon {
            font-size: 1.2rem;
        }

        .gallery-count {
            font-size: 0.7rem;
            color: var(--gold);
            background: rgba(212, 165, 116, 0.15);
            padding: 0.25rem 0.6rem;
            border-radius: 12px;
        }

        .gallery-toggle {
            font-size: 1.2rem;
            color: var(--gold);
            transition: transform 0.3s ease;
        }

        .gallery-header:hover .gallery-toggle {
            transform: scale(1.2);
        }

        .photo-gallery-section.expanded .gallery-toggle {
            transform: rotate(180deg);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.3s ease;
            opacity: 0;
        }

        .photo-gallery-section.expanded .gallery-grid {
            max-height: 1500px;
            opacity: 1;
            margin-bottom: 2rem;
        }

        .gallery-thumb {
            aspect-ratio: 1;
            width: 100%;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            filter: brightness(0.85);
        }

        .gallery-thumb:hover {
            filter: brightness(1);
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            z-index: 2;
            position: relative;
        }

        @media (max-width: 480px) {
            .header {
                padding: 0.75rem 1rem;
            }

            .logo {
                font-size: 1.2rem;
            }

            .tagline {
                font-size: 0.45rem;
                letter-spacing: 0.15em;
            }

            .demographics-strip {
                gap: 0.4rem 1rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* World Tour Carousel */
        .world-carousel {
            position: relative;
            width: 100%;
            height: 280px;
            margin: 1.5rem 0;
            border-radius: 12px;
            overflow: hidden;
            background: var(--navy);
            -webkit-transform: translateZ(0); /* Force GPU acceleration on iOS */
            transform: translateZ(0);
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            -webkit-backface-visibility: hidden; /* Prevent flickering on iOS */
            backface-visibility: hidden;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            -webkit-user-drag: none; /* Prevent image dragging on iOS */
            user-select: none;
        }

        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem 1rem 2rem;
            background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
            text-align: center;
            pointer-events: none;
        }

        .carousel-caption span {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--cream);
            letter-spacing: 0.1em;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .carousel-dots {
            position: absolute;
            bottom: 0.75rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 20;
            pointer-events: auto;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(245, 240, 232, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
            pointer-events: auto;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
        }

        .carousel-dot:hover {
            background: rgba(245, 240, 232, 0.6);
        }

        .carousel-dot.active {
            background: var(--gold);
            transform: scale(1.2);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(10, 22, 40, 0.7);
            border: 1px solid rgba(212, 165, 116, 0.3);
            border-radius: 50%;
            color: var(--cream);
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
            -webkit-appearance: none; /* Remove default button styling on iOS */
        }

        .carousel-arrow:hover {
            background: rgba(212, 165, 116, 0.3);
            border-color: var(--gold);
        }

        .carousel-arrow.prev {
            left: 10px;
        }

        .carousel-arrow.next {
            right: 10px;
        }

        @media (max-width: 768px) {
            .carousel-arrow {
                width: 32px;
                height: 32px;
                font-size: 1rem;
            }
            
            .carousel-arrow.prev {
                left: 5px;
            }
            
            .carousel-arrow.next {
                right: 5px;
            }
        }

        .carousel-title {
            text-align: center;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: rgba(245, 240, 232, 0.6);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        @media (max-width: 768px) {
            .world-carousel {
                height: 220px;
            }
            
            .carousel-caption span {
                font-size: 1.25rem;
            }
            
            .carousel-dots {
                gap: 8px;
                padding: 10px; /* Larger tap area */
            }
            
            .carousel-dot {
                width: 10px;
                height: 10px;
                /* Larger invisible tap target */
                position: relative;
            }
            
            .carousel-dot::before {
                content: '';
                position: absolute;
                top: -8px;
                left: -8px;
                right: -8px;
                bottom: -8px;
            }
            
            .carousel-arrow {
                width: 44px; /* iOS minimum tap target */
                height: 44px;
            }
        }

        /* Story Carousel - inline carousel in rich content */
        .story-carousel {
            position: relative;
            width: 100%;
            height: 300px;
            margin: 1.5rem 0;
            border-radius: 12px;
            overflow: hidden;
            background: var(--navy);
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        .story-carousel .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .story-carousel .carousel-slide.active {
            opacity: 1;
        }

        .story-carousel .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            -webkit-user-drag: none;
            user-select: none;
        }

        .story-carousel .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem 1rem 2rem;
            background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
            text-align: center;
            pointer-events: none;
        }

        .story-carousel .carousel-caption span {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.3rem;
            color: var(--cream);
            letter-spacing: 0.05em;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        @media (max-width: 768px) {
            .story-carousel {
                height: 240px;
            }

            .story-carousel .carousel-caption span {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 500px) {
            .story-gallery-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 22, 40, 0.95);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            cursor: pointer;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox img {
            max-width: 90%;
            max-height: 80%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
            transition: opacity 0.2s ease;
            touch-action: none;
            transform-origin: center center;
        }

        /* Loading spinner for lightbox */
        .lightbox.loading::before {
            content: '';
            position: absolute;
            width: 40px;
            height: 40px;
            border: 3px solid rgba(212, 165, 116, 0.3);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: lightbox-spin 0.8s linear infinite;
        }

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

        .lightbox-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            font-size: 2rem;
            color: var(--cream);
            cursor: pointer;
            transition: color 0.3s;
            z-index: 1001;
        }

        .lightbox-close:hover {
            color: var(--gold);
        }

        /* Lightbox navigation arrows */
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2.5rem;
            color: var(--cream);
            cursor: pointer;
            transition: color 0.3s, transform 0.2s;
            z-index: 1001;
            padding: 1rem;
            user-select: none;
            display: none;
        }

        .lightbox-prev {
            left: 1rem;
        }

        .lightbox-next {
            right: 1rem;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            color: var(--gold);
            transform: translateY(-50%) scale(1.1);
        }

        /* Mobile adjustments for arrows */
        @media (max-width: 768px) {
            .lightbox-prev,
            .lightbox-next {
                font-size: 2rem;
                padding: 0.75rem;
            }

            .lightbox-prev {
                left: 0.5rem;
            }

            .lightbox-next {
                right: 0.5rem;
            }
        }

        .lightbox-caption {
            margin-top: 1rem;
            font-size: 0.85rem;
            color: rgba(245, 240, 232, 0.7);
            font-style: italic;
            text-align: center;
            max-width: 600px;
            padding: 0 1rem;
        }

        .lightbox-caption:empty {
            display: none;
        }

        /* Make story images clickable */
        .story-image {
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .story-image:hover {
            transform: scale(1.02);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        /* Back to globe link - subtle secondary action */
        .back-to-globe {
            display: block;
            text-align: center;
            margin-top: 15px;
            padding: 10px;
            color: rgba(245, 240, 232, 0.35);
            font-size: 0.75rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .back-to-globe:hover {
            color: rgba(245, 240, 232, 0.6);
        }

        .copyright {
            text-align: center;
            margin-top: 20px;
            padding: 15px 10px;
            color: rgba(245, 240, 232, 0.25);
            font-size: 0.65rem;
            letter-spacing: 0.05em;
            border-top: 1px solid rgba(212, 165, 116, 0.1);
        }
        
        /* Next Door button - prominent call to action */
        .next-door-hint {
            display: block;
            margin-top: 20px;
            padding: 18px 20px;
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.25), rgba(212, 165, 116, 0.1));
            border: 2px solid rgba(212, 165, 116, 0.5);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .next-door-hint:hover {
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.35), rgba(212, 165, 116, 0.15));
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(212, 165, 116, 0.2);
        }
        
        .next-door-hint .door-icon {
            display: block;
            font-size: 1.5rem;
            margin-bottom: 5px;
        }
        
        .next-door-hint .door-text {
            display: block;
            font-size: 1rem;
            font-weight: 500;
            color: var(--gold);
            letter-spacing: 0.05em;
        }

        /* Locations hint - visual link to panel below */
        .locations-hint {
            display: block;
            margin-top: 15px;
            padding: 15px 20px;
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
            border: 1px solid rgba(212, 165, 116, 0.3);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .locations-hint:hover {
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.25), rgba(212, 165, 116, 0.1));
        }
        
        .locations-hint .hint-arrow {
            display: block;
            font-size: 1.2rem;
            color: var(--gold);
            animation: bounce-arrow 1.5s ease-in-out infinite;
        }
        
        .locations-hint .hint-text {
            display: block;
            font-size: 0.9rem;
            color: var(--cream);
            margin: 5px 0 3px;
            font-weight: 500;
        }
        
        .locations-hint .hint-count {
            display: block;
            font-size: 0.75rem;
            color: var(--gold);
            opacity: 0.8;
        }
        
        @keyframes bounce-arrow {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(4px); }
        }

        @media (max-width: 768px) {
            .panel-close-link {
                display: block;
            }
            
            .locations-hint {
                display: block;
            }
        }

        /* Location list */
        .location-list {
            position: fixed;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            max-height: 60vh;
            overflow-y: auto;
        }

        .left-copyright {
            position: fixed;
            left: 2rem;
            bottom: 2rem;
            z-index: 100;
            font-size: 0.65rem;
            color: rgba(245, 240, 232, 0.3);
            letter-spacing: 0.05em;
        }

        .location-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 1rem;
            margin-bottom: 0.25rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.02);
        }

        .location-item:hover {
            background: rgba(212, 165, 116, 0.1);
        }

        .location-item.door {
            background: rgba(212, 165, 116, 0.08);
        }

        .location-item .icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, 
                rgba(212, 165, 116, 0.3), 
                rgba(224, 122, 95, 0.2));
            backdrop-filter: blur(5px);
            border: 1px solid rgba(212, 165, 116, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            overflow: hidden;
        }
        
        .location-item .icon canvas {
            width: 100%;
            height: 100%;
        }

        .location-item.door .icon {
            width: 38px;
            height: 38px;
            font-size: 1.1rem;
            border: 2px solid rgba(212, 165, 116, 0.5);
            box-shadow: 0 0 15px rgba(212, 165, 116, 0.3);
        }

        .location-item .name {
            font-size: 0.85rem;
            color: var(--cream);
        }

        .location-item.door .name {
            color: var(--gold);
            font-weight: 500;
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .location-item.door .chapter-label {
            font-size: 0.7rem;
            color: rgba(212, 165, 116, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 400;
        }

        .location-item.door .location-name {
            font-size: 0.9rem;
            color: var(--gold);
            font-weight: 500;
        }

        /* Sidebar section dividers */
        .sidebar-divider {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 1rem;
            margin: 0.5rem 0;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: rgba(212, 165, 116, 0.6);
        }

        .sidebar-divider::before,
        .sidebar-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.3), transparent);
        }

        .sidebar-divider span {
            white-space: nowrap;
        }

        /* Icon style indicators */
        .location-item[data-style="deco"] .icon {
            border-color: rgba(212, 165, 116, 0.5);
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(139, 105, 20, 0.2));
        }
        
        .location-item[data-style="minimal"] .icon {
            border-color: rgba(150, 180, 200, 0.4);
            background: linear-gradient(135deg, rgba(150, 180, 200, 0.15), rgba(96, 112, 128, 0.15));
        }
        
        .location-item[data-style="heritage"] .icon {
            border-color: rgba(139, 115, 85, 0.5);
            background: linear-gradient(135deg, rgba(139, 115, 85, 0.2), rgba(90, 74, 58, 0.2));
        }
        
        .location-item[data-style="paradise"] .icon {
            border-color: rgba(64, 224, 208, 0.4);
            background: linear-gradient(135deg, rgba(64, 224, 208, 0.15), rgba(74, 144, 160, 0.15));
        }
        
        .location-item[data-style="adventure"] .icon {
            border-color: rgba(96, 112, 128, 0.5);
            background: linear-gradient(135deg, rgba(96, 112, 128, 0.2), rgba(45, 55, 72, 0.2));
        }
        
        .location-item[data-style="culture"] .icon {
            border-color: rgba(224, 122, 95, 0.4);
            background: linear-gradient(135deg, rgba(224, 122, 95, 0.15), rgba(114, 47, 55, 0.15));
        }

        /* Scrollbar styling */
        /* Subtle scrollbar for location list */
        .location-list::-webkit-scrollbar {
            width: 4px;
        }

        .location-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .location-list::-webkit-scrollbar-thumb {
            background: rgba(212, 165, 116, 0.15);
            border-radius: 2px;
        }
        
        .location-list::-webkit-scrollbar-thumb:hover {
            background: rgba(212, 165, 116, 0.3);
        }
        
        /* General scrollbar styling */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.05);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(212, 165, 116, 0.3);
            border-radius: 3px;
        }

        /* Stars background */
        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        /* Loading */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--navy);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            transition: opacity 0.5s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loading-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            color: var(--gold);
        }

        @media (max-width: 768px) {
            .center-name {
                top: 0.5rem;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
            }

            .center-name a {
                font-size: 1rem;
            }

            .header {
                padding: 2rem 1rem 0.5rem;
                gap: 0.25rem;
            }

            .logo {
                font-size: 1.4rem;
                line-height: 1.2;
            }

            .tagline {
                font-size: 0.5rem;
                line-height: 1.3;
                margin-top: 0.15rem;
                color: rgba(245, 240, 232, 0.85);
            }

            .instructions {
                display: none;
            }
            
            .left-copyright {
                display: none; /* Hide on mobile - already in side panel */
            }
            
            .sidebar-scroll-hint {
                display: none; /* Hide on mobile */
            }


            /* Bottom menu - transparent overlay, hidden by default */
            .location-list {
                position: fixed !important;
                top: auto !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                width: 100%;
                height: auto;
                max-height: 175px;
                background: rgba(0, 0, 0, 0.35);
                backdrop-filter: blur(4px);
                -webkit-backdrop-filter: blur(4px);
                transform: translateY(100%) !important;
                transition: transform 0.3s ease;
                padding: 6px 15px 8px;
                z-index: 200;
                border-radius: 12px 12px 0 0;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                visibility: hidden;
            }

            .location-list.open {
                transform: translateY(0) !important;
                visibility: visible;
            }

            /* No top hint - keep clean */
            .location-list::before {
                display: none;
            }

            /* Scroll hint at bottom of menu */
            .location-list::after {
                content: 'scroll for more ↓';
                position: sticky;
                bottom: 0;
                display: block;
                text-align: center;
                padding: 6px 0 4px;
                font-size: 0.75rem;
                color: #d4a574;
                letter-spacing: 0.08em;
                font-weight: 500;
                background: linear-gradient(transparent, rgba(0,0,0,0.6));
                margin: 0 -15px;
                padding-left: 15px;
                padding-right: 15px;
            }

            /* Mobile location items - compact list */
            .location-list .location-item {
                display: block;
                padding: 6px 12px;
                border: none;
                border-radius: 6px;
                transition: background 0.2s ease;
            }

            .location-list .location-item:active {
                background: rgba(212, 165, 116, 0.2);
            }

            /* Hide icon completely on mobile */
            .location-list .location-item .icon {
                display: none !important;
            }

            .location-list .location-item .name {
                font-size: 0.85rem;
                color: rgba(245, 240, 232, 0.95);
                text-shadow: 0 1px 4px rgba(0,0,0,0.8);
            }

            .location-list .location-item.door .name {
                color: #d4a574;
                font-weight: 500;
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 8px;
            }

            .location-list .location-item.door .chapter-label {
                font-size: 0.6rem;
                color: rgba(212, 165, 116, 0.7);
                text-transform: uppercase;
                letter-spacing: 0.05em;
                font-weight: 400;
                white-space: nowrap;
            }

            .location-list .location-item.door .location-name {
                font-size: 0.9rem;
                color: #d4a574;
                font-weight: 500;
            }

            .location-list .location-item.door {
                background: rgba(212, 165, 116, 0.1);
                border-radius: 6px;
                margin-bottom: 2px;
            }

            /* Fallback: If backdrop-filter causes issues, use slightly more solid background */
            @supports not (backdrop-filter: blur(1px)) {
                .location-list {
                    background: rgba(0, 0, 0, 0.6);
                }
            }

            .location-list::before {
                display: none;
            }

            /* Section dividers in mobile menu */
            .location-list .sidebar-divider {
                padding: 6px 12px;
                margin: 6px 0 2px;
                font-size: 0.65rem;
                opacity: 1;
                color: #d4a574;
                font-weight: 500;
            }

            .location-list .sidebar-divider::before,
            .location-list .sidebar-divider::after {
                display: none;
            }
            
            /* Right panel - bottom sheet style, opens to show globe peek */
            .side-panel {
                position: fixed !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                top: auto !important;
                width: 100% !important;
                height: 82vh;
                max-height: 82vh;
                border-radius: 20px 20px 0 0;
                border-left: none;
                border-top: 1px solid rgba(212, 165, 116, 0.3);
                transform: translateY(100%);
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                z-index: 300 !important;
                background: linear-gradient(180deg, rgb(10, 22, 40) 0%, rgb(21, 34, 56) 100%) !important;
                padding-top: 0.5rem;
            }
            
            .side-panel.open {
                transform: translateY(0) !important;
            }
            
            .panel-close {
                position: sticky;
                top: 0.5rem;
                float: right;
                margin: 0.5rem 1rem 0 0;
                z-index: 300;
                width: 44px;
                height: 44px;
                background: rgba(10, 22, 40, 0.95);
                border: 2px solid var(--gold);
                color: var(--cream);
                font-size: 1.25rem;
            }
            
            .panel-image {
                height: 200px;
            }

            .panel-content {
                padding: 1rem 1.5rem;
                padding-bottom: 100px;
            }

            /* Show back link always */
            .back-to-globe {
                display: block;
            }

            /* Show navigation hints */
            .next-door-hint,
            .locations-hint {
                display: block;
            }
            
            .panel-title {
                font-size: 1.5rem;
                margin-bottom: 0.75rem;
            }
            
            /* Show full text immediately - no preview state */
            .panel-text {
                display: block;
            }

            .panel-content {
                padding-bottom: 100px;
            }
            
            .instructions {
                top: 4.5rem;
                bottom: auto;
                left: 1rem;
                right: 1rem;
                transform: none;
                background: transparent;
                padding: 0;
                border-radius: 0;
            }

            .instructions p {
                font-size: 0.6rem;
                color: rgba(245, 240, 232, 0.4);
            }
            
            /* Prevent page zoom on double-tap */
            * {
                touch-action: manipulation;
            }
        }
        
        /* Panel preview text - shown on mobile before expanding */
        .panel-preview {
            display: none;
        }
        
        .swipe-hint {
            display: none;
        }
        
        @media (max-width: 768px) {
            /* Hide preview text - full content shows immediately */
            .panel-preview {
                display: none;
            }

            /* Hide swipe hint - panel opens full, no swipe needed */
            .swipe-hint {
                display: none;
            }
        }
        
        /* Hamburger Menu Button */
        .menu-toggle {
            position: fixed;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 250;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, 
                rgba(212, 165, 116, 0.2), 
                rgba(224, 122, 95, 0.15));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(212, 165, 116, 0.3);
            cursor: pointer;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: all 0.3s ease;
        }
        
        .menu-toggle:hover {
            background: linear-gradient(135deg, 
                rgba(212, 165, 116, 0.3), 
                rgba(224, 122, 95, 0.25));
        }
        
        .menu-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--gold);
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        .menu-toggle.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .menu-toggle.open span:nth-child(2) {
            opacity: 0;
        }
        
        .menu-toggle.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        
        @media (max-width: 768px) {
            /* Hide hamburger button on mobile - menu auto-appears */
            .menu-toggle {
                display: none !important;
            }
        }

        /* Mobile overlay - very subtle darkening */
        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 180;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .mobile-overlay.open {
            opacity: 1;
            pointer-events: none; /* Let touches pass through to canvas for globe rotation */
        }
        
        /* Instructions switching */
        .mobile-instructions {
            display: none;
        }
        
        @media (max-width: 768px) {
            .desktop-instructions {
                display: none;
            }
            .mobile-instructions {
                display: block;
            }
        }

        /* Tap/Click Hint */
        .mobile-tap-hint {
            display: block;
            position: fixed;
            left: 50%;
            top: 55%;
            transform: translateX(-50%);
            z-index: 100;
            text-align: center;
            pointer-events: none;
            opacity: 0;
            transition: none;
        }

        /* Desktop: position relative to globe area (after 220px sidebar) */
        @media (min-width: 769px) {
            .mobile-tap-hint {
                left: calc(220px + 38.5%);
                top: 55%;
            }
        }

        /* Mobile: Toledo icon position */
        @media (max-width: 768px) {
            .mobile-tap-hint {
                left: 52%;
                top: 58%;
            }
        }

        .mobile-tap-hint.visible {
            opacity: 1;
        }

        .mobile-tap-hint .tap-arrow {
            display: block;
            font-size: 1.5rem;
            color: var(--gold);
            animation: bounce-arrow 1s ease-in-out infinite;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
        }

        .mobile-tap-hint .tap-text {
            display: block;
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.9rem;
            color: var(--gold);
            letter-spacing: 0.08em;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
            margin-top: 0.2rem;
            font-weight: 600;
        }

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

        /* ============================================
           INTRO MODAL - First-Time Visitor Welcome
           ============================================ */
        .intro-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 3%;
            pointer-events: none;
        }

        .intro-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .intro-modal {
            background: linear-gradient(135deg, rgba(38, 42, 36, 0.95), rgba(28, 32, 26, 0.95));
            border: 1px solid rgba(212, 165, 116, 0.4);
            border-radius: 20px;
            padding: 1.25rem 2rem 1.5rem;
            max-width: 420px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            transform: translateY(20px);
            transition: transform 0.4s ease;
            pointer-events: auto;
        }

        .intro-modal-overlay.active .intro-modal {
            transform: translateY(0);
        }

        .intro-modal h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.85rem;
            font-weight: 300;
            color: var(--cream);
            margin-bottom: 0.75rem;
        }

        .intro-modal h2 .num {
            font-size: 1.3em;
            color: var(--gold);
        }

        .intro-modal h2 .word {
            font-size: 0.9em;
            color: var(--gold);
        }

        .intro-modal h2 .gold {
            color: var(--gold);
        }

        .intro-modal .intro-text {
            font-size: 1rem;
            color: rgba(245, 240, 232, 0.8);
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .intro-modal .intro-text:last-of-type {
            margin-bottom: 1.25rem;
            color: var(--gold-light);
            font-style: italic;
        }

        .intro-doors {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.25rem;
        }

        .intro-door {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem;
            border-radius: 12px;
            background: rgba(212, 165, 116, 0.08);
            border: 1px solid rgba(212, 165, 116, 0.2);
            transition: all 0.3s ease;
        }

        /* Door #1 has slightly brighter border */
        .intro-door:nth-child(1) {
            border-color: rgba(212, 165, 116, 0.5);
        }

        /* Doors #2 and #3 are dimmed */
        .intro-door:nth-child(2),
        .intro-door:nth-child(3) {
            opacity: 0.4;
        }

        .intro-door-icon {
            font-size: 2rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .intro-door-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 0.5rem;
        }

        .intro-door-label {
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--gold);
            display: block;
        }

        .intro-door-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.95rem;
            color: var(--cream);
            display: block;
            margin-top: 0.25rem;
        }

        .intro-choices {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .intro-choice-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem 1.5rem;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: inherit;
        }

        .intro-choice-btn.primary {
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(212, 165, 116, 0.15));
            border: 2px solid var(--gold);
        }

        .intro-choice-btn.primary:hover {
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.4), rgba(212, 165, 116, 0.25));
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
        }

        .intro-choice-btn.secondary {
            background: rgba(245, 240, 232, 0.05);
            border: 1px solid rgba(245, 240, 232, 0.2);
        }

        .intro-choice-btn.secondary:hover {
            background: rgba(245, 240, 232, 0.1);
            border-color: rgba(245, 240, 232, 0.4);
        }

        .intro-choice-btn .choice-label {
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--cream);
            margin-bottom: 0.25rem;
        }

        .intro-choice-btn.primary .choice-label {
            color: var(--gold);
        }

        .intro-choice-btn .choice-desc {
            font-size: 0.75rem;
            color: rgba(245, 240, 232, 0.5);
        }

        @media (max-width: 480px) {
            .intro-choices {
                gap: 0.5rem;
                margin-top: 1rem;
            }

            .intro-choice-btn {
                padding: 0.75rem 1rem;
            }

            .intro-choice-btn .choice-label {
                font-size: 1rem;
            }

            .intro-choice-btn .choice-desc {
                font-size: 0.7rem;
            }
        }

        @media (max-width: 480px) {
            .intro-modal-overlay {
                padding-bottom: 3%;
            }

            .intro-modal {
                padding: 1rem 1.25rem;
                margin: 0.5rem;
                border-radius: 16px;
            }

            .intro-modal h2 {
                font-size: 1.35rem;
                margin-bottom: 0.5rem;
            }

            .intro-modal .intro-text {
                font-size: 0.9rem;
                line-height: 1.4;
                margin-bottom: 0.35rem;
            }

            .intro-modal .intro-text:last-of-type {
                margin-bottom: 1rem;
            }

            .intro-doors {
                gap: 0.5rem;
                margin-bottom: 1rem;
            }

            .intro-door {
                padding: 0.5rem;
            }

            .intro-door-img {
                width: 50px;
                height: 50px;
            }

            .intro-door-label {
                font-size: 0.6rem;
            }

            .intro-door-title {
                font-size: 0.8rem;
            }

            .intro-instruction {
                font-size: 0.8rem;
                margin-top: 0.75rem;
            }
        }

        /* ============================================
           DIMMED MARKERS - Soft gating during guided mode
           ============================================ */
        .location-item.dimmed {
            opacity: 0.35;
            cursor: not-allowed;
            pointer-events: none;
        }

        .location-item.dimmed:hover {
            background: transparent;
        }

        /* ============================================
           NEXT DOOR PROMPT - Floating prompt after closing a door
           ============================================ */
        .next-door-prompt {
            position: fixed;
            bottom: 20%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 250;
            background: linear-gradient(135deg, rgba(38, 42, 36, 0.95), rgba(28, 32, 26, 0.95));
            border: 1px solid rgba(212, 165, 116, 0.4);
            border-radius: 12px;
            padding: 0.75rem 1.5rem;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            animation: promptSlideUp 0.4s ease-out;
        }

        @keyframes promptSlideUp {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .next-door-prompt p {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: var(--cream);
            margin-bottom: 0.25rem;
        }

        .next-door-prompt .prompt-instruction {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.85rem;
            color: var(--gold-light);
            font-style: italic;
            margin-bottom: 0;
        }

        /* ============================================
           CELEBRATION MESSAGE - After completing all doors
           ============================================ */
        .celebration-message {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 300;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .celebration-message.visible {
            opacity: 1;
        }

        .celebration-message h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 0.5rem;
            text-shadow: 0 0 30px rgba(212, 165, 116, 0.5),
                         0 0 60px rgba(212, 165, 116, 0.3);
        }

        .celebration-message p {
            font-size: 1.25rem;
            color: var(--cream);
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            .celebration-message h2 {
                font-size: 2rem;
            }

            .celebration-message p {
                font-size: 1rem;
            }

            .next-door-prompt {
                bottom: 28%;
                padding: 0.6rem 1.25rem;
            }
        }

        /* ============================================
           SONG PANEL STYLES
           For locations designated as original songs
           ============================================ */

        .song-panel {
            max-width: 100%;
        }

        .song-hero {
            position: relative;
            margin: -1rem -1rem 1.5rem -1rem;
            overflow: hidden;
        }

        .song-artwork {
            width: 100%;
            height: 280px;
            object-fit: cover;
            filter: brightness(0.7);
        }

        .song-title-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2rem 1.5rem;
            background: linear-gradient(transparent, rgba(0,0,0,0.85));
            color: white;
        }

        .song-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.8;
            color: var(--gold);
        }

        .song-name {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.8rem;
            margin: 0.25rem 0;
            font-style: italic;
            font-weight: 300;
        }

        .song-artist {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Audio Player */
        .audio-player-container {
            background: rgba(212, 165, 116, 0.1);
            border: 1px solid rgba(212, 165, 116, 0.2);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }

        .song-player {
            width: 100%;
            margin-bottom: 0.75rem;
            height: 40px;
        }

        .song-player::-webkit-media-controls-panel {
            background: rgba(21, 34, 56, 0.9);
        }

        .player-links {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .stream-link {
            font-size: 0.75rem;
            color: rgba(212, 165, 116, 0.8);
            text-decoration: none;
            padding: 0.3rem 0.75rem;
            border: 1px solid rgba(212, 165, 116, 0.3);
            border-radius: 20px;
            transition: all 0.2s;
        }

        .stream-link:hover {
            background: rgba(212, 165, 116, 0.2);
            color: var(--gold);
        }

        /* Lyrics Excerpt */
        .lyrics-excerpt {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 1.15rem;
            text-align: center;
            border-left: none;
            padding: 1.25rem;
            color: var(--gold);
            line-height: 1.8;
            background: rgba(212, 165, 116, 0.05);
            border-radius: 8px;
            margin: 1rem 0;
        }

        /* Collapsible Lyrics */
        .lyrics-section {
            background: rgba(0,0,0,0.25);
            border-radius: 8px;
            margin: 1.5rem 0;
            cursor: pointer;
            overflow: hidden;
            border: 1px solid rgba(212, 165, 116, 0.15);
        }

        .lyrics-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
        }

        .lyrics-title {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .lyrics-toggle {
            transition: transform 0.3s;
            opacity: 0.6;
        }

        .lyrics-section.expanded .lyrics-toggle {
            transform: rotate(180deg);
        }

        .lyrics-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }

        .lyrics-section.expanded .lyrics-content {
            max-height: 2000px;
        }

        .lyrics-text {
            padding: 0 1.5rem 1.5rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.95rem;
            line-height: 1.9;
            white-space: pre-wrap;
            color: rgba(245, 240, 232, 0.85);
        }

        .lyrics-text .verse-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--gold);
            opacity: 0.7;
            margin-top: 1rem;
            display: block;
        }

        /* Song Status Banner */
        .song-status {
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
            border: 1px solid rgba(212, 165, 116, 0.3);
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            margin: 1rem 0;
        }

        .song-status .status-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--gold);
            display: block;
            margin-bottom: 0.25rem;
        }

        .song-status .status-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            color: rgba(245, 240, 232, 0.8);
            font-style: italic;
        }

        /* Release Info */
        .song-release-info {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(212, 165, 116, 0.2);
            text-align: center;
        }

        .release-date {
            font-size: 0.8rem;
            opacity: 0.6;
            margin-bottom: 1rem;
        }

        .share-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .share-prompt {
            font-size: 0.8rem;
            opacity: 0.6;
        }

        .share-btn {
            font-size: 0.75rem;
            color: var(--gold);
            text-decoration: none;
            padding: 0.4rem 1rem;
            background: rgba(212, 165, 116, 0.15);
            border-radius: 20px;
            transition: all 0.2s;
        }

        .share-btn:hover {
            background: rgba(212, 165, 116, 0.3);
        }

        /* Song panel mobile adjustments */
        @media (max-width: 768px) {
            .song-artwork {
                height: 220px;
            }

            .song-name {
                font-size: 1.5rem;
            }

            .lyrics-excerpt {
                font-size: 1rem;
                padding: 1rem;
            }

            .player-links {
                gap: 0.5rem;
            }

            .stream-link {
                font-size: 0.7rem;
                padding: 0.25rem 0.6rem;
            }
        }

/* ============================================
   TAPASAKE EASTER EGG
   ============================================ */
.tapasake-link {
    color: var(--gold);
    cursor: pointer;
    position: relative;
    border-bottom: 1px dotted var(--gold);
}

.tapasake-link:hover {
    color: #fff;
}

.tapasake-link::after {
    content: '寿司 TAPASAKE 寿司\A━━━━━━━━━━━━━━━━━━━━\A\ASashimi & Sushi\A  Otoro (Bluefin Tuna Belly)\A  Uni (Sea Urchin)\A  Tai (Sea Bream)\A\ATeppanyaki\A  Wagyu Beef\A  Grilled Silver Cod\A  King Crab in Shiso\A\ASpecialties\A  Lobster Gyoza\A  Tempura Platter\A  Tokyo-Style Ramen\A\ADessert\A  Molten Chocolate Cake\A\A━━━━━━━━━━━━━━━━━━━━\A"Suspended over the Indian Ocean"';
    white-space: pre;
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-10px);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--cream);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    pointer-events: none;
    min-width: 220px;
}

.tapasake-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

/* Male population density easter egg */
.male-density-link {
    color: var(--gold);
    cursor: pointer;
    position: relative;
    border-bottom: 1px dotted var(--gold);
}

.male-density-link:hover {
    color: #fff;
}

.male-density-link::after {
    content: '🏝️ MALÉ, MALDIVES 🏝️\A━━━━━━━━━━━━━━━━━━━━━━━━━\A\APopulation Density\A  97,000 people per km²\A  (Manhattan: 25,000/km²)\A\AThe Numbers\A  190,000 people\A  1.95 km² island\A  36% of country lives here\A\AFun Fact\A  In 1987: 20,000 residents\A  Today: 190,000 residents\A  Nearly 10x growth in 35 years\A\A━━━━━━━━━━━━━━━━━━━━━━━━━\A"The world\'s most crowded island"';
    white-space: pre;
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-10px);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--cream);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    pointer-events: none;
    min-width: 240px;
}

.male-density-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

