:root {
    --bg-dark: #0c0e10;
    --text-light: #f2f2f2;
    --neon-pink: #ff3fb4;
    --neon-orange: #ff9b42;
    --neon-cyan: #00ffff;
    --golden: #ffd36b;
    
    --font-main: 'Montserrat', sans-serif;
    --font-script: 'Pacifico', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    /* Placeholder für die Hintergrundbilder, falls Datei nicht existiert, Fallback zu Dark */
    background-image: url('assets/dark-mosaic.png'), url('assets/texture-bg.png');
    background-position: center, center;
    background-size: cover, auto;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3 {
    text-transform: uppercase;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--neon-pink);
}

/* --- Header Layouts --- */
.hero-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('assets/header-bg.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(12,14,16,0.7), rgba(12,14,16,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.neon-title {
    font-size: 4rem;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink), 0 0 20px rgba(255, 63, 180, 0.6);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.neon-subtitle {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--neon-orange);
    text-transform: none;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px rgba(255, 155, 66, 0.5);
}

.hero-body {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Small Header for App */
.small-header {
    text-align: center;
    padding: 40px 20px 20px;
    background-image: url('assets/header-bg.png');
    background-size: cover;
    position: relative;
}
.small-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12,14,16,0.7), rgba(12,14,16,0.9));
}
.small-header .header-content {
    position: relative;
    z-index: 2;
}
.small-header h1 {
    color: var(--neon-pink);
    font-size: 2rem;
    text-shadow: 0 0 10px var(--neon-pink);
}
.small-header .subtitle {
    font-family: var(--font-script);
    color: var(--neon-orange);
    font-size: 1.5rem;
}

/* --- UI Elements --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--neon-pink);
    background: transparent;
    color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 63, 180, 0.4), inset 0 0 10px rgba(255, 63, 180, 0.2);
}

.btn:hover {
    background: var(--neon-pink);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(255, 63, 180, 0.8);
    transform: scale(1.05);
}

/* --- Generator Overlay --- */
.generator-overlay {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.card {
    background: rgba(12,14,16,0.45);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 0 20px rgba(255, 63, 180, 0.15), inset 0 0 20px rgba(255,255,255,0.05);
    width: 90%;
    max-width: 700px;
    padding: 2.5rem;
    text-align: center;
    transition: opacity 0.5s ease;
}

.hidden { display: none !important; }

/* Question Styles */
#question-header {
    margin-bottom: 2rem;
}

.question-number {
    display: inline-block;
    background: var(--neon-pink);
    color: #111;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

#question-text {
    color: var(--neon-cyan);
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* Answer Buttons */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.answer-btn {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    border-radius: 30px;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 5px var(--neon-pink), inset 0 0 5px var(--neon-pink);
}

.answer-btn:hover {
    background: var(--neon-pink);
    color: var(--bg-dark);
    transform: scale(1.05);
}

.answer-btn.selected {
    background: var(--neon-pink);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-pink);
}

/* Multi Counter & Nav */
#multi-counter {
    color: var(--golden);
    margin-top: 1.5rem;
    font-weight: 600;
}

.nav-area {
    margin-top: 2rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--neon-orange);
    color: var(--neon-orange);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 155, 66, 0.2);
}

/* Result Styles */
.result-headline {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

textarea#finalPrompt {
    width: 100%;
    height: 140px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-family: monospace;
    font-size: 0.6rem;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    resize: none;
}

.result-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    opacity: 0.5;
    font-size: 0.8rem;
    margin-top: auto;
}

@media (max-width: 600px) {
    .neon-title { font-size: 2.5rem; }
    .neon-subtitle { font-size: 1.8rem; }
    .card { padding: 1.5rem; width: 95%; }
    .answer-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}
/* =========================================
   MOBILE OPTIMIZATION (Max-Width 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- Index / Landing Page --- */
    .hero-header {
        /* Verhindert, dass Inhalte auf kleinen Screens abgeschnitten werden */
        height: auto; 
        min-height: 100vh; 
        padding: 100px 20px 40px; /* Mehr Platz oben und unten */
    }

    .neon-title {
        font-size: 2.5rem; /* Kleiner als Desktop (4rem) */
    }

    .neon-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .hero-body {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* --- Reboot Planer Header --- */
    .small-header {
        /* Kompakterer Header, damit mehr Platz für die Frage bleibt */
        padding: 15px 15px 10px; 
    }
    
    .small-header h1 {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    .small-header .subtitle {
        font-size: 1rem;
    }

    /* --- Generator Card Layout --- */
    .generator-overlay {
        padding-top: 1rem;
        padding-bottom: 2rem;
        align-items: flex-start; /* Zieht Box nach oben */
    }

    .card {
        width: 92%; /* Breiter auf Mobile */
        padding: 1.5rem; /* Weniger Innenabstand */
        margin: 0 auto;
    }

    /* --- Fragen & Antworten --- */
    #question-header {
        margin-bottom: 1.5rem;
    }

    #question-text {
        font-size: 1.1rem; /* Lesbarer auf kleinen Screens */
        line-height: 1.4;
    }

    .button-group {
        flex-direction: column; /* Buttons untereinander stapeln */
        gap: 0.8rem;
        width: 100%;
    }

    .answer-btn {
        width: 100%; /* Volle Breite für besseres Tippen */
        padding: 1rem; /* Größere Touch-Fläche */
        font-size: 0.95rem;
    }
    
    /* Navigation Buttons */
    .nav-area {
        margin-top: 1.5rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    /* --- Resultat Box --- */
    textarea#finalPrompt {
        height: 180px; /* Etwas höher für bessere Übersicht am Handy */
        font-size: 0.7rem; /* Kleiner, damit mehr Text sichtbar ist */
    }
    
    #copyBtn {
        width: 100%; /* Volle Breite */
    }
}