:root {
    --rot: #B22222;
    --dunkelrot: #7A0000;
    --beige: #F2E8D5;
    --cream: #FFF8EC;
    --braun: #3D2B1F;
    --gold: #C8922A;
    --dunkel: #1A0F0A;
    --text: #2C1810;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Special Elite', cursive, serif;
    background-color: var(--beige);
    color: var(--text);
    overflow-x: hidden;
}

/* HERO */
.hero {
    background-color: var(--rot);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.04) 10px,
        rgba(0,0,0,0.04) 20px
    );
    color: var(--cream);
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 8px solid var(--dunkelrot);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.star {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin: 0.3rem 0;
}

.hero-sub {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}

.big-knorke {
    font-size: 6rem !important;
    color: var(--gold);
    text-shadow: 4px 4px 0 var(--dunkelrot), -2px -2px 0 rgba(0,0,0,0.3);
    line-height: 1 !important;
    display: block;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* NAV */
nav {
    background-color: var(--braun);
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid var(--gold);
}

nav a {
    color: var(--beige);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background-color: var(--rot);
    color: var(--cream);
}

/* SECTIONS */
.section {
    padding: 5rem 2rem;
}

.dark-section {
    background-color: var(--braun);
    color: var(--cream);
}

.dark-section h2 {
    color: var(--gold);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    color: var(--rot);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* BEDEUTUNG */
.bedeutung-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.definition-box {
    border: 3px solid var(--rot);
    padding: 2rem;
    background: var(--cream);
    text-align: center;
    position: relative;
}

.definition-box::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--braun);
    z-index: -1;
}

.wort {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--rot);
}

.wortart {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin: 0.3rem 0 1rem;
    font-style: italic;
}

.def-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.history-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.synonyme {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--rot);
}

.synonyme span {
    color: var(--cream);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

/* PLAYER */
.player-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border: 3px solid var(--gold);
    background: rgba(255,255,255,0.05);
}

.player-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.player-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

audio {
    width: 100%;
    margin: 1rem 0;
}

.vinyl-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.vinyl {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #111 20%, transparent 20%),
        repeating-radial-gradient(circle at center, #1a1a1a, #1a1a1a 2px, #2d2d2d 2px, #2d2d2d 4px);
    border: 4px solid #333;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}

.vinyl::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: var(--gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vinyl.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-sub {
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* KNORKE-O-METER */
.meter-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.quiz-box {
    max-width: 680px;
    margin: 0 auto;
    border: 3px solid var(--rot);
    padding: 3rem;
    background: var(--cream);
    position: relative;
}

.quiz-box::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--braun);
    z-index: -1;
}

.question-number {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text);
    font-weight: bold;
}

.answer-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.answer-btn {
    background: var(--beige);
    border: 2px solid var(--braun);
    padding: 0.9rem 1.2rem;
    text-align: left;
    font-family: 'Special Elite', cursive, serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}

.answer-btn:hover {
    background: var(--rot);
    color: var(--cream);
    border-color: var(--rot);
    transform: translateX(4px);
}

.result-meter {
    margin: 2rem 0;
}

.meter-bar {
    height: 30px;
    background: var(--beige);
    border: 2px solid var(--braun);
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(to right, var(--dunkelrot), var(--rot), var(--gold));
    width: 0%;
    transition: width 1s ease-out;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--braun);
}

.result-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
    text-align: center;
    padding: 1.5rem;
    background: var(--beige);
    border-left: 4px solid var(--rot);
}

.retry-btn {
    background: var(--rot);
    color: var(--cream);
    border: none;
    padding: 0.9rem 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background 0.2s;
}

.retry-btn:hover {
    background: var(--dunkelrot);
}

/* GALERIE */
.galerie-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.8;
    font-size: 1.1rem;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.galerie-card {
    border: 2px solid var(--gold);
    padding: 2rem;
    text-align: center;
    background: rgba(255,255,255,0.05);
    transition: transform 0.2s, background 0.2s;
}

.galerie-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
}

.card-art {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.galerie-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.galerie-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* FOOTER */
footer {
    background-color: var(--dunkel);
    color: var(--cream);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 6px solid var(--rot);
}

.footer-star {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.footer-small {
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .big-knorke { font-size: 3.5rem !important; }
    .bedeutung-content { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: 1fr 1fr; }
    nav a { padding: 0.8rem 0.7rem; font-size: 0.75rem; }
    .quiz-box { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .galerie-grid { grid-template-columns: 1fr; }
    .big-knorke { font-size: 2.5rem !important; }
    nav { flex-wrap: wrap; }
}
