body {
    background: linear-gradient(135deg, #f8fafc 0%, #a1c4fd 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    padding: 48px 32px 32px 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 40px auto 0 auto;
}

h1 {
    color: #2d3a4b;
    margin-bottom: 32px;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

#generate-btn {
    background: linear-gradient(270deg, #667eea, #764ba2, #667eea);
    background-size: 400% 400%;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(118, 75, 162, 0.15);
    transition: background 0.2s, transform 0.2s;
    animation: gradient-flow 8s ease infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#generate-btn:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.04);
    animation-play-state: paused;
}

.uuid-display {
    margin-top: 32px;
    font-size: 1.3rem;
    color: #333;
    background: #f3f6fa;
    border-radius: 8px;
    padding: 28px 24px;
    word-break: break-all;
    white-space: normal;
    overflow-x: visible;
    box-shadow: 0 2px 8px rgba(100, 100, 150, 0.07);
    min-height: 48px;
    transition: box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

.uuid-display:hover {
    background: #e0e7ef;
    box-shadow: 0 4px 16px rgba(118, 75, 162, 0.15);
}

#copied-feedback {
    margin-top: 10px;
    color: #4f8a10;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.2s;
    opacity: 1;
    text-align: center;
}

#copied-feedback:not(.show) {
    opacity: 0;
}

#leaderboard {
    margin-top: 40px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(100, 100, 150, 0.07);
    padding: 24px 18px 18px 18px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

#leaderboard h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #2d3a4b;
    margin-bottom: 18px;
}

#leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#leaderboard-list li {
    font-size: 1.1rem;
    color: #333;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #e0e7ef;
    display: flex;
    align-items: center;
    gap: 12px;
}

#leaderboard-list li:last-child {
    border-bottom: none;
}

.medal {
    font-size: 1.4em;
    margin-right: 6px;
}

.medal.gold {
    color: #FFD700;
}

.medal.silver {
    color: #C0C0C0;
}

.medal.bronze {
    color: #CD7F32;
}

.flag {
    font-size: 1.3em;
    margin-right: 6px;
}

.country {
    font-weight: 600;
    margin-right: 4px;
}

.count {
    color: #764ba2;
    font-weight: 600;
}

.blurb {
    background: #f3f6fa;
    border-radius: 10px;
    padding: 20px 18px 16px 18px;
    margin-bottom: 32px;
    box-shadow: 0 1px 6px rgba(100, 100, 150, 0.06);
    font-size: 1.08rem;
    color: #2d3a4b;
    text-align: left;
    line-height: 1.6;
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
}

.blurb strong {
    color: #764ba2;
}

.blurb .highlight {
    color: #667eea;
    font-weight: 600;
}

.blurb .tagline {
    margin-top: 10px;
    font-size: 1.05rem;
    color: #333;
    font-style: italic;
}

.footer {
    margin-top: auto;
    padding: 18px 0 12px 0;
    background: none;
    color: #888;
    font-size: 0.98rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

.footer p {
    margin: 0;
    line-height: 1.5;
}
