/**
 * site64-de (DreadLing.com)
 * CSS ARCHITECTURE: BEM (Block Element Modifier)
 * PALETTE: Dread / Gotham (dark theme – gotham-night, bat-yellow, shadow-gray)
 * TYPOGRAPHY: Exo 2 + Source Sans 3
 * COMPANY: J.E.GLOVER LIMITED | YEAR: 2026
 */

* { box-sizing: border-box; max-width: 100%; }
html, body { margin: 0; padding: 0; overflow-x: hidden !important; width: 100% !important; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--shadow-gray);
    background: var(--cave-black);
    background-image: linear-gradient(180deg, var(--gotham-night) 0%, var(--cave-black) 100%);
}
.layout-main { flex: 1 0 auto; }

:root {
    --gotham-night: #1a1a1a;
    --bat-yellow: #ffde00;
    --shadow-gray: #b0b0b0;
    --cave-black: #0d0d0d;
    --armor-steel: #778899;
    --signal-gold: #daa520;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --header-height: 72px;
}
@media (max-width: 600px) { :root { --header-height: 60px; } }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--bat-yellow); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.state-hidden { display: none !important; }

/* Layout: centered containers */
.layout-shell {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    text-align: center;
}
.layout-shell--narrow { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.layout-shell--center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Header */
.layout-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(13, 13, 13, 0.97);
    border-bottom: 1px solid var(--armor-steel);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}
.layout-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.module-brand { display: flex; align-items: center; gap: 0.75rem; }
.module-brand__title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--bat-yellow); letter-spacing: 0.02em; }
.module-brand__badge {
    background: var(--gotham-night);
    color: var(--bat-yellow);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--bat-yellow);
    font-size: 0.7rem;
    font-weight: 700;
}
.module-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.module-nav__link { color: var(--shadow-gray); font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.module-nav__link:hover, .module-nav__link.state-active { color: var(--bat-yellow); }
.module-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.module-burger span { width: 24px; height: 3px; background: var(--bat-yellow); border-radius: 2px; }
@media (max-width: 1024px) {
    .module-burger { display: flex; }
    .module-nav { display: none; }
    .module-nav.is-open {
        display: block;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0; right: 0;
        background: var(--cave-black);
        border-bottom: 1px solid var(--armor-steel);
        padding: 1rem;
        z-index: 999;
    }
    .module-nav__list { flex-direction: column; gap: 0.5rem; }
    .module-nav__link { font-size: 1rem; }
}

/* Modal */
.module-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.module-modal__panel {
    background: var(--gotham-night);
    border-radius: 16px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--armor-steel);
    text-align: center;
    color: var(--shadow-gray);
}
.module-modal__eyebrow { font-size: 0.85rem; color: var(--bat-yellow); margin-bottom: 0.5rem; }
.module-modal__title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--bat-yellow); }
.module-modal__text { margin-bottom: 1rem; color: var(--shadow-gray); line-height: 1.6; }
.module-modal__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.module-modal__subline { font-size: 0.8rem; color: var(--armor-steel); }

/* Cookie */
.module-cookie {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--gotham-night);
    color: var(--shadow-gray);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    border-top: 1px solid var(--armor-steel);
}
.module-cookie a { color: var(--bat-yellow); text-decoration: underline; }

/* Buttons */
.module-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--bat-yellow);
    color: var(--bat-yellow);
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.3s, background 0.3s;
}
.module-btn:hover { background: var(--bat-yellow); color: var(--cave-black); }
.module-btn--ghost { border-color: var(--armor-steel); color: var(--shadow-gray); }
.module-btn--ghost:hover { background: var(--armor-steel); color: var(--cave-black); }
.module-btn--compact { padding: 8px 16px; font-size: 0.9rem; }

