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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    text-align: center;
    margin-bottom: 0.75rem;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 0.25rem;
}

.channel-banner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.channel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.yt-icon {
    font-size: 0.7rem;
}

.update-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.filters {
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #e94560, #f39c12);
    border-color: transparent;
    color: #fff;
}

.category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.category-filters::-webkit-scrollbar {
    height: 4px;
}

.category-filters::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.category-filters::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.event-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
}

.event-category.concerts {
    background: rgba(233, 69, 96, 0.2);
    color: #f48fb1;
}

.event-category.festivals {
    background: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
}

.event-category.free {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

.event-category.sports {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
}

.event-category.arts {
    background: rgba(255, 152, 0, 0.2);
    color: #ffb74d;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.event-summary {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.free-badge {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-events {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.no-events h3 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 2rem;
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .event-card {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
