﻿/* ── Game Key Buy Modal — Premium Redesign ──────── */
.gk-buy-box {
    position: relative;
    background: #0d0f14;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 640px;
    max-height: 94vh;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.04);
    animation: gkModalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes gkModalIn {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Hero section */
.gk-buy-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.gk-buy-hero-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.45) saturate(1.4);
    transform: scale(1.1);
}
.gk-buy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,15,20,0.3) 0%,
        rgba(13,15,20,0.85) 100%
    );
}
.gk-buy-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 20;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ccc;
    width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer;
    font-size: 1rem; display: flex;
    align-items: center; justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.gk-buy-close:hover { background: rgba(255,45,85,0.3); border-color: #ff2d55; color: #fff; }
.gk-buy-hero-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 20px 24px;
}
.gk-buy-cover-wrap {
    width: 100px;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.gk-buy-cover-img { width: 100%; height: 100%; object-fit: cover; display: none; border-radius: 10px; }
.gk-buy-cover-placeholder {
    font-size: 2.8rem;
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; color: #444;
}
.gk-buy-hero-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.gk-buy-platform {
    display: inline-block;
    background: rgba(16,185,129,0.18);
    border: 1px solid rgba(16,185,129,0.35);
    color: #10b981;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}
.gk-buy-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gk-buy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.gk-info-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #aaa;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.gk-badge-stock {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.35);
    color: #10b981;
}
.gk-buy-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.gk-genre-tag {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.58rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}

/* Body below hero */
.gk-buy-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gk-buy-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.65;
    max-height: 80px;
    overflow-y: auto;
    border-left: 2px solid rgba(255,255,255,0.06);
    padding-left: 12px;
}
.gk-buy-desc::-webkit-scrollbar { width: 3px; }
.gk-buy-desc::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

/* Purchase box */
.gk-buy-purchase-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 18px;
}
.gk-buy-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.gk-buy-price-label {
    font-size: 0.58rem;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}
.gk-buy-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: #10b981;
    line-height: 1;
    letter-spacing: -1px;
}
.gk-buy-delivery-badge {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
}
.gk-buy-confirm-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.gk-buy-confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16,185,129,0.45);
}
.gk-buy-confirm-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.gk-buy-secure-note { text-align: center; font-size: 0.62rem; color: #444; }

/* Mobile */
@media (max-width: 540px) {
    .gk-buy-box { border-radius: 20px; max-height: 96vh; }
    .gk-buy-hero { height: 190px; }
    .gk-buy-cover-wrap { width: 80px; height: 107px; }
    .gk-buy-title { font-size: 1rem; }
    .gk-buy-price { font-size: 1.8rem; }
    .gk-buy-body { padding: 16px; }
}

/* My Keys Modal */
.my-keys-box {
    background: #0f1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.my-keys-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.my-key-entry {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
}
.my-key-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.my-key-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 3px;
}
.my-key-meta { font-size: 0.7rem; color: #555; }
.my-key-reveal {
    display: flex;
    gap: 8px;
    align-items: center;
}
.my-key-input {
    flex: 1;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 8px;
    color: #10b981;
    font-family: monospace;
    font-size: 0.85rem;
    padding: 8px 12px;
    outline: none;
    cursor: text;
}
.my-key-copy-btn {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

/* Mobile */
@media (max-width: 650px) {
    .mp-hero { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
    .mp-hero-stats { gap: 14px; }
    .mp-hero-title { font-size: 1.3rem; }
    .mp-tabs { gap: 6px; }
    .mp-tab { min-width: 120px; padding: 9px 12px 11px; gap: 8px; }
    .mp-tab-name { font-size: 0.68rem; }
    .mp-tab-icon { width: 22px; height: 22px; }
    .mp-tab-emoji { font-size: 1.2rem; width: 22px; }
    .gk-type-pills { gap: 5px; }
    .gk-type-pill { font-size: 0.67rem; padding: 6px 12px; }
    .gk-controls { gap: 8px; }
    .gk-selects { gap: 6px; }
    .gk-selects select { font-size: 0.68rem; padding: 8px 26px 8px 10px; }
    .gk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gk-card-img { height: 90px; }
    .gk-card-img-placeholder { height: 90px; }
    .gk-buy-box { max-height: 95vh; }
}


/* --- UNIVERSAL MODAL SYSTEM (FAQ & EDITOR) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92); z-index: 100000;
    display: none; align-items: center; justify-content: center;
    padding: 15px;
}

.modal-box {
    background: linear-gradient(145deg, #111, #080808); 
    padding: 30px; border-radius: 25px; border: 2px solid var(--gold-main);
    max-width: 600px; width: 100%; text-align: center; 
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.2);
    position: relative; animation: megaPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh; overflow-y: auto;
}

@keyframes megaPopIn {
    0% { opacity: 0; transform: scale(0.85) translateY(30px); }
    70% { transform: scale(1.02) translateY(-4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- MOBILE ADMIN CHAT (768px) --- */
@media (max-width: 768px) {

    /* Chat panel layout: stack sidebar + chat */
    #admin-tab-chats.admin-panel-layout {
        display: flex;
        flex-direction: column;
        height: auto;
        position: relative;
    }

    /* Chat Liste (Sidebar) */
    #admin-tab-chats .admin-sidebar {
        width: 100%;
        height: 50vh;
    }

    /* Chat Area (Nachrichten-Fenster) */
    #admin-tab-chats .admin-chat-area {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999;
        background: #080808 !important;
        border-radius: 0 !important;
    }

    #admin-tab-chats.admin-chat-active .admin-chat-area {
        display: flex !important;
    }

    /* Zurück Button Styling */
    .admin-back-btn {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.1);
        border: 1px solid var(--gold-main);
        color: #fff;
        padding: 10px 18px;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 15px;
        width: fit-content;
        cursor: pointer;
    }

    #admin-messages { padding: 15px !important; padding-bottom: 120px !important; }

    #admin-tab-chats.admin-chat-active #admin-input-area {
        position: fixed !important;
        bottom: 0 !important; left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
        background: #0d0d0d !important;
        border-top: 1px solid var(--gold-main) !important;
        z-index: 1000000;
        display: flex !important;
    }

    /* Users tab: single column */
    #admin-tab-users > div {
        grid-template-columns: 1fr !important;
    }

    /* Credits table: smaller */
    .credits-table-styled { font-size: 0.78rem; }
    .credits-table-styled td:nth-child(2) { display: none; }
}

