* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff8f7;
    color: #241b1b;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 20px;
    text-align: center;
}

.logo {
    color: #241b1b;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
}

main {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 52px 12px 32px;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 9vw, 64px);
    line-height: 1;
}

.intro {
    max-width: 520px;
    margin: 20px auto 0;
    color: #665b5b;
    font-size: 18px;
    line-height: 1.5;
}

.spel {
    display: grid;
    gap: 14px;
    padding-bottom: 50px;
}

.spel-kort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 2px solid #eadfdd;
    border-radius: 22px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.spel-kort:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(50, 30, 30, 0.08);
}

.spel-kort h2 {
    margin: 0 0 5px;
    font-size: 23px;
}

.spel-kort p {
    margin: 0;
    color: #776b6b;
}

.play {
    white-space: nowrap;
    font-weight: 800;
}

.empty {
    padding: 30px;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
}

.empty h2 {
    margin-top: 0;
}

code {
    padding: 3px 6px;
    border-radius: 6px;
    background: #f1e9e7;
}

footer {
    padding: 28px 20px;
    text-align: center;
}

footer a {
    color: #776b6b;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 520px) {
    .hero {
        padding-top: 36px;
    }

    .spel-kort {
        padding: 20px;
    }

    .spel-kort h2 {
        font-size: 20px;
    }

    .play {
        font-size: 14px;
    }
}
