:root {
    --dark-grey: #151516;
    --light-grey: #1e1e20;
    --gold: #efbd41;
    --border-grey: #38383b;
    --text-grey: #96969C;
    --text-background-grey: #2a2a2d;
}

@font-face {
    font-family: 'BoldPixels';
    src: url('/static/BoldPixels.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    cursor: url('/static/cursor.png'), auto;
}

a:hover, button:hover {
    cursor: url('/static/cursor-hover.png'), auto;
}

body {
    background-color: var(--dark-grey);
    background-image: url('/static/background-tile.png');
    background-repeat: repeat;
    background-attachment: fixed;
    font-family: 'DejaVu Sans Mono', 'Menlo', 'Consolas', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
    color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.comparison-container {
    max-width: 1600px;
    width: 100%;
    background: rgba(30, 30, 32, 0.95);
    border: 2px solid var(--border-grey);
    border-radius: 12px;
    padding: 50px;
    padding-top:20px;
    padding-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.main-title {
    font-family: 'BoldPixels', sans-serif;
    font-size: 4em;
    text-align: center;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.edition-card {
    background: rgba(30, 30, 32, 0.95);
    border: 2px solid var(--border-grey);
    border-radius: 16px;
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.edition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
    cursor: url('/static/cursor-hover.png'), auto;
}

.trophy-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.trophy-image {
    width: 50%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(239, 189, 65, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.year-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.laurel-left, .laurel-right {
    width: 50px;
    height: 30px;
    background-image: url('/static/laurel.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.laurel-right {
    transform: scaleX(-1);
}

.year-text {
    font-family: 'BoldPixels', sans-serif;
    font-size: 2.5em;
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(239, 189, 65, 0.4);
}

.edition-title {
    font-family: 'BoldPixels', sans-serif;
    font-size: 1.8em;
    color: var(--gold);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.stats-container {
    width: 100%;
    margin-bottom: 30px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin-bottom: 12px;
    background: var(--text-background-grey);
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: rgba(42, 42, 45, 0.7);
}

.stat-label {
    font-weight: 600;
    font-size: 1em;
    color: #f0f0f0;
    letter-spacing: 1px;
}

.stat-value {
    font-family: 'BoldPixels', sans-serif;
    font-size: 1.8em;
    color: var(--gold);
    transition: all 0.5s ease;
}

.stat-value.hidden {
    color: var(--text-grey);
    font-family: 'DejaVu Sans Mono', monospace;
    font-size: 1.5em;
}

.stat-value.revealed {
    animation: revealNumber 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes revealNumber {
    0% {
        transform: scale(0.5) rotateY(90deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotateY(0deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

.reveal-btn {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'DejaVu Sans Mono', monospace;
    background: var(--gold);
    color: var(--dark-grey);
    border: none;
    border-radius: 8px;
    cursor: url('/static/cursor-hover.png'), auto;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reveal-btn:hover {
    background: #d4a635;
    transform: translateY(-2px);
}

.reveal-btn:active {
    transform: translateY(0);
}

.reveal-btn.revealed {
    background: var(--border-grey);
    color: var(--text-grey);
    cursor: default;
}

.reveal-btn.revealed:hover {
    transform: none;
    background: var(--border-grey);
}

.navigation {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.nav-btn {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: url('/static/cursor-hover.png'), auto;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.main-btn {
    background: var(--gold);
    color: var(--dark-grey);
}

.main-btn:hover {
    background: #d4a635;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.skip-btn {
    background: var(--text-background-grey);
    color: var(--text-grey);
    border: 1px solid var(--border-grey);
    opacity: 0.85;
}

.skip-btn:hover {
    background: var(--border-grey);
    color: #f0f0f0;
    transform: translateY(-1px) scale(1.01);
    opacity: 1;
}

@media (max-width: 1200px) {
    .editions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    
    .main-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    
    .edition-card {
        padding: 30px 20px;
    }
    
    .trophy-container {
        width: 100px;
        height: 100px;
    }
    
    .year-text {
        font-size: 2em;
    }
    
    .edition-title {
        font-size: 1.4em;
    }
    
    .stat-label {
        font-size: 0.9em;
    }
    
    .stat-value {
        font-size: 1.5em;
    }
    
    .reveal-btn {
        font-size: 1em;
        padding: 12px 30px;
    }
    
    .navigation {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6em;
    }
    
    .stat-row {
        padding: 12px 15px;
    }
    
    .stat-label {
        font-size: 0.85em;
    }
    
    .stat-value {
        font-size: 1.3em;
    }
}