/* ===================================
   2-5 学校祭 - Dream World
   Ultimate Styling
   =================================== */

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

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --accent-alt: #fdcb6e;
    --dark: #0a0a1a;
    --dark-light: #1a1a2e;
    --light: #ffffff;
    --gray: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
    --gradient-3: linear-gradient(135deg, #fd79a8 0%, #f8a5c2 100%);
    --gradient-4: linear-gradient(135deg, #fdcb6e 0%, #f9ca24 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===================================
   Header
   =================================== */
header {
    background: var(--gradient-dark);
    padding: 60px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 201, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(253, 121, 168, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 3.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header h1 .highlight {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--secondary);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.header-badge {
    display: inline-block;
    background: var(--gradient-3);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(253, 121, 168, 0.4);
}

.wave-bottom {
    position: relative;
    margin-top: 40px;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===================================
   Navigation
   =================================== */
nav {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 26, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--gray);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--light);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 100px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: -50px;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--accent-alt);
    top: 20%;
    left: 60%;
    animation-delay: -15s;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    bottom: 30%;
    left: 10%;
    animation-delay: -7s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(40px, 40px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-4);
    color: var(--dark);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(253, 203, 110, 0.4);
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--light);
    text-shadow: 2px 2px 0 var(--accent), -2px -2px 0 var(--secondary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: var(--accent);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: var(--secondary);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 3px); }
    40% { clip-path: inset(40% 0 40% 0); transform: translate(3px, -3px); }
    60% { clip-path: inset(60% 0 20% 0); transform: translate(-3px, 3px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -3px); }
    40% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 3px); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(3px, -3px); }
    80% { clip-path: inset(40% 0 40% 0); transform: translate(-3px, 3px); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Countdown */
.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce-scroll 2s ease-in-out infinite;
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

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

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 2px;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
}

section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    letter-spacing: 3px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-card {
    position: relative;
    background: var(--dark-light);
    border-radius: 30px;
    padding: 50px;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.theme-text {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.about-card p {
    color: var(--gray);
    line-height: 2;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: var(--dark-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.info-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light);
}

.info-sub {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===================================
   Menu Section
   =================================== */
.menu {
    background: var(--gradient-dark);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover,
.menu-tab.active {
    background: var(--gradient-1);
    color: var(--light);
    border-color: transparent;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    perspective: 1000px;
}

.menu-item-inner {
    background: var(--dark-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-item-inner:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.menu-emoji {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light);
}

.menu-item p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.menu-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
}

.tag.popular {
    background: var(--gradient-3);
    color: var(--dark);
}

.tag.new {
    background: var(--gradient-2);
    color: var(--dark);
}

/* ===================================
   Events Section
   =================================== */
.events {
    background: var(--dark);
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.time-badge {
    background: var(--gradient-4);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 5px 20px rgba(253, 203, 110, 0.4);
}

.event-card {
    background: var(--dark-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 20px;
    padding: 30px;
    width: 45%;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--light);
}

.event-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.event-desc {
    color: var(--secondary) !important;
    font-style: italic;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--gradient-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-placeholder:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.gallery-placeholder span {
    font-size: 4rem;
    margin-bottom: 10px;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===================================
   Access Section
   =================================== */
.access {
    background: var(--dark);
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.access-card {
    background: var(--dark-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.access-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.access-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.access-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.access-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--light);
    margin-bottom: 10px;
}

.access-card p,
.access-card li {
    color: var(--gray);
    line-height: 1.8;
}

.access-card ul {
    list-style: none;
}

.access-card li::before {
    content: '→ ';
    color: var(--primary);
}

.map-container {
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-light);
    border: 2px dashed rgba(108, 92, 231, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 5px;
}

.map-placeholder span {
    font-size: 0.9rem;
    color: var(--gray);
    letter-spacing: 3px;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--dark-light);
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo span {
    font-size: 2.5rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content > p {
    color: var(--gray);
    margin-bottom: 30px;
}

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
}

.back-to-top svg {
    color: var(--light);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li a {
        padding: 12px;
        text-align: center;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .events-timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .time-badge {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .event-card {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 20px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}