:root {
    --primary: #f4c430; /* Lotto Yellow */
    --secondary: #e31b23; /* Lotto Red */
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --gray: #ccc;
    --ticket-bg: #fff;
    --ball-dansk: #f4c430;
    --ball-euro-main: #fff;
    --ball-euro-star: #e31b23;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: var(--dark);
    margin: 0;
    padding: 0;
}

header {
    background: var(--dark);
    padding: 1rem 0;
    color: white;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
}

.links a:hover {
    color: var(--primary);
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Controls */
.controls {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

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

select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--gray);
    font-family: inherit;
}

/* Ticket Grid */
.results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Ticket Card */
.ticket {
    background: var(--ticket-bg);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.ticket-header {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #333;
}

/* Dansk Specific */
.dansk .ball {
    background: var(--ball-dansk);
    color: #333;
    border: none;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}

/* Euro Specific */
.euro .ball {
    background: var(--ball-euro-main);
    color: #333;
    border: 1px solid #ddd;
}

.euro .ball.star {
    background: var(--ball-euro-star);
    color: white;
    border: none;
}
