/* ============================================================
   SpinEmpire Casino Deutschland — spin-empirebonus.de
   ============================================================ */

/* Variables */
:root {
    --se-primary: #c084fc;
    --se-primary-dark: #a855f7;
    --se-secondary: #12092b;
    --se-accent: #1c1235;
    --se-text: #ffffff;
    --se-text-gray: #a0a0b8;
    --se-bg-dark: #0b0718;
    --se-bg-light: #120d24;
    --se-surface: #1e1638;
    --se-border: rgba(192, 132, 252, 0.2);
    --se-radius: 12px;
    --se-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --se-transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--se-text);
    background: var(--se-bg-dark);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--se-primary); text-decoration: none; transition: var(--se-transition); }
a:hover { color: var(--se-primary-dark); }

/* ---- Layout ---- */
.se-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.se-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--se-bg-light);
    border-bottom: 1px solid var(--se-border);
}

.se-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.se-head__left { display: flex; align-items: center; gap: 16px; }

.se-logo { display: block; }
.se-logo img { width: 160px; height: auto; }
@media (max-width: 768px) { .se-logo img { width: 110px; } }

.se-burger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--se-border);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.se-burger span { display: block; width: 24px; height: 2px; background: var(--se-primary); transition: var(--se-transition); }

.se-nav ul { display: flex; gap: 32px; list-style: none; }
.se-nav a { font-size: 16px; font-weight: 600; color: var(--se-text); position: relative; }
.se-nav a.active { color: var(--se-primary); }
.se-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--se-primary); transition: var(--se-transition); }
.se-nav a:hover::after, .se-nav a.active::after { width: 100%; }

.se-head__actions { display: flex; gap: 12px; }

/* ---- Buttons ---- */
.se-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--se-radius);
    transition: var(--se-transition);
    cursor: pointer;
    border: 2px solid transparent;
    color: var(--se-text);
}
.se-btn--primary {
    background: linear-gradient(135deg, var(--se-primary), var(--se-primary-dark));
    color: var(--se-secondary);
    border-color: var(--se-primary);
}
.se-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,85,247,0.45); color: var(--se-secondary); }
.se-btn--ghost { background: transparent; color: var(--se-primary); border-color: var(--se-primary); }
.se-btn--ghost:hover { background: var(--se-primary); color: var(--se-secondary); }
.se-btn--hero {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(124,58,237,0.45);
}
.se-btn--hero:hover { background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 12px 28px rgba(124,58,237,0.65); transform: translateY(-3px); color: #fff; }

/* ---- Mobile Menu ---- */
.se-mobile-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.se-mobile-panel {
    position: fixed; top: 0; left: 0;
    width: min(320px, 88vw); height: 100%;
    background: var(--se-accent);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex; flex-direction: column; padding: 20px;
}
.se-mobile-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.se-mobile-panel__close {
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--se-border); border-radius: 8px;
    color: var(--se-primary); font-size: 28px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.se-mobile-panel__nav { list-style: none; flex-grow: 1; }
.se-mobile-panel__nav li { margin-bottom: 16px; }
.se-mobile-panel__nav a { display: block; padding: 12px; font-size: 18px; font-weight: 600; color: var(--se-text); border-radius: 8px; transition: var(--se-transition); }
.se-mobile-panel__nav a:hover { background: var(--se-surface); color: var(--se-primary); }
.se-mobile-panel__actions { display: flex; flex-direction: column; gap: 12px; }
body.se-menu-open { overflow: hidden; }
body.se-menu-open .se-mobile-overlay { display: block; opacity: 1; }
body.se-menu-open .se-mobile-panel { transform: translateX(0); }

/* ---- Hero (CLAUDE.md pattern: single <picture>, overlay) ---- */
.se-hero {
    position: relative;
    overflow: hidden;
}
.se-hero__link { display: block; }
.se-hero__link picture { display: block; }
.se-hero__link picture img { width: 100%; height: auto; display: block; }

.se-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 40px 0;
    pointer-events: none;
}
.se-hero__overlay > * { pointer-events: auto; }
.se-hero__overlay .se-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.se-hero__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    max-width: 640px;
}
.se-hero__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--se-primary);
    margin-bottom: 28px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ---- Sections ---- */
.se-main { min-height: 100vh; }
.se-section { padding: 80px 0; background: var(--se-bg-dark); }
.se-section--light { background: var(--se-bg-light); }

.se-h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--se-text);
    text-align: center;
}
.se-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--se-text-gray);
    margin-bottom: 40px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.se-text-block {
    font-size: 17px;
    line-height: 1.8;
    color: var(--se-text-gray);
    margin-bottom: 24px;
    max-width: 860px;
}
.se-text-block p { margin-bottom: 16px; }
.se-text-block strong { color: var(--se-text); }

