:root {
    --crimson-red: #8B0000;
    --dark-red: #4a0000;
    --holo-gold: #FFD700;
    --holo-gold-gradient: linear-gradient(135deg, #FFD700, #FDB931, #FFD700);
    --text-light: #ffffff;
    --text-dim: #ffcccc;
    --bg-dark: #0a0000;
    --card-bg: rgba(139, 0, 0, 0.3);
    --card-border: 1px solid rgba(255, 215, 0, 0.3);
    --glass-effect: backdrop-filter: blur(10px);
}

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

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, #2a0000, #0a0000);
    color: var(--text-light);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 0, 0, 0.9);
    border-bottom: 1px solid var(--crimson-red);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--holo-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--holo-gold);
}

.btn-gold {
    background: var(--holo-gold-gradient);
    color: var(--dark-red);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Bento Grid Layout */
.main-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}

.bento-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--holo-gold);
}

/* Grid Spans */
.span-2-col { grid-column: span 2; }
.span-3-col { grid-column: span 3; }
.span-4-col { grid-column: span 4; }
.span-2-row { grid-row: span 2; }

/* Specific Card Styles */
.hero-card {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-card h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: var(--holo-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stat-card {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-red), #2a0000);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--holo-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.content-card {
    background: rgba(20, 0, 0, 0.8);
}

.content-card h3 {
    color: var(--holo-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
}

.content-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 15px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-item:last-child {
    border-bottom: none;
}

.winner-name { color: var(--holo-gold); font-weight: 600; }
.winner-amount { color: #4ade80; font-weight: 700; }

/* Footer */
.footer {
    margin-top: 60px;
    background: #050000;
    padding: 60px 0 20px;
    border-top: 1px solid var(--crimson-red);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--holo-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p, .footer-col a {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.8;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-3-col, .span-4-col { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .span-2-col, .span-3-col, .span-4-col { grid-column: span 1; }
    .span-2-row { grid-row: span 1; }
    .hero-card { height: 400px; }
}
