/* ============================================================================
   OrangeBonus extensions — light-theme card CI overrides + tier-block + copy
   Applies the OrangeBonus identity:
     - Card background: #f9f9f9 (light gray) with subtle border
     - Brand orange:    #f27022 (CTA, accents)
     - Brand green:     #69bc52 (badge pill)
     - Body text:       #000 with 60% opacity for secondary
     - Page dark:       warm dark brown #221a14 (complements orange hero)
   ============================================================================ */

/* ===== Smooth scroll for in-page anchors ================================ */
html { scroll-behavior: smooth; }

/* ===== Tilda hero overrides ============================================== */
/* Top menu (rec916126348): transparent, overlaps with hero below via -70px margin */
#rec916126348 {
    background: transparent !important;
    position: relative !important;
    z-index: 100 !important;
    margin-bottom: -70px !important;
}
#rec916126348 .t396__artboard,
#rec916126348 .t396__filter,
#rec916126348 .t396__carrier {
    background: transparent !important;
    background-color: transparent !important;
}

/* Center the logo (260px wide) horizontally at top */
#rec916126348 .tn-elem[data-elem-id="1743090248855"] {
    left: 50% !important;
    margin-left: -130px !important;
}
@media screen and (max-width: 479px) {
    #rec916126348 .tn-elem[data-elem-id="1743090248855"] {
        margin-left: -90px !important;
        width: 180px !important;
    }
}

/* Hide the rounded-bottom rectangle_3.svg overlay inside the hero */
#rec913550734 .tn-elem[data-elem-id="1743075083534"] {
    display: none !important;
}

/* Smooth gradient at hero bottom: fades into body bg (#221a14) */
#rec913550734 { position: relative; }
#rec913550734::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(180deg,
        rgba(34, 26, 20, 0.00) 0%,
        rgba(34, 26, 20, 0.55) 55%,
        #221a14 100%);
    pointer-events: none;
    z-index: 50;
}

