/* Nyanga Today: Living Mountain Beauty CSS */
:root {
    --ny-today-bg: #f8fafc;
    --ny-today-text: #0f172a;
    --ny-today-accent: #334155;
    --ny-today-gold: #c5a880;
    --ny-today-white: #ffffff;
    --ny-today-fade: cubic-bezier(0.25, 1, 0.4, 1);
}

body {
    background: var(--ny-today-bg);
    color: var(--ny-today-text);
    margin: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-family: var(--font-sans);
    opacity: 0;
    transition: opacity 2.5s var(--ny-today-fade);
}

body.loaded {
    opacity: 1;
}

/* Premium Navigation Container */
.today-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.back-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ny-today-text);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.5s var(--ny-today-fade);
}

.back-btn-modern .circle-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ny-today-fade);
}

.back-btn-modern:hover {
    color: var(--ny-today-gold);
    letter-spacing: 0.3em;
}

.back-btn-modern:hover .circle-arrow {
    border-color: var(--ny-today-gold);
    background: var(--ny-today-white);
    color: var(--ny-today-gold);
    transform: translateX(-3px);
}

/* Fullscreen Media Container */
.today-viewer {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: var(--ny-today-bg);
    overflow: hidden;
}

/* Cinematic Images: Layered and Constant Motions */
.today-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 4.5s cubic-bezier(0.25, 1, 0.5, 1); /* Extremely clean and bright cinematic cross dissolve */
    z-index: 10;
}

.today-image.active {
    opacity: 1;
    z-index: 15;
}

.today-image.previous {
    opacity: 0.35; /* Softly blends during cross dissolve with pristine clarity */
    z-index: 11;
}

/* 4 Unique Continuous Motion Patterns - Peaceful and Elegant Zoom/Pans, Rotations Removed */
.today-image:nth-of-type(4n+1) {
    animation: todayDriftOne 32s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.today-image:nth-of-type(4n+2) {
    animation: todayDriftTwo 36s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.today-image:nth-of-type(4n+3) {
    animation: todayDriftThree 30s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.today-image:nth-of-type(4n+4) {
    animation: todayDriftFour 40s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

/* Motion definitions: Super slow cinematic pans & Zooms - perfectly clean and peaceful */
@keyframes todayDriftOne {
    0% {
        transform: scale(1.01) translateX(-0.5%) translateY(0);
    }
    100% {
        transform: scale(1.07) translateX(0.5%) translateY(-1%);
    }
}

@keyframes todayDriftTwo {
    0% {
        transform: scale(1.08) translateX(0.8%) translateY(-0.8%);
    }
    100% {
        transform: scale(1.02) translateX(-0.5%) translateY(0.3%);
    }
}

@keyframes todayDriftThree {
    0% {
        transform: scale(1.03) translateX(-0.8%) translateY(0.5%);
    }
    100% {
        transform: scale(1.08) translateX(0.5%) translateY(-0.8%);
    }
}

@keyframes todayDriftFour {
    0% {
        transform: scale(1.09) translateX(0.6%) translateY(-0.6%);
    }
    100% {
        transform: scale(1.01) translateX(-0.8%) translateY(0.5%);
    }
}

/* Clean Overlays for Daylight Depth - Lightweight, Bright, and Open */
.today-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 65%, rgba(15, 23, 42, 0.03) 100%);
    z-index: 20;
    pointer-events: none;
}

.today-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(248, 250, 252, 0.45) 0%, rgba(248, 250, 252, 0.1) 40%, transparent 100%);
    z-index: 21;
    pointer-events: none;
}

/* Atmospheric elements hidden to guarantee photography is the hero */
.sun-breath {
    display: none;
}

@keyframes slowSunBreath {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.08); }
}

/* Editorial Content Layout (Minimal & Majestic) */
.today-content-frame {
    position: fixed;
    bottom: 5rem;
    left: 5rem;
    right: 5rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.meta-index {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--ny-today-gold);
    letter-spacing: 0.3em;
    font-weight: 600;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-index::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--ny-today-gold);
    opacity: 0.5;
}

.today-title-wrapper {
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.today-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--ny-today-text);
    margin: 0;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.8s var(--ny-today-fade);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.today-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.today-subtitle-wrapper {
    overflow: hidden;
    max-width: 620px;
}

.today-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--ny-today-accent);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.8s var(--ny-today-fade) 0.3s;
}

.today-subtitle.visible {
    opacity: 0.85;
    transform: translateY(0);
}

/* Controls Layer: Dots and Navigation */
.today-controls {
    position: fixed;
    bottom: 5rem;
    right: 5rem;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.slide-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.6s var(--ny-today-fade);
    padding: 0;
}

.slide-dot.active {
    background: var(--ny-today-text);
    transform: scale(1.6);
}

/* Arrow buttons for navigation */
.arrow-nav {
    display: flex;
    gap: 0.75rem;
    pointer-events: auto;
}

.arrow-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    color: var(--ny-today-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s var(--ny-today-fade);
    outline: none;
}

.arrow-btn:hover {
    background: var(--ny-today-white);
    border-color: var(--ny-today-text);
    color: var(--ny-today-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

/* Dynamic Minimal Progress line at bottom of screen */
.today-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(15, 23, 42, 0.04);
    z-index: 50;
}

.today-progress-bar {
    height: 100%;
    background: var(--ny-today-gold);
    width: 0%;
    transition: width 0.1s linear;
}

/* Elegant white-out transition cover to return to Mist */
.reveal-mist-cover {
    position: fixed;
    inset: 0;
    background: #080C0E; /* Blend right into the dark sacred mist bg */
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-mist-cover.active {
    opacity: 1;
    pointer-events: auto;
}

/* Cloud Dust Floating Particles disabled to keep photography pristine */
.today-cloud-dust {
    display: none;
}

/* Responsive adjustments for cozy layouts */
@media (max-width: 768px) {
    .today-header {
        padding: 1.5rem 2rem;
    }
    .today-content-frame {
        bottom: 12rem;
        left: 2rem;
        right: 2rem;
    }
    .today-controls {
        bottom: 4rem;
        left: 2rem;
        right: 2rem;
        justify-content: space-between;
    }
}