/* Standardmäßig auf PC verstecken */
.admin-back-btn { display: none; }

/* FAQ Details */
.faq-step {
    transition: transform 0.3s ease; background: rgba(255,255,255,0.02);
    padding: 15px; border-radius: 15px; border: 1px solid rgba(255,215,0,0.05);
    margin-bottom: 15px;
}
.faq-step:hover { transform: scale(1.02); border-color: var(--gold-main); }
.btn-confirm { 
    background: var(--gold-gradient); color: #000; font-weight: bold; padding: 14px 35px; border-radius: 12px; border: none; cursor: pointer; transition: 0.2s; font-size: 1rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}
.btn-confirm:hover { transform: scale(1.05); box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4); }

/* --- SMALL CONFIRM BUTTON (Admin Config) --- */
.btn-confirm-small {
    background: linear-gradient(135deg, var(--gold-main), #e67e22);
    color: #000;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(255,215,0,0.25);
}
.btn-confirm-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

/* --- COFFEE DONATION BUTTON --- */
.btn-coffee {
    margin-top: 15px;
    width: 100%;
    background: linear-gradient(135deg, #FFB75E, #ED8F03); /* Warmer Gold/Kaffee Verlauf */
    color: #000;
    font-weight: 800;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 5px 20px rgba(237, 143, 3, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn-coffee::before {
    content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.btn-coffee:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(237, 143, 3, 0.5);
    background: linear-gradient(135deg, #FFC77E, #FF9F23);
    color: #000;
}
.btn-coffee:hover::before { left: 100%; }
.coffee-icon { font-size: 1.4rem; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2)); animation: steam 3s infinite; }

@keyframes steam {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* --- WELCOME MODAL --- */
.welcome-box {
    max-width: 800px;
    width: 90%;
    padding: 40px;
    background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(5,5,5,0.98));
    border: 1px solid var(--gold-main);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.15);
}

.welcome-features {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 30px; margin-bottom: 30px;
}
.welcome-feature-item {
    background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
}

.close-welcome {
    position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #555; cursor: pointer; transition: 0.3s;
}
.close-welcome:hover { color: #fff; }

/* --- PAYMENT ICONS --- */
.payment-icons {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 15px;
}
.pay-icon {
    background: rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.1);
}

/* --- WISHLIST HERZ BUTTON --- */
.wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10; 
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}

.wishlist-icon:hover {
    transform: scale(1.3);
}

.wishlist-icon.active {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}
.heart-pop {
    animation: heartPop 0.3s ease;
}

/* Mobile More Sheet – bottom sheet redesign */
/* ══ MOBILE MORE SHEET — PREMIUM REDESIGN ══ */
.mms-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: mmsFadeIn 0.22s ease both;
}
@keyframes mmsSlideUp {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}
@keyframes mmsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.mms-panel {
    position: absolute;
    bottom: 78px; left: 10px; right: 10px;
    background: linear-gradient(160deg, #16192e 0%, #0d0f1c 100%);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 14px 16px;
    box-shadow: 0 -4px 60px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.04) inset;
    animation: mmsSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
    overflow: hidden;
}
/* Accent line at top of panel */
.mms-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 160px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,210,255,0.5), transparent);
    pointer-events: none;
}
.mms-handle {
    width: 36px; height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 99px;
    margin: 0 auto 14px;
}
.mms-title {
    font-size: 0.65rem;
    font-weight: 900;
    color: rgba(255,255,255,0.28);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 2px;
}
.mms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 12px;
}
.mms-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 13px 13px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    cursor: pointer;
    transition: background 0.18s, transform 0.13s, border-color 0.18s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    overflow: hidden;
}
.mms-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.13); }
.mms-item:active { transform: scale(0.94); background: rgba(255,255,255,0.08); }
.mms-text { display: flex; flex-direction: column; gap: 2px; }
.mms-ico {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 15px;
}
.mms-ico svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mms-ico--gold   { background: linear-gradient(135deg,rgba(255,210,0,0.28),rgba(255,140,0,0.15));   color:#ffd700; box-shadow:0 4px 18px rgba(255,200,0,0.22); }
.mms-ico--yellow { background: linear-gradient(135deg,rgba(255,230,0,0.22),rgba(255,180,0,0.12));   color:#ffc200; box-shadow:0 4px 18px rgba(255,180,0,0.18); }
.mms-ico--blue   { background: linear-gradient(135deg,rgba(100,160,255,0.26),rgba(60,100,255,0.12)); color:#7eb4ff; box-shadow:0 4px 18px rgba(80,140,255,0.18); }
.mms-ico--pink   { background: linear-gradient(135deg,rgba(255,80,160,0.26),rgba(200,50,120,0.12)); color:#ff7aaa; box-shadow:0 4px 18px rgba(255,80,130,0.18); }
.mms-label {
    font-size: 0.87rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.2px;
}
.mms-sub {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1px;
    line-height: 1.3;
}
.mms-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.mms-footer-link {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.28);
    cursor: pointer;
    transition: color 0.15s;
    text-decoration: none;
}
.mms-footer-link:hover, .mms-footer-link:active { color: rgba(255,255,255,0.65); }
.mms-footer-dot { width: 3px; height: 3px; background: rgba(255,255,255,0.18); border-radius: 50%; }

/* --- ULTRA PREMIUM SIDE CART (REDESIGN) --- */
.cart-overlay {
    position: fixed;
    top: 0; right: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cart-overlay.active { display: flex; opacity: 1; }

.cart-panel-premium {
    width: 420px;
    height: 100%;
    background: linear-gradient(180deg, rgba(15,15,15,0.95) 0%, #000 100%);
    border-left: 1px solid rgba(0, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(0,0,0,0.8);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cart-overlay.active .cart-panel-premium { transform: translateX(0); }

/* --- HEADER --- */
.cart-header-ultra {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.01);
}

.cart-title-group { display: flex; align-items: center; gap: 15px; }
.cart-icon-anim { font-size: 1.8rem; animation: floatCart 3s ease-in-out infinite; }
@keyframes floatCart { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }


.cart-header-ultra h2 { margin: 0; font-size: 1.4rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.cart-subtitle { font-size: 0.75rem; color: #666; font-weight: 500; }

.close-cart-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s;
}
.close-cart-btn:hover { background: #ff0055; border-color: #ff0055; transform: rotate(90deg); }

/* --- ITEMS LIST --- */
.cart-items-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
}

/* Individual Item Card Styling (wird vom JS generiert, wir stylen die Klassen hier) */
.cart-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cart-item-row:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateX(-5px);
}
.cart-item-row img {
    width: 60px; height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 700; color: #fff; font-size: 0.9rem; margin-bottom: 4px; display: block; }
.cart-item-price { color: var(--gold-main); font-weight: 800; font-size: 0.85rem; }

.cart-item-remove {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,0,0,0.1);
    color: #ff4d4d;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
    font-size: 0.8rem;
}
.cart-item-remove:hover { background: #ff4d4d; color: #fff; transform: scale(1.1); }

/* --- FOOTER & COUPONS --- */
.cart-footer-ultra {
    padding: 30px;
    background: rgba(10,10,10,0.8);
    border-top: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

/* Coupon Input */
.coupon-input-container {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}
.coupon-input-container input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}
.coupon-apply-btn {
    background: rgba(255,255,255,0.1);
    color: #fff; border: none;
    padding: 0 15px; border-radius: 8px;
    cursor: pointer; font-weight: 600;
    transition: 0.3s;
}
.coupon-apply-btn:hover { background: var(--gold-main); color: #000; }

/* Active Coupon Badge */
.active-coupon-badge {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.2), transparent);
    border-left: 3px solid #2ecc71;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coupon-percent-text { color: #2ecc71; font-weight: bold; margin-left: 5px; }
.remove-coupon-btn { background: none; border: none; color: #666; cursor: pointer; font-weight: bold; }
.remove-coupon-btn:hover { color: #fff; }

/* Bill Summary */
.bill-summary { margin-bottom: 25px; }
.bill-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; color: #aaa; }
.bill-row.total { color: #fff; font-size: 1.2rem; font-weight: 800; align-items: center; }
.bill-row.discount { color: #ff0055; }
.bill-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 15px 0; }
.glow-price { color: var(--gold-main); text-shadow: 0 0 15px rgba(0, 255, 255, 0.3); }

/* Checkout Button */
.checkout-btn-mega {
    width: 100%;
    padding: 18px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}
.checkout-btn-mega:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(0, 255, 255, 0.4); }
.checkout-btn-mega .btn-text {
    position: relative; z-index: 2; color: #000; font-weight: 900; font-size: 1.1rem; letter-spacing: 1px;
}
.btn-shine-anim {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    animation: shine infinite 3s;
    z-index: 1;
}
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.security-badge-row {
    text-align: center;
    font-size: 0.65rem;
    color: #444;
    text-transform: uppercase;
    display: flex; justify-content: center; gap: 8px; font-weight: 600;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .cart-panel-premium { width: 100%; }
    .cart-header-ultra { padding: 20px; }
}
/* --- SEARCH SUGGESTIONS FINE-TUNING --- */
.search-suggestions-dropdown {
    top: calc(100% + 5px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    padding: 8px;
}

.suggestion-item {
    padding: 10px !important;
    border-radius: 12px;
    margin-bottom: 4px;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.suggest-img-container {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.suggest-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggest-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggest-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.suggest-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.suggest-price {
    color: var(--gold-main);
    font-size: 0.75rem;
    font-weight: 800;
}

.suggest-cat {
    color: #444;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.suggest-arrow {
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    padding-right: 5px;
}

.suggestion-item:hover .suggest-arrow {
    color: var(--gold-main);
    transform: translateX(3px);
}
/* --- PREMIUM ZWANGS-COOKIE-BANNER --- */
.cookie-overlay-modern {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
}

.cookie-box-premium {
    background: linear-gradient(145deg, #111, #050505);
    border: 2px solid var(--gold-main);
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.15);
    border-radius: 25px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: scaleUpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-icon-header {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    animation: floatCart 3s infinite ease-in-out;
}

.cookie-box-premium button:hover {
    border-color: #fff !important;
    color: #fff !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUpBounce {
    0% { transform: scale(0.7); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
/* --- AGB CHECKBOX STYLES --- */
.legal-check-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-text {
    font-size: 0.8rem;
    color: #ccc;
    text-align: left;
    line-height: 1.3;
}

.legal-text a {
    color: var(--gold-main);
    text-decoration: underline;
    cursor: pointer;
}

/* Custom Checkbox Design */
.custom-checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: -10px; /* Zentrierung */
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid var(--gold-main);
    border-radius: 6px;
    transition: 0.2s;
}

.custom-checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 215, 0, 0.1);
}

.custom-checkbox-container input:checked ~ .checkmark {
    background-color: var(--gold-main);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}
/* --- MODERN NOTIFICATION SYSTEM (TOASTS) --- */
.custom-notification {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    z-index: 1000000; /* Ganz oben drüber */
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    white-space: nowrap;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Farben je nach Typ */
.custom-notification.warning { border-color: var(--gold-main); box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15); }
.custom-notification.error { border-color: #ff2d55; box-shadow: 0 5px 20px rgba(255, 45, 85, 0.15); color: #ff2d55; }
.custom-notification.success { border-color: #00ff88; box-shadow: 0 5px 20px rgba(0, 255, 136, 0.15); color: #00ff88; }

.notif-icon { font-size: 1.2rem; }
/* --- ZAHLUNGSMETHODEN (PRODUKT MODAL) --- */
.pay-method-block {
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.pay-method-block:has(input:checked) {
    border-color: rgba(46,204,113,0.35);
    background: rgba(46,204,113,0.03);
}
.pay-method-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    cursor: pointer;
    user-select: none;
}
.pay-method-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-green);
    flex-shrink: 0;
    cursor: pointer;
}
.pay-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.pay-toggle-label > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pay-toggle-label b {
    color: #fff;
    font-size: 0.9rem;
}
.pay-toggle-label small {
    color: #666;
    font-size: 0.7rem;
}
.pay-method-fields {
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.25);
    animation: fadeInDown 0.2s ease;
}

/* --- CHECKOUT ZAHLUNGSBUTTONS --- */
.checkout-method-btn {
    cursor: pointer;
    background: linear-gradient(145deg, rgba(var(--mc),0.09), rgba(15,15,15,0.7));
    border: 1px solid rgba(var(--mc),0.28);
    padding: 20px 14px;
    border-radius: 18px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.checkout-method-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--mc),0.5), transparent);
}
.checkout-method-btn.hovered,
.checkout-method-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--mc),0.65);
    box-shadow: 0 10px 28px rgba(var(--mc),0.18);
    background: rgba(var(--mc),0.16);
}
.checkout-method-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}
.pm-img {
    height: 44px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(var(--mc),0.45));
    transition: transform 0.2s;
}
.checkout-method-btn:hover .pm-img {
    transform: scale(1.08);
}
.checkout-method-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}
.checkout-method-sub {
    font-size: 0.62rem;
    color: rgba(var(--mc),0.85);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.consent-box {
    background: linear-gradient(160deg, #0a1020 0%, #080e1c 100%);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 20px;
    padding: 32px 28px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 60px rgba(0,0,0,0.85), 0 0 40px rgba(79,70,229,0.15);
    position: relative;
    overflow: hidden;
}
.consent-box::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 120px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.consent-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.consent-title::before {
    content: '⚠';
    font-size: 1.1rem;
    color: #fbbf24;
}
/* Stripe logo/badge inside consent */
.consent-stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 18px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(165,180,252,0.6);
}
.consent-stripe-badge::before, .consent-stripe-badge::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(99,102,241,0.2);
}
.consent-body {
    font-size: 0.8rem;
    color: rgba(200,210,255,0.6);
    line-height: 1.65;
    margin-bottom: 20px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    padding: 14px 16px;
}
.consent-body p { margin-bottom: 8px; }
.consent-body p:last-child { margin-bottom: 0; }
.consent-body strong { color: #c7d2fe; }
.consent-check-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 20px;
    color: rgba(220,225,255,0.75);
    font-size: 0.8rem;
    line-height: 1.55;
    background: rgba(255,180,0,0.05);
    border: 1px solid rgba(255,180,0,0.22);
    border-radius: 12px;
    padding: 14px 14px;
    transition: border-color 0.2s, background 0.2s;
}
.consent-check-wrap:has(input:checked) {
    background: rgba(16,185,129,0.07);
    border-color: rgba(16,185,129,0.3);
}
.consent-check-wrap input[type="checkbox"] {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    accent-color: #6366f1;
    cursor: pointer;
}
.consent-check-wrap strong { color: #fde68a; }
.consent-actions {
    display: flex;
    gap: 10px;
}
.consent-cancel-btn {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    padding: 13px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.consent-cancel-btn:hover { background: rgba(255,255,255,0.09); color: #ccc; }
.consent-proceed-btn {
    flex: 2;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border: none;
    color: #fff;
    padding: 13px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}
.consent-proceed-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
}
.consent-proceed-btn:not(:disabled):hover {
    opacity: 0.92;
    box-shadow: 0 8px 28px rgba(99,102,241,0.6);
    transform: translateY(-1px);
}
/* Package summary row inside consent modal */
.consent-pkg-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.consent-pkg-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(139,92,246,0.4));
}
.consent-pkg-info {
    flex: 1;
    min-width: 0;
}
.consent-pkg-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}
.consent-pkg-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #a78bfa;
    line-height: 1.2;
    margin-top: 2px;
}
.consent-stripe-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Trust row at bottom of consent modal */
.consent-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.6rem;
    color: rgba(100,110,160,0.5);
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.3px;
}
@media (max-width: 500px) {
    #consent-modal {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .consent-box {
        padding: 20px 16px 24px;
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        max-height: 92dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    .consent-actions { flex-direction: column; }
    .consent-cancel-btn, .consent-proceed-btn { flex: unset; width: 100%; }
    .consent-pkg-row { gap: 10px; padding: 12px; }
    .consent-pkg-img { width: 42px; height: 42px; }
}
/* ============================================================
   VB CHECKOUT MODAL — two-column redesign
   ============================================================ */

