@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Text:wght@400;600&display=swap');

:root {
    --bg-dark: #0a1119;
    --bg-darker: #060d14;
    --accent-blue: #1a3a6d;
    --accent-gold: #c9a45b;
    --text-light: #ffffff;
    --text-muted: #8899ac;
}

body {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    position: relative;
}

.page-header {
    background: linear-gradient(rgba(10, 17, 25, 0.8), rgba(10, 17, 25, 0.6)), url('https://i.imgur.com/3pIv7Pg.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--bg-dark));
}

.main-title {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(201, 164, 91, 0.5);
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.table-container {
    background: rgba(26, 58, 109, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.table-dark {
    background: transparent;
    color: var(--text-light);
}

.table-dark thead th {
    background: rgba(26, 58, 109, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
}

.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

.badge-pill {
    border-radius: 20px;
}

.rank-1 {
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #000;
}

.rank-2 {
    background: linear-gradient(45deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.rank-3 {
    background: linear-gradient(45deg, #cd7f32, #b87333);
    color: #000;
}

.difficulty-hell {
    background: linear-gradient(45deg, #ff4444, #cc0000);
}

.difficulty-nightmare {
    background: linear-gradient(45deg, #9933CC, #6600cc);
}

.table-hover tbody tr:hover {
    background: rgba(26, 58, 109, 0.2);
}

.section-title {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--accent-gold);
    border-radius: 2px;
}

.itch-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .itch-widget {
        display: none;
    }
}
