/* ============================================================
   INSIDER-LOUNGE – BonusNeo
   Struktur: BEM | Strategie: Mobile-First
   ============================================================ */

/* ── Container ── */
.il-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.il-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 55%, #24243e 100%);
    color: #fff;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

.il-hero__badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 50px;
    color: #FFD700;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    text-transform: uppercase;
}

.il-hero__title {
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 900;
    margin: 0 0 0.75rem;
    /* Gold-Gradient auf Text */
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.il-hero__subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 540px;
}

/* ══════════════════════════════════════
   FILTER-LEISTE
══════════════════════════════════════ */
.il-filter-bar {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 200;
}

.il-filter__group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}

.il-filter__btn {
    background: #f8f9fa;
    border: 1.5px solid #dee2e6;
    border-radius: 50px;
    color: #495057;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.38rem 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.il-filter__btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.il-filter__btn.is-active {
    background: #302b63;
    border-color: #302b63;
    color: #ffffff;
}

/* ══════════════════════════════════════
   GRID
══════════════════════════════════════ */
.il-deals {
    background: #f0f2f5;
    padding: 2rem 0 3.5rem;
}

.il-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;          /* Mobile: 1 Spalte */
}

@media (min-width: 620px) {
    .il-grid { grid-template-columns: repeat(2, 1fr); }  /* Tablet: 2 Spalten */
}

@media (min-width: 1024px) {
    .il-grid { grid-template-columns: repeat(3, 1fr); }  /* Desktop: 3 Spalten */
}

/* ══════════════════════════════════════
   DEAL CARD
══════════════════════════════════════ */
.il-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.il-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px);
}

/* Per JS ausgeblendet beim Filtern */
.il-card.is-hidden {
    display: none;
}

/* ── Badge (Deal-Typ) ── */
.il-card__badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 0.38rem 1rem;
    text-transform: uppercase;
    /* Fallback */
    background: #e9ecef;
    color: #495057;
}