/* ---- Quick Review Table ---- */
.se-table-wrap { overflow-x: auto; margin-bottom: 40px; border-radius: var(--se-radius); }
.se-table { width: 100%; border-collapse: collapse; background: var(--se-surface); border-radius: var(--se-radius); overflow: hidden; }
.se-table td { padding: 14px 20px; border-bottom: 1px solid var(--se-border); font-size: 15px; }
.se-table tr:last-child td { border-bottom: none; }
.se-table td:first-child { font-weight: 700; width: 34%; color: var(--se-primary); }
.se-table td:last-child { color: var(--se-text-gray); }

/* ---- Bonus Highlights (Gesamtpaket) ---- */
.se-bonus-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}
.se-bonus-highlight {
    flex: 1 1 130px;
    min-width: 120px;
    background: var(--se-surface);
    border: 2px solid var(--se-primary);
    border-radius: var(--se-radius);
    padding: 20px 16px;
    text-align: center;
}
.se-bonus-highlight__value { display: block; font-size: 32px; font-weight: 700; color: var(--se-primary); margin-bottom: 6px; }
.se-bonus-highlight__label { display: block; font-size: 12px; color: var(--se-text-gray); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Stage Cards ---- */
.se-bonus-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}
.se-stage-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--se-surface);
    border: 2px solid var(--se-primary);
    border-radius: var(--se-radius);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.se-stage-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.se-stage-card__content > .se-btn { margin-top: auto; }
.se-stage-card__badge {
    position: absolute;
    top: -13px; left: 28px;
    background: var(--se-primary);
    color: var(--se-secondary);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.se-stage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--se-text);
    margin-top: 8px;
}
.se-stage-card__offer {
    font-size: 18px;
    font-weight: 700;
    color: var(--se-primary);
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(192,132,252,0.10);
    border-radius: 8px;
    text-align: center;
}
.se-stage-card__image { margin-bottom: 16px; border-radius: 8px; overflow: hidden; }
.se-stage-card__image img { width: 100%;  object-fit: cover; }
.se-stage-card__details { list-style: none; margin-bottom: 20px; }
.se-stage-card__details li { padding: 8px 0; border-bottom: 1px solid var(--se-border); color: var(--se-text-gray); font-size: 14px; }
.se-stage-card__details li:last-child { border-bottom: none; }
.se-stage-card__details strong { color: var(--se-text); }

/* ---- Bonus Stats Table (widget) ---- */
.se-bonus-stats { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--se-border); border-radius: var(--se-radius); overflow: hidden; }
.se-bonus-stats li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--se-border); }
.se-bonus-stats li:last-child { border-bottom: none; }
.se-bonus-stats li:nth-child(odd) { background: rgba(255,255,255,0.02); }
.se-bonus-stats li span:first-child { color: var(--se-text-gray); font-weight: 500; }
.se-bonus-stats li span:last-child { font-weight: 700; text-align: right; }
.se-bonus-card__terms { font-size: 11px; color: var(--se-text-gray); margin-bottom: 16px; line-height: 1.5; }

/* ---- Steps ---- */
.se-steps { list-style: none; counter-reset: step-counter; max-width: 720px; margin: 0 auto 40px; }
.se-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 16px 16px 16px 60px;
    margin-bottom: 14px;
    background: var(--se-surface);
    border-radius: var(--se-radius);
    border-left: 4px solid var(--se-primary);
    color: var(--se-text-gray);
    font-size: 15px;
}
.se-steps li::before {
    content: counter(step-counter);
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px;
    background: var(--se-primary); color: var(--se-secondary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---- Features Grid ---- */
.se-features { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.se-feature-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--se-surface);
    padding: 32px;
    border-radius: var(--se-radius);
    border: 1px solid var(--se-border);
    transition: var(--se-transition);
    text-align: center;
    display: flex; flex-direction: column;
}
.se-feature-card:hover { transform: translateY(-4px); box-shadow: var(--se-shadow); border-color: var(--se-primary); }
.se-feature-card__icon { margin-bottom: 20px; }
.se-feature-card__icon img { width: 70px; height: 70px; object-fit: contain; margin: 0 auto; }
.se-feature-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--se-primary); }
.se-feature-card p { color: var(--se-text-gray); line-height: 1.8; margin-bottom: 20px; font-size: 15px; }
.se-feature-card .se-btn { margin-top: auto; }
.se-feature-card__game { margin: 0 -32px 20px; overflow: hidden; border-radius: 0; }
.se-feature-card__game img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

