/* Reset + base */
body {
    margin: 0;
    font-family: system-ui, -apple-system, Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;

    /* Global tekst */
    font-size: clamp(32px, 1.5vw, 52px);
    line-height: 1.0;
}

/* Layout */
.container {
    max-width: 900px;
    margin: auto;
    padding: clamp(28px, 3vw, 42px);
}

.card {
    background: #1e293b;
    border-radius: 20px;
    padding: clamp(28px, 3vw, 50px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    margin-bottom: 20px;
}

/* Form */
#sokeform {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 2vw, 52px);
}

/* Input */
input[type="text"] {
    width: 100%;
    padding: clamp(22px, 2.5vw, 32px);
    border-radius: 14px;
    border: none;
    font-size: clamp(51px, 2vw, 72px);
    background: #0f172a;
    color: white;
}

input[type="text"]::placeholder {
    color: #94a3b8;
}

/* Button */
input[type="submit"] {
    padding: clamp(15px, 2.5vw, 32px);
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    font-size: clamp(52px, 2vw, 72px);
    cursor: pointer;
    transition: 0.2s;
}

input[type="submit"]:hover {
    transform: scale(1.04);
}

/* Select */
select {
    width: 100%;
    padding: clamp(22px, 2.5vw, 32px);
    border-radius: 14px;
    border: none;
    background: #0f172a;
    color: white;
    font-size: clamp(52px, 2vw, 72px);
}

/* Resultater */
.blue-text {
    color: #60a5fa;
    font-weight: bold;
    font-size: clamp(52px, 2.5vw, 71px);
}

.hvit-text {
    color: #e2e8f0;
    font-size: clamp(52px, 2.5vw, 71px);
    line-height: 1.8;
}

/* Klikkbare vers */
.chapter-link {
    display: block;
    padding: clamp(42px, 2.5vw, 72px);
    border-radius: 14px;
    background: #020617;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.chapter-link:hover {
    background: #1e293b;
}

/* Kapittelinnhold */
.chapter-content {
    padding: clamp(22px, 2.5vw, 42px);
    background: #020617;
    border-radius: 14px;
    margin-top: 8px;
    font-size: clamp(52px, 2.3vw, 70px);
    line-height: 1.9;
}

/* Radio */
input[type="radio"] {
    transform: scale(2.1);
}

/* Info tekst */
.farge-tekst {
    font-size: clamp(52px, 2vw, 72px);
}

/* Litt mobiljustering */
@media (max-width: 600px) {
    .card {
        border-radius: 16px;
    }

    .chapter-link {
        padding: 18px;
    }
}