/* Farben je Deal-Typ – Slugs müssen mit ACF-Auswahl-Values übereinstimmen */
.il-badge--freispiele            { background: #e8f5e9; color: #2e7d32; }
.il-badge--cashback              { background: #e3f2fd; color: #1565c0; }
.il-badge--willkommensbonus      { background: #fff8e1; color: #e65100; }
.il-badge--reload-bonus          { background: #f3e5f5; color: #6a1b9a; }
.il-badge--kein-einzahlungsbonus { background: #fce4ec; color: #b71c1c; }

/* ── Casino-Kopfzeile ── */
.il-card__casino {
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
}

.il-card__casino-logo {
    height: 34px;
    max-width: 80px;
    object-fit: contain;
    width: auto;
}

.il-card__casino-fallback {
    color: #212529;
    font-size: 0.88rem;
    font-weight: 700;
}

.il-card__casino-link {
    color: #302b63;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: auto;
    text-decoration: none;
    white-space: nowrap;
}

.il-card__casino-link:hover {
    text-decoration: underline;
}

/* ── Body ── */
.il-card__body {
    flex: 1;
    padding: 1.1rem 1.15rem 0.6rem;
}

.il-card__title {
    color: #212529;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.4rem;
}

.il-card__description {
    color: #6c757d;
    font-size: 0.84rem;
    line-height: 1.58;
    margin: 0;
}

/* ── Code-Reveal ── */
.il-card__code-wrap {
    border-top: 1px dashed #dee2e6;
    padding: 0.75rem 1.15rem;
}

.il-card__code-label {
    color: #868e96;
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.il-code-reveal {
    align-items: center;
    background: #f8f9fa;
    border: 1.5px dashed #ced4da;
    border-radius: 8px;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.il-code-reveal__blurred {
    color: #adb5bd;
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    user-select: none;
}

.il-code-reveal__code {
    color: #302b63;
    display: none;   /* → per JS nach Klick sichtbar */
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

/* Zustand nach Reveal */
.il-code-reveal.is-revealed .il-code-reveal__blurred { display: none; }
.il-code-reveal.is-revealed .il-code-reveal__code    { display: block; }

.il-code-reveal__btn {
    align-items: center;
    background: #302b63;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.3rem;
    padding: 0.38rem 0.75rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.il-code-reveal__btn:hover    { background: #1a1640; }
.il-code-reveal__btn.is-copied { background: #2e7d32; }

/* ── Ablaufdatum ── */
.il-card__expiry {
    color: #6c757d;
    font-size: 0.78rem;
    padding: 0.5rem 1.15rem;
}

.il-expiry--urgent {
    background: #fff3cd;
    color: #856404;
    font-weight: 600;
}

/* ── CTA ── */
.il-card__cta {
    padding: 0.75rem 1.15rem 1.15rem;
}

.il-btn {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    width: 100%;
}

.il-btn--primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1640;
}

.il-btn--primary:hover {
    background: linear-gradient(135deg, #FFE033 0%, #FFB800 100%);
    transform: translateY(-1px);
}

.il-btn--secondary {
    background: #f1f3f5;
    color: #302b63;
}

.il-btn--secondary:hover { background: #e2e6ea; }

/* ── Empty State ── */
.il-empty {
    background: #ffffff;
    border-radius: 14px;
    color: #6c757d;
    font-size: 1rem;
    padding: 3rem 2rem;
    text-align: center;
}

/* ══════════════════════════════════════
   DISCLAIMER
══════════════════════════════════════ */
.il-disclaimer {
    background: #212529;
    color: #adb5bd;
    font-size: 0.75rem;
    line-height: 1.65;
    padding: 1.5rem 0;
    text-align: center;
}

.il-disclaimer strong { color: #dee2e6; }

.il-disclaimer a {
    color: #FFD700;
    text-decoration: none;
}

.il-disclaimer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   KEIN-CODE-HINWEIS
   Ersetzt das ✅-Emoji durch eine
   saubere CSS-Komponente
══════════════════════════════════════ */

.il-card__no-code {
    align-items: center;
    background: #f0faf1;
    border-top: 1px solid #e8f5e9;
    color: #1b5e20;
    display: flex;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.6rem;
    letter-spacing: 0.01em;
    padding: 0.65rem 1.15rem;
}

/* Checkmark-Circle – kein Emoji, kein Icon-Font, reines CSS */
.il-card__no-code::before {
    align-items: center;
    background: #2e7d32;
    border-radius: 50%;
    color: #ffffff;
    content: '✓';
    display: flex;
    flex-shrink: 0;         /* verhindert Stauchung im Flex-Container */
    font-size: 0.65rem;
    font-weight: 900;
    height: 17px;
    justify-content: center;
    line-height: 1;
    width: 17px;
}

/* Wenn der Deal in < 48h abläuft → orangefarbene Variante */
.il-card__no-code--urgent {
    background: #fff8e1;
    border-top-color: #ffe082;
    color: #e65100;
}

.il-card__no-code--urgent::before {
    background: #e65100;
    content: '!';
    font-size: 0.7rem;
}

/* ══════════════════════════════════════
   BREADCRUMB-WRAP
══════════════════════════════════════ */
.il-breadcrumb-wrap {
    background: #ffffff;
    border-bottom: 1px solid #f1f3f5;
    padding: 0.5rem 0;
}

/* ══════════════════════════════════════
   SEKTIONS-ÜBERSCHRIFT (über dem Grid)
══════════════════════════════════════ */
.il-section-heading {
    border-bottom: 2px solid #e9ecef;
    color: #1a1640;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
}

.il-section-heading span {
    color: #302b63;
    font-weight: 900;
}

/* ══════════════════════════════════════
   SEO INTRO SEKTION
══════════════════════════════════════ */
.il-intro {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.75rem 0;
}

.il-intro__content {
    margin: 0 auto;
    max-width: 860px;
    text-align: center;
}

.il-intro__heading {
    color: #1a1640;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    margin: 0 0 0.85rem;
    line-height: 1.3;
}

.il-intro__text {
    color: #495057;
    font-size: 0.92rem;
    line-height: 1.72;
    margin: 0 0 1.5rem;
}

/* ── So funktioniert's – Steps ── */
.il-intro__steps {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    margin: 0 auto;
    max-width: 820px;
    padding: 0;
}

@media (min-width: 620px) {
    .il-intro__steps {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
}

.il-intro__step {
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    flex: 1;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.il-intro__step:hover {
    border-color: #302b63;
    box-shadow: 0 2px 10px rgba(48, 43, 99, 0.08);
}

.il-step__num {
    align-items: center;
    background: #302b63;
    border-radius: 50%;
    color: #FFD700;
    display: flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.il-step__label {
    color: #212529;
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.il-step__desc {
    color: #6c757d;
    display: block;
    font-size: 0.76rem;
    line-height: 1.4;
}

/* ══════════════════════════════════════
   FAQ SEKTION – AEO / Featured Snippets
══════════════════════════════════════ */
.il-faq {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 2.5rem 0 3rem;
}

.il-faq__heading {
    color: #1a1640;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 1.5rem;
    text-align: center;
}

.il-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0 auto;
    max-width: 780px;
}

/* ── FAQ Item (details/summary) ── */
.il-faq__item {
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.il-faq__item[open] {
    border-color: #302b63;
}

.il-faq__question {
    color: #212529;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;           /* Firefox: Standard-Marker entfernen */
    padding: 1rem 3.2rem 1rem 1.15rem;
    position: relative;
    transition: background 0.15s ease;
    user-select: none;
}

/* Chrome/Safari: Standard-Marker entfernen */
.il-faq__question::-webkit-details-marker { display: none; }

.il-faq__question:hover { background: #f8f9fa; }

/* Custom Toggle-Icon – reines CSS, kein Icon-Font */
.il-faq__question::after {
    color: #302b63;
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease, content 0.2s ease;
}

.il-faq__item[open] .il-faq__question::after {
    content: '−';
}

/* ── FAQ Antwort ── */
.il-faq__answer {
    border-top: 1px solid #f1f3f5;
    color: #495057;
    font-size: 0.87rem;
    line-height: 1.7;
    padding: 0.9rem 1.15rem 1.05rem;
}

.il-faq__answer p          { margin: 0; }
.il-faq__answer p + p      { margin-top: 0.5rem; }
.il-faq__answer strong     { color: #212529; }

/* ══════════════════════════════════════
   ANZEIGE-LABEL (Kennzeichnungspflicht)
   Erscheint nur über Affiliate-CTAs
══════════════════════════════════════ */
.il-card__ad-label {
    color: #adb5bd;
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-bottom: 0.3rem;
    text-align: center;
    text-transform: uppercase;
}