:root {
    --bg-main: #0f172a; /* Default Dark Mode */
    --text-main: #f8fafc;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent: #3b82f6;
    --accent-hover: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    transition: all 0.3s ease;
}

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

/* Navbar */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.default-hero {
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--accent) 100%);
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.hero-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #e2e8f0;
}

/* Main Content */
.main-content {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(to right, var(--text-main), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Date Groups */
.date-group {
    margin-bottom: 50px;
}

.date-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    color: var(--text-main);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Cards (Glassmorphism) */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-badge {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.time {
    font-size: 0.9rem;
    opacity: 0.8;
}

.game-name {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.image-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-box span {
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
}

.image-box img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.image-box img:hover {
    transform: scale(1.05);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

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

footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--card-border);
    margin-top: 50px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-text h2 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
}

/* Grid layout for stats cards on the public page */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stats-card {
    border: 1px solid var(--card-border);
}
.top-five-section {
    transition: transform 0.3s ease;
}
.top-five-section .top-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.top-five-section .top-item:hover {
    transform: translateY(-3px);
    border-color: #ffd700 !important;
}
