/* THEME CONFIGURATION */
:root {
    /* Deep Ocean Turquoise Background */
    --bg-start: #042f38;
    --bg-mid: #0b4a52;
    --bg-end: #01181c;
    
    /* Unified Color Palette */
    --text-white: #f5f5f5;
    --accent-gold: #FFD700; 

    /* Map Theme Vars */
    --color-map-bg: #032d30;
    --color-gold-map: #eebb5d;
    --color-text-main: #f0fdfa;
    --color-text-muted: #ccfbf1;
    --color-hotspot: #ff3333;
    --font-display: 'Playfair Display', serif;
    --font-modern: 'Montserrat', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
}

/* Base Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 30%, var(--bg-end) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 18px;
}

img { max-width: 100%; display: block; }

/* UTILITIES REPLACING TAILWIND */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-white { color: #fff; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.object-cover { object-fit: cover; width: 100%; height: 100%; }
.container-generic { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.rounded { border-radius: 0.5rem; }
.shadow { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hidden-mobile { display: none; }
.full-width-img { width: 100%; }
.mt-small { margin-top: 1rem; }
.mt-medium { margin-top: 2rem; }
.mt-large { margin-top: 4rem; }
.mt-xlarge { margin-top: 6rem; }
.mb-small { margin-bottom: 1rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-large { margin-bottom: 3rem; }
.mb-xlarge { margin-bottom: 4rem; }
.my-large { margin-top: 2rem; margin-bottom: 2rem; }
.mw-980 { max-width: 980px; margin-left: auto; margin-right: auto; }

@media (min-width: 768px) {
    .hidden-mobile { display: flex; }
}

/* --- CUSTOM STYLES --- */

/* Text Styles */
.serif, .drop-cap::first-letter, .quote-mark, .quote-text {
    font-family: 'Playfair Display', serif;
}

.text-gold-luxury {
    color: #d4af37; 
    background: none; 
    -webkit-text-fill-color: #d4af37;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8); 
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; 
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .main-title { font-size: 6rem; }
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 0.02em; 
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem; 
    line-height: 1.2;
    font-size: 1.6rem; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: var(--accent-gold);
}
@media (min-width: 768px) {
    .section-title { font-size: 2.4rem; }
}

.section-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.6em;
    display: block;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid #d4af37; 
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
    color: var(--accent-gold);
}

.drop-cap::first-letter {
    font-size: 3.5rem;
    color: #d4af37; 
    background: none;
    -webkit-text-fill-color: #d4af37;
    float: left;
    line-height: 0.8;
    margin-right: 1.2rem;
    margin-top: 0.4rem;
    font-weight: 700;
}
@media (min-width: 768px) {
    .drop-cap::first-letter { font-size: 5rem; }
}

figcaption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #ccc;
    text-align: center;
    margin-top: 0.5rem;
}

.font-sans-black {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}
.text-2xl { font-size: 1.5rem; }

/* Image Effects */
.img-soft-blend {
    mask-image: radial-gradient(98% 98% at 50% 50%, black 85%, transparent 100%);
    -webkit-mask-image: radial-gradient(98% 98% at 50% 50%, black 85%, transparent 100%);
    transition: all 0.5s ease;
}

.img-blend-v {
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
}

.full-img-blend {
    width: 100%;
    height: auto;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent), radial-gradient(circle at center, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1.5s ease-out;
}
.reveal-zoom.active { opacity: 1; transform: scale(1); }

.reveal-sapo {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1.2s ease-out;
}
.reveal-sapo.active { opacity: 1; transform: translateY(0) scale(1); }

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translate(-50%, 0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Cover Section */
.cover-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-start);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.vignette-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(4, 47, 56, 0.3) 100%);
    z-index: 5;
    pointer-events: none;
}

.cover-gradient-bottom {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, var(--bg-start) 10%, rgba(4, 47, 56, 0.8) 50%, transparent 100%);
    z-index: 10;
}
.cover-gradient-top {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 40%;
    background: linear-gradient(to bottom, rgba(4, 47, 56, 0.8) 0%, transparent 100%);
    z-index: 10;
}

/* Airplane Animation */
.airplane-img {
    position: absolute;
    width: 40vw; /* Mobile */
    bottom: 35%; 
    left: 10%;
    z-index: 15;
    opacity: 0;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.5));
    animation: flyUp 12s linear infinite;
    pointer-events: none;
}
@media (min-width: 768px) {
    .airplane-img { width: 20vw; bottom: 30%; left: 30%; }
}

@keyframes flyUp {
    0% { transform: translate(0, 0) rotate(-10deg) scale(0.6); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(60vw, -70vh) rotate(-25deg) scale(1); opacity: 0; }
}

/* Cover Text */
.cover-text-container {
    position: absolute;
    bottom: 32%; /* Default mobile */
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 0 1rem;
    text-align: center;
}
@media (min-width: 768px) {
    .cover-text-container { bottom: 27%; }
}

