* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

main {
    margin-top: 80px;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#rankings, #leaderboard, #weekly-updates {
    background: white;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#rankings h2, #leaderboard h2, #weekly-updates h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: #f5f7fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.game-card.top-1::before {
    background: linear-gradient(90deg, #FFD700, #FFED4E);
}

.game-card.top-2::before {
    background: linear-gradient(90deg, #C0C0C0, #E5E5E5);
}

.game-card.top-3::before {
    background: linear-gradient(90deg, #CD7F32, #DAA520);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.game-card p {
    margin-bottom: 0.5rem;
    color: #666;
}

.game-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #555;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.rating {
    color: #f39c12;
    font-weight: bold;
}

.rtp {
    color: #27ae60;
    font-weight: bold;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature {
    background: #e8f4fd;
    color: #2980b9;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.leaderboard-table {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.table-header {
    background: #667eea;
    color: white;
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr 1fr 1fr;
    padding: 1rem 2rem;
    font-weight: bold;
    text-align: center;
}

.player-row {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr 1fr 1fr;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.player-row:hover {
    background-color: #e9ecef;
}

.player-row.top-player {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.col-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.player-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    font-weight: bold;
    color: #333;
}

.player-level {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
}

.col-trend.up {
    color: #27ae60;
    font-weight: bold;
}

.col-trend.down {
    color: #e74c3c;
    font-weight: bold;
}

.player-row {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.player-row:last-child {
    border-bottom: none;
}

.player-row span {
    font-size: 1.1rem;
    font-weight: 500;
}

.cta {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.update-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.update-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.day {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.month {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.update-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.update-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .rankings-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .update-card {
        flex-direction: column;
        text-align: center;
    }
    
    .table-header,
    .player-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .col-player {
        justify-content: center;
    }
}