/* --- VB MODE: widen the modal box and set it as flex row --- */
#buy-modal.vb-checkout-mode .modal-box {
    max-width: 1100px !important;
    width: 96% !important;
    padding: 0 !important;
    background: #080f1e !important;
    border: 1px solid rgba(100, 60, 255, 0.35) !important;
    box-shadow: 0 0 60px rgba(80, 40, 255, 0.15), 0 0 120px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    max-height: 92vh !important;
}

/* Close button in VB mode */
#buy-modal.vb-checkout-mode .modal-box > .close-welcome {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 10;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
}
#buy-modal.vb-checkout-mode .modal-box > .close-welcome:hover {
    color: #fff;
}

/* ---- LEFT PANEL ---- */
#vb-package-panel {
    display: none; /* hidden by default, shown in vb mode */
    width: 40%;
    flex-shrink: 0;
    background: linear-gradient(160deg, #0d1528 0%, #0a0e1f 60%, #080c1a 100%);
    border-right: 1px solid rgba(100, 60, 255, 0.3);
    padding: 40px 28px 32px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle glow aura behind the panel */
#vb-package-panel::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 60, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

#buy-modal.vb-checkout-mode #vb-package-panel {
    display: flex;
}

/* Badge */
#vb-pkg-badge {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    min-height: 22px;
}
#vb-pkg-badge.badge-popular {
    background: linear-gradient(135deg, #7c3aed, #5865F2);
    color: #fff;
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.5);
}
#vb-pkg-badge.badge-best {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 0 14px rgba(22, 163, 74, 0.5);
}

