/* Explore Vesper — v1.0 */

/* ============================================
   HERO — Dark city map background
   ============================================ */

.explore-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: none;
    box-shadow: none;
}

.explore-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(0.5);
}

.explore-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(6,10,18,0.4) 0%, rgba(6,10,18,0.85) 100%);
}

.explore-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
}

.explore-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #f0e6d2;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.explore-hero__divider {
    width: 50px;
    height: 1px;
    background: #d08b55;
    margin: 1.2rem auto;
    opacity: 0.6;
}

.explore-hero__subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(240,230,210,0.6);
    letter-spacing: 0.03em;
}

.explore-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.explore-hero__scroll-line {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, transparent, rgba(240,230,210,0.25));
    animation: explorePulse 2s ease infinite;
}

@keyframes explorePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .explore-hero { height: 50vh; min-height: 350px; }
    .explore-hero__title { font-size: 2.2rem; letter-spacing: 0.1em; }
    .explore-hero__subtitle { font-size: 1rem; }
}


/* ============================================
   SECTION COMMON
   ============================================ */

.explore-section {
    padding: 5rem 0;
    border-top: none;
}

.explore-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.explore-section__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(208,139,85,0.5);
    margin-bottom: 0.6rem;
}

.explore-section__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: #f0e6d2;
    margin: 0 0 0.8rem;
    letter-spacing: 0.02em;
}

.explore-section__intro {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(240,230,210,0.55);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .explore-section { padding: 3.5rem 0; }
    .explore-section__heading { font-size: 1.6rem; }
    .explore-section__intro { font-size: 0.95rem; }
}


/* ============================================
   NEW TO VESPER — Thin bar + Orientation modal
   ============================================ */

.explore-newbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border: none;
}

/* Kill any stray line between newbar and next section */
/* Reduce gap between newbar and the first content section */
#districts {
    padding-top: 2.5rem;
}

.explore-newbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: var(--v-bg-elevated);
    border: 1px solid var(--v-border-strong);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.explore-newbar__btn:hover {
    border-color: var(--v-accent);
    background: var(--v-bg-surface);
}

.explore-newbar__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v-text-secondary);
}

.explore-newbar__cta {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--v-accent);
}

/* Orientation Modal */
.explore-orient-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(6,10,18,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.explore-orient-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.explore-orient-modal {
    background: #0c1220;
    border: 1px solid rgba(240,230,210,0.1);
    border-radius: 6px;
    width: 90%;
    max-width: 580px;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.explore-orient-overlay.is-visible .explore-orient-modal {
    transform: translateY(0);
}

.explore-orient__close {
    position: absolute;
    top: 0.5rem; right: 0.7rem; z-index: 10;
    background: rgba(6,10,18,0.6);
    border: none;
    color: rgba(240,230,210,0.6);
    font-size: 1.5rem;
    width: 36px; height: 36px;
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.3s ease;
}

.explore-orient__close:hover {
    color: var(--v-accent);
}

.explore-orient__scroll {
    overflow-y: auto;
    max-height: 85vh;
    padding: 2rem 1.8rem 2rem;
}

.explore-orient__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--v-text);
    text-align: center;
    margin: 0 0 1.2rem;
}

.explore-orient__hero {
    margin: 0 -1.8rem 1.5rem;
    overflow: hidden;
}

.explore-orient__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.explore-orient__section {
    margin-bottom: 1.3rem;
}

.explore-orient__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--v-accent);
    opacity: 0.7;
    margin: 0 0 0.5rem;
}

.explore-orient__text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--v-text);
    margin: 0;
}

/* Terms grid */
.explore-orient__terms {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.explore-orient__term {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    line-height: 1.4;
}

.explore-orient__term-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--v-accent);
    flex-shrink: 0;
    min-width: 80px;
}

.explore-orient__term-def {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.1rem;
    color: var(--v-text);
}

/* Story recommendations */
.explore-orient__stories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.explore-orient__story {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border: 1px solid var(--v-border);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.explore-orient__story:hover {
    border-color: var(--v-accent);
}

.explore-orient__story-img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    opacity: 0.85;
}

.explore-orient__story-body {
    flex: 1;
    min-width: 0;
}

.explore-orient__story-title {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    color: var(--v-text);
    margin-bottom: 0.1rem;
}

.explore-orient__story:hover .explore-orient__story-title {
    color: var(--v-accent);
}

.explore-orient__story-meta {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v-text-muted);
}

