/*
 * DESIGN SYSTEM: Coastal Serenity
 * Theme: Ethereal, Sophisticated, Organic, World-Class
 */
:root {
    /* Palette - Architectural Pastel */
    --c-bg: #F5F7FA; /* Slightly warmer gray-blue */
    --c-surface: #FFFFFF;

    /* Text Colors - High Contrast but Soft */
    --c-text-primary: #1F2937; /* Gray 800 */
    --c-text-secondary: #64748B; /* Slate 500 */
    --c-text-tertiary: #94A3B8; /* Slate 400 */

    /* Accents - "Sea & Stone" */
    --c-accent-warm: #F6AD55; /* Warm Sand */
    --c-accent-warm-dark: #DD6B20; /* Burnt Orange */
    --c-accent-cool: #38B2AC; /* Teal 400 */
    --c-accent-cool-dark: #2C7A7B; /* Teal 700 */
    --c-accent-highlight: #81E6D9; /* Teal 200 */

    /* Glassmorphism Variables - Ultra Premium */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --glass-shadow:
        0 10px 30px -5px rgba(0, 0, 0, 0.04),
        0 20px 25px -5px rgba(44, 122, 123, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    --glass-blur: blur(24px);

    /* Typography */
    --f-display: 'Playfair Display', serif;
    --f-body: 'Inter', sans-serif;

    /* Transitions - Orchestrated */
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); /* Apple-like smoothness */
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Spacing */
    --space-unit: clamp(1.25rem, 3vw, 3rem);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/*
 * RESET & BASE
 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    height: 100%;
    height: 100dvh; /* Mobile viewport fix */
    width: 100%;
    overflow: hidden;
    background-color: var(--c-bg);
    font-family: var(--f-body);
    color: var(--c-text-primary);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * LOADING CURTAIN - Refined
 */
.loading-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-soft), visibility 0.8s;
}

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

.loading-title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--c-text-primary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInTitle 1.5s var(--ease-out-expo) forwards;
    letter-spacing: -0.02em;
}

.loading-subtitle {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-accent-cool-dark);
    opacity: 0;
    animation: fadeInTitle 1.5s var(--ease-out-expo) 0.3s forwards;
}

@keyframes fadeInTitle {
    to { opacity: 1; transform: translateY(0); }
}

/*
 * MAP CONTAINER & STYLING
 */
#map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 1;
    opacity: 0;
    touch-action: manipulation;
    animation: revealMap 2s var(--ease-out-expo) 0.2s forwards;
}

/* Refined Texture Overlay */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.03; /* Subtler */
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Refined Vignette */
.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(circle at center, transparent 50%, rgba(245, 247, 250, 0.6) 100%);
}

/* The old "Coastal Dream" raster filter was retired with the Carto tiles:
   the warm-paper vector basemap carries its own palette natively. */

#map {
    height: 100%;
    width: 100%;
    background: var(--c-bg);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--c-text-primary);
    color: var(--c-surface);
    padding: 12px 20px;
    z-index: 10000;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: top 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
    outline: 2px solid var(--c-accent-cool);
    outline-offset: 2px;
}

/*
 * UI LAYOUT
 */
.ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
    padding: var(--space-unit);
    perspective: 1200px; /* Refined depth */
}

/*
 * COMPONENTS
 */

/* Glassmorphism Mixin Class */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transform-style: preserve-3d;
    will-change: transform;
}

/* Header */
.header-container {
    grid-row: 1;
    justify-self: start;
    pointer-events: auto;
    width: max-content;
    max-width: 600px;
    opacity: 0;
    animation-delay: 1s;
}

.brand-card {
    padding: 2rem 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}

.brand-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

/* Premium Sheen */
.brand-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: sheen 6s infinite 3s;
    pointer-events: none;
}

h1 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--c-text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    white-space: nowrap;
}

.subtitle {
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--c-accent-cool-dark);
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.subtitle::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--c-accent-warm);
    margin-right: 12px;
}

/* Info Panel */
.panel-container {
    grid-row: 2 / -1;
    align-self: end;
    justify-self: start;
    width: 100%;
    max-width: 440px;
    pointer-events: none;
}

.info-card {
    padding: 2.5rem;
    pointer-events: auto;
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    visibility: hidden;
    transition:
        opacity 0.5s var(--ease-soft),
        transform 0.5s var(--ease-soft),
        visibility 0.5s;
    will-change: transform, opacity;
    max-height: 80vh; /* Ensure it fits on desktop */
    overflow-y: auto; /* Enable scrolling */
    scrollbar-width: thin;
    scrollbar-color: var(--c-text-tertiary) transparent;
}