/* ---- Games Grid ---- */
.se-games-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.se-game-item {
    flex: 1 1 calc(20% - 16px);
    min-width: 200px; max-width: 260px;
    background: var(--se-surface);
    border-radius: var(--se-radius);
    overflow: hidden;
    border: 2px solid var(--se-border);
    transition: var(--se-transition);
    display: flex; flex-direction: column;
}
.se-game-item:hover { transform: translateY(-6px); border-color: var(--se-primary); box-shadow: var(--se-shadow); }
.se-game-item__thumb { width: 100%; aspect-ratio: 1; overflow: hidden; }
.se-game-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.se-game-item h3 { padding: 10px 14px 6px; font-size: 15px; font-weight: 700; }
.se-game-item__provider { display: block; padding: 0 14px 10px; font-size: 11px; color: var(--se-primary); font-weight: 700; }

/* ---- FAQ ---- */
.se-faq { max-width: 860px; margin: 40px auto 0; }
.se-faq-item { margin-bottom: 14px; background: var(--se-surface); border-radius: var(--se-radius); border: 1px solid var(--se-border); overflow: hidden; }
.se-faq-item.active { border-color: var(--se-primary); }
.se-faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 22px; background: transparent; border: none;
    color: var(--se-text); font-size: 17px; font-weight: 600; text-align: left; cursor: pointer;
}
.se-faq-question:hover { color: var(--se-primary); }
.se-faq-icon { font-size: 24px; color: var(--se-primary); transition: transform 0.3s ease; flex-shrink: 0; }
.se-faq-item.active .se-faq-icon { transform: rotate(45deg); }
.se-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.se-faq-item.active .se-faq-answer { max-height: 600px; }
.se-faq-answer p { padding: 0 22px 22px; color: var(--se-text-gray); line-height: 1.8; font-size: 15px; }

/* ---- CTA Box ---- */
.se-cta-box {
    margin-top: 48px;
    padding: 48px;
    background: var(--se-accent);
    border-radius: var(--se-radius);
    text-align: center;
    border: 2px solid var(--se-primary);
}
.se-cta-box h3 { font-size: 28px; font-weight: 700; margin-bottom: 24px; color: var(--se-primary); }
.se-cta-centered { text-align: center; margin-top: 40px; }

/* ---- Terms Cards ---- */
.se-terms-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.se-terms-card { flex: 1 1 calc(25% - 15px); min-width: 180px; background: var(--se-surface); padding: 24px; border-radius: var(--se-radius); border: 1px solid var(--se-border); text-align: center; }
.se-terms-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--se-primary); }
.se-terms-card p { font-size: 15px; color: var(--se-text-gray); }

/* ---- Icon Cards (8-grid with SVG) ---- */
.se-icon-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}
.se-icon-card {
    flex: 1 1 calc(25% - 18px);
    min-width: 220px;
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-radius: var(--se-radius);
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--se-transition);
}
.se-icon-card:hover { transform: translateY(-4px); border-color: var(--se-primary); box-shadow: var(--se-shadow); }
.se-icon-card__icon { margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.se-icon-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--se-primary); }
.se-icon-card p { font-size: 14px; color: var(--se-text-gray); line-height: 1.75; }
@media (max-width: 980px) { .se-icon-card { flex: 1 1 calc(50% - 12px); } }
@media (max-width: 480px) { .se-icon-card { flex: 1 1 100%; } }

/* ---- Info Cards (mobile, security, etc) ---- */
.se-info-cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.se-info-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--se-surface);
    padding: 32px;
    border-radius: var(--se-radius);
    border: 1px solid var(--se-border);
}
.se-info-card__icon { display: flex; justify-content: center; margin-bottom: 20px; }
.se-info-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; color: var(--se-primary); text-align: center; }
.se-info-card p { color: var(--se-text-gray); line-height: 1.8; font-size: 15px; }
.se-info-card ul { list-style: none; margin-top: 14px; }
.se-info-card ul li { padding: 8px 0; border-bottom: 1px solid var(--se-border); color: var(--se-text-gray); font-size: 14px; }
.se-info-card ul li:last-child { border-bottom: none; }
.se-info-card ul li strong { color: var(--se-text); }

/* ---- Bonus intro section ---- */
.se-bonus-intro {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 60px;
}
.se-bonus-intro__image { flex: 0 0 380px; }
.se-bonus-intro__image img { width: 100%; border-radius: var(--se-radius); box-shadow: var(--se-shadow); }
.se-bonus-intro__content { flex: 1; }
.se-bonus-intro__content .se-h2 { text-align: left; margin-bottom: 16px; }
.se-bonus-intro__content .se-intro { text-align: left; margin: 0 0 28px; }

