/* Grunnleggende oppsett og "Feelgood" bakgrunn */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 230, 0.9) 0%, rgba(255, 255, 255, 0) 40%), 
                      linear-gradient(to bottom, #74ebd5 0%, #9face6 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

h1 {
    color: #1a5f7a;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 32px;
    text-align: center;
}

h2 {
    font-size: 18px;
    color: #2c7a9c;
    margin-bottom: 10px;
    margin-top: 0;
}

p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    font-size: 16px;
    color: #1a5f7a;
    margin-bottom: 10px;
}

/* Knapp for å trekke kort */
.btn-primary {
    background: linear-gradient(to right, #f6d365 0%, #fda085 100%);
    border: none;
    border-radius: 30px;
    padding: 16px 20px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(253, 160, 133, 0.4);
    transition: transform 0.1s;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* Resultatkortet som vises ØVERST */
#daily-card-result {
    display: none;
    background: #ffffff;
    border-left: 6px solid #fda085;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

#card-word {
    font-size: 24px;
    font-weight: bold;
    color: #fda085;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.card-quote {
    font-size: 18px;
    color: #1a5f7a;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ordsky fra bildet */
.word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.word-chip {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #74ebd5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #1a5f7a;
}
/* Styling for baksiden av kortet */
.btn-secondary {
    background: transparent;
    border: 2px solid #fda085;
    border-radius: 20px;
    padding: 8px 16px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #fda085;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #fda085;
    color: white;
}

#card-questions {
    text-align: left;
    padding-left: 20px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

#card-questions li {
    margin-bottom: 10px;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}
