/*
Theme Name: ElliyahGold – Pure Darkness
Description: Pure. Dark. English. Elliyah Gold.
Version: 1.3
*/

html,body{margin:0;padding:0;background:#0a0a0a;color:#e0e0e0;font-family:'Cinzel',serif;}
a{color:#a60000;text-decoration:none;}
a:hover{color:#ff1a1a;}
h1,h2,h3{color:#a60000;}
.site-title{font-size:3.8rem;letter-spacing:10px;text-transform:uppercase;}
.book-title{font-size:4.5rem;color:#a60000;text-align:center;margin:4rem 0 1rem;letter-spacing:6px;}
.book-subtitle{font-size:1.5rem;text-align:center;color:#888;margin-bottom:4rem;}

.obedience-collar {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 180px;
    z-index: 997;
    pointer-events: none;
    filter: drop-shadow(-6px 0 20px rgba(0,0,0,0.9));
}

.obedience-collar svg {
    width: 100%;
    height: 100%;
}

/* Gravur wird langsam eingebrannt */
#engraving {
    opacity: 0;
    transition: all 2.5s ease;
}
#engraving.visible {
    opacity: 1;
    fill: #e74c3c;
    text-shadow: 0 0 12px #c41a2e;
    animation: burnIn 3s forwards;
}
@keyframes burnIn {
    0%   { fill: #444; text-shadow: none; }
    60%  { fill: #c41a2e; }
    100% { fill: #e74c3c; text-shadow: 0 0 16px #c41a2e; }
}

/* Mobile: liegt unten quer */
@media (max-width: 900px) {
    .obedience-collar {
        top: auto; bottom: 10px; left: 50%;
        transform: translateX(-50%);
        width: 300px; height: 80px;
    }
}

.header-cover { 
    width: 100%; 
    overflow: hidden; 
    margin-bottom: -10px; /* falls Menü drüber liegen soll */
}
.header-cover img.header-fullwidth {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .header-cover img { max-height: 500px; }
}

.elliyah-navigation {
    background: rgba(5, 8, 15, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a2233;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    font-family: 'Cinzel', 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.elliyah-navigation ul {
    display: flex;
    justify-content: center;
    gap: 5vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 20px;
    list-style: none;
}

.elliyah-navigation a {
    color: #a8b4cc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
}

.elliyah-navigation a:hover,
.elliyah-navigation a.active {
    color: #c41a2e;                     /* tiefes, dominantes Blutrot */
}

.elliyah-navigation a:hover::after,
.elliyah-navigation a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #c41a2e;
}

/* Mobile (wird zu vertikalem Stack) */
@media (max-width: 900px) {
    .elliyah-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }
    .elliyah-navigation a {
        padding: 12px 0;
        font-size: 16px;
    }
}

/* ============== SAFEWORD BOX – RIGHT SIDEBAR, FIXED ============== */
.safeword-sidebar {
    position: fixed;
    top: 180px;
    right: 20px;
    width: 240px;
    background: #110000;
    border: 2px solid #a60000;
    padding: 1.5rem;
    text-align: center;
    z-index: 999;
    box-shadow: 0 0 20px rgba(166,0,0,0.6);
    font-size: 1.1rem;
}

.safeword-sidebar strong {
    display: block;
    color: #ff1a1a;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

/* Main content offset so it doesn’t hide under the fixed box */
main { margin-right: 300px; }   /* gives the sidebar breathing room */

/* Footer obedience */
.obedience { text-align:center; margin:3rem 0 1rem; color:#666; }
.obedience strong { color:#a60000; font-size:1.4rem; }

/* Scenario cards */
article { transition:all .3s; }
article:hover { background:#1a0000; border-color:#ff1a1a; }

/* Individueller Header pro Game Plan Seite */
.gameplan-header {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 3rem;
}
.header-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 0 20px #000;
}
.header-overlay h1 {
    font-size: 4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Dominantes Alias-Overlay */
#alias-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5, 5, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}
.overlay-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}
.overlay-content {
    max-width: 600px;
    padding: 4rem;
    text-align: center;
    border: 3px solid #c41a2e;
    background: rgba(10, 10, 15, 0.8);
}
.overlay-content h2 {
    font-size: 3rem;
    color: #c41a2e;
    margin-bottom: 2rem;
}
.overlay-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #d0d8e0;
}
.alias-form input {
    width: 100%;
    padding: 16px;
    font-size: 1.4rem;
    background: #111;
    border: 2px solid #444;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}
.alias-form button {
    background: #c41a2e;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.4rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.alias-form button:hover { background: #e74c3c; }
.wrong-alias {
    color: #e74c3c;
    font-size: 1.6rem;
    margin-top: 2rem;
    font-style: italic;
}

/* Inhaltsbereiche – intensiver gestaltet */
.bdm-themed-page section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(10, 12, 18, 0.7);
    border-left: 5px solid #c41a2e;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.bdm-themed-page h2 {
    color: #c41a2e;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.bdm-themed-page h3 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

@media (max-width: 900px) {
    .safeword-sidebar { position:relative; right:auto; top:auto; margin:2rem auto; width:280px; }
    main { margin-right:0; }
}

