:root {
    --charcoal: #0D0D0D;
    --gold: #C5A059;
    --gold-bright: #E5C17A;
    --gold-dark: #8A6B32;
    --umber: #3D2B1F;
    --stone-dark: #1A1A1A;
    --text-white: #FFFDEB;
    --font-heading: 'Arvo', serif;
    --font-body: 'EB Garamond', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--charcoal);
    color: #e5e7eb;
    font-family: var(--font-body);
}

main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    background-color: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.8);
}

::selection {
    background-color: var(--gold);
    color: var(--charcoal);
}

.hero-video-container {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem 3rem 1rem;
    /* Bottom padding slightly pushes the flexbox center upwards to avoid the absolute scroll indicator */
}

.hero-branding {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* margin-bottom removed so the new subheader defines the gap */
}

.hero-subheader {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.75px;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 2rem;
    max-width: 90%;

    /* 3D Bevel & Metallic Gold Gradient */
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.9)) drop-shadow(1px 1px 0px rgba(255, 255, 255, 0.15));
}

.subheader-line-2 {
    font-size: 0.8em;
    display: block;
    margin-top: 0.3em;
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero-subheader {
        font-size: 34px;
    }

    .subheader-line-2 {
        font-size: 28px;
    }
}

.primary-logo {
    width: 60%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    /* Optional: helps the gold pop a bit more against the gradient */
    mix-blend-mode: screen;
}

.mountain-icon {
    width: 8rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.logo-glow {
    filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.4));
    transition: transform 0.5s ease;
}

.main-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.75rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, var(--gold-bright), var(--gold), var(--gold-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    /* Text shadow is handled by .logo-glow on parent/itself */
}

@media (min-width: 768px) {
    .main-title {
        font-size: 6rem;
    }
}

.village-title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.village-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.75rem;
    line-height: 1;
    background: linear-gradient(to bottom, var(--text-white), var(--gold), var(--gold-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (min-width: 768px) {
    .village-title {
        font-size: 6rem;
    }
}

.mine-cart-icon {
    position: absolute;
    left: -20px;
    top: 10px;
    width: 3rem;
    height: 3rem;
    opacity: 0.8;
}

.location-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .location-subtitle {
        font-size: 1.5rem;
        line-height: 1.6;
    }
}

/* =========================================
   Atmosphere Shift layer 2 & 3
   ========================================= */
/* Layer 2: Business Background Images */
.bg-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 990;
    /* Above main(10), below glass(995) */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    /* Ignore clicks */
}

@media (max-width: 767px) {
    .bg-image-container {
        /* Restrict strictly to the upper half of the viewport.
           Combined with 100% width, this creates a perfectly bounded frame for the images. */
        height: 50vh;
        /* Force 100% width so we see the entire horizontal storefront */
        background-size: 100% auto;
        background-position: top center;
        background-color: #050505;

        /* Mask gracefully fades out into the modal */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
    }

    #bg-stay {
        /* Coyote Stay is wide enough to naturally fit */
        background-position: center top;
    }

    #bg-rmo {
        /* Pull RMO up slightly to emphasize the storefront and sign */
        background-position: center -30px;
    }

    #bg-pizza {
        /* Pull the pizza cabin up so the sign is fully visible */
        background-position: center -60px;
    }

    #bg-liquors {
        /* The square photo has a lot of sky/roof. Yank it up by 110px so the full storefront lands perfectly above the modal. */
        background-position: center -110px;
    }
}

.bg-image-container.active {
    opacity: 1;
}

/* Layer 3: Glass Overlay (Invisible by default) */
/* Layer 3: Glass Overlay (Invisible by default) */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 995;
    /* Below modals(1000) */
    pointer-events: none;
    /* Let clicks pass through when not interacting */
    transition: opacity 0.4s ease, background 0.6s ease, backdrop-filter 0.6s ease;
}

/* Layer 3 Active: The Modal Open State */
.glass-overlay.active {
    opacity: 1;
    background: rgba(15, 15, 15, 0.4);
    /* Clear enough to see the photo */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: auto;
    /* Catch clicks if desired, though modal-overlay catches them too */
}

