/* ============================================================
   PROJECT: BlasterMag.com (site36-de)
   CSS ARCHITECTURE: BEM with bmg- prefix (BlasterMag)
   PALETTE: Blaster Theme (blaster-orange, magma-red, jet-black, cream-light, accent-amber, steel-gray)
   EFFECT: Gradient Mesh
   TYPOGRAPHY: Oswald + Raleway (Bold Display)
   BUTTON STYLE: Gradient Fill
   ============================================================ */

:root {
    --blaster-orange: #e85d04;
    --magma-red: #dc2f02;
    --jet-black: #1a1a1a;
    --cream-light: #f8f6f2;
    --accent-amber: #ffba08;
    --steel-gray: #4a4a4a;
    --bmg-text: #2d2d2a;
    --bmg-muted: #5a5a5e;
    --bmg-border: rgba(232, 93, 4, 0.2);
    --bmg-shadow: rgba(26, 26, 26, 0.12);
    --header-height: 78px;
    font-size: clamp(15px, 1.05vw, 17px);
}

*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100% !important;
    overflow-x: hidden !important;
    background: var(--cream-light);
    color: var(--bmg-text);
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.l-bmg-wrap {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

/* Header */
.bmg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 242, 0.98);
    border-bottom: 2px solid var(--bmg-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem min(4vw, 2rem);
    height: var(--header-height);
}

.bmg-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bmg-header__home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--blaster-orange);
}

.bmg-badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.2), rgba(220, 47, 2, 0.15));
    color: var(--magma-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.bmg-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid var(--bmg-border);
    border-radius: 8px;
    background: var(--cream-light);
    color: var(--blaster-orange);
    position: relative;
    cursor: pointer;
}

.bmg-burger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--blaster-orange);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.bmg-burger span:nth-child(1) { top: 14px; }
.bmg-burger span:nth-child(2) { top: 21px; }
.bmg-burger span:nth-child(3) { top: 28px; }

.bmg-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bmg-burger.is-open span:nth-child(2) { opacity: 0; }
.bmg-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bmg-nav {
    display: flex;
    align-items: center;
}

.bmg-nav__list {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bmg-nav__link {
    padding: 0.25rem 0;
    font-weight: 600;
    color: var(--bmg-text);
    transition: color 0.2s ease;
}

.bmg-nav__link:hover { color: var(--blaster-orange); }

main { padding-top: var(--header-height); }

/* Hero - Gradient Mesh */
.bmg-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 18vw, 160px) 0 clamp(60px, 12vw, 100px);
    background: linear-gradient(160deg, var(--cream-light) 0%, rgba(232, 93, 4, 0.06) 40%, rgba(255, 186, 8, 0.05) 70%, var(--cream-light) 100%);
}

.bmg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(232, 93, 4, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 186, 8, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.bmg-hero__content { position: relative; z-index: 2; max-width: 640px; }

.bmg-hero__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bmg-text);
    line-height: 1.25;
}

.bmg-hero__subtitle {
    color: var(--bmg-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.bmg-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.bmg-hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.bmg-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bmg-text);
}

.bmg-lead { margin: 0 0 2rem; color: var(--bmg-muted); line-height: 1.7; }

.bmg-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(232, 93, 4, 0.12);
    color: var(--bmg-text);
    font-size: 0.85rem;
}

/* Gradient Button */
.bmg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--blaster-orange), var(--magma-red));
    color: white;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.bmg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
}

.bmg-btn--primary {
    background: linear-gradient(135deg, var(--blaster-orange), var(--magma-red));
}

.bmg-btn--secondary {
    background: linear-gradient(135deg, var(--accent-amber), #e6a800);
    box-shadow: 0 4px 14px rgba(255, 186, 8, 0.3);
}

/* Age gate & Cookie */
.bmg-age {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.9);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bmg-age.state-visible { opacity: 1; visibility: visible; }

.bmg-age__window {
    background: var(--cream-light);
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--bmg-border);
}

.bmg-age__header { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--bmg-border); }
.bmg-age__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin: 0;
    color: var(--bmg-text);
}

.bmg-age__content { padding: 1.5rem; }
.bmg-age__content p { margin: 0 0 0.8rem; color: var(--bmg-text); line-height: 1.6; }
.bmg-age__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }

.bmg-cookie {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1999;
    max-width: 340px;
    padding: 1.2rem;
    background: rgba(248, 246, 242, 0.98);
    border: 2px solid var(--blaster-orange);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bmg-cookie.state-visible { opacity: 1; visibility: visible; }
.bmg-cookie p { margin: 0 0 0.8rem; font-size: 0.95rem; line-height: 1.5; }
.bmg-cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Benefits */
.bmg-benefits { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.bmg-benefits__grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.2rem, 3vw, 2rem);
    justify-content: center;
    align-items: stretch;
}

.bmg-benefit-card {
    flex: 1 1 280px;
    max-width: 360px;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.7), rgba(248,246,242,0.9));
    border: 1px solid var(--bmg-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--bmg-shadow);
}

.bmg-benefit-card__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: var(--blaster-orange);
}

.bmg-benefit-card p { margin: 0; color: var(--bmg-text); line-height: 1.6; font-size: 0.95rem; }

/* Games grid */
.bmg-games {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(232, 93, 4, 0.04) 100%);
}