/* Package image */
#vb-pkg-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 22px rgba(80, 140, 255, 0.45));
}

/* Amount text */
.vb-pkg-amount {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
}
.vb-pkg-amount span {
    color: #4db8ff;
}

/* Trust items */
.vb-pkg-trust {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 28px;
    width: 100%;
}
.vb-pkg-trust span {
    font-size: 0.75rem;
    color: rgba(200, 215, 255, 0.7);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 7px 12px;
    letter-spacing: 0.5px;
}

/* Price block */
.vb-pkg-price-block {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(100, 60, 255, 0.25);
    border-radius: 14px;
    padding: 18px 16px 14px;
    margin-bottom: 20px;
}
.vb-pkg-price-label {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    color: rgba(180, 200, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 700;
}
.vb-pkg-price {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

/* Legal note at bottom of left panel */
.vb-pkg-legal {
    font-size: 0.62rem;
    color: rgba(180, 200, 255, 0.35);
    margin-top: auto;
    line-height: 1.5;
}
.vb-pkg-legal a {
    text-decoration: underline;
}

/* ---- RIGHT PANEL ---- */
#checkout-right-panel {
    /* In normal mode: no extra padding (modal-box already has padding:30px) */
    text-align: left;
}

/* In VB mode — right panel gets its own padding + dark bg */
#buy-modal.vb-checkout-mode #checkout-right-panel {
    flex: 1;
    padding: 36px 28px 28px;
    overflow-y: auto;
    background: #0c1122;
    text-align: left;
}

