/* ===============================================
   VTCA 2026 - Conference Website with Video Background
   =============================================== */

/* --- CSS Variables --- */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --accent-cyan: #00eaff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --max-width: 700px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Time-based Theme Colors (dynamically updated by JavaScript) */
    --theme-primary: #007bff;
    --theme-primary-light: #00eaff;
    --theme-accent: #007bff;
    --theme-accent-light: #00eaff;
}

/* --- Base Reset & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    min-width: 400px;
}

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

ul {
    list-style: none;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    width: 100%;
}

/* --- Logo Capsule (Glassmorphism) --- */
.logo-capsule {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(0, 234, 255, 0.3);
    position: relative;
    display: inline-block;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-capsule::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 234, 255, 0.2),
        transparent);
    transition: left 0.5s;
}

.logo-capsule:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 234, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 234, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 25px rgba(0, 234, 255, 0.5);
}

.logo-capsule:hover::before {
    left: 100%;
}

/* --- Navigation Capsule --- */
.nav-capsule {
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 0;
    position: relative;
    z-index: 2;
}

.nav-links li {
    list-style: none;
}

.nav-item {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    z-index: 2;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-item:hover {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-item.active {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

/* --- Sliding Indicator --- */
.nav-indicator {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    height: calc(100% - 0.8rem);
    width: 0;
    background: linear-gradient(135deg,
        var(--theme-primary) 0%,
        var(--theme-primary-light) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 15px color-mix(in srgb, var(--theme-primary) 40%, transparent),
                0 0 20px color-mix(in srgb, var(--theme-primary-light) 20%, transparent);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Dropdown Menu --- */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 11, 37, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s var(--transition-smooth);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s var(--transition-smooth);
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: color-mix(in srgb, var(--theme-accent) 30%, transparent);
    color: var(--white);
    padding-left: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s var(--transition-smooth);
    border-radius: 2px;
}


/* --- Hero Section with Video Background --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    padding-top: 80px; /* Prevent header overlap */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 11, 37, 0.7) 0%,
        rgba(0, 86, 179, 0.5) 50%,
        rgba(0, 123, 255, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.hero-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle strong {
    font-weight: 600;
}

.hero-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* --- Glassmorphism Info Cards --- */
.info-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s var(--transition-smooth);
    flex: 1 1 280px;
    max-width: 350px;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 234, 255, 0.6),
        transparent);
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(0, 234, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
}

.info-card:hover::before {
    opacity: 1;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.info-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* --- Countdown Styles --- */
.countdown {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-variant-numeric: tabular-nums;
    min-width: 2.5ch;
    text-align: center;
}

.countdown-unit {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent-light));
    color: var(--white);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--theme-primary) 40%, transparent);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px color-mix(in srgb, var(--theme-accent-light) 50%, transparent);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.cta-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(50%);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    animation: fadeInUp 1s ease-out 1s both;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollArrow 2s infinite;
}

@keyframes scrollArrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* --- Section Styles --- */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent-light));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* --- Dates Section (Timeline) --- */
.dates-section {
    background: var(--bg-light);
}

.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem 2rem;
}

.timeline-container {
    position: relative;
    width: 100%;
    height: 400px;
}

/* Timeline Base Line */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--theme-primary) 0%,
        var(--theme-accent-light) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-50%);
}

/* Animated Progress Line */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,
        var(--theme-accent-light),
        var(--theme-primary));
    border-radius: 2px;
    animation: timelineProgress 3s ease-out forwards;
    box-shadow: 0 0 20px var(--theme-accent-light);
}

@keyframes timelineProgress {
    to {
        width: 100%;
    }
}

/* Current Date Marker */
.timeline-current-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-date-line {
    width: 3px;
    height: 60px;
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    position: relative;
}

.current-date-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
}

.current-date-label {
    position: absolute;
    top: -35px;
    background: #ff4444;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

/* Timeline Events Container */
.timeline-events {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 350px;
}

/* Individual Timeline Event */
.timeline-event {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Timeline Dot */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--theme-primary);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
}