/* Down-arrow: pulsing + clickable, above the gradient overlay */
#rec913550734 .tn-elem[data-elem-id="1743075040975"] {
    cursor: pointer !important;
    z-index: 60 !important;
}
#rec913550734 .tn-elem[data-elem-id="1743075040975"] .tn-atom {
    cursor: pointer;
    animation: ob-arrow-pulse 1.6s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, opacity;
}
#rec913550734 .tn-elem[data-elem-id="1743075040975"]:hover .tn-atom {
    opacity: 0.85;
}
@keyframes ob-arrow-pulse {
    0%, 100% { transform: translateY(0)  scale(1);    opacity: 1;   }
    50%      { transform: translateY(8px) scale(1.12); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
    #rec913550734 .tn-elem[data-elem-id="1743075040975"] .tn-atom { animation: none; }
}

/* Footer logo */
.logo_footer { max-width: 220px; }
@media (max-width: 768px) { .logo_footer { max-width: 180px; } }

/* ===== Mobile tier order — recommended tier on top ====================== */
@media (max-width: 768px) {
    .ob-tier-grid .ob-tier.recommended { order: -1; }
}

/* ===== Payment methods — gtasty-style pills with brand-color dot ======== */
.card-second .ob-payments-section { margin-top: 4px; }

.card-second .ob-payments-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}
.card-second .ob-payments-heading svg { color: #00000099; flex-shrink: 0; }

.card-second .ob-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-second .ob-payment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: #000;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.card-second .ob-pay-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Brand-specific dot colors (matching gtasty + Skrill brand purple) */
.ob-pay-visa         .ob-pay-dot { background: #1a1f71; }
.ob-pay-mastercard   .ob-pay-dot { background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%); }
.ob-pay-applepay     .ob-pay-dot { background: #000; }
.ob-pay-googlepay    .ob-pay-dot { background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc04 0 75%, #ea4335 0 100%); }
.ob-pay-banktransfer .ob-pay-dot { background: #ee7f00; }
.ob-pay-paysafecard  .ob-pay-dot { background: #e2001a; }
.ob-pay-skrill       .ob-pay-dot { background: #862165; }
.ob-pay-crypto       .ob-pay-dot { background: #f7931a; }

/* ===== Wider Discord toast for the longer headline ====================== */
.ob-discord-toast { width: 500px !important; }
@media (max-width: 768px) {
    .ob-discord-toast { width: calc(100vw - 24px) !important; }
}

/* ===== Page / Footer background — warm dark (brand-aligned) ============== */
body.t-body {
    background-color: #221a14 !important;
}
section.footer {
    background: #1a130e !important;
}
.fotter-text { color: rgba(255, 255, 255, 0.7); }

/* ===== Card logo — fix cut-off (contain, not cover) ====================== */
.card-second .card-logo {
    width: 100% !important;
    max-width: 180px !important;
    height: 80px !important;
    object-fit: contain !important;
    background: #fff !important;
    border: 1px solid #0000001a !important;
    border-radius: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* ===== Card CI overrides ================================================= */
/* Override Mauri's dark-card styles with light-theme OrangeBonus look       */

.card-second {
    background: #f9f9f9 !important;
    color: #000 !important;
    border: 1px solid #0000001a !important;
}
.card-second .card-title {
    color: #000 !important;
}
.card-second .feature-text,
.card-second .legal-info {
    color: #00000099 !important;
}

/* "Mehr Informationen" toggle — centered, hover, smooth chevron rotation */
.card-second .toggle-info {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    color: #00000099 !important;
    user-select: none;
}
.card-second .toggle-info:hover {
    background: rgba(242, 112, 34, 0.08);
    color: #f27022 !important;
}
.card-second .toggle-info-text {
    color: inherit !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    font-weight: 500 !important;
}
.card-second .toggle-info-icon {
    display: inline-block;
    transition: transform 0.25s ease !important;
    color: inherit;
    flex-shrink: 0;
}
.card-second .bonus-pill {
    background: #69bc52 !important;
    color: #fff !important;
    padding: 6px 18px !important;
    border-radius: 12px !important;
}
.card-second .bonus-text {
    color: #fff !important;
}
.card-second .cta-button {
    background: #f27022 !important;
}
.card-second .cta-button-text {
    color: #fff !important;
}
.card-second .extended-block-title {
    color: #000 !important;
}
.card-second .extended-section {
    border-top: 1px solid #0000001a !important;
}
.card-second .extended-footer-icon,
.card-second .license-logo {
    filter: none;
}

/* ===== Tab switcher ====================================================== */
.brand-section { width: 100%; box-sizing: border-box; }

.ob-tabs {
    display: inline-flex;
    gap: 0;
    border: 1px solid #0000001a;
    border-radius: 12px;
    padding: 4px;
    background: #f9f9f9;
    margin-bottom: 24px;
}
.ob-tab {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #00000099;
    background: transparent;
    border: 0;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}
.ob-tab:hover { color: #000; }
.ob-tab.active { background: #f27022; color: #fff; }
.ob-tab-count { opacity: 0.7; font-weight: 400; margin-left: 4px; }

.brand-section[data-active="casino"] .card-second[data-kind="sport"] { display: none; }
.brand-section[data-active="sport"] .card-second[data-kind="casino"] { display: none; }

.brand-section .card-second { margin-bottom: 18px; }
.brand-section .card-second:last-child { margin-bottom: 0; }

/* ===== Tier block ======================================================== */
.ob-tier-block {
    background: #fff;
    border: 1px solid #f2702233;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

.ob-tier-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 14px;
}
.ob-tier-title::before {
    content: "★";
    color: #f27022;
    font-size: 18px;
}

.ob-tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ob-tier-grid.single {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
}

.ob-tier {
    background: #fff8f3;
    border: 1px solid #f2702233;
    border-radius: 8px;
    padding: 14px 16px;
}
.ob-tier.recommended {
    background: #fff1e6;
    border-color: #f27022;
    position: relative;
}
.ob-tier.recommended::after {
    content: "EMPFOHLEN";
    position: absolute;
    top: -8px;
    right: 10px;
    background: #f27022;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ob-tier-range {
    font-size: 11px;
    color: #00000099;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.ob-tier-pct {
    font-size: 34px;
    font-weight: 800;
    color: #f27022;
    line-height: 1;
}
.ob-tier-meta {
    font-size: 12px;
    color: #00000099;
    margin-top: 8px;
}

.ob-tier-code {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid #f27022;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    user-select: none;
    position: relative;
    box-shadow: 0 1px 0 rgba(242, 112, 34, 0.15);
}
.ob-tier-code .lbl {
    color: #00000099;
    font-weight: 400;
    flex-shrink: 0;
}
.ob-tier-code .code-val {
    color: #f27022;
    letter-spacing: 0.02em;
}
.ob-tier-code .copy-hint {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: #fff1e6;
    border-radius: 5px;
    color: #f27022;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.ob-tier-code .copy-icon { width: 13px; height: 13px; flex-shrink: 0; }
.ob-tier-code:hover {
    background: #fff8f3;
    box-shadow: 0 2px 8px rgba(242, 112, 34, 0.2);
    transform: translateY(-1px);
}
.ob-tier-code:hover .copy-hint {
    background: #f27022;
    color: #fff;
}
.ob-tier-code:active { transform: translateY(0); }
.ob-tier-code.copied {
    background: #69bc52;
    border-color: #69bc52;
    color: #fff;
    box-shadow: 0 2px 8px rgba(105, 188, 82, 0.35);
}
.ob-tier-code.copied .lbl,
.ob-tier-code.copied .code-val { color: #fff !important; }
.ob-tier-code.copied .copy-hint {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
@media (max-width: 480px) {
    .ob-tier-code .copy-hint-text { display: none; }
    .ob-tier-code .copy-hint { padding: 6px 8px; }
    .ob-tier-code .copy-icon { width: 15px; height: 15px; }
}

.ob-tier-shared {
    margin-top: 14px;
    font-size: 12px;
    color: #00000099;
    border-top: 1px dashed #0000001a;
    padding-top: 10px;
}
.ob-tier-shared b { color: #000; font-weight: 600; }

/* ===== Info note (Sport "So funktioniert's") ============================= */
.ob-info-note {
    background: #fffaf3;
    border-left: 3px solid #f27022;
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    color: #00000099;
    line-height: 1.5;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}
.ob-info-note strong { color: #000; }
.ob-info-note b { color: #f27022; }

/* ===== Floating Discord Toast ============================================ */
.ob-discord-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 9998;
    width: 440px;
    max-width: calc(100vw - 24px);
    background: rgba(26, 19, 14, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 112, 34, 0.45);
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ob-discord-toast.visible {
    transform: translateX(-50%) translateY(0);
}

.ob-discord-toast-icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #5865f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ob-discord-toast-icon::after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 13px;
    height: 13px;
    background: #43b581;
    border: 2.5px solid #1a130e;
    border-radius: 50%;
}
.ob-discord-toast-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.ob-discord-toast-text {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}
.ob-discord-toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.ob-discord-toast-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.ob-discord-toast-meta b { color: #fff; font-weight: 600; }
.ob-discord-toast-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43b581;
    box-shadow: 0 0 0 2.5px rgba(67, 181, 129, 0.25);
    display: inline-block;
    flex-shrink: 0;
}

.ob-discord-toast-cta {
    flex-shrink: 0;
    background: #f27022;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(242, 112, 34, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.ob-discord-toast-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(242, 112, 34, 0.5);
}
.ob-discord-toast-cta:active { transform: translateY(0); }

.ob-discord-toast-close {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}
.ob-discord-toast-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Mobile ============================================================ */
@media (max-width: 768px) {
    .ob-tier-grid { grid-template-columns: 1fr; }
    .ob-tabs { width: 100%; }
    .ob-tab { flex: 1; padding: 10px 12px; font-size: 13px; }

    .ob-discord-toast {
        bottom: 12px;
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    .ob-discord-toast-icon { width: 40px; height: 40px; }
    .ob-discord-toast-cta { padding: 9px 14px; font-size: 12px; }
}