/* Section headings (numbered) — only visible in VB mode */
.vb-section-heading {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(160, 185, 255, 0.55);
    margin-bottom: 12px;
    margin-top: 4px;
}
#buy-modal.vb-checkout-mode .vb-section-heading {
    display: flex;
}

.vb-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(100, 80, 255, 0.25);
    border: 1px solid rgba(100, 80, 255, 0.45);
    color: #a0b4ff;
    font-size: 0.6rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Hide title in VB mode */
#buy-modal.vb-checkout-mode #buy-modal-title {
    display: none !important;
}

/* ── AGB / Widerrufsrecht box ── */
.checkout-agb-box {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* VB mode: styled for dark panel */
#buy-modal.vb-checkout-mode .checkout-agb-box {
    background: rgba(255,180,0,0.06) !important;
    border: 1px solid rgba(255,180,0,0.28) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 20px !important;
    transition: border-color 0.2s, background 0.2s;
}
#buy-modal.vb-checkout-mode .checkout-agb-box:has(#direct-buy-agb-check:checked) {
    background: rgba(16,185,129,0.07) !important;
    border-color: rgba(16,185,129,0.35) !important;
}

.agb-label-row {
    display: flex;
    gap: 11px;
    cursor: pointer;
    align-items: flex-start;
}
.agb-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: #10b981;
    cursor: pointer;
}
.agb-text {
    font-size: 0.72rem;
    color: rgba(220,230,255,0.8);
    line-height: 1.45;
}
.agb-sub {
    font-size: 0.64rem;
    color: rgba(160,175,220,0.5);
    margin-top: 9px;
    padding-left: 31px;
    line-height: 1.4;
}
.agb-link {
    color: #7dd8f5;
    text-decoration: underline;
    cursor: pointer;
}
/* Normal (non-VB) mode: keep old appearance */
#buy-modal:not(.vb-checkout-mode) .agb-label-row {
    align-items: flex-start;
}
#buy-modal:not(.vb-checkout-mode) .agb-checkbox {
    accent-color: var(--gold-main);
}
#buy-modal:not(.vb-checkout-mode) .agb-text {
    font-size: 0.7rem;
    color: #ccc;
}
#buy-modal:not(.vb-checkout-mode) .agb-sub {
    color: #888;
    font-size: 0.65rem;
}
#buy-modal:not(.vb-checkout-mode) .agb-link {
    color: var(--gold-main);
}