/* =========================================
   RUSTIC MODAL (COYOTE LIQUORS)
   ========================================= */

/* Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: transparent;
    /* Changed from black, glass-overlay handles visuals now */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box - Dark Wood / Saloon Aesthetic */
.rustic-modal {
    background: linear-gradient(135deg, #1c1511 0%, #0d0a08 100%);
    border: 2px solid var(--gold-dark);
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.8),
        /* Inner burn/wood age */
        0 20px 40px rgba(0, 0, 0, 0.9),
        /* Heavy drop shadow */
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* subtle highlight */
    border-radius: 4px;
    /* Slightly sharp, not too modern */
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    color: var(--text-white);
    text-align: center;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .rustic-modal {
    transform: translateY(0) scale(1);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gold-dark);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    font-family: Arial, sans-serif;
}

.modal-close:hover {
    color: var(--gold-bright);
}

/* Vintage Header */
.modal-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 1rem;
}

.vintage-headline {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.25rem;
    color: #a3a3a3;
}

/* Body Content */
.modal-body {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

/* Logistics Grid */
.modal-logistics {
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* High-Contrast Rustic Buttons */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.rustic-btn {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
}

.primary-action {
    background: linear-gradient(to bottom, #bd964e 0%, #8a6b32 100%);
    color: #000 !important;
    border: 1px solid #e5c17a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-action:hover {
    background: linear-gradient(to bottom, #d4a955 0%, #a17c39 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.secondary-action {
    background: transparent;
    color: var(--gold-bright) !important;
    border: 1px solid var(--gold-dark);
}

.secondary-action:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--gold);
}

/* Mobile Responsiveness for Modal */
@media (max-width: 767px) {
    .modal-overlay {
        align-items: flex-end;
        /* Anchor to bottom */
    }

    .rustic-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        /* Rounded top corners only */
        padding: 2rem 1.5rem 3rem 1.5rem;
        /* Added extra bottom padding to prevent content crowding near the screen edge */
        transform: translateY(100%);
        /* Slide UP from bottom */
        height: auto;
        max-height: 85dvh;
        overscroll-behavior: contain;
        margin-bottom: constant(safe-area-inset-bottom);
        margin-bottom: env(safe-area-inset-bottom);
        /* iOS safe area spacing */
    }

    .vintage-headline {
        font-size: 2rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .rustic-btn {
        width: 100%;
    }
}

/* -------------------------------------
 * Interactive Gold Dust Canvas Overlay
 * ------------------------------------- */
#gold-dust-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    /* Higher than content, lower than modals (1000) */
    pointer-events: none;
    /* Crucial: Allows all clicks to pass through to the buttons/cards beneath */
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scroll Indicator Decorative Line */
.scroll-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* tailwind: gap-4 */
    opacity: 0.8;
    /* tailwind: opacity-80 */
}

/* Base line styles */
.scroll-line {
    height: 1px;
    width: 3rem;
    /* fallback for mobile, tailwind: w-12 */
}

@media (min-width: 768px) {
    .scroll-line {
        width: 6rem;
        /* tailwind: md:w-24 */
    }
}

/* Left line fading towards gold */
.scroll-line-left {
    background: linear-gradient(to right, transparent, var(--gold));
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* Right line fading away from gold */
.scroll-line-right {
    background: linear-gradient(to left, transparent, var(--gold));
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* Center diamond */
.scroll-diamond {
    width: 0.5rem;
    /* tailwind: w-2 */
    height: 0.5rem;
    /* tailwind: h-2 */
    transform: rotate(45deg);
    border: 1px solid var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5), inset 0 0 5px rgba(197, 160, 89, 0.5);
    background-color: rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-diamond {
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.8), inset 0 0 8px rgba(197, 160, 89, 0.8);
    background-color: rgba(197, 160, 89, 0.3);
}

.scroll-indicator:hover .scroll-line,
.scroll-indicator:hover .scroll-line-vertical {
    opacity: 1;
}

/* Vertical tail line fading away downwards */
.scroll-line-vertical {
    position: absolute;
    top: calc(100% + 1rem);
    /* Starts below the diamond block entirely, with a 1rem gap to match horizontal spacing */
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--gold), transparent);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .scroll-line-vertical {
        height: 5rem;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--umber);
    border: 2px solid var(--charcoal);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* =========================================================================
   Section 2: Directory & Cards
   ========================================================================= */

.directory {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.9);
    position: relative;
    font-family: var(--font-heading);
    color: var(--gold-bright);
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 15rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-top: 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #1A1A1A 0%, #080808 100%);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 2.5rem 1.5rem;
    text-decoration: none;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Subtle etched texture / grit on the card background to simulate charred wood or old metal */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 4px);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(197, 160, 89, 0.15);
    background: linear-gradient(135deg, #221a11 0%, #0d0d0d 100%);
}

