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

:root {
    --primary: #ff6b2c;
    --secondary: #ffa500;
    --accent: #f4c542;
    --dark: #2d1810;
    --darker: #1a0f08;
    --brown: #6b4423;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --fire-orange: #ff8c42;
    --warm-yellow: #ffda77;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b2c 50%, #d9541e 100%);
    color: white;
    min-height: 100vh;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 215, 0, 0.3);
    border: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(255, 215, 0, 0.5);
}

.logo-text h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2em;
    color: var(--warm-yellow);
    text-shadow: 3px 3px 0px var(--darker),
                 -1px -1px 0px rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 0.9em;
    color: var(--warm-yellow);
    margin-top: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    gap: 15px;
}

.patreon-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FF424D;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 66, 77, 0.4);
}

.patreon-btn:hover {
    background: #e03a44;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 66, 77, 0.6);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(107, 68, 35, 0.6), rgba(139, 69, 19, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.hero-logo {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.hero-logo-img {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(255, 215, 0, 0.4);
    border: 5px solid var(--gold);
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
                0 0 80px rgba(255, 215, 0, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--warm-yellow), var(--gold), var(--fire-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--fire-orange), var(--primary), #ff4500);
    color: white;
    padding: 25px 60px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 107, 44, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
    font-family: 'Press Start 2P', cursive;
    border: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.play-btn:hover::before {
    left: 100%;
}

.play-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 140, 66, 0.8),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: var(--warm-yellow);
}

.play-icon {
    font-size: 1.2em;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--warm-yellow);
    font-family: 'Press Start 2P', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 10px rgba(255, 218, 119, 0.5);
}

.stat-label {
    font-size: 1em;
    color: var(--warm-yellow);
    margin-top: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Leaderboard Section */
.leaderboard-section {
    background: linear-gradient(135deg, rgba(107, 68, 35, 0.6), rgba(139, 69, 19, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--warm-yellow);
    text-shadow: 3px 3px 0px var(--darker),
                 0 0 15px rgba(255, 218, 119, 0.6);
}

.leaderboard-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    background: rgba(107, 68, 35, 0.4);
    border: 2px solid rgba(255, 165, 0, 0.5);
    color: var(--warm-yellow);
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tab-btn:hover {
    background: rgba(139, 69, 19, 0.6);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--fire-orange), var(--primary));
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(255, 107, 44, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.leaderboard {
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    border-color: rgba(255, 215, 0, 0.3);
}

.rank {
    font-size: 2em;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
}

.rank-1 { color: var(--gold); }
.rank-2 { color: var(--silver); }
.rank-3 { color: var(--bronze); }

.player-info {
    flex: 1;
    margin-left: 20px;
}

.player-name {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 5px;
}

.player-stats {
    opacity: 0.8;
    font-size: 0.95em;
}

.player-value {
    font-size: 1.6em;
    font-weight: 700;
    color: #ffd700;
    min-width: 100px;
    text-align: right;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    opacity: 0.7;
}

/* Features Section */
.features {
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffd700;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2em;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero-description {
        font-size: 1em;
    }

    .play-btn {
        font-size: 1.2em;
        padding: 20px 40px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 1.5em;
    }

    .leaderboard-controls {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .hero-logo-img {
        width: 150px;
        height: 150px;
    }

    .logo-img {
        width: 80px;
        height: 80px;
    }
}