/* Hero – centered */
.layout-hero {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.layout-hero .layout-shell { margin: 0 auto; }
.layout-hero__kicker { font-size: 0.9rem; color: var(--bat-yellow); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.layout-hero__title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; line-height: 1.2; color: var(--bat-yellow); }
.layout-hero__subtitle { max-width: 640px; margin: 0 auto 1.5rem; color: var(--shadow-gray); }
.layout-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.layout-hero__badges { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; color: var(--armor-steel); }

/* Section – centered */
.layout-section { padding: 3rem 0; text-align: center; }
.layout-section .layout-shell { margin-left: auto; margin-right: auto; }
.module-section-head { text-align: center; }
.module-section-head__eyebrow { font-size: 0.85rem; color: var(--signal-gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.module-section-head__title { margin-bottom: 0.5rem; color: var(--bat-yellow); }
.module-section-head__text { color: var(--shadow-gray); max-width: 600px; margin-left: auto; margin-right: auto; }
.module-section-footnote { font-size: 0.85rem; color: var(--armor-steel); margin-top: 1rem; }

/* Games grid – centered */
.module-games-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.module-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: var(--gotham-night);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--armor-steel);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.module-game-card__img-wrap { aspect-ratio: 1; overflow: hidden; background: var(--cave-black); }
.module-game-card__img { width: 100%; height: 100%; object-fit: cover; }
.module-game-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; align-items: center; }
.module-game-card__title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--bat-yellow); }
.module-game-card__desc { font-size: 0.9rem; color: var(--shadow-gray); margin-bottom: 1rem; flex: 1; }
.module-game-card__btn { margin-top: auto; }

@media (max-width: 768px) {
    .module-games-grid { flex-direction: column; align-items: center; }
    .module-game-card { width: 100%; max-width: 400px; }
}

/* Benefits – centered */
.module-benefits { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; max-width: 1000px; margin: 0 auto; }
.module-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: var(--gotham-night);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--armor-steel);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.module-card__title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--bat-yellow); }
.module-card__text { font-size: 0.9rem; color: var(--shadow-gray); margin: 0; }

/* FAQ – centered container */
.module-faq { max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
.module-faq-item { border: 1px solid var(--armor-steel); border-radius: 10px; margin-bottom: 0.5rem; overflow: hidden; background: var(--gotham-night); }
.module-faq-item__question {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--shadow-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.module-faq-item__question span { font-size: 1.2rem; color: var(--bat-yellow); transition: transform 0.2s; }
.module-faq-item.is-open .module-faq-item__question span { transform: rotate(45deg); }
.module-faq-item__answer { display: none; padding: 0 1.25rem 1rem; }
.module-faq-item.is-open .module-faq-item__answer { display: block; }
.module-faq-item__answer p { margin: 0; color: var(--shadow-gray); font-size: 0.95rem; }
.module-faq-item__answer a { color: var(--bat-yellow); text-decoration: underline; }

/* Disclaimer – centered */
.module-disclaimer {
    background: var(--gotham-night);
    color: var(--shadow-gray);
    padding: 2.5rem 1rem;
    text-align: center;
    border-top: 1px solid var(--armor-steel);
}
.module-disclaimer .layout-shell { margin-left: auto; margin-right: auto; }
.module-disclaimer__title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--bat-yellow); }
.module-disclaimer__text { font-size: 0.9rem; margin-bottom: 0.75rem; line-height: 1.6; opacity: 0.95; }
.module-disclaimer__text a { color: var(--bat-yellow); text-decoration: underline; }
.module-disclaimer__address { font-size: 0.85rem; margin-bottom: 1rem; opacity: 0.9; }
.module-disclaimer__badges { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.module-disclaimer__badge { background: rgba(255,222,0,0.15); color: var(--bat-yellow); padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--bat-yellow); }
.module-compliance { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 1.5rem; }
.module-compliance__img {
    height: 35px !important;
    width: auto !important;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0.95;
    transition: opacity 0.2s, box-shadow 0.2s;
}
.module-compliance__img:hover { opacity: 1; box-shadow: 0 0 12px rgba(255,222,0,0.3); }

/* Footer – centered */
.layout-footer {
    background: var(--gotham-night);
    color: var(--shadow-gray);
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid var(--armor-steel);
}
.layout-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto 2rem; text-align: center; }
.layout-footer__title { font-size: 1rem; margin-bottom: 0.75rem; color: var(--bat-yellow); }
.layout-footer__links { list-style: none; margin: 0; padding: 0; }
.layout-footer__links a { color: var(--armor-steel); transition: color 0.2s; }
.layout-footer__links a:hover { color: var(--bat-yellow); }
.layout-footer__text { font-size: 0.9rem; color: var(--armor-steel); margin: 0; }
.layout-footer__bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: var(--armor-steel); }
.layout-footer__bottom p { margin: 0.35rem 0; }

