/* Auto-extracted from single-stars.php */

/* =========================================
       1. HAUPT-LAYOUT (DEEP MIND / OCEAN)
       Statt "laut/gelb" jetzt "ruhig/blau" für Psychologie-Fokus
       ========================================= */
    .public-wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        /* Kühle, tiefe Farben für Konzentration und Ruhe */
        background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        overflow-x: hidden;
        position: relative;
        color: #0f172a; /* Slate 900 */
    }

    /* --- SCHWEBENDE EMOJIS (Analyse & Verstand) --- */
    .float-emoji {
        position: absolute;
        font-size: 4rem;
        opacity: 0.1;
        z-index: 0;
        /* Bläulicher Filter */
        filter: hue-rotate(180deg) saturate(0.5);
        animation: floating 12s ease-in-out infinite;
        user-select: none;
        pointer-events: none;
    }

    .emoji-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 5rem; } /* Gehirn/Kopf */
    .emoji-2 { top: 20%; right: 8%; animation-delay: 2s; transform: rotate(10deg); } /* Puzzleteil */
    .emoji-3 { bottom: 20%; left: 8%; animation-delay: 4s; font-size: 4rem; } /* Welle */
    .emoji-4 { bottom: 40%; right: 5%; animation-delay: 1s; } /* Buch/Wissen */
    .emoji-5 { top: 50%; left: -2%; animation-delay: 5s; filter: blur(1px); opacity: 0.08; } /* Lupe */
    .emoji-6 { top: 5%; right: 30%; animation-delay: 3s; font-size: 3rem; } /* Lichtblick */

    @keyframes floating {
        0% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-15px) rotate(5deg); }
        100% { transform: translateY(0px) rotate(0deg); }
    }

    /* --- ARTICLE CARD --- */
    .glass-card {
        position: relative;
        z-index: 10;
        max-width: 900px;
        margin: 0 auto 3rem;
        padding: 4rem 3.5rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 16px;
        /* Feiner, technischer Rand */
        border: 1px solid #bae6fd;
                    border-radius: 12px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    }

    /* --- INFO BOX (Context) --- */
    .harm-reduction-box {
        margin-top: 4rem;
        background: #eff6ff; /* Blue Tint */
        border-left: 4px solid #3b82f6;
        border-radius: 6px;
        padding: 2rem;
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }
    .warning-emoji { font-size: 2.5rem; }
    .warning-text h4 { color: #1e40af; margin: 0 0 0.5rem; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
    .warning-text p { margin: 0; font-size: 0.95rem; color: #1e3a8a; }

    /* --- AUTHOR BOX --- */
    .author-box { 
        display: flex; 
        align-items: center; 
        gap: 2rem; 
        margin-top: 5rem; 
        padding: 2rem; 
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }
    .author-avatar img { 
        width: 100px; height: 100px; 
        border-radius: 50%; 
        border: 3px solid #0ea5e9; 
        padding: 2px;
        object-fit: cover; 
    }
    .author-content h3 { 
        margin: 0 0 0.5rem; 
        font-size: 1.4rem; 
        color: #0f172a;
    }
    .author-content p { font-size: 0.95rem; color: #64748b; margin-bottom: 1rem; }
    .author-link { 
        display: inline-block; 
        color: #0ea5e9; text-decoration: none; 
        font-weight: 600; font-size: 0.9rem;
    }
    .author-link:hover { text-decoration: underline; }

    /* --- CATEGORY BUTTON --- */
    .cat-section { text-align: center; margin: 4rem 0; }
    .cat-btn { 
        display: inline-block; 
        background: white; 
        color: #0f172a; 
        padding: 10px 30px; 
        border: 1px solid #94a3b8;
        border-radius: 50px; 
        text-decoration: none; 
        font-size: 0.9rem;
        transition: all 0.2s; 
        font-weight: 600;
    }
    .cat-btn:hover { 
        background: #0f172a;
        color: #fff;
        border-color: #0f172a;
    }

    /* --- SOCIAL GRID (BLUE/TEAL) --- */
    .social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-top: 3rem; }
    .social-card { 
        display: flex; flex-direction: column; align-items: center; justify-content: center; 
        padding: 1.5rem 1rem; 
        background: white; 
        border: 1px solid #e0f2fe; 
        border-radius: 12px;
        text-decoration: none; 
        transition: all 0.2s ease; 
        text-align: center; 
    }
    .social-card:hover { 
        transform: translateY(-3px); 
        box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
        border-color: #7dd3fc;
    }
    .social-icon { width: 28px; height: 28px; margin-bottom: 0.5rem; color: #94a3b8; transition: transform 0.2s; }
    .social-card:hover .social-icon { transform: scale(1.1); color: #0284c7; }
    .social-name { font-weight: 600; font-size: 0.8rem; color: #334155; }
    .social-handle { font-size: 0.65rem; color: #94a3b8; margin-top: 4px; }

    /* --- FLOATING HACK-THE-ALGO WIDGET (CLEAN TEAL) --- */
    .algo-hack-widget {
        position: fixed;
        right: 20px;
        top: 40%; 
        transform: translateY(-50%);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 15px 10px;
        border-radius: 50px;
        border: 1px solid #7dd3fc;
        box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
        transition: transform 0.3s ease;
    }

    .algo-hack-widget:hover {
        transform: translateY(-50%) scale(1.02);
        background: #fff;
        border-color: #0ea5e9;
    }

    .algo-label-badge {
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        padding: 8px 6px;
        border-radius: 12px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        letter-spacing: 1px;
        box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
        animation: pulse-blue 3s infinite;
        cursor: default;
        white-space: nowrap;
        min-height: 120px;
        text-align: center;
    }

    .algo-share-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border: 1px solid #e0f2fe;
        color: #334155;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 1.2rem;
    }

    .algo-share-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
        border-color: #38bdf8;
        color: #0284c7;
    }

    /* Platform spezifische Farben (Hover) */
    .asb-wa:hover { color: #25D366; border-color: #25D366; }
    .asb-tele:hover { color: #0088cc; border-color: #0088cc; }
    .asb-fb:hover { color: #1877F2; border-color: #1877F2; }
    .asb-reddit:hover { color: #FF4500; border-color: #FF4500; }
    .asb-twitter:hover { color: #1DA1F2; border-color: #1DA1F2; }
    .asb-tiktok:hover { color: #000; border-color: #000; }
    .asb-copy:hover { color: #0ea5e9; border-color: #0ea5e9; }
    
    @keyframes pulse-blue {
        0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
        100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
    }

    /* MOBILE OPTIMIERUNG (WIDGET UNTEN DOCKEN) */
    @media (max-width: 1000px) {
        .algo-hack-widget {
            top: auto;
            bottom: 20px;
            left: 50%;
            right: auto;
            transform: translateX(-50%);
            flex-direction: column;
            width: auto;
            min-width: 90%;
            padding: 10px 15px;
            border-radius: 20px;
            min-height: auto;
            flex-wrap: nowrap;
            box-shadow: 0 5px 20px rgba(14, 165, 233, 0.25);
        }

        .algo-hack-widget:hover {
            transform: translateX(-50%) scale(1.02);
        }

        .algo-label-badge {
            writing-mode: horizontal-tb;
            transform: none;
            min-height: auto;
            margin-bottom: 10px;
            padding: 5px 10px;
            font-size: 0.65rem;
            width: 100%;
        }

        .algo-buttons-group {
            flex-direction: row;
            width: 100%;
            justify-content: space-evenly;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 480px) {
        .algo-hack-widget {
            padding: 8px 10px;
            gap: 8px;
            bottom: 15px;
        }
        .algo-share-btn {
            width: 36px;
            height: 36px;
            font-size: 1rem;
        }
        .algo-label-badge {
            font-size: 0.6rem;
            padding: 4px 8px;
            white-space: normal;
            text-align: center;
            line-height: 1.1;
            max-width: 80px;
        }
    }

    @media (max-width: 768px) {
        .glass-card { margin: 0; padding: 2rem 1.5rem; border-radius: 0; border: none; }
        h1.post-title { font-size: 2.2rem; }
        .author-box { flex-direction: column; align-items: center; text-align: center; }
        .social-grid { grid-template-columns: repeat(2, 1fr); }
    }

/* Widget Container */
                .neelix-donation-wrapper {
                    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
                    max-width: 100%;
                    margin: 80px 0 40px;
                    background: #ffffff;
                    border-radius: 16px;
                    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.1);
                    border: 1px solid #bae6fd;
                    overflow: hidden;
                    position: relative;
                    color: #334155;
                    z-index: 1;
                }

                /* Ticker (Calm Blue Gradient) */
                .donation-ticker-bar {
                    background: linear-gradient(90deg, #0ea5e9 0%, #0284c7 100%);
                    color: #fff;
                    padding: 12px 0;
                    overflow: hidden;
                    position: relative;
                    font-size: 0.9rem;
                    font-weight: 600;
                    letter-spacing: 0.5px;
                }
                .ticker-content {
                    display: inline-block;
                    white-space: nowrap;
                    animation: ticker-scroll 40s linear infinite;
                    padding-left: 100%;
                }
                @keyframes ticker-scroll {
                    0% { transform: translateX(0); }
                    100% { transform: translateX(-100%); }
                }

                /* Grid Layout */
                .donation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

                /* Linke Spalte */
                .col-info {
                    padding: 40px;
                    background: #f0f9ff; /* Light Sky */
                    border-right: 1px solid #e0f2fe;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                }

                .info-badge {
                    display: inline-block;
                    background: #e0f2fe;
                    color: #0369a1;
                    padding: 5px 12px;
                    border-radius: 50px;
                    font-size: 0.7em;
                    font-weight: 700;
                    text-transform: uppercase;
                    margin-bottom: 15px;
                    border: 1px solid #bae6fd;
                }

                .info-title {
                    margin: 0 0 15px;
                    font-size: 1.8rem;
                    line-height: 1.2;
                    font-weight: 800;
                    color: #0c4a6e;
                }

                .info-text {
                    font-size: 0.95rem;
                    line-height: 1.6;
                    color: #334155;
                    margin-bottom: 25px;
                }
                /* Share Box */
                .share-box {
                    background: white;
                    border: 1px solid #bae6fd;
                    border-radius: 12px;
                    padding: 20px;
                    margin-top: auto;
                    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
                }
                
                .share-title { font-size: 0.85rem; font-weight: 700; color: #0284c7; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
                .share-subtitle { font-size: 0.8rem; color: #64748b; margin-bottom: 15px; }
                .share-btn {
                    display: flex; align-items: center; justify-content: center; gap: 8px;
                    padding: 10px; border-radius: 8px; text-decoration: none;
                    font-size: 0.8rem; font-weight: 600; color: white;
                    transition: transform 0.2s; border: none; cursor: pointer;
                }
                .share-btn:hover { transform: translateY(-2px); color: white; }
                .sb-whatsapp { background: #25D366; }
                .sb-facebook { background: #1877F2; }
                .sb-twitter { background: #000000; }
                .sb-email { background: #0284c7; }
                .sb-reddit { background: #FF4500; }

                /* Rechte Spalte: Payment */
                .col-payment { padding: 40px; background: white; }

                .pay-title { text-align: center; font-weight: 800; font-size: 1.4rem; margin-bottom: 25px; color: #0f172a; }
                .amt-btn {
                    flex: 0 0 auto;
                    padding: 12px 24px;
                    border: 1px solid #e0f2fe;
                    background: #f0f9ff;
                    border-radius: 50px;
                    font-weight: 700;
                    font-size: 1rem;
                    color: #0369a1;
                    cursor: pointer;
                    transition: all 0.3s;
                }
                .amt-btn:hover, .amt-btn.active {
                    border-color: #0ea5e9;
                    background: #0ea5e9;
                    color: white;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
                }

                .custom-input-group { position: relative; width: 100px; }
                .custom-input {
                    width: 100%; padding: 12px;
                    border: 2px solid #0ea5e9;
                    border-radius: 12px;
                    font-size: 1.1rem;
                    font-weight: 700;
                    text-align: center;
                    color: #0284c7;
                    outline: none;
                    background: #fff;
                }
                .currency-symbol {
                    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
                    color: #0ea5e9; font-weight: bold;
                }

                /* Main Button (Blue Gradient) */
                .main-pay-btn {
                    width: 100%;
                    padding: 18px;
                    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
                    color: #fff;
                    border: none;
                    border-radius: 12px;
                    font-weight: 800;
                    font-size: 1.1rem;
                    cursor: pointer;
                    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
                    transition: transform 0.3s;
                    margin-bottom: 30px;
                    display: flex; align-items: center; justify-content: center; gap: 10px;
                }
                .main-pay-btn:hover { transform: scale(1.02); }

                /* Crypto Buttons */
                .cry-btn {
                    padding: 8px 16px;
                    font-size: 0.8rem;
                    background: #f8fafc;
                    color: #64748b;
                    border-radius: 8px;
                    border: 1px solid #e2e8f0;
                    cursor: pointer;
                    font-weight: 700;
                    transition: background 0.2s;
                }
                .cry-btn:hover { background: #e0f2fe; color: #0284c7; border-color: #bae6fd; }

                .moonpay-link {
                    display: block; text-align: center; margin-top: 15px;
                    font-size: 0.8rem; color: #0369a1; text-decoration: none; font-weight: 600;
                }
                .moonpay-link:hover { text-decoration: underline; }

                /* Modals (Clean & Technical) */
                .nlx-modal-overlay {
                    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
                    width: 100%; height: 100%;
                    background: rgba(15, 23, 42, 0.6); /* Slate Overlay */
                    z-index: 9999999 !important;
                    justify-content: center; align-items: center;
                    backdrop-filter: blur(8px);
                }
                .nlx-modal-box {
                    background: white;
                    padding: 40px; border-radius: 16px;
                    width: 90%; max-width: 450px; position: relative;
                    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
                    text-align: left; color: #334155;
                    border: 1px solid #cbd5e1;
                }

                .nlx-close { position: absolute; top: 15px; right: 20px; font-size: 32px; cursor: pointer; color: #94a3b8; line-height: 1; }
                .nlx-close:hover { color: #0f172a; }

                .nlx-copy-btn {
                    background: #0f172a; color: white; border: none; width: 100%;
                    padding: 14px; border-radius: 8px; margin-top: 20px; font-weight: 800; cursor: pointer;
                }
                .nlx-copy-btn:hover { background: #0ea5e9; }
                .cs-btn {
                    background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px;
                    border-radius: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 700; color: #475569;
                }
                .cs-btn:hover { background: #e0f2fe; border-color: #38bdf8; color: #0284c7; }

                /* Confirmation/Message Modals for Light Theme */
                .nlx-modal-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; color: #334155; }
                .nlx-confirm-btn, .nlx-cancel-btn {
                    padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: background 0.2s;
                    flex-grow: 1; max-width: 150px;
                }
                .nlx-confirm-btn { background: #0ea5e9; color: white; border: none; }
                .nlx-confirm-btn:hover { background: #0284c7; }
                .nlx-cancel-btn { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
                .nlx-cancel-btn:hover { background: #e2e8f0; color: #334155; }

                @media (max-width: 768px) {
                    .donation-grid { grid-template-columns: 1fr; }
                    .col-info { border-right: none; border-bottom: 1px solid #bae6fd; padding: 30px; }
                    .col-payment { padding: 30px; }
                }