.cover-super-title {
    display: block;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-family: sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
@media(min-width: 768px) { .cover-super-title { font-size: 1.25rem; } }

.cover-sub-title {
    display: inline-block;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    border-top: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;
    padding: 0.75rem 0;
    background: rgba(0,0,0,0.02);
    backdrop-filter: blur(5px);
}
@media(min-width: 768px) { .cover-sub-title { font-size: 1.875rem; } }

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: white;
    font-size: 1.875rem;
    opacity: 0.7;
}

/* Main Content Wrapper */
.main-content-wrapper {
    position: relative;
    z-index: 10;
    padding-bottom: 0;
    margin-top: -5rem;
}

/* Sapo Box */
.sapo-container {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.sapo-box {
    background: rgba(4, 47, 56, 0.7);
    padding: 1.5rem; /* Mobile */
    position: relative;
    z-index: 30;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.1); 
    backdrop-filter: blur(20px);
    border-radius: 20px; /* Mobile */
    border: 1px solid rgba(255, 215, 0, 0.2);
    max-width: 1100px;
    margin: 0 auto;
    mask-image: radial-gradient(white, black);
}
@media(min-width: 768px) {
    .sapo-box { padding: 3rem 4rem; border-radius: 100px; }
}

.quote-icon-gold {
    color: #d4af37;
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.sapo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    text-align: center;
}

.sapo-divider {
    width: 50px; height: 3px; background: #C5A059; margin: 1.5rem auto 0 auto;
}

/* Containers */
.container-reading {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}
.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.media-container {
    width: 100%;
    margin: 2rem 0;
}
.full-width-media {
    width: 100%;
    margin: 2rem 0;
}

/* Video */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    padding-top: 56.25%; /* Aspect Ratio 16:9 */
    background: #001014;
    overflow: hidden;
    margin: 1.5rem auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-container video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}

/* Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}
.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.slider-container::-webkit-scrollbar { display: none; }

.slider-item {
    flex: 0 0 85vw;
    height: 400px;
    position: relative;
    transition: transform 0.3s;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
    .slider-item { flex: 0 0 60vw; height: 500px; }
}
.slider-item:hover { transform: scale(1.02); }
.slider-item img {
    width: 100%; height: 100%; object-fit: cover;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
    opacity: 0; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.slider-wrapper:hover .slider-nav-btn { opacity: 1; }
.slider-nav-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}
.slider-nav-btn.prev-btn { left: 20px; }
.slider-nav-btn.next-btn { right: 20px; }

/* Image Comparison */
.img-comp-container {
    position: relative;
    height: 300px; /* Mobile */
    overflow: hidden;
    margin: 2rem auto;
    max-width: 980px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
@media(min-width: 768px) { .img-comp-container { height: 500px; } }

.img-comp-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.img-comp-overlay {
    width: 50%; /* Init */
    overflow: hidden;
    border-right: 2px solid var(--accent-gold);
    background: var(--bg-start);
    z-index: 10;
}

.img-comp-handle {
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center; justify-content: center;
    cursor: ew-resize;
    z-index: 20;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: #002b36;
}

/* Quote Cards */
.quote-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem; /* Mobile */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
@media(min-width: 768px) { .quote-card { padding: 2.5rem; } }

.quote-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
}

.quote-author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 1.5rem;
    margin-top: 1rem;
    order: 2; /* Move below text in flex column */
}
.quote-content { order: 1; }

.quote-main-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.5rem; /* text-2xl */
    color: #ffffff;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.quote-avatar {
    width: 70px; height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}
.quote-name {
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}
.quote-role {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-style: italic;
}

/* Ending Section */
.ending-section {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ending-bg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}
.ending-quote-container {
    padding: 0 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    margin-bottom: -2rem;
}
.ending-quote-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; /* Mobile */
    font-weight: 400; 
    font-style: normal; 
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
@media(min-width: 768px) { .ending-quote-text { font-size: 1.5rem; } }

.ending-divider {
    width: 50px; height: 2px; background: #FFD700; margin: 2rem auto;
}

/* Highlight Box */
.highlight-box-unified {
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #fff;
    font-size: 0.95rem;
    background: transparent;
}

/* Lightbox */
.lightbox {
    display: none; /* JS toggles display:flex */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 15, 20, 0.98); 
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 80vh;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1rem;
    color: white;
    font-size: 2.25rem;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover { color: #eab308; }
.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
}

/* Footer */
.main-footer {
    background-color: #01181c;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0;
    position: relative;
    z-index: 20;
    text-align: center;
}
.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.footer-text {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0.8;
}

/* --- MAP STYLES --- */
#map-wrapper {
    position: relative;
    width: 100%; height: 100vh;
    background: #000;
    z-index: 1;
    margin-bottom: 3rem;
}
.map-container { width: 100%; height: 100%; outline: none; }

.floating-header {
    position: absolute; top: 20px; left: 20px; right: 20px;
    width: auto; max-width: none;
    z-index: 9999; pointer-events: none;
}
@media (min-width: 768px) {
    .floating-header { top: 30px; left: 30px; right: auto; max-width: 340px; }
}