.card:hover::before {
    opacity: 0.2;
}

.card-icon {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
    /* Optional: helps single-color PNGs blend into the dark bg */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
}

.card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.6)) brightness(1.2);
}

.card-content {
    z-index: 2;
    position: relative;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.card p {
    color: #a3a3a3;
    /* Muted text */
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* =========================================================================
   Section 3: Featured Media (YouTube / NotebookLLM)
   ========================================================================= */

.media-feature {
    padding: 2rem 2rem 6rem;
    /* extra padding on bottom before footer maps */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.media-container {
    width: 100%;
    /* Default to 16:9 aspect ratio standard for YouTube/Audio embeds */
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1A1A1A 0%, #080808 100%);
    border: 6px solid #2e1d10;
    border-radius: 8px;
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.9),
        0 15px 40px rgba(0, 0, 0, 0.9),
        0 0 0 2px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Burned edge border effect */
    border-top: 6px solid #4a3623;
    border-bottom: 8px solid #140b06;
}

/* Wood grain texture overlay for the container */
.media-container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 4px);
    z-index: 1;
    opacity: 0.6;
}

.media-placeholder {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 2rem;
    border: 1px dashed rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
}

.media-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    border: none;
    object-fit: cover;
}

@media (min-width: 768px) {
    .media-container iframe {
        /* Crop YouTube's intrinsic desktop pillarboxing */
        transform: scale(1.02);
        transform-origin: center center;
    }
}

.media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    border: none;
    object-fit: cover;
    transform: scale(1.06);
    transform-origin: top center;
}

@media (min-width: 768px) {
    .media-container video {
        transform-origin: center bottom;
    }
}

/* Custom Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: rgba(0, 0, 0, 0.7);
    /* darkens the white poster */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(2px);
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Redesigned Play Button */
.play-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-bright);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    padding: 0;
    width: 8rem;
    height: 8rem;
    filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.4));
}

.play-btn svg {
    width: 100%;
    height: 100%;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(197, 160, 89, 0.8));
}

@media (max-width: 640px) {
    .play-btn {
        width: 5rem;
        height: 5rem;
    }
}

.overlay-text {
    margin-top: 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-bright);
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    text-transform: uppercase;
}

.card:hover h3 {
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

@media (max-width: 640px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Global Footer & Vintage Map
   ========================================= */
.global-footer {
    background-color: #0d0d0d;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(187, 163, 101, 0.2);
    position: relative;
    z-index: 5;
}

.global-footer .section-title {
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--gold-bright);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

#vintage-map-container {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    border: 6px solid #2e1d10;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 0 2px #000;
    background: #c4ae85;
    position: relative;
    overflow: hidden;
    /* Burned edge border effect */
    border-top: 6px solid #4a3623;
    border-bottom: 8px solid #140b06;
}

#vintage-map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
    z-index: 10;
    border-radius: 2px;
}

#vintage-map {
    width: 100%;
    height: 100%;
}

.vintage-hwy-plaque {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #ebdcb2;
    background: linear-gradient(135deg, #4f3422, #3e2723);
    border: 1px solid #c9a775;
    padding: 2px 10px;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), inset 0px 0px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.global-footer .map-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

@media (max-width: 640px) {
    .global-footer .map-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .global-footer .map-actions .rustic-btn {
        width: 100%;
        text-align: center;
    }
}