/* VB legal section heading (hidden by default, shown in VB mode) */
.vb-legal-heading {
    margin-top: 0;
}

/* Hide the non-VB "Wähle deine Zahlungsmethode:" label in VB mode */
#buy-modal.vb-checkout-mode .non-vb-payment-label {
    display: none !important;
}

/* Legal footer — only visible in VB mode */
.vb-checkout-legal-footer {
    display: none;
    font-size: 0.62rem;
    color: rgba(160, 185, 255, 0.3);
    margin-top: 20px;
    line-height: 1.5;
    text-align: center;
}
#buy-modal.vb-checkout-mode .vb-checkout-legal-footer {
    display: block;
}

/* ---- MOBILE: stack panels vertically ---- */
@media (max-width: 768px) {
    #buy-modal.vb-checkout-mode .modal-box {
        flex-direction: column !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 25px 25px 0 0 !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
    }
    /* Linkes Panel komplett verstecken — Preis steht unten im Formular */
    #vb-package-panel {
        display: none !important;
    }
    /* Rechtes Panel: volle Breite, kompaktes Padding */
    #checkout-right-panel {
        padding: 18px 14px 24px !important;
    }
    #buy-modal.vb-checkout-mode .checkout-agb-box {
        padding: 8px 10px !important;
        margin-bottom: 10px !important;
    }
    .agb-text { font-size: 0.68rem !important; line-height: 1.4 !important; }
    .agb-sub { font-size: 0.6rem !important; }
    .vb-section-heading { margin-bottom: 8px !important; margin-top: 2px !important; }
    .modal-coupon-box { padding: 6px !important; margin-bottom: 10px !important; }
    .modal-coupon-box input { padding: 7px 9px !important; font-size: 0.8rem !important; }
    .modal-coupon-box button { padding: 7px 11px !important; font-size: 0.8rem !important; }
}

/* ══════════════════════════════════════════════════
   DSGVO COOKIE CONSENT BANNER
══════════════════════════════════════════════════ */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    animation: cookieSlideUp 0.35s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}
#cookie-banner-inner {
    background: #13171f;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
    max-width: 720px;
    width: 100%;
    padding: 20px 22px 18px;
}
#cookie-banner-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
#cookie-banner-icon { font-size: 2rem; line-height: 1; }
#cookie-banner-title {
    margin: 0 0 3px;
    font-size: 1rem; font-weight: 800;
    color: #fff;
}
#cookie-banner-sub {
    margin: 0;
    font-size: 0.78rem;
    color: #8a9ab0;
}
#cookie-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.cookie-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 10px 13px;
}
.cookie-service-required { opacity: 0.7; }
.cookie-service-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cookie-service-name { font-size: 0.78rem; font-weight: 700; color: #e0e6f0; }
.cookie-service-desc { font-size: 0.67rem; color: #6a7a8a; line-height: 1.4; }
.cookie-badge {
    flex-shrink: 0;
    font-size: 0.6rem; font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cookie-badge--required {
    background: rgba(0,220,200,0.12);
    color: #00dcc8;
    border: 1px solid rgba(0,220,200,0.25);
}
/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.12);
    border-radius: 22px;
    transition: background 0.2s;
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: #00dcc8; }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }

#cookie-legal-note {
    font-size: 0.65rem;
    color: #4a5a6a;
    margin: 0 0 14px;
    line-height: 1.5;
}
#cookie-legal-note a { color: #00dcc8; text-decoration: none; }
#cookie-legal-note a:hover { text-decoration: underline; }
#cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
#cookie-btn-necessary {
    padding: 9px 18px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: #8a9ab0;
    font-size: 0.78rem; font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
#cookie-btn-necessary:hover { background: rgba(255,255,255,0.07); color: #fff; }
#cookie-btn-all {
    padding: 9px 22px;
    border-radius: 9px;
    border: none;
    background: linear-gradient(135deg, #00dcc8, #0099c8);
    color: #000;
    font-size: 0.78rem; font-weight: 800;
    cursor: pointer;
    transition: filter 0.2s;
}
#cookie-btn-all:hover { filter: brightness(1.1); }

@media (max-width: 600px) {
    #cookie-banner {
        padding: 0;
        align-items: flex-end;
    }
    #cookie-banner-inner {
        padding: 0;
        border-radius: 18px 18px 0 0;
        max-height: calc(100dvh - 16px);
        display: flex;
        flex-direction: column;
    }
    #cookie-banner-header {
        padding: 14px 14px 0;
        flex-shrink: 0;
    }
    #cookie-services {
        padding: 0 14px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1 1 auto;
        min-height: 0;
    }
    #cookie-legal-note { padding: 0 14px; }
    #cookie-actions {
        padding: 8px 14px 14px;
        flex-direction: column;
        flex-shrink: 0;
    }
    #cookie-btn-necessary, #cookie-btn-all { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════
   AUTH MODAL — REDESIGN