/* ---- Page Hero (inner pages) ---- */
.se-page-hero {
    padding: 80px 20px;
    background: var(--se-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.se-page-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11,7,24,0.92), rgba(28,18,53,0.75));
    z-index: 0;
}
.se-page-hero > .se-wrap { position: relative; z-index: 1; }
.se-page-hero__title { font-size: 42px; font-weight: 700; margin-bottom: 20px; color: var(--se-text); }
.se-page-hero__text { font-size: 18px; line-height: 1.8; color: var(--se-text-gray); max-width: 820px; margin: 0 auto 32px; }

/* ---- Footer Testimonials ---- */
.se-footer-reviews { padding: 40px 20px; background: var(--se-surface); border-top: 1px solid var(--se-border); border-bottom: 1px solid var(--se-border); }
.se-footer-reviews__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.se-footer-reviews__grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    opacity: 0.8;
    transition: var(--se-transition);
    flex: 0 0 auto;
}
.se-footer-reviews__grid a:hover { opacity: 1; transform: translateY(-2px); }
.se-footer-reviews__grid img { height: 28px; width: auto; display: block; }

/* ---- Footer ---- */
.se-footer { background: var(--se-accent); padding: 60px 20px 30px; border-top: 1px solid var(--se-border); }
.se-footer__top { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.se-footer__col { flex: 1 1 220px; }
.se-footer__logo { display: block; margin-bottom: 14px; }
.se-footer__text { color: var(--se-text-gray); line-height: 1.7; font-size: 15px; }
.se-footer__col h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--se-primary); }
.se-footer__links { list-style: none; }
.se-footer__links li { margin-bottom: 10px; }
.se-footer__links a { color: var(--se-text-gray); font-size: 15px; }
.se-footer__links a:hover { color: var(--se-primary); }
.se-footer__bottom { padding-top: 28px; border-top: 1px solid var(--se-border); text-align: center; }
.se-footer__disclaimer { font-size: 13px; color: var(--se-text-gray); line-height: 1.7; margin-bottom: 12px; }
.se-footer__copyright { font-size: 13px; color: var(--se-text-gray); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .se-nav { display: none; }
    .se-burger { display: flex; }
    .se-bonus-intro { flex-direction: column; }
    .se-bonus-intro__image { flex: 0 0 auto; max-width: 100%; }
    .se-bonus-intro__content .se-h2,
    .se-bonus-intro__content .se-intro { text-align: center; }
}

@media (max-width: 768px) {
    .se-head__actions .se-btn--ghost { display: none; }
    .se-hero__title { font-size: 24px; max-width: 260px; }
    .se-hero__subtitle { font-size: 15px; }
    .se-btn--hero { padding: 12px 28px; font-size: 15px; }
    .se-h2 { font-size: 28px; }
    .se-section { padding: 40px 0; }
    .se-page-hero { padding: 48px 20px; }
    .se-page-hero__title { font-size: 28px; }
    .se-feature-card, .se-info-card { flex: 1 1 100%; }
    .se-stage-card { flex: 1 1 100%; }
    .se-stage-card { padding: 24px; }
    .se-terms-card { flex: 1 1 calc(50% - 10px); }
    .se-game-item { flex: 1 1 calc(50% - 10px); max-width: 100%; }
    .se-cta-box { padding: 28px 20px; }
    .se-footer-reviews__grid a { padding: 8px 12px; }
    .se-footer-reviews__grid img { height: 22px; }
    /* Table: stack cells on mobile */
    .se-table td { display: block; width: 100% !important; padding: 8px 16px; }
    .se-table td:first-child { padding-bottom: 2px; border-bottom: none; font-size: 13px; }
    .se-table td:last-child { padding-top: 2px; padding-bottom: 12px; }
    .se-table tr { border-bottom: 1px solid var(--se-border); display: block; }
    .se-table tr:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
    .se-head__actions .se-btn { padding: 10px 16px; font-size: 13px; }
    .se-hero__title { font-size: 20px; max-width: 220px; }
    .se-hero__overlay { padding: 20px 0; }
    .se-section { padding: 32px 0; }
    .se-terms-card { flex: 1 1 100%; }
    .se-game-item { flex: 1 1 100%; max-width: 100%; }
    .se-bonus-highlights { gap: 10px; }
    .se-bonus-highlight { padding: 14px 10px; }
    .se-bonus-highlight__value { font-size: 24px; }
}