/* Content page – centered */
.layout-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    text-align: center;
}
.layout-content h1 { text-align: center; margin-bottom: 1rem; }
.layout-content h2 { margin-top: 1.5rem; margin-bottom: 0.5rem; text-align: center; }
.layout-content p, .layout-content ul { margin-bottom: 1rem; text-align: center; }
.layout-content a { color: var(--bat-yellow); text-decoration: underline; }
.layout-content--center { text-align: center; }
.layout-content--center h2 { text-align: center; }
.layout-content--center p, .layout-content--center ul { text-align: center; margin-left: auto; margin-right: auto; }
.layout-content--center ul { list-style: none; padding-left: 0; }
.layout-content--center .module-account-tabs { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
.layout-main > .layout-content { padding-top: calc(var(--header-height) + 1.25rem); }
.layout-breadcrumb { font-size: 0.9rem; color: var(--armor-steel); margin-bottom: 1rem; text-align: center; }
.layout-breadcrumb a { color: var(--bat-yellow); }
.layout-breadcrumb a:hover { color: var(--signal-gold); }

/* Articles/Guides lists – centered */
.module-articles-list, .module-guides-list { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; text-align: center; }
.module-articles-list__item, .module-guides-list__item { margin-bottom: 1rem; text-align: center; }
.module-articles-list__link, .module-guides-list__link { display: block; padding: 1.25rem; background: var(--gotham-night); border-radius: 12px; border: 1px solid var(--armor-steel); text-align: center; transition: box-shadow 0.2s; }
.module-articles-list__link:hover, .module-guides-list__link:hover { box-shadow: 0 6px 24px rgba(255,222,0,0.15); }
.module-articles-list__title, .module-guides-list__title { font-size: 1.1rem; margin-bottom: 0.35rem; color: var(--bat-yellow); }
.module-articles-list__meta, .module-guides-list__meta { font-size: 0.8rem; color: var(--armor-steel); margin-bottom: 0.25rem; }
.module-guides-list__desc { font-size: 0.9rem; color: var(--shadow-gray); margin: 0; }

/* Account tabs – centered */
.module-account-tabs { max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.module-account-tabs__nav { display: flex; gap: 0; justify-content: center; border-bottom: 2px solid var(--armor-steel); margin-bottom: 1.5rem; }
.module-account-tabs__tab { padding: 0.75rem 1.25rem; background: var(--gotham-night); border: 1px solid var(--armor-steel); font-family: var(--font-body); font-weight: 600; cursor: pointer; color: var(--shadow-gray); border-radius: 8px 8px 0 0; margin-right: 0.25rem; }
.module-account-tabs__tab:hover { color: var(--bat-yellow); }
.module-account-tabs__tab.is-active { background: var(--cave-black); color: var(--bat-yellow); border-bottom-color: transparent; margin-bottom: -2px; }
.module-account-tabs__panel { display: none; padding: 1.5rem; background: var(--gotham-night); border: 1px solid var(--armor-steel); border-radius: 0 8px 8px 8px; color: var(--shadow-gray); }
.module-account-tabs__panel.is-active { display: block; }
.module-account-tabs .module-form-group { margin-bottom: 1rem; text-align: left; }
.module-account-tabs label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--shadow-gray); }
.module-account-tabs input[type="text"], .module-account-tabs input[type="email"], .module-account-tabs input[type="password"], .module-account-tabs textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--armor-steel); border-radius: 8px; background: var(--cave-black); color: var(--shadow-gray); font-family: var(--font-body); font-size: 1rem; box-sizing: border-box; }
.module-account-tabs textarea { min-height: 100px; resize: vertical; }
.module-account-tabs input[type="checkbox"] { margin-right: 0.5rem; }
.module-account-tabs .module-btn { margin-top: 0.5rem; }