═══════════════════════════════════════════ */
.am-container {
    display: flex;
    width: 860px;
    max-width: 96vw;
    min-height: 560px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,200,255,0.12);
    animation: am-pop 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
    will-change: transform, opacity;
}
@keyframes am-pop {
    from { opacity:0; transform:scale(0.92) translateY(20px); }
    to   { opacity:1; transform:scale(1) translateY(0); }
}

/* ── LEFT PANEL ── */
.am-left {
    flex: 0 0 340px;
    background: #080c12;
    padding: 36px 32px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.am-orb {
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(0,200,255,0.18) 0%, transparent 70%);
    border-radius: 50%;
    top: 30%; left: 10%;
    pointer-events: none;
}
.am-brand-wrap { margin-bottom: 18px; }
.am-brand {
    font-size: 1.55rem; font-weight: 900; letter-spacing: 2px; color: #fff;
    font-family: 'Rajdhani', sans-serif;
}
.am-brand span { color: #00c8ff; }
.am-brand-line {
    width: 36px; height: 2px;
    background: #00c8ff;
    margin-top: 6px; border-radius: 2px;
}
.am-tagline {
    font-size: 1.45rem; font-weight: 900; letter-spacing: 1px;
    color: #fff; margin: 0 0 10px; line-height: 1.2;
    font-family: 'Rajdhani', sans-serif;
}
.am-tagline-accent { color: #00c8ff; }
.am-tagline-desc {
    font-size: 0.78rem; color: rgba(255,255,255,0.45);
    line-height: 1.55; margin-bottom: 24px;
}
.am-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 0; flex: 1; justify-content: flex-start; padding-bottom: 36px; }
.am-feat { display: flex; align-items: flex-start; gap: 12px; }
.am-feat-ico {
    width: 34px; height: 34px; flex-shrink: 0;
    border: 1px solid rgba(0,200,255,0.25);
    border-radius: 8px;
    background: rgba(0,200,255,0.07);
    display: flex; align-items: center; justify-content: center;
    color: #00c8ff;
}
.am-feat-ico svg { width: 16px; height: 16px; }
.am-feat-title {
    font-size: 0.72rem; font-weight: 800; color: #fff;
    letter-spacing: 0.8px; margin-bottom: 2px;
}
.am-feat-sub { font-size: 0.68rem; color: rgba(255,255,255,0.4); }


/* ── RIGHT PANEL ── */
.am-right {
    flex: 1;
    background: #0d1117;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}
.am-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #666; transition: all 0.2s;
    padding: 0;
}
.am-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.am-form-head { margin-bottom: 24px; padding-right: 40px; }
.am-form-title {
    font-size: 1.7rem; font-weight: 900; color: #fff;
    letter-spacing: 1px; margin: 0 0 6px;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.1;
}
.am-form-title-accent { color: #00c8ff; }
.am-form-sub { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }
.am-form-body { display: flex; flex-direction: column; gap: 12px; }

/* ── FIELDS ── */
.am-field-wrap { display: flex; flex-direction: column; gap: 4px; }
.am-field {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.am-field:focus-within {
    border-color: rgba(0,200,255,0.45);
    box-shadow: 0 0 0 3px rgba(0,200,255,0.07);
}
.am-field-ico {
    width: 46px; height: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(0,200,255,0.6);
}
.am-field-ico svg { width: 18px; height: 18px; }
.am-input {
    flex: 1; background: transparent; border: none; outline: none;
    color: #fff; font-size: 0.9rem; padding: 14px 14px 14px 0;
    font-family: inherit;
}
.am-input::placeholder { color: rgba(255,255,255,0.3); }
.am-field-hint { font-size: 0.68rem; color: rgba(255,255,255,0.3); padding-left: 2px; }
.am-pw-eye {
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%) !important;
    width: 44px; height: 44px; background: none; border: none;
    display: flex; align-items: center; justify-content: center;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: rgba(255,255,255,0.35); transition: color 0.2s;
    padding: 0; border-radius: 6px;
}
.am-pw-eye:hover { color: rgba(255,255,255,0.7); }
.am-pw-eye svg { width: 17px; height: 17px; pointer-events: none; }

/* ── LOGIN ROW (remember me + forgot) ── */
.am-login-row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.am-remember-wrap { flex: 1; }
.am-remember-label {
    display: flex; align-items: center; gap: 7px;
    cursor: pointer; font-size: 0.75rem; color: rgba(255,255,255,0.35);
    user-select: none;
}
.am-remember-label:hover { color: rgba(255,255,255,0.6); }

/* ── FORGOT ── */
.am-forgot {
    font-size: 0.75rem; color: rgba(255,255,255,0.35);
    cursor: pointer; transition: color 0.2s; white-space: nowrap;
}
.am-forgot:hover { color: #00c8ff; }

/* ── LEGAL ── */
.am-legal { margin: 0; }
.am-legal-label {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer; font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.45;
}
.am-legal-cb {
    width: 16px; height: 16px; flex-shrink: 0;
    margin-top: 1px; cursor: pointer; accent-color: #00c8ff;
}
.am-legal-link { color: #00c8ff; text-decoration: underline; cursor: pointer; }

/* ── ERROR ── */
.am-error {
    background: rgba(255,77,77,0.1); border: 1px solid rgba(255,77,77,0.25);
    border-radius: 10px; padding: 10px 14px;
    color: #ff6b6b; font-size: 0.82rem; text-align: center;
}

/* ── SUBMIT BUTTON ── */
.am-submit {
    width: 100%; padding: 15px;
    background: #00c8ff;
    color: #000; font-weight: 900; font-size: 0.92rem;
    letter-spacing: 1.5px; border: none; border-radius: 12px;
    cursor: pointer; transition: all 0.2s;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 6px 24px rgba(0,200,255,0.3);
    margin-top: 2px;
}
.am-submit:hover {
    background: #1ad1ff;
    box-shadow: 0 8px 30px rgba(0,200,255,0.45);
    transform: translateY(-1px);
}
.am-submit:active { transform: translateY(0); }

/* ── OR ── */
.am-or {
    display: flex; align-items: center; gap: 14px;
    color: rgba(255,255,255,0.2); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
}
.am-or::before, .am-or::after {
    content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08);
}

/* ── GOOGLE BUTTON ── */
.am-google-btn {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 13px;
    color: #fff; font-weight: 600; font-size: 0.88rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: all 0.2s; font-family: inherit;
}
.am-google-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}
.am-google-btn img { filter: none; }

/* ── SWITCH TEXT ── */
.am-switch {
    text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.35);
    cursor: pointer; transition: color 0.2s;
}
.am-switch span { color: #00c8ff; font-weight: 700; transition: color 0.2s; }
.am-switch:hover { color: rgba(255,255,255,0.6); }

/* ── PASSWORD STRENGTH ── */
.am-pw-strength-bar {
    height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
#am-pw-strength-fill {
    height: 100%; width: 0; border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

/* ── USERNAME STATUS ── */
.am-username-status {
    font-size: 0.7rem; font-weight: 600; transition: color 0.2s;
}
.am-username-status.available { color: #2ecc71; }
.am-username-status.taken { color: #ff6b6b; }
.am-username-status.checking { color: rgba(255,255,255,0.35); }

/* ── SPECIAL STATES (verify / google name picker) ── */
.am-special-state {
    padding: 8px 0;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    animation: amFadeIn 0.25s ease;
}
@keyframes amFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.am-state-icon { font-size: 2.8rem; margin-bottom: 12px; }
.am-state-title {
    font-size: 1.15rem; font-weight: 800; color: #fff;
    letter-spacing: 0.5px; margin: 0 0 8px;
}
.am-state-desc {
    font-size: 0.83rem; color: rgba(255,255,255,0.5);
    line-height: 1.6; margin: 0 0 4px;
}
.am-state-desc strong { color: rgba(255,255,255,0.8); }
.am-state-link {
    font-size: 0.78rem; color: #00c8ff; cursor: pointer;
    margin-top: 12px; opacity: 0.75; transition: opacity 0.2s;
}
.am-state-link:hover { opacity: 1; }
.am-special-state .am-field {
    width: 100%; text-align: left;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
    .am-container {
        flex-direction: column;
        width: 100%;
        max-width: 440px;
        max-height: 96vh;
        border-radius: 18px;
    }
    .am-left {
        flex: none;
        padding: 24px 24px 0;
    }
    .am-tagline-desc, .am-features { display: none; }
    .am-tagline { font-size: 1.1rem; margin-bottom: 0; }
    .am-right {
        padding: 24px 22px 28px;
        flex: 1;
    }
    .am-form-title { font-size: 1.3rem; }
    .am-close { top: 16px; right: 16px; }
}
@media (max-width: 400px) {
    .am-left { display: none; }
    .am-container { max-height: 100dvh; border-radius: 16px 16px 0 0; width: 100%; max-width: 100vw; overflow-x: hidden; }
    .am-right { padding: 28px 18px; }
}
/* Override mobile modal-overlay bottom-sheet for auth modal */
#auth-modal {
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
}
@media (max-width: 400px) {
    #auth-modal {
        padding: 0 !important;
        align-items: flex-end !important;
    }
}
