:root {
    --primary-orange: #ff8c00;
    --dark-orange: #e67e22;
    --gold: #ffcc00;
    --royal-blue: #003399;
    --dark-bg: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
.subtitle {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(to bottom, #2c3e50, var(--dark-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 5px solid var(--primary-orange);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
}

.hero-image-container {
    margin-bottom: 2.5rem;
    padding: 0 4rem;
    animation: fadeInDown 1.2s ease-out;
}

.hero-main-img {
    max-width: 880px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    display: block;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--primary-orange);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1.2s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffd6a5;
    margin-bottom: 2.5rem;
}

.daily-praise-box {
    background: rgba(255, 140, 0, 0.2);
    padding: 1rem 2rem;
    border-radius: 5px;
    border: 2px solid var(--gold);
    display: inline-block;
    max-width: 800px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out;
}

.praise-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.praise-text {
    font-style: italic;
    font-size: 1.1rem;
    color: white;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: -50px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 20;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.stat-info .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: #bbb;
    text-transform: uppercase;
}

/* Grid Layout */
.content-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Leaderboard */
.leaderboard-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leaderboard-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-table th {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-row {
    background: rgba(255, 140, 0, 0.05);
}

.points-cell {
    font-weight: bold;
    color: var(--gold);
}

.user-name {
    font-weight: 600;
    color: var(--text-light);
}

/* News Section */
.news-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-aside h2 {
    color: var(--primary-orange);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card {
    background: rgba(255, 140, 0, 0.05);
    border-left: 4px solid var(--primary-orange);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.news-card:hover {
    background: rgba(255, 140, 0, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--dark-bg);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .content-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .solidarity-card {
        flex-direction: column;
        text-align: center;
    }
}