.timeline-event:hover .timeline-dot {
    transform: scale(1.3);
    border-width: 5px;
    box-shadow: 0 0 20px var(--theme-accent-light);
}

/* Closest Event (Next deadline) */
.timeline-event.closest-event .timeline-dot {
    width: 24px;
    height: 24px;
    border-width: 5px;
    background: var(--theme-accent-light);
    border-color: var(--theme-primary);
    box-shadow: 0 0 20px var(--theme-accent-light);
}

/* Timeline Content */
.timeline-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 170px;
    height: 130px;
    background: var(--white);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: all 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    box-sizing: border-box;
}

/* Timeline Content - Top Position (above the line) */
.timeline-content.timeline-top {
    bottom: 35px;
}

/* Timeline Content - Bottom Position (below the line) */
.timeline-content.timeline-bottom {
    top: 35px;
}

.timeline-event:hover .timeline-content.timeline-top {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--theme-primary) 20%, transparent);
    border-color: var(--theme-primary);
    transform: translateX(-50%) translateY(-3px);
}

.timeline-event:hover .timeline-content.timeline-bottom {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--theme-primary) 20%, transparent);
    border-color: var(--theme-primary);
    transform: translateX(-50%) translateY(3px);
}

.timeline-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-primary);
    line-height: 1.3;
    flex-shrink: 0;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    flex-shrink: 0;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    flex-shrink: 1;
    overflow: hidden;
}