.explore-orient__story-tagline {
    display: block;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--v-text-muted);
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .explore-orient-modal { width: 95%; max-height: 90vh; }
    .explore-orient__scroll { padding: 1.5rem 1.3rem; }
    .explore-orient__title { font-size: 1.3rem; }
    .explore-orient__hero { margin: 0 -1.3rem 1.2rem; }
    .explore-orient__story-img { width: 40px; height: 40px; }
}


/* ============================================
   CITY MAP LINK
   ============================================ */

.explore-citymap-link {
    display: block;
    position: relative;
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(240,230,210,0.06);
    transition: border-color 0.3s ease;
}

.explore-citymap-link:hover {
    border-color: rgba(208,139,85,0.25);
}

.explore-citymap-link__img {
    width: 100%;
    display: block;
    opacity: 0.7;
    filter: brightness(0.6) saturate(0.6);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.explore-citymap-link:hover .explore-citymap-link__img {
    opacity: 0.85;
    filter: brightness(0.7) saturate(0.7);
}

.explore-citymap-link__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,10,18,0.3);
}

.explore-citymap-link__text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(240,230,210,0.7);
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.explore-citymap-link:hover .explore-citymap-link__text {
    color: #d08b55;
}


/* ============================================
   DISTRICTS
   ============================================ */

.explore-districts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.explore-district-card {
    text-decoration: none;
    border: 1px solid rgba(240,230,210,0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.explore-district-card:hover {
    border-color: rgba(208,139,85,0.25);
    transform: translateY(-2px);
}

.explore-district-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.explore-district-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.explore-district-card:hover .explore-district-card__img {
    opacity: 1;
    transform: scale(1.03);
}

.explore-district-card__body {
    padding: 1rem 1.2rem 1.2rem;
}

.explore-district-card__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #f0e6d2;
    margin: 0 0 0.4rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.explore-district-card:hover .explore-district-card__name {
    color: #d08b55;
}

.explore-district-card__desc {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(240,230,210,0.5);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.explore-district-card__cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(208,139,85,0.5);
    transition: color 0.3s ease;
}

.explore-district-card:hover .explore-district-card__cta {
    color: #d08b55;
}

@media (max-width: 768px) {
    .explore-districts__grid { grid-template-columns: 1fr; }
    .explore-district-card__name { font-size: 1.15rem; }
}


/* ============================================
   CHARACTERS
   ============================================ */

.explore-characters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

.explore-char-card {
    text-decoration: none;
    text-align: center;
    padding: 1rem 0.5rem;
    transition: transform 0.3s ease;
}

.explore-char-card:hover {
    transform: translateY(-3px);
}

.explore-char-card__portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(240,230,210,0.08);
    margin-bottom: 0.8rem;
    transition: border-color 0.3s ease;
}

.explore-char-card:hover .explore-char-card__portrait {
    border-color: rgba(208,139,85,0.3);
}

.explore-char-card__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #f0e6d2;
    margin: 0 0 0.3rem;
    transition: color 0.3s ease;
}

.explore-char-card:hover .explore-char-card__name {
    color: #d08b55;
}

.explore-char-card__desc {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(240,230,210,0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .explore-characters__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
    .explore-char-card__portrait { width: 70px; height: 70px; }
}


/* ============================================
   PATHS THROUGH VESPER
   ============================================ */

.explore-paths__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.explore-path-card {
    border: 1px solid rgba(240,230,210,0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.explore-path-card:hover {
    border-color: rgba(208,139,85,0.2);
}

.explore-path-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.explore-path-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.explore-path-card:hover .explore-path-card__img {
    opacity: 1;
}

.explore-path-card__body {
    padding: 1rem 1.2rem 1.2rem;
}

.explore-path-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #f0e6d2;
    margin: 0 0 0.4rem;
}

.explore-path-card__desc {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(240,230,210,0.5);
    margin-bottom: 0.8rem;
}

.explore-path-card__count {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(208,139,85,0.4);
    display: block;
    margin-bottom: 0.8rem;
}

.explore-path-card__stories {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(240,230,210,0.04);
}

.explore-path-card__story-link {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.85rem;
    color: rgba(240,230,210,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2em 0;
}

.explore-path-card__story-link:hover {
    color: #d08b55;
}

.explore-path-card__story-link::before {
    content: '\2726 ';
    color: rgba(208,139,85,0.3);
    font-size: 0.7em;
}

@media (max-width: 768px) {
    .explore-paths__grid { grid-template-columns: 1fr; }
    .explore-path-card__title { font-size: 1.15rem; }
}