.header-content {
    background: rgba(3, 45, 48, 0.9); 
    backdrop-filter: blur(12px);
    padding: 20px 25px;
    border-left: 4px solid var(--color-gold-map);
    border-radius: 0 4px 4px 0;
    pointer-events: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    text-align: left;
}

.header-title {
    font-family: var(--font-display); 
    font-size: 20px; 
    color: var(--color-text-main); 
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}
@media(min-width: 768px) { .header-title { font-size: 24px; } }

.header-instruction {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
    border-top: 1px solid rgba(238, 187, 93, 0.3);
    padding-top: 10px;
}
.header-instruction i { color: var(--color-gold-map); margin-right: 5px; }

/* Map Markers */
.pulse-ring {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 24px; height: 24px; border-radius: 50%; background: var(--color-hotspot);
    box-shadow: 0 0 0 rgba(255, 51, 51, 0.4);
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7); width: 24px; height: 24px; }
    70% { box-shadow: 0 0 0 50px rgba(255, 51, 51, 0); width: 24px; height: 24px; }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0); width: 24px; height: 24px; }
}
.hotspot-dot {
    position: absolute; top: 50%; left: 50%; 
    width: 20px; height: 20px; 
    background: var(--color-hotspot); 
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    border: 3px solid white; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    z-index: 20;
    cursor: pointer;
    transition: transform 0.2s;
}
.custom-pin:hover .hotspot-dot { transform: translate(-50%, -50%) scale(1.4); background: var(--color-gold-map); border-color: #fff; }

.leaflet-layer { filter: none !important; }

/* Nav Strip */
.nav-strip {
    position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
    width: 50px;
    background: rgba(3, 45, 48, 0.7); backdrop-filter: blur(5px); z-index: 900;
    flex-direction: column; align-items: center; padding: 20px 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.nav-dot {
    width: 30px; height: 30px; border-radius: 50%; 
    border: 1px solid rgba(255, 255, 255, 0.3); color: white;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px; cursor: pointer; font-size: 12px; font-family: var(--font-modern); font-weight: 700;
    transition: all 0.3s;
}
.nav-dot:last-child { margin-bottom: 0; }
.nav-dot:hover { background: rgba(255, 255, 255, 0.2); color: var(--color-gold-map); }
.nav-dot.active { 
    background: var(--color-hotspot); color: white; border-color: var(--color-hotspot); 
    transform: scale(1.2); box-shadow: 0 0 10px rgba(255, 51, 51, 0.6); 
}

/* Detail Modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--color-map-bg);
    display: flex; flex-direction: column;
    transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active { transform: translateY(0); }

.modal-scroll-container {
    width: 100%; height: 100%;
    overflow-y: auto; position: relative; scroll-behavior: smooth;
    background: #000;
}

.modal-cover-wrapper {
    position: relative; width: 100%; height: auto; min-height: 40vh;
    background-color: #032d30; display: flex; justify-content: center;
}
.modal-cover-img { width: 100%; height: auto; display: block; }
.modal-cover-gradient {
    position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to bottom, transparent, var(--color-map-bg));
    pointer-events: none;
}

.modal-body-content {
    background-color: var(--color-map-bg);
    position: relative; 
    padding: 0 30px 60px 30px; 
    margin-top: -60px;
    min-height: 50vh;
    z-index: 10;
}
@media (min-width: 768px) { 
    .modal-body-content { 
        padding: 0 20% 80px 20%; 
        margin-top: -100px; 
    } 
}

.close-btn {
    position: fixed; top: 30px; right: 30px; z-index: 10001;
    width: 50px; height: 50px; 
    background: rgba(0,0,0,0.5); color: white;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    font-size: 24px; transition: all 0.3s;
}
.close-btn:hover { background: var(--color-gold-map); color: #000; border-color: var(--color-gold-map); transform: rotate(90deg); }

.detail-category { 
    color: var(--color-gold-map); font-family: var(--font-modern); font-size: 14px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; position: relative; z-index: 10;
}
.detail-title {
    font-family: var(--font-display); font-size: 36px; line-height: 1.1; margin-bottom: 20px; 
    color: var(--color-text-main); position: relative; z-index: 10; font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
@media (min-width: 768px) { .detail-title { font-size: 52px; } }

.detail-block { margin-bottom: 30px; }
.detail-block-header {
    color: var(--color-gold-map);
    font-family: var(--font-modern);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-left: 4px solid var(--color-gold-map);
    padding-left: 15px;
}
.detail-list {
    list-style: none; padding: 0; margin: 0;
    font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--color-text-muted);
}
.detail-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.detail-list li::before {
    content: '•'; color: var(--color-gold-map);
    position: absolute; left: 0; font-weight: bold;
}
.highlight-text { color: white; font-weight: 500; }

.modal-action-area {
    margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(238,187,93,0.3);
}

.btn-action {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.2);
    color: white; font-family: var(--font-modern); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s; width: 100%; justify-content: center;
    text-decoration: none;
}
.btn-action:hover { background: var(--color-gold-map); color: #032d30; border-color: var(--color-gold-map); }
@media(min-width: 768px) { .btn-action { width: auto; } }