/* Month Markers */
.timeline-months {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.timeline-month {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.6;
}

/* Add to Calendar Buttons */
.calendar-buttons {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.calendar-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.calendar-buttons-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    min-width: 200px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-family: inherit;
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.calendar-btn svg {
    flex-shrink: 0;
}

.calendar-btn.google-calendar:hover {
    border-color: #4285f4;
    color: #4285f4;
    background: rgba(66, 133, 244, 0.05);
}

.calendar-btn.ics-calendar:hover {
    border-color: #666666;
    color: #666666;
    background: rgba(102, 102, 102, 0.05);
}

.calendar-logos {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-wrapper {
        padding: 0.5rem 1rem 1rem;
    }

    .timeline-container {
        height: 350px;
    }

    .timeline-events {
        height: 300px;
    }

    .timeline-content {
        width: 140px;
        height: 120px;
        padding: 0.7rem 0.7rem;
    }

    .timeline-content.timeline-top {
        bottom: 30px;
    }

    .timeline-content.timeline-bottom {
        top: 30px;
    }

    .timeline-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .timeline-date {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .timeline-desc {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .timeline-month {
        font-size: 0.7rem;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .timeline-event.closest-event .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 4px;
    }

    .calendar-buttons {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .calendar-buttons-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .calendar-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
    }
}

/* --- Page Header --- */
.page-header {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent-light));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
}

/* --- News Section (Homepage) --- */
.news-section {
    background: var(--white);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--white);
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    border-color: var(--theme-primary);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-date {
    font-size: 0.85rem;
    color: var(--theme-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
}

.news-link:hover {
    color: var(--theme-accent);
    transform: translateX(5px);
}

.news-cta {
    text-align: center;
    padding-top: 1rem;
}

/* --- News Page Section --- */
.news-page-section {
    background: var(--bg-light);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.news-article {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.news-article:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.news-article-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-article-category {
    font-size: 0.75rem;
    color: var(--theme-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.news-article-content {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-article-content p {
    margin: 0;
}

.news-article-link {
    display: inline-block;
    color: var(--theme-primary);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-article-link:hover {
    color: var(--theme-accent);
    text-decoration: underline;
}

/* --- News Detail Page --- */
.news-detail-content {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dark);
}

.news-detail-content p {
    margin-bottom: 1rem;
}

.news-detail-content p:last-child {
    margin-bottom: 0;
}

.news-detail-back {
    margin-top: 1.5rem;
}

.back-link {
    display: inline-block;
    color: var(--theme-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--theme-accent);
    text-decoration: underline;
}


/* --- Highlights Section --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.highlights-more {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlights-more strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
    padding: 2rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-section .cta-button.primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .cta-button.primary:hover {
    background: var(--bg-light);
}

.cta-section .cta-button.secondary {
    border-color: var(--white);
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* --- Loading, Error, and Empty State Messages --- */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 123, 255, 0.1);
    border-top-color: var(--theme-primary, #007bff);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.error-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.error-description {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-retry-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--theme-primary, #007bff), var(--theme-accent-light, #00eaff));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    font-family: inherit;
}

.error-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.error-retry-btn:active {
    transform: translateY(0);
}

.no-data-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .error-message {
        padding: 3rem 1.5rem;
    }

    .error-title {
        font-size: 1.25rem;
    }

    .error-subtitle {
        font-size: 0.9rem;
    }

    .error-description {
        font-size: 0.875rem;
    }

    .error-retry-btn {
        padding: 0.7rem 1.75rem;
        font-size: 0.95rem;
    }

    .loading-spinner {
        padding: 3rem 1.5rem;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }

    .loading-spinner p {
        font-size: 0.95rem;
    }

    .no-data-message {
        padding: 2.5rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-container {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .logo-capsule {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .nav-item {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-info {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .info-card {
        flex: 1 1 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active {
        display: none;
    }

    .nav-capsule {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-radius: 0;
        padding: 2rem 1rem;
        border: none;
    }

    .nav-capsule.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        position: relative;
        align-items: center;
    }

    .nav-links > li {
        width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.3rem;
    }

    .nav-links > li:not(.nav-dropdown) .nav-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > li:not(.nav-dropdown) .nav-item:hover {
        background: color-mix(in srgb, var(--theme-accent) 20%, transparent);
        border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent);
    }

    .nav-item {
        width: 200px;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-radius: 50px;
        position: relative;
        z-index: 2;
    }

    .nav-item.active {
        background: color-mix(in srgb, var(--theme-accent) 30%, transparent);
        border: 1px solid color-mix(in srgb, var(--theme-accent) 50%, transparent);
    }

    .nav-indicator {
        display: none;
    }

    /* Mobile Dropdown Menu - Accordion Style */
    .nav-dropdown {
        width: 200px;
        margin-bottom: 0.3rem;
    }

    .nav-dropdown > .nav-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s var(--transition-smooth);
    }

    .nav-dropdown.active > .nav-item {
        background: color-mix(in srgb, var(--theme-accent) 20%, transparent);
        border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent);
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(0, 0, 0, 0.2);
        margin: 0.5rem 0 0 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        box-shadow: none;
        border-radius: 12px;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 600px;
        padding: 0.3rem 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
    .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
    .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
    .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
    .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }
    .dropdown-menu li:nth-child(6) { transition-delay: 0.3s; }
    .dropdown-menu li:nth-child(7) { transition-delay: 0.35s; }

    .dropdown-menu a {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.85);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        border-radius: 8px;
        display: block;
        margin: 0.2rem 0.5rem;
    }

    .dropdown-menu a:hover {
        background: color-mix(in srgb, var(--theme-accent) 30%, transparent);
        color: var(--white);
        transform: translateX(5px);
    }

    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-content h2 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-subtitle br {
        display: inline;
    }

    .hero-subtitle br::after {
        content: " ";
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        align-items: center;
    }

    .info-card {
        flex: 1 1 auto;
        width: 100%;
        max-width: 350px;
        padding: 1.2rem 1.5rem;
        height: 130px;
    }

    .info-label {
        font-size: 0.65rem;
    }

    .info-value {
        font-size: 1.1rem;
    }

    .info-location {
        font-size: 0.75rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-unit {
        font-size: 0.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        bottom: 10px;
        font-size: 0.8rem;
    }

    .scroll-arrow {
        height: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header {
        padding: 120px 1.5rem 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .news-page-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .news-article {
        padding: 1.2rem;
    }

    .news-article-title {
        font-size: 1rem;
    }

    .news-article-content {
        font-size: 0.85rem;
    }
}
