/**
 * site54-de (PlanetScala.com)
 * ARCHITECTURE: BEM (Block Element Modifier)
 * PALETTE: Cosmic (cosmic-void, star-white, nebula-purple, orbit-silver, comet-gold, galaxy-blue)
 * EFFECT: Neon Glow
 * TYPOGRAPHY: Oswald + Lato
 * BUTTONS: Neon Border
 * COMPANY: Ds-Print AB – Lövnäs 305, Frändefors, Sverige 462 96
 */

* { 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(--star-white);
    background-color: var(--cosmic-void);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(157, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0d0d1a 0%, #0a0a14 100%);
}
.site-main { flex: 1 0 auto; }

:root {
    --cosmic-void: #0d0d1a;
    --star-white: #e0e8ff;
    --nebula-purple: #9d00ff;
    --orbit-silver: #8892a6;
    --comet-gold: #00ffff;
    --galaxy-blue: #1e3a5f;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Lato', sans-serif;
    --header-height: 70px;
}
@media (max-width: 600px) { :root { --header-height: 60px; } }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.state-hidden { display: none !important; }

.site-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }
.site-wrap--center { text-align: center; }

/* BEM: site-header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(13, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--nebula-purple);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.2), 0 4px 24px rgba(0,0,0,0.4);
    z-index: 1000;
}
.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header__logo { display: flex; align-items: center; gap: 0.75rem; }
.site-header__brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--star-white); letter-spacing: 0.05em; text-shadow: 0 0 10px var(--comet-gold); }
.site-header__badge {
    background: transparent;
    border: 2px solid var(--comet-gold);
    color: var(--comet-gold);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 0 10px var(--comet-gold);
}
.site-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; flex-wrap: nowrap; align-items: center; }
.site-nav__link { color: var(--star-white); font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: color 0.2s, text-shadow 0.2s; }
.site-nav__link:hover, .site-nav__link.state-active { color: var(--comet-gold); text-shadow: 0 0 8px var(--comet-gold); }
.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.site-header__burger span { width: 24px; height: 3px; background: var(--star-white); border-radius: 2px; box-shadow: 0 0 6px var(--comet-gold); }
@media (max-width: 1024px) {
    .site-header__burger { display: flex; }
    .site-header__nav { display: none; }
    .site-header__nav.state-open {
        display: block;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0; right: 0;
        background: rgba(13, 13, 26, 0.98);
        border-bottom: 2px solid var(--nebula-purple);
        box-shadow: 0 0 20px rgba(157, 0, 255, 0.3);
        padding: 1rem;
    }
    .site-nav { flex-direction: column; gap: 0.5rem; flex-wrap: wrap; }
    .site-nav__link { font-size: 1rem; white-space: normal; }
}

/* BEM: hero-banner – Neon Glow */
.hero-banner {
    padding-top: 120px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-banner__inner { max-width: 700px; padding: 2rem 1rem; }
.hero-banner__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; color: var(--star-white); text-shadow: 0 0 20px rgba(0, 255, 255, 0.4); }
.hero-banner__title-accent { color: var(--comet-gold); text-shadow: 0 0 15px var(--comet-gold), 0 0 30px var(--nebula-purple); }
.hero-banner__subtitle { margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.6; color: var(--orbit-silver); }
.hero-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BEM: btn – Neon Border */
.btn {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--comet-gold);
    color: var(--comet-gold);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 0 10px var(--comet-gold);
    box-shadow: 0 0 10px var(--comet-gold);
    transition: all 0.3s;
}
.btn:hover {
    background: var(--comet-gold);
    color: var(--cosmic-void);
    box-shadow: 0 0 20px var(--comet-gold), 0 0 40px rgba(0, 255, 255, 0.4);
}
.btn--secondary { border-color: var(--nebula-purple); color: var(--nebula-purple); text-shadow: 0 0 10px var(--nebula-purple); box-shadow: 0 0 10px var(--nebula-purple); }
.btn--secondary:hover { background: var(--nebula-purple); color: var(--star-white); box-shadow: 0 0 20px var(--nebula-purple); }
.btn--large { padding: 14px 28px; font-size: 1.1rem; }
.btn--small { padding: 8px 16px; font-size: 0.9rem; }
.btn--full { width: 100%; margin-top: 0.5rem; text-align: center; }
a.btn { color: inherit; }