.bmg-games__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.bmg-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 28vw, 340px);
    max-width: 340px;
    background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(248,246,242,0.95));
    border: 1px solid var(--bmg-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px var(--bmg-shadow);
    overflow: hidden;
}

.bmg-game-card__thumb { width: 100%; height: auto; object-fit: cover; }
.bmg-game-card__body { padding: 1.25rem; }
.bmg-game-card__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--bmg-text);
}

.bmg-game-card__text { margin: 0 0 0.8rem; color: var(--bmg-muted); line-height: 1.55; font-size: 0.95rem; }
.bmg-game-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

/* FAQ */
.bmg-faq { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.bmg-faq__item {
    margin-bottom: 0.8rem;
    border: 1px solid var(--bmg-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.bmg-faq__item summary {
    padding: 1rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--bmg-text);
}

.bmg-faq__item p { margin: 0; padding: 0 1.2rem 1rem; color: var(--bmg-muted); line-height: 1.65; }

/* Disclaimer */
.bmg-disclaimer {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: linear-gradient(135deg, var(--magma-red) 0%, #8e0000 100%);
    color: #fff;
}

.bmg-disclaimer__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: 0 0 1rem;
}

.bmg-disclaimer p { margin: 0 0 0.8rem; line-height: 1.7; font-size: 0.95rem; }
.bmg-disclaimer a { color: #ffcc80; text-decoration: underline; }
.bmg-disclaimer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.bmg-disclaimer__badges .bmg-tag { background: rgba(255,255,255,0.25); color: #fff; }

/* Footer */
.bmg-footer {
    padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
    background: var(--jet-black);
    color: var(--cream-light);
}

.bmg-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.bmg-footer__heading {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: var(--accent-amber);
}

.bmg-footer__link {
    display: block;
    padding: 0.25rem 0;
    color: rgba(248, 246, 242, 0.85);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.bmg-footer__link:hover { color: var(--cream-light); }
.bmg-footer__section p { margin: 0 0 0.4rem; font-size: 0.9rem; color: rgba(248, 246, 242, 0.9); }

.bmg-footer__logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.bmg-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.bmg-footer__logo {
    height: 35px !important;
    width: auto !important;
    max-width: 120px;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 8px;
    object-fit: contain;
}

.bmg-footer__age { height: 35px; width: auto; }
.bmg-footer__legal {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(248, 246, 242, 0.8);
}

/* Page content */
.bmg-page .bmg-hero { padding-top: 120px; padding-bottom: 2rem; }
.bmg-content { padding: 2rem 0 3rem; }
.bmg-content h2 { font-family: 'Oswald', sans-serif; margin: 1.8rem 0 0.6rem; color: var(--blaster-orange); }
.bmg-content h3 { font-family: 'Oswald', sans-serif; margin: 1.4rem 0 0.5rem; color: var(--bmg-text); }
.bmg-content p { margin: 0 0 1rem; line-height: 1.75; }
.bmg-content ul, .bmg-content ol { margin: 0 0 1rem; padding-left: 1.5rem; }

/* Card grids */
.bmg-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bmg-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--bmg-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--bmg-shadow);
}

.bmg-card__body { padding: 1.2rem; }
.bmg-card__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.bmg-card__meta { font-size: 0.85rem; color: var(--bmg-muted); margin-bottom: 0.6rem; }
.bmg-card p { margin: 0 0 0.8rem; font-size: 0.95rem; line-height: 1.55; }

/* Mobile */
@media (max-width: 960px) {
    :root { --header-height: 62px; }
    .bmg-burger { display: flex; align-items: center; justify-content: center; }
    .bmg-nav {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        bottom: auto;
        background: var(--cream-light);
        border-bottom: 2px solid var(--bmg-border);
        padding: 1rem;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }
    .bmg-nav.state-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .bmg-nav__list { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .bmg-nav__link { padding: 0.6rem 0; display: block; }
    .bmg-hero { padding-top: 100px; }
    .bmg-games__grid { flex-direction: column; align-items: center; }
    .bmg-game-card { width: 100%; max-width: 400px; }
    .bmg-cookie { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* Account */
.bmg-account .bmg-title,
.bmg-account .bmg-lead { text-align: center; max-width: 420px; margin-left: auto; margin-right: auto; }
.bmg-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; justify-content: center; }
.bmg-tabs__tab {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--bmg-border);
    background: transparent;
    color: var(--bmg-text);
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
}
.bmg-tabs__tab.state-active {
    background: linear-gradient(135deg, var(--blaster-orange), var(--magma-red));
    border-color: var(--blaster-orange);
    color: white;
}
.bmg-panel { display: none; padding: 1.5rem 0; }
.bmg-panel.state-visible { display: block; }
.bmg-panel form { max-width: 420px; margin-left: auto; margin-right: auto; }
.bmg-panel form label { display: block; margin-bottom: 0.4rem; font-weight: 500; }
.bmg-panel form input[type="text"],
.bmg-panel form input[type="email"],
.bmg-panel form input[type="password"],
.bmg-panel form textarea {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bmg-border);
    border-radius: 8px;
    font-family: inherit;
}
.form-status { margin-top: 0.8rem; font-size: 0.95rem; color: var(--blaster-orange); min-height: 1.5em; }
.form-status.state-visible { font-weight: 500; }

@media (max-width: 600px) {
    .bmg-footer__grid { grid-template-columns: 1fr; text-align: center; }
    .bmg-footer__logos-row { flex-direction: column; }
}
