* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #050505;
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-user-select: none;
    user-select: none;
}

/* Navigation */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0) 100%);
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

nav a:hover, nav a.active {
    opacity: 1;
}

/* Hero Section Defaults */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #050505 0%, rgba(5,5,5,0.5) 40%, rgba(5,5,5,0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out 0.1s forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin: 0 0 20px 0;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Article Defaults */
article {
    max-width: 760px;
    margin: 60px auto 100px;
    padding: 0 20px;
    font-size: 1.15rem;
    color: #cccccc;
}

article p {
    margin-bottom: 30px;
}

article h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 50px 0 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    backdrop-filter: blur(5px);
}

.btn:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Footer */
.discrete-footer {
    padding: 40px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    width: 100%;
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.discrete-footer a {
    color: #aaaaaa;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.discrete-footer a:hover {
    color: #ffffff;
}

.copyright {
    color: #666666;
    letter-spacing: 1px;
}

.page-footer {
    text-align: center;
    padding: 0 20px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
    padding-top: 50px;
}

/* Era Page Specifics */
.hero-era {
    height: 70vh;
    min-height: 400px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.year-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.era-story p:first-of-type::first-letter {
    font-size: 3.5rem;
    float: left;
    margin-right: 12px;
    line-height: 0.8;
    font-weight: bold;
    color: #ffffff;
}

/* Static/Legal Page Styles */
.hero-static {
    height: 40vh;
    min-height: 300px;
    background-color: #111;
}

.hero-static .hero-overlay {
    background: linear-gradient(to top, #050505 0%, rgba(5,5,5,0.3) 100%);
}

.hero-static h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-about {
    background-image: linear-gradient(to top, #050505 0%, rgba(5,5,5,0.3) 100%), url('about-bg.webp');
    background-size: cover;
    background-position: center;
}

.legal-date {
    font-style: italic;
    color: #888;
    margin-bottom: 40px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

article a {
    color: #ffffff;
    text-decoration: underline;
}

article a:hover {
    color: #aaaaaa;
}

article ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

article li {
    margin-bottom: 10px;
}

/* --- Timeline Page Styles --- */
.timeline-header {
    text-align: center;
    padding: 120px 20px 60px;
}

.timeline-header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.timeline-header .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #bbbbbb;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    pointer-events: none;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), #a5b4fc 80%, #ffffff 100%);
    box-shadow: 0 0 15px rgba(165, 180, 252, 0.6);
    top: 0;
    left: 50%;
    margin-left: -1px;
    height: var(--line-height, 0px);
    z-index: 1;
    transition: height 0.1s linear;
}

/* Timeline Century Marker */
.timeline-marker {
    text-align: center;
    padding: 8px 20px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    background: #050505;
    width: fit-content;
    margin: 40px auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-marker.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Period Marker (Bigger) */
.timeline-period {
    text-align: center;
    padding: 12px 30px;
    color: #a5b4fc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: 50px auto 30px;
    font-size: 1.2rem;
    background-color: #050505;
    border: 1px solid rgba(165, 180, 252, 0.3);
    border-radius: 4px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
    text-shadow: 0 0 15px rgba(165, 180, 252, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-period.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Item Container */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0; 
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    margin-bottom: 30px; /* Add spacing between items */
    cursor: pointer;
}

.timeline-item.major {
    transform: scale(1.15) translateY(30px); /* Start with scale and offset */
}

.timeline-item.major .content {
    padding: 10px; /* Add extra padding to make the box bigger */
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-item.major.visible {
    transform: scale(1.15) translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #050505;
    border: 2px solid #ffffff;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    transition: background-color 0.3s, transform 0.3s ease, border-color 0.3s;
    pointer-events: none;
    margin-top: 10px; /* Align dot vertically */
}

.timeline-item.major::after {
    width: 24px;
    height: 24px;
    right: -12px;
    border-width: 3px;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-item:hover::after {
    background-color: #a5b4fc;
    border-color: #a5b4fc;
    transform: scale(1.4);
}

.timeline-item.passed::after {
    background-color: #ffffff;
    transform: scale(1.2);
}

.timeline-item.active::after {
    background-color: #ffffff;
    border-color: #a5b4fc;
    box-shadow: 0 0 20px rgba(165, 180, 252, 0.8);
    transform: scale(1.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(165, 180, 252, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(165, 180, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(165, 180, 252, 0); }
}

.timeline-item.major.right::after {
    left: -12px;
}

.content-link {
    text-decoration: none;
    display: block; 
    color: inherit; 
}

/* The Card Box */
.content-link .content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer; 
    backdrop-filter: blur(5px); /* Glassmorphism effect */
}

.content-link:hover .content {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Card Image */
.content-link .img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-link .era-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.content-link:hover .era-img {
    transform: scale(1.08);
}

/* Card Text */
.content-link .era-text {
    padding: 25px 30px;
}

.content-link .year {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
}

.content-link .description {
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Faux Button */
.btn-faux {
    padding: 10px 20px;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.content-link:hover .btn-faux {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline-controls {
        top: calc(88px + env(safe-area-inset-top));
        right: 12px;
        bottom: auto;
        flex-direction: column;
        gap: 8px;
        z-index: 110;
    }
    .timeline-controls .btn {
        margin: 0;
        padding: 8px 14px;
        min-width: 44px;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline::before {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 23px;
    }
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
}

/* --- Home Page Styles --- */
body.home-body {
    height: 100%;
    overflow: hidden;
}

#warpCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: canvasFadeIn 2s ease-out forwards;
}

#flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-out;
}

@keyframes canvasFadeIn {
    to { opacity: 1; }
}

.home-nav {
    top: 25px;
}

#main-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.8s ease-in-out;
    padding: 20px;
    pointer-events: none;
}

#main-ui .btn,
#main-ui button,
#main-ui a {
    pointer-events: auto;
}

#main-ui h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(180deg, #FFFFFF 0%, #A5B4FC 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(165, 180, 252, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

#main-ui .subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #cbd5e1;
    margin-bottom: 60px;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.4s forwards;
}

#start-btn {
    padding: 18px 45px;
    font-size: 1rem;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(165, 180, 252, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.6s forwards, pulseGlow 3s infinite 2s;
}

#start-btn:hover {
    background: #ffffff;
    color: #000;
    box-shadow: 0 0 40px rgba(165, 180, 252, 0.5);
    transform: scale(1.05);
}

.btn-home-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.8s forwards;
    margin-top: 20px;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.1) translateY(40px);
        filter: blur(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(165, 180, 252, 0.1); }
    50% { box-shadow: 0 0 30px rgba(165, 180, 252, 0.4); border-color: rgba(255,255,255,0.8); }
    100% { box-shadow: 0 0 20px rgba(165, 180, 252, 0.1); }
}

#rewind-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 20px;
}

#year-display {
    font-size: clamp(3rem, 15vw, 10rem); 
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    will-change: transform, filter;
    text-align: center;
}

#status-text {
    font-size: 1.2rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    transition: opacity 0.5s;
}

.home-footer {
    position: absolute;
    bottom: 20px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    font-size: 0.75rem;
    pointer-events: auto;
    border-top: none;
    margin-top: 0;
    z-index: 35;
}

.home-footer:hover {
    opacity: 1;
}

.home-footer .footer-links {
    gap: 15px;
}

@media screen and (max-height: 780px) {
    body.home-body {
        overflow-y: auto;
    }
    #main-ui {
        position: relative;
        min-height: 100dvh;
        height: auto;
        justify-content: flex-start;
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .home-footer {
        position: relative;
        bottom: auto;
        margin-top: 12px;
        opacity: 0.7;
    }
}

/* --- Shared Component Refinements --- */
.era-nav-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-subtle {
    border-color: rgba(255,255,255,0.3);
    color: #aaa;
}

.btn-subtle:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.btn-special {
    border-color: #ffd700;
    color: #ffd700;
}

.btn-special:hover {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
}

.contact-box h3 {
    color: #fff;
    margin-top: 0;
}

.contact-box p {
    font-size: 0.95rem;
}

.btn-home-cta {
    padding: 12px 30px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.text-center {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* --- Quiz Styles --- */
.quiz-section {
    padding: 20px;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.quiz-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-top: -50px; /* Overlap hero slightly */
    position: relative;
    z-index: 10;
}

.quiz-progress {
    font-size: 0.9rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.4;
}

.quiz-question strong {
    color: #ffffff;
    font-weight: 700;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }
}

.option-btn {
    margin: 0;
    width: 100%;
    white-space: normal;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-btn.correct {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.option-btn.wrong {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    opacity: 0.7;
}

.option-btn.dimmed {
    opacity: 0.3;
    pointer-events: none;
}

.quiz-feedback {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUp 0.5s ease-out;
}

.quiz-feedback.hidden {
    display: none;
}

.success-text { color: #22c55e; font-weight: bold; margin-right: 8px; }
.fail-text { color: #ef4444; font-weight: bold; margin-right: 8px; }

.btn-next {
    display: block;
    margin: 20px auto 0;
    background: #ffffff;
    color: #000000;
}

.score-display {
    font-size: 4rem;
    font-weight: 900;
    color: #a5b4fc;
    margin: 20px 0;
}

.score-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

/* --- Persistent Audio Player --- */
.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.audio-player-bar.visible {
    transform: translateY(0);
}

.audio-controls button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.audio-controls button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.1);
}

.progress-container {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    border-radius: 2px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #a5b4fc;
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 0.8rem;
    color: #aaa;
    min-width: 90px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

/* --- Interaction Overlay --- */
.interaction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}
