/* Brand Colors */
:root {
    --wagon-red: #E53935;
    --buttercup-yellow: #FFD700;
    --kettle-black: #2C2C2C;
    --sweet-cream: #F5F5F5;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--sweet-cream);
    color: var(--kettle-black);
    line-height: 1.6;
    min-height: 100vh;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sweet-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.popcorn-loader {
    font-size: 60px;
    animation: pop 1s ease-in-out infinite;
}

@keyframes pop {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

/* Header */
.header {
    background: var(--sweet-cream);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.header-title {
    display: inline-block;
    margin: 0 auto;
}

.header h1 {
    font-family: 'Fontdiner Swanky', fantasy;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: normal;
    line-height: 1;
    margin: 0;
}

.header h1:first-child {
    text-align: left;
}

.header .red {
    color: var(--wagon-red);
}

.header .yellow-outline {
    color: var(--buttercup-yellow);
    text-shadow: 1.5px 1.5px 0 var(--kettle-black);
    margin-top: -10px;
    text-align: right;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    background: white;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-content h2 {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--kettle-black);
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.app-buttons {
    margin-bottom: 30px;
}

.app-store-button img {
    height: 60px;
    transition: transform 0.2s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.qr-section {
    display: inline-block;
    padding: 20px;
    background: var(--sweet-cream);
    border-radius: 20px;
}

#qrcode {
    display: block;
    margin: 0 auto 10px;
}

.qr-text {
    font-size: 14px;
    color: #666;
}

/* Event Card */
.current-event {
    margin-bottom: 40px;
}

.section-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.event-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.event-card h3 {
    font-size: 24px;
    color: var(--kettle-black);
    margin-bottom: 10px;
}

.event-card .address {
    color: #666;
    margin-bottom: 10px;
}

.event-card .time {
    font-weight: 600;
    color: var(--kettle-black);
}

.directions-button {
    display: inline-block;
    background: var(--wagon-red);
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.2s ease;
}

.directions-button:hover {
    transform: translateY(-2px);
}

/* Specials Section */
.specials {
    margin-bottom: 40px;
}

.specials-list {
    display: grid;
    gap: 20px;
}

.special-ticket {
    background: var(--buttercup-yellow);
    padding: 25px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px dashed var(--kettle-black);
}

.special-ticket::before,
.special-ticket::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--sweet-cream);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.special-ticket::before {
    left: -15px;
}

.special-ticket::after {
    right: -15px;
}

.special-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--wagon-red);
    margin-bottom: 8px;
}

.special-description {
    color: var(--kettle-black);
    line-height: 1.5;
}

/* Events Section */
.events-list {
    display: grid;
    gap: 15px;
}

.event-row {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
}

.event-date {
    background: var(--kettle-black);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date.today {
    background: var(--wagon-red);
}

.event-month {
    font-size: 14px;
    font-weight: bold;
}

.event-day {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--kettle-black);
    margin-bottom: 5px;
}

.event-time {
    color: #666;
    font-size: 14px;
}

.today-badge {
    display: inline-block;
    background: var(--buttercup-yellow);
    color: var(--kettle-black);
    padding: 2px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

/* CTA Section */
.cta {
    background: var(--wagon-red);
    color: white;
    padding: 60px 20px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-button {
    display: inline-block;
    background: white;
    color: var(--wagon-red);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.download-button:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--kettle-black);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
    font-size: 14px;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .event-card {
        padding: 20px;
    }
    
    .special-ticket {
        padding: 20px;
    }
    
    .cta {
        padding: 40px 20px;
    }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-row,
.special-ticket {
    animation: slideIn 0.3s ease;
}