/* ===== LOINA’S SECRETS – INTRO.CSS – FINAL FIX v1.1 (Scroll + Center) ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === GLOBAL === */
html, body {
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;                /* Scroll wieder aktiv */
    font-family: 'Montserrat', sans-serif;
    background: #111;
    color: #D4AF37;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

/* === INTRO CONTAINER === */
.ritual-intro {
    flex: 1;
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    animation: fadeIn 2s ease-out;
    min-height: 100svh;              /* kein festes 100vh – verhindert Scroll-Block */
    overflow: visible !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === BACKGROUND LAYERS === */
.veil {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #111 70%);
    pointer-events: none;
    z-index: 1;
}

.fire {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(199,0,57,0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

#particleCanvas {
    position: fixed;                 /* fixiert, aber pointer-events off */
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* === CENTER CIRCLE === */
.pulse-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 3s infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* === TYPO === */
.title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 2rem 0 1.5rem;
    text-shadow: 0 0 20px #D4AF37;
    z-index: 2;
    color: #D4AF37;
}

.whisper, .truth, .invitation, .final-whisper {
    max-width: 800px;
    margin: 1rem auto;
    line-height: 1.6;
    z-index: 2;
    font-size: 1.1rem;
}

.whisper .line { display: block; margin: 0.5rem 0; opacity: 0.9; }
.gold { color: #D4AF37; font-weight: bold; }
.fire { color: #C70039; font-weight: bold; }

/* === OPTIONS / BUTTONS === */
.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin: 3rem 0;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.option {
    flex: 1 1 280px;
    max-width: 300px;
    padding: 1.5rem;
    background: rgba(0,0,0,0.6);
    border: 2px solid #D4AF37;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;

    display: flex;                   /* echte Zentrierung */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.option * {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    line-height: normal !important;
    margin: 6px 0;
}

.option.active {
    border-color: #C70039;
    background: rgba(199,0,57,0.2);
    box-shadow: 0 0 30px rgba(199,0,57,0.5);
}

.option .icon   { font-size: 2.5rem; margin-bottom: 0.5rem; }
.option .label  { font-weight: bold; font-size: 1.3rem; margin: 0.5rem 0; }
.option .sub    { font-size: 0.9rem; opacity: 0.8; }
.option a       { color: #D4AF37; text-decoration: underline; }

/* === ENTER BUTTON === */
.enter-btn {
    margin: 3rem 0;
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    background: #D4AF37;
    color: #111;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s;
}
.enter-btn:hover {
    background: #C70039;
    color: #fff;
    transform: scale(1.05);
}
.enter-btn .pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseBtn 2s infinite;
}
@keyframes pulseBtn {
    0%   { width: 0; height: 0; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* === FOOTER === */
#watermark {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    opacity: 0.3;
    z-index: 2;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .title { font-size: 2.5rem; }
    .whisper, .truth, .invitation { font-size: 1rem; padding: 0 1rem; }
    .choices { gap: 1rem; }
    .option { padding: 1rem; min-height: 160px; }
    .enter-btn { padding: 0.8rem 2rem; font-size: 1.1rem; }
}
