:root {
    --bg-color: #0f172a;
    /* Dark YouTube-like theme */
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #ef4444;
    /* Red for action/reporting */
    --border: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: white;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-report {
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-report:hover {
    background-color: #dc2626;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    background-color: #334155;
}

.filter-btn.active {
    background-color: white;
    color: black;
    font-weight: bold;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1rem;
}

.video-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.video-category.cleanliness {
    color: #3b82f6;
}

.video-category.corruption {
    color: #ef4444;
}

.video-location {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.loading-text {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 1.2rem;
}