/* Custom Scrollbar for Info Panel */
.info-card::-webkit-scrollbar {
    width: 6px;
}
.info-card::-webkit-scrollbar-track {
    background: transparent;
}
.info-card::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 20px;
}

.info-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition-delay: 0s;
    transition:
        opacity 0.6s var(--ease-out-expo),
        transform 0.6s var(--ease-out-expo),
        visibility 0s;
}

.info-title {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ENRICHED CONTENT STYLES */
.info-subtitle {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-accent-cool-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.info-body {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--c-text-secondary);
    font-weight: 400;
}

.info-summary {
    font-size: 1.1rem;
    color: var(--c-text-primary);
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--c-accent-warm);
    padding-left: 1rem;
}

.info-text {
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    margin-top: 0.5rem;
    padding-left: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--c-accent-warm);
    font-weight: bold;
}

/* --- */

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    color: var(--c-text-primary);
    z-index: 10;
}

.close-btn:hover {
    background: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.close-btn:focus-visible {
    outline: 2px solid var(--c-accent-cool);
    outline-offset: 2px;
}

/*
 * CUSTOM MARKERS
 */
.custom-marker {
    background: transparent;
}

@keyframes fadeInMarker {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.marker-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.5s var(--ease-elastic);
    border-radius: 50%;
    opacity: 0;
    will-change: transform;
    animation: fadeInMarker 0.8s var(--ease-out-expo) forwards;
}

.marker-wrapper:focus-visible {
    outline: none;
}

.marker-wrapper:focus-visible .marker-dot {
     box-shadow: 0 0 0 4px var(--c-accent-cool);
}

.marker-wrapper:hover {
    transform: scale(1.15) translateY(-4px);
    z-index: 100;
}

/* Tooltip style - Refined */
.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--c-surface);
    color: var(--c-text-primary);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
    pointer-events: none;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    font-family: var(--f-body);
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--c-surface) transparent transparent transparent;
}

.marker-wrapper:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.marker-dot {
    width: 14px;
    height: 14px;
    background-color: var(--c-surface);
    border: 3px solid var(--c-accent-warm);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.4s var(--ease-spring);
}

.marker-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-accent-warm);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 3s infinite;
    box-sizing: border-box;
    pointer-events: none;
}

.marker-ripple:nth-child(2) {
    animation-delay: 1s;
}

/* Active Marker State */
.custom-marker.active-marker .marker-dot {
    background-color: var(--c-accent-warm);
    border-color: var(--c-surface);
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(246, 173, 85, 0.2);
}

.custom-marker.active-marker .marker-ripple {
    border-color: var(--c-accent-cool);
    animation-duration: 2s;
}

