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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #4ecdc4;
    --purple: #9b59b6;
    --pink: #e91e63;
    --blue: #3498db;
    --green: #2ecc71;
    --yellow: #f1c40f;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--blue));
    --gradient-fun: linear-gradient(45deg, var(--pink), var(--purple), var(--blue), var(--accent-color));
}

/* Typography */
h1, h2, h3 {
    font-family: 'Fredoka One', cursive;
}

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

/* Header */
.header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.mascot {
    font-size: 1.2em;
    animation: spin 3s linear infinite;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--gradient-fun);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

.hero-content {
    flex: 1;
    color: var(--white);
    z-index: 2;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.big-mascot {
    font-size: 15rem;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

/* Buttons */
.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease-out 0.6s both;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

.about {
    background: var(--light-gray);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

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

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* First Edition */
.first-edition {
    background: var(--white);
}

.first-edition h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.edition-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.feature-card {
    text-align: center;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-video {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
}

.event-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.additional-video {
    margin-top: 3rem;
    text-align: center;
}

.additional-video h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 1.8rem;
}

.bonus-video-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bonus-video {
    width: 100%;
    max-height: 300px;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.bonus-video-container p {
    color: var(--dark-gray);
    font-style: italic;
    margin: 0;
}

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

.photo-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.event-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    background: var(--light-gray);
}

/* Rating Section */
.rating-section {
    background: var(--light-gray);
    text-align: center;
}

.rating-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.rating-widget {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.star {
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.star:hover,
.star.active {
    filter: grayscale(0%);
    transform: scale(1.2);
}

.rating-info {
    margin-bottom: 2rem;
}

.rating-display,
.vote-count {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.submit-rating-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-rating-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-rating-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Next Event */
.next-event {
    background: var(--gradient-fun);
    color: var(--white);
    text-align: center;
}

.next-event h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.announcement {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.announcement h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.event-date {
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.countdown-container {
    margin: 4rem 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
}

.countdown-label {
    font-size: 1rem;
    font-weight: 600;
}

.cta-section {
    margin-top: 3rem;
}

.cta-subtext {
    margin-top: 1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-tagline {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-style: italic;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.1; }
    50% { transform: translateY(-50%) scale(1.05); opacity: 0.15; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .big-mascot {
        font-size: 8rem;
        opacity: 0.05;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 1.5rem 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .stars {
        gap: 0.2rem;
    }
    
    .star {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .about-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .event-photo {
        height: 200px;
    }
    
    .event-video {
        height: 180px;
    }
    
    .bonus-video-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .star {
        font-size: 2rem;
    }
    
    .rating-widget {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        gap: 0.8rem;
    }
    
    .event-photo {
        height: 180px;
    }
    
    .event-video {
        height: 160px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .bonus-video-container {
        padding: 1rem;
        margin: 0 1rem;
    }
}