.site-section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem; color: var(--star-white); text-align: center; }
.site-section-desc { margin-bottom: 2rem; color: var(--orbit-silver); text-align: center; }

/* BEM: game-tile – Neon Glow */
.game-tiles { display: flex; justify-content: center; align-items: stretch; gap: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.game-tile {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: rgba(13, 13, 26, 0.8);
    border: 2px solid var(--nebula-purple);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.game-tile:hover {
    border-color: var(--comet-gold);
    box-shadow: 0 0 25px var(--comet-gold), 0 0 50px rgba(0, 255, 255, 0.15);
}
.game-tile__img-wrap { aspect-ratio: 1; overflow: hidden; background: var(--cosmic-void); }
.game-tile__img { width: 100%; height: 100%; object-fit: cover; }
.game-tile__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.game-tile__title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--star-white); }
.game-tile__desc { font-size: 0.95rem; color: var(--orbit-silver); margin-bottom: 1rem; flex: 1; }
.game-tile__btn { text-align: center; margin-top: auto; }

/* BEM: benefit-box */
.benefit-row { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; max-width: 1200px; margin: 0 auto; }
.benefit-box {
    flex: 1 1 260px;
    max-width: 320px;
    padding: 1.5rem;
    background: rgba(157, 0, 255, 0.06);
    border: 1px solid rgba(157, 0, 255, 0.3);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.1);
}
.benefit-box__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.benefit-box__title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--comet-gold); }
.benefit-box__text { font-size: 0.95rem; color: var(--orbit-silver); }

/* BEM: faq */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(136, 146, 166, 0.3); }
.faq-item__question {
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    color: var(--star-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item__question span { color: var(--comet-gold); font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.state-open .faq-item__question span { transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item__answer p { padding: 0 0 1rem; margin: 0; color: var(--orbit-silver); }
.faq-item.state-open .faq-item__answer { max-height: 300px; }

/* BEM: age-modal, cookie-banner */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.age-modal__content {
    background: var(--cosmic-void);
    border: 2px solid var(--nebula-purple);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.3);
}
.age-modal__title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--comet-gold); }
.age-modal__text { margin-bottom: 0.75rem; color: var(--orbit-silver); }
.age-modal__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.age-modal__warning { font-size: 0.85rem; color: var(--orbit-silver); margin-top: 1rem; }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--cosmic-void);
    border-top: 2px solid var(--nebula-purple);
    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);
}
.cookie-banner p { margin: 0; color: var(--orbit-silver); font-size: 0.95rem; }
.cookie-banner a { color: var(--comet-gold); text-decoration: underline; }

/* BEM: disclaimer */
.disclaimer {
    background: rgba(13, 13, 26, 0.98);
    border-top: 2px solid var(--nebula-purple);
    padding: 2rem 1rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.disclaimer .site-wrap { text-align: center; }
.disclaimer__title { font-size: 1.2rem; margin-bottom: 1rem; color: var(--comet-gold); text-align: center; }
.disclaimer__text { margin-bottom: 0.75rem; color: var(--orbit-silver); font-size: 0.95rem; max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.disclaimer__address { margin-bottom: 1rem; color: var(--orbit-silver); font-size: 0.9rem; text-align: center; }
.disclaimer__badges { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.disclaimer__badge {
    background: rgba(157, 0, 255, 0.3);
    border: 1px solid var(--nebula-purple);
    color: var(--star-white);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}
.compliance { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.compliance__img {
    height: 40px;
    background: var(--star-white);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--orbit-silver);
}
.compliance__img:hover { opacity: 1; border-color: var(--comet-gold); box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }

/* Index: center section content (games, benefits, FAQ) like content pages */
.site-main > section .site-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* BEM: site-footer – center content on screen */
.site-footer {
    background: var(--cosmic-void);
    border-top: 2px solid var(--nebula-purple);
    padding: 2rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}
.site-footer__title { font-size: 1rem; margin-bottom: 0.75rem; color: var(--comet-gold); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.4rem; }
.site-footer__links a { color: var(--orbit-silver); font-size: 0.95rem; }
.site-footer__links a:hover { color: var(--comet-gold); }
.site-footer__text { color: var(--orbit-silver); font-size: 0.95rem; }
.site-footer__bottom { text-align: center; color: var(--orbit-silver); font-size: 0.9rem; padding-top: 1rem; border-top: 1px solid rgba(136, 146, 166, 0.2); max-width: 1200px; width: 100%; }
.site-footer__bottom p { margin: 0.25rem 0; }

/* Content pages – center main content on screen (blog, guides, reviews, responsible-play, about, account) */
.site-content .site-wrap {
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.site-content .site-wrap > * {
    max-width: 720px;
    width: 100%;
}
.site-content .breadcrumb { margin-bottom: 0.5rem; }
.site-content .site-section-title { text-align: center; }
.site-content .site-section-desc { text-align: center; }
/* Lists (blog, guides, reviews): block and text centered */
.site-content .article-list { text-align: center; list-style: none; margin: 0; padding: 0; }
.site-content .article-list__title,
.site-content .article-list__desc { text-align: center; }
.site-content .account-tabs { justify-content: center; }
/* Account: form and labels centered, inputs centered block */
.site-content .account-panel { text-align: center; }
.site-content .account-panel h2 { text-align: center; }
.site-content .account-form { text-align: center; }
.site-content .account-form .form-group { max-width: 400px; margin-left: auto; margin-right: auto; }
.site-content .account-form label { text-align: center; }
.site-content .account-form input,
.site-content .account-form textarea { margin-left: auto; margin-right: auto; display: block; }
.site-content .account-form .btn { display: inline-block; }
.site-content .contact-info { text-align: center; }
/* About / Responsible-play: text blocks stay centered via parent */
.article-content h2 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--comet-gold); }
.article-content p { margin-bottom: 1rem; color: var(--orbit-silver); }
.article-content a { color: var(--comet-gold); text-decoration: underline; }
.article-content ul { margin: 1rem 0; padding-left: 1.5rem; color: var(--orbit-silver); }

/* List (blog, guides, reviews) */
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list__item { margin-bottom: 1.5rem; border-bottom: 1px solid rgba(136, 146, 166, 0.2); padding-bottom: 1.5rem; }
.article-list__link { display: block; }
.article-list__title { font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--star-white); }
.article-list__title:hover { color: var(--comet-gold); }
.article-list__desc { font-size: 0.95rem; color: var(--orbit-silver); }

/* Account */
.account-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.account-tabs__btn {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 2px solid var(--orbit-silver);
    color: var(--orbit-silver);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.2s;
}
.account-tabs__btn:hover { border-color: var(--comet-gold); color: var(--comet-gold); }
.account-tabs__btn.state-active { border-color: var(--comet-gold); color: var(--comet-gold); background: rgba(0, 255, 255, 0.08); }
.account-panel { display: none; }
.account-panel.state-visible { display: block; }
.account-form .form-group { margin-bottom: 1rem; }
.account-form label { display: block; margin-bottom: 0.35rem; color: var(--orbit-silver); }
.account-form input, .account-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--galaxy-blue);
    border-radius: 8px;
    background: rgba(30, 58, 95, 0.3);
    color: var(--star-white);
    font-family: var(--font-body);
}
.contact-info { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 0.5rem; color: var(--orbit-silver); }
.contact-info a { color: var(--comet-gold); text-decoration: underline; }

.breadcrumb { margin-bottom: 0.5rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--comet-gold); }

.article-meta { color: var(--orbit-silver); font-size: 0.9rem; margin-bottom: 1rem; }
.article-content { max-width: 720px; margin: 0 auto; text-align: left; }
.article-content .toc { background: rgba(157, 0, 255, 0.1); border: 1px solid rgba(157, 0, 255, 0.3); border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; }
.article-content .toc h2 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--comet-gold); }
.article-content .toc ul { list-style: none; margin: 0; padding: 0; }
.article-content .toc li { margin-bottom: 0.35rem; }
.article-content .toc a { color: var(--orbit-silver); }
.article-cta { margin-top: 1.5rem; margin-bottom: 1rem; }
.article-cta .btn { text-decoration: none; display: inline-block; }