@keyframes ripple {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes sheen {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes revealMap {
    from { opacity: 0; transform: scale(1.05); filter: blur(20px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

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

@keyframes waterRipple {
    0% { transform: scale(0); opacity: 0.6; border-width: 2px; }
    100% { transform: scale(4); opacity: 0; border-width: 0px; }
}

.stagger-enter {
    opacity: 0;
    animation: slideUpFade 1.2s var(--ease-out-expo) forwards;
}

.click-ripple {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--c-accent-cool);
    pointer-events: none;
    z-index: 1000;
    animation: waterRipple 1s ease-out forwards;
}

/*
 * LEAFLET OVERRIDES
 */
.leaflet-control-zoom {
    border: none !important;
    margin: var(--space-unit) !important;
    box-shadow: var(--glass-shadow) !important;
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--c-text-primary) !important;
    border: none !important;
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 1.2rem !important;
    transition: all 0.2s;
}

.leaflet-control-zoom a:first-child {
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.leaflet-control-zoom a:hover {
    background: #fff !important;
    color: var(--c-accent-cool-dark) !important;
}

.leaflet-control-attribution {
    background: rgba(255,255,255,0.6) !important;
    padding: 6px 12px !important;
    border-radius: 20px;
    font-size: 10px !important;
    color: var(--c-text-tertiary) !important;
    backdrop-filter: blur(8px);
    margin-right: 12px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.leaflet-control-attribution a {
    color: var(--c-text-secondary) !important;
    text-decoration: none !important;
}

/* Staggered letter animation */
.letter-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotate(3deg);
    transform-origin: bottom left;
    transition:
        opacity 0.8s var(--ease-out-expo),
        transform 1s var(--ease-elastic);
}


/*
 * RESPONSIVE - MOBILE OPTIMIZED
 */
@media (max-width: 768px) {
    :root {
        --space-unit: 1.5rem;
    }

    .ui-layer {
        padding: 1rem;
    }

    .header-container {
        max-width: 100%;
        width: 100%;
        padding-top: 1rem;
    }

    .brand-card {
        padding: 1.5rem;
        background: rgba(255,255,255,0.85); /* More opaque for mobile readibility */
        transform: none !important;
        border-radius: var(--radius-md);
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    .subtitle {
        margin-top: 0.5rem;
        font-size: 0.7rem;
    }

    .panel-container {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        z-index: 100;
        padding: 0; /* Full width */
    }

    .info-card {
        margin: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 1.5rem;
        max-height: 50vh;
        overflow-y: auto;
        border-radius: var(--radius-lg);
        transform: translateY(110%);
        background: rgba(255,255,255,0.95);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    }

    .info-card.active {
        transform: translateY(0);
    }

    /* Drag Handle Visual */
    .info-card::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 48px;
        height: 5px;
        background-color: rgba(0,0,0,0.15);
        border-radius: 3px;
    }

    .info-title {
        font-size: 1.75rem;
        margin-top: 0.5rem;
    }

    .close-btn {
        top: 1rem;
        right: 1rem;
        background: rgba(0,0,0,0.05);
    }

    .leaflet-control-zoom { display: none; }
}

/* ENRICHED CONTENT - IMAGES */
.info-image-container {
    width: 100%;
    height: 220px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.info-image:hover {
    transform: scale(1.05);
}

/* VISIT INFO */
.visit-info-container {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.visit-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--c-text-secondary);
}

.visit-info-item:last-child {
    margin-bottom: 0;
}

.visit-info-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--c-text-primary);
    min-width: 60px;
}

/* ACTION BUTTONS */
.action-btn-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--c-accent-cool-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 12px rgba(44, 122, 123, 0.2);
}

.action-btn:hover {
    background: var(--c-accent-cool);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(44, 122, 123, 0.3);
}

.action-btn:active {
    transform: translateY(0);
}

/* AUDIO BUTTON SPECIALIZATION */
.audio-btn {
    background: var(--c-surface);
    color: var(--c-accent-cool-dark);
    border: 1px solid var(--c-accent-cool-dark);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.audio-btn:hover {
    background: var(--c-accent-highlight);
    color: var(--c-accent-cool-dark);
}

.audio-btn.playing {
    background: var(--c-accent-warm);
    color: white;
    border-color: var(--c-accent-warm);
    animation: gentle-pulse 2s infinite ease-in-out;
}

.audio-btn.playing:hover {
    background: var(--c-accent-warm-dark);
    border-color: var(--c-accent-warm-dark);
}

.audio-btn svg {
    flex-shrink: 0;
}

@keyframes gentle-pulse {
    0% { box-shadow: 0 0 0 0 rgba(246, 173, 85, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(246, 173, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(246, 173, 85, 0); }
}

/*
 * TOUR MODE
 */
.start-tour-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--c-accent-cool-dark);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--f-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 12px rgba(44, 122, 123, 0.2);
    pointer-events: auto;
}

.start-tour-btn:hover {
    background: var(--c-accent-cool);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(44, 122, 123, 0.3);
}

.tour-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--glass-shadow);
    z-index: 2000;
    transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), visibility 0.5s;
    pointer-events: auto;
}

.tour-controls.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
}

.tour-btn {
    background: transparent;
    border: none;
    color: var(--c-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s var(--ease-out-expo);
}

.tour-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--c-accent-cool-dark);
    transform: scale(1.1);
}

.tour-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.tour-close-btn {
    background: rgba(0,0,0,0.05);
    border: none;
    color: var(--c-text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: all 0.2s;
}

.tour-close-btn:hover {
    background: rgba(200, 50, 50, 0.1);
    color: #e53e3e;
}

.tour-progress {
    font-family: var(--f-display);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--c-text-primary);
    min-width: 60px;
    text-align: center;
    letter-spacing: 0.05em;
}

/* Progressive Disclosure */
.tour-hidden {
    display: none;
}

.read-more-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(255,255,255,0.5);
    border: 1px dashed var(--c-accent-cool);
    color: var(--c-accent-cool-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: rgba(255,255,255,0.8);
    background-color: var(--c-accent-highlight);
}

@media (max-width: 768px) {
    .tour-controls {
        bottom: 1.5rem;
        width: 90%;
        max-width: 350px;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        z-index: 2000;
    }
}
