:root {
    --dark-grey: #151516;
    --light-grey: #1e1e20;
    --gold: #efbd41;
    --border-grey: #38383b;
    --text-grey: #96969C;
    --text-background-grey: #2a2a2d;
    --color-bg: var(--dark-grey);
    --color-container: var(--light-grey);
    --color-header: var(--gold);
    --color-text: #f0f0f0;
    --color-accent: var(--gold);
    --color-accent-hover: var(--gold);
    --color-btn-text: #151516;
    --color-btn-hover-text: #111;
    --color-btn-hover: #99761E;
}

@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 {
    font-family: 'DejaVu Sans Mono', 'Menlo', 'Consolas', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
    background-image: url('/static/background-tile.png');
    background-repeat: repeat;
    background-attachment: fixed;
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.goodbye-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    background: rgba(30, 30, 32, 0.95);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 60px 40px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trophy-section {
    text-align: center;
    margin-bottom: 30px;
}

.trophy-image {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 5px 20px rgba(212, 175, 55, 0.6));
    animation: trophyPulse 2s ease-in-out infinite;
}

@keyframes trophyPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.title-section {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'BoldPixels', sans-serif;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    letter-spacing: 3px;
    font-weight: 300;
}

.message-section {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.main-message {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.secondary-message {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #cccccc;
}

.secondary-message strong {
    color: var(--gold);
}

.message-section a {
    display: inline-block;
    margin: 8px;
    text-decoration: none;
}

.main-btn {
    background: var(--color-accent);
    color: var(--color-btn-text);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1.1em;
    font-weight: 600;
    font-family: 'DejaVu Sans Mono', 'Menlo', 'Consolas', monospace;
    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);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.main-btn:hover {
    background: var(--color-btn-hover);
    color: var(--color-btn-hover-text);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.main-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.main-btn::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.main-btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navigation {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.nav-btn {
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 40px 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .main-message {
        font-size: 1.1rem;
    }
    
    .secondary-message {
        font-size: 1rem;
    }
    
    .message-section a {
        display: block;
        margin: 12px 0;
    }
    
    .main-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .navigation {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .trophy-image {
        max-width: 100px;
    }
}