:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --primary-color: #f39c12;
    --text-color: #ffffff;
    --shadow-color: rgba(243, 156, 18, 0.4);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
}

h1 {
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lotto-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lotto-row {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    background: #222;
    border-radius: 12px;
    color: var(--primary-color);
    letter-spacing: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.lotto-row.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
    transform: scale(1.05);
}

button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--shadow-color);
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

button:active {
    transform: scale(0.95);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lotto-row {
    animation: fadeInUp 0.5s ease backwards;
}

.lotto-row:nth-child(1) { animation-delay: 0.1s; }
.lotto-row:nth-child(2) { animation-delay: 0.2s; }
.lotto-row:nth-child(3) { animation-delay: 0.3s; }
.lotto-row:nth-child(4) { animation-delay: 0.4s; }
.lotto-row:nth-child(5) { animation-delay: 0.5s; }
