* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --destructive: #ef4444;
    --background: #ffffff;
    --card: #ffffff;
    --muted: #f3f4f6;
    --border: #e5e7eb;
    --text: #111827;
    --text-muted: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    pointer-events: none;
    border: none;
    transform: none;
}

.webcam-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 10rem;
    z-index: 20;
    cursor: pointer;
    transition: opacity 0.3s;
}

.webcam-container:hover {
    opacity: 0.9;
}

.webcam-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.webcam-video {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.live-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.live-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    padding: 0 1rem;
}

.logo {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04));
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Status Card */
.status-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    background: var(--secondary);
    color: white;
    border: 2px solid transparent;
}

.status-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Events Section */
.events-section {
    padding: 5rem 1rem;
    background: var(--muted);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.event-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.event-icon {
    width: 1rem;
    height: 1rem;
}

/* Schedule Section */
.schedule-section {
    padding: 5rem 1rem;
    background: var(--background);
}

.schedule-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.schedule-legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
}

.legend-open {
    background: linear-gradient(to right, var(--muted), rgba(243, 244, 246, 0.8));
}

.legend-closed {
    background: rgba(239, 68, 68, 0.7);
}

/* Footer */
footer {
    padding: 3rem 1rem;
    border-top: 1px solid var(--border);
}

footer .container {
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .webcam-container {
        width: 14rem;
    }
    .logo {
        width: 4rem;
        height: 4rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.875rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .events-grid {
        grid-template-columns: 1fr;
    }
}