/* ========================================
   DORAEMON UNIVERSE - PROFESSIONAL CSS
   Production-Ready Stylesheet with YouTube Integration
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors */
    --primary-blue: #0066CC;
    --primary-yellow: #FFD700;
    --primary-red: #FF4444;
    --secondary-blue: #00d4ff;
    --dark-navy: #0a1128;
    --light-cream: #F8F9FA;
    --youtube-red: #FF0000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    --gradient-youtube: linear-gradient(135deg, #FF0000, #FF6B6B);
    
    /* Typography */
    --font-display: 'Rampart One', cursive;
    --font-body: 'Vollkorn', serif;
    --font-sans: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0a1128;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #2d3561;
    --text-primary: #ffffff;
    --text-secondary: #b0b8d0;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
    --card-bg: #1a1f3a;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e8ecf1;
    --text-primary: #0a1128;
    --text-secondary: #666666;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.1);
    --card-bg: #f8f9fa;
}

/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-normal);
}

section {
    padding: 3rem var(--spacing-lg);
}

/* ==================== ULTRA PREMIUM SECTION HEADER STYLES ==================== */
.section-header {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}

.section-header h2 {
     font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px; 
}

h2.time {
    color: #fff !important;
}

.section-header p {
    font-family: 'Caveat', 'Architects Daughter', 'Poppins', cursive, sans-serif; 
    font-size: 2rem; 
    font-weight: 500;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    line-height: 1.4;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.section-header p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 3.5px;
    background: var(--primary-gradient);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 114, 255, 0.3);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0052a3 0%, #0a1128 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-content {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

.preloader-spinner {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-yellow);
    border-bottom: 4px solid var(--secondary-blue);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.preloader-logo {
    width: 100px;
    height: auto;
    z-index: 10;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)); }
}

/* ========== FLYING DORAEMON EFFECT ========== */
/* ========== FLYING DORAEMON WITH IMAGE ========== */
.flying-doraemon {
    position: fixed;
    top: 35%;
    left: -150px; /* सुरुवातीला स्क्रीनच्या बाहेर */
    width: 120px;  /* इमेजची रुंदी (तुम्ही हवी तशी बदलू शकता) */
    height: 5000px;  /* उंची ऑटोमॅटिक सेट होईल */
    z-index: 99999;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.flying-doraemon img {
    width: 100%;
    height: auto;
    display: block;
}

/* जेव्हा डोरेमोन डावीकडे फिरेल तेव्हा इमेज उलटी (Flip) करण्यासाठी */
.flying-doraemon.flip {
    transform: scaleX(-1);
}
/* ========== STAR SPARKLE EFFECT FOR DORAEMON ========== */
.doraemon-star {
    position: fixed;
    width: 15px; /* ताऱ्यांचा आकार */
    height: 15px;
    background: radial-gradient(circle, #fff 20%, var(--primary-yellow) 70%, transparent 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 99998; /* डोरेमोनच्या किंचित मागे राहतील */
    pointer-events: none;
    animation: starFade 1s linear forwards;
}

@keyframes starFade {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}
/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-yellow), var(--primary-red));
    width: 0%;
    z-index: 9998;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* ========== FLOATING BUTTON ========== */
.floating-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: float 3s ease-in-out infinite;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    color: white;
    font-size: 1.5rem;
}

.floating-btn.show {
    opacity: 1;
    visibility: visible;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(10 17 40 / 36%);
    z-index: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-menu {
    flex: 1;
}

.navlist {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    justify-content: center;
}

.navlist a {
    font-size: 1.2rem;
    color: #fff !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.navlist a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow));
    transition: width var(--transition-normal);
}

.navlist a:hover::after,
.navlist a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}
/* ========== HERO SECTION ========== */
/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 400px;
    background-image: url('../images/hero_magic.png'); /* इथे ../images/ केले आहे */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(10 17 40 / 12%), rgb(0 102 204 / 0%));
    z-index: 2;
    backdrop-filter: blur(0.5px);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    margin-bottom:20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    z-index: 4;
}

.mouse-wheel {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ========== CHARACTERS SECTION ========== */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: 2rem;
}

.character-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: var(--primary-blue);
}

.character-image {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.character-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.character-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.character-info .role {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-info .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.traits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.trait-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========== GADGETS SECTION ========== */
.gadgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-top: 2rem;
}

.gadget-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.gadget-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px var(--shadow);
    border-color: var(--primary-red);
}

.gadget-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF4444 0%, #FF8866 100%);
}

.gadget-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.gadget-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gadget-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 0.7rem;
}

.gadget-info .description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.get-tag {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

/* ========== VIDEOS SECTION ========== */
.video-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.video-tab {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.video-tab.active {
    background: linear-gradient(135deg, var(--primary-blue), #0052a3);
    color: white;
    border-color: var(--primary-blue);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: 2rem;
}

.video-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.video-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: var(--spacing-lg);
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
}

/* ========== ULTRA PREMIUM CUSTOM MODAL POPUP LIGHTBOX ========== */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.96);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.92);
    transition: transform var(--transition-normal);
}

.gallery-modal.show .modal-img {
    transform: scale(1);
}

.modal-caption {
    margin-top: 15px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 100000;
}

.modal-close:hover {
    color: var(--primary-red);
    transform: scale(1.15);
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 26px;
    padding: 15px 22px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 100000;
}

.modal-prev:hover, .modal-next:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.modal-prev { left: 40px; }
.modal-next { right: 40px; }

/* ========== TIMELINE SECTION ========== */
.timeline-section {
    position: relative;
    padding: 100px 20px;
    background: url("../images/Doraemon Timeline Banner.jpeg") center center / cover no-repeat; /* इथे ../images/ केले आहे */
    overflow: hidden;
    width: 100%;
}

.timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 26%);
    z-index: 1;
}

.timeline-section .section-header,
.timeline-section .swiper {
    position: relative;
    z-index: 2;
}

.timelineSwiper {
    width: 100%;
    padding: 2rem 1rem 3.5rem 1rem !important;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    text-align: center;
    height: 450px;
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.35);
    border-color: var(--primary-blue);
}

.timeline-marker h3 {
    color: var(--primary-yellow);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.timeline-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.timeline-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 15px;
}

.timeline-image p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    padding: 0 15px;
}

.timeline-image p strong {
    color: var(--primary-yellow);
}

.copyright {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .video-grid, .characters-grid, .gadgets-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navlist {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left var(--transition-normal);
        z-index: 400;
    }

    .navlist.open { left: 0; }
    .hamburger { display: flex; }
    .characters-grid, .gadgets-grid, .video-grid, .gallery-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    
    /* Popup Mobile Responsive adjustments */
    .modal-content-wrapper { max-width: 95%; }
    .modal-prev { left: 10px; padding: 10px 15px; font-size: 20px; }
    .modal-next { right: 10px; padding: 10px 15px; font-size: 20px; }
    .modal-close { top: 15px; right: 20px; font-size: 38px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .gallery-item { height: 150px; }
}

.video-card.hidden { opacity: 0; pointer-events: none; }
.video-card { opacity: 1; transition: opacity 0.3s ease; }

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}