/* ==============================================================
   HELLFOOD WORLD - MAIN FRONTEND STYLES (index.php)
   ============================================================== */

* { box-sizing: border-box; }

body { 
    background-color: #000; margin: 0; padding: 0; font-family: Arial, sans-serif; overflow-x: hidden; color: #ddd; 
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><text y="24" font-size="24">🌶️</text></svg>'), auto; 
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #ff4500; border-radius: 5px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #f7931a; }

.main-container { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1450px; padding: 5px 0; margin: auto; position: relative; }

/* Tooltips (Wieder im perfekten Originalzustand) */
[data-tooltip] { position: relative; cursor: pointer; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-5px);
    background: #000; color: #ff4500; border: 1px solid #ff4500; padding: 5px 10px; border-radius: 5px;
    font-size: 11px; white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.2s; z-index: 99999; pointer-events: none;
}
[data-tooltip]:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-10px); }
[data-tooltip].tooltip-bottom::after {
    bottom: auto;
    top: 100%;
    transform: translateX(-50%) translateY(5px);
}
[data-tooltip].tooltip-bottom:hover::after {
    transform: translateX(-50%) translateY(10px);
}

/* Navigation */
.nav-bar { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; margin-bottom: 15px; z-index: 1000; position: relative; pointer-events: none; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; pointer-events: auto; } 
.nav-button-main { display: block; position: relative; } 
.nav-button-main img { width: 180px; height: auto; cursor: pointer; transition: 0.2s; display: block; }
.nav-button-main:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px #ff4500); }

.dropdown-menu { 
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-10px); 
    display: flex; flex-direction: column; background: rgba(0,0,0,0.9); padding: 15px; 
    border-radius: 15px; visibility: hidden; opacity: 0; transition: 0.3s; border: 1px solid #444; backdrop-filter: blur(5px);
    pointer-events: auto;
}
.nav-item:hover .dropdown-menu { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.dropdown-menu img { width: 165px; height: auto; margin-top: -12px; cursor: pointer; transition: 0.2s; display: block;}
.dropdown-menu a:hover img { transform: scale(1.1); filter: drop-shadow(0 0 10px #ff4500); }

.side-menu-container { position: relative; width: 165px; text-align: center; margin-top: -12px; }
.side-dropdown-menu {
    position: absolute; top: 0; left: 100%; display: flex; flex-direction: column; 
    background: rgba(0,0,0,0.9); padding: 15px; border-radius: 15px; border: 1px solid #444;
    margin-left: 5px; margin-top: -15px; visibility: hidden; opacity: 0; transition: 0.3s;
}
.side-menu-container:hover .side-dropdown-menu { visibility: visible; opacity: 1; }

/* Middle Grid Layout */
.middle-section { display: flex; width: 100%; max-width: 1450px; justify-content: center; align-items: flex-start; margin: 0 auto; gap: 86px; pointer-events: none; }
.center-col { width: 572px; display: flex; justify-content: center; flex-shrink: 0; pointer-events: auto; }
/* HIER ANGEPASST: align-self: stretch eingefügt für den Sticky-Counter */
.right-col { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0px; margin-top: -80px; min-width: 340px; position: relative; z-index: 100; pointer-events: auto; align-self: stretch; }

/* --- SPALTEN AUSRICHTUNG --- */
.left-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-end; padding-top: 0px; padding-right: 20px; min-width: 375px; pointer-events: auto; position: relative; }
.jingle-stack-grid { display: grid; grid-template-columns: 180px 180px; column-gap: 15px; row-gap: 8px; margin-top: -36px; width: 375px; }

/* 🚨 NEU: NAV BUTTONS & PODCAST DROPDOWN 🚨 */
.nav-buttons-container { display: flex; flex-direction: column; gap: -10px; margin-top: -80px; width: 375px; align-items: center; pointer-events: auto; }
.nav-row { display: flex; gap: 15px; justify-content: center; width: 100%; }
.nav-image-button { display: block; position: relative; }
.nav-image-button img { width: 180px; height: auto; cursor: pointer; transition: transform 0.2s ease, filter 0.2s ease; display: block; }
.nav-image-button:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px #ff4500); }

.podcast-dropdown { position: relative; display: inline-block; }

/* Das Flyout-Menü (öffnet nach rechts, mit schickem Hintergrund-Kasten!) */
.podcast-dropdown-content { 
    display: none; 
    position: absolute; 
    top: -20px; /* Leicht angepasst für den neuen Rahmen */
    left: 100%; /* Schiebt es nach rechts neben den Button */
    margin-left: 15px; /* Abstand zum Hauptbutton */
    z-index: 1000; 
    width: 170px; /* Etwas breiter gemacht, damit die Buttons im Padding Platz haben */
    background: rgba(0,0,0,0.9); /* Der dunkle Hintergrund-Kasten */
    padding: 15px; 
    border-radius: 15px; 
    border: 1px solid #444; 
    backdrop-filter: blur(5px);
}

/* Diese unsichtbare Brücke verhindert, dass das Menü schließt, wenn du mit der Maus rübergehst */
.podcast-dropdown-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    width: 15px;
    height: 100%;
}

.podcast-dropdown:hover .podcast-dropdown-content { display: flex; flex-direction: column; gap: 8px; }
.podcast-dropdown-content a { transition: transform 0.2s ease, filter 0.2s ease; display: block; }
.podcast-dropdown-content a:hover { transform: scale(1.05); filter: drop-shadow(0 0 10px #ff4500); }
.podcast-dropdown-content img { width: 100%; height: auto; display: block; }

/* --- WIDGETS --- */
.hell-widget { background: #111; border: 2px solid #ff4500; border-radius: 15px; box-shadow: 0 0 15px rgba(255, 69, 0, 0.3); text-align: center; pointer-events: auto; }

#btc-widget-container { margin-top: 0px; width: 340px; padding: 15px; z-index: 20; margin-right: 18px; }
.btc-toggle-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; width: 100%; }
.btc-btn { background: #222; border: 1px solid #555; color: #aaa; padding: 5px 15px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btc-btn:hover { background: #333; color: #fff; }
.btc-btn.active { background: #f7931a; border-color: #f7931a; color: #000; box-shadow: 0 0 10px rgba(247, 147, 26, 0.5); }

#schulden-widget { width: 340px; margin-top: 2px; padding: 10px; margin-right: 18px; }
.debt-clock-container { background: #050505; border: 1px solid #333; border-radius: 8px; padding: 10px; margin-top: 5px; }
.digital-red { font-family: 'Courier New', Courier, monospace; color: #ff0000; font-size: 22px; font-weight: bold; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8); letter-spacing: 1px; margin: 5px 0; }
.debt-stats { display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-top: 8px; border-top: 1px dashed #333; padding-top: 8px; }

/* Social Media Bar */
.social-mini-bar { display: flex; justify-content: flex-end; align-items: center; width: 440px; gap: 5px; margin-bottom: 0px; position: relative; z-index: 1005; }
.social-mini-bar img, .share-main-btn { border-radius: 6px; transition: 0.2s; display: block; cursor: pointer; }
.social-mini-bar img:hover, .share-main-btn:hover { transform: scale(1.2); filter: drop-shadow(0 0 5px #ff4500); }
.share-main-btn { width: 30px; height: 30px; background: #222; border: 1px solid #444; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #ff4500; text-decoration: none; }

#nav-sm-yt img { width: 30px; height: 30px; }
#nav-sm-fb img { width: 26px; height: 26px; }
#nav-sm-ig img { width: 38px; height: 38px; transform: translateY(2px); }
#nav-sm-tiktok img { width: 26px; height: 26px; }
#nav-sm-x img { width: 24px; height: 24px; }
#nav-sm-rumble img { width: 24px; height: 24px; }

.static-button { position: relative; border-radius: 10px; cursor: pointer; display: block; } 
.static-button img { width: 100%; transition: 0.2s; display: block; border-radius: 10px; }
.static-button:hover img { filter: drop-shadow(0 0 10px #ff4500); transform: scale(1.02); }

.jingle-button { position: relative; border-radius: 10px; cursor: pointer; display: block; } 
.jingle-button img { width: 100%; transition: 0.3s; display: block; border-radius: 10px; } 
.jingle-button:hover img { filter: brightness(0.4) drop-shadow(0 0 10px #ff4500); }

.jingle-button::before {
    content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 35px; color: #ff4500; opacity: 0; transition: 0.3s; pointer-events: none; z-index: 10;
}
.jingle-button:hover::before { opacity: 1; }
.jingle-button.playing::before { content: '⏹'; opacity: 1; }
.jingle-button.playing img { filter: brightness(0.5) drop-shadow(0 0 10px #ff4500); border: 2px solid #ff4500; }

/* Pulsierendes Logo */
.logo-scroll { width: 100%; max-width: 572px; height: auto; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 69, 0, 0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.6)); transform: scale(1.01); }
}

/* News Area */
.news-feed-area { width: 440px; background: #111; border: 2px solid #ff4500; border-radius: 15px; padding: 5px; text-align: center; box-shadow: 0 0 15px rgba(255, 69, 0, 0.3); margin-bottom: 2px;}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.text-news-box { width: 440px; background: #111; border: 2px solid #ff4500; border-radius: 15px; padding: 5px; box-shadow: 0 0 15px rgba(255, 69, 0, 0.3); min-height: 100px; }

.news-feed-area h1, .news-feed-area h2, .news-feed-area h3, 
.text-news-box h1, .text-news-box h2, .text-news-box h3,
#schulden-widget h3 { margin: 0px 0px 10px 0px !important; padding: 0px !important; text-align: center !important; width: 100%; }

.news-loader { width: 40px; height: 40px; margin: 20px auto; animation: spin 1.5s linear infinite; display: block; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.news-item { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #333; position: relative; text-align: left; }
.news-date { color: #888; font-size: 11px; font-weight: bold; margin-bottom: 3px; display: flex; justify-content: space-between; align-items: center;}
.badge-new { background: #ff0000; color: #fff; padding: 1px 5px; border-radius: 3px; font-size: 9px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.news-item h4 { color: #f7931a; margin: 4px 0; font-size: 14px; }
.news-item p { font-size: 13px; line-height: 1.3; margin: 4px 0; }
.news-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.news-item a { color: #ff4500; font-size: 11px; font-weight: bold; text-decoration: none; }

/* Support & Footer */
.support-bar { display: flex; width: 100%; max-width: 744px; justify-content: center; gap: 8px; margin-top: -170px; position: relative; z-index: 10; }
.support-button { display: block; } 
.support-button img { width: 180px; height: auto; cursor: pointer; transition: 0.2s; display: block; }
.support-button:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px #ffcc00); }

.footer-wrapper { display: flex; width: 100%; max-width: 1450px; justify-content: center; align-items: flex-end; margin: 2px auto 10px auto; gap: 86px; position: relative; z-index: 10; }
.footer-left { flex: 1; min-width: 180px; } 
.footer-center { width: 572px; flex-shrink: 0; text-align: center; display: flex; justify-content: center; align-items: flex-end; } 
.footer-links { color: #555; font-size: 12px; font-weight: bold; white-space: nowrap; margin-bottom: 4px; }
.footer-links a { color: #555; text-decoration: none; margin: 0 6px; transition: 0.2s; display: inline-block; }
.footer-links a:hover { color: #ff4500; }
.footer-right { flex: 1; min-width: 340px; display: flex; justify-content: flex-start; align-items: flex-end; }

/* 🚨 HIER ANGEPASST: margin-top: auto schiebt ihn nach ganz unten! 🚨 */
.social-proof { width: 440px; text-align: center; color: #ff4500; font-size: 14px; font-weight: bold; text-shadow: 0 0 5px rgba(255, 69, 0, 0.4); background: #111; border: 2px solid #ff4500; border-radius: 10px; padding: 8px 15px; box-shadow: 0 0 10px rgba(255, 69, 0, 0.3); margin-top: auto; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); display: none; justify-content: center; align-items: center; z-index: 5000; padding: 20px; box-sizing: border-box; }
.modal-content { background: #111; border: 2px solid #555; border-radius: 20px; padding: 30px; max-width: 600px; width: 100%; text-align: center; position: relative; color: white; box-sizing: border-box; }
.modal-content input, .modal-content textarea { width: 100%; padding: 12px; margin: 10px 0; background: #222; border: 1px solid #444; color: #fff; border-radius: 5px; box-sizing: border-box; }
.close-x { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #888; cursor: pointer; transition: color 0.2s; }
.close-x:hover { color: #ff4500; }
.copy-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; background: #1a1a1a; padding: 5px; border-radius: 5px; border: 1px solid #333; }
.copy-icon { cursor: pointer; font-size: 16px; color: #ff4500; transition: 0.2s; }
.copy-icon:hover { transform: scale(1.2); }
#shareModal .share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0px; width: 100%; }

.share-opt, .modal-btn { display: flex; align-items: center; justify-content: center; background: #ff4500; color: white; padding: 15px; border-radius: 8px; text-decoration: none; width: 100%; font-weight: bold; font-size: 16px; border: none; cursor: pointer; box-sizing: border-box; transition: background 0.2s; }
.share-opt:hover, .modal-btn:hover { background: #ff5722; }

#shareModal .share-opt { background: #333; }
#shareModal .share-opt:hover { background: #444; }

.popup-back-button { display: block; text-align: center; margin-top: 20px; }
.popup-back-button img { width: 140px; transition: 0.2s ease-in-out; filter: drop-shadow(0 0 5px #ff4500); margin: 0 auto; display: block; }
.popup-back-button:hover img { transform: scale(1.05); filter: drop-shadow(0 0 15px #ffcc00); }

.share-news-btn { cursor: pointer; padding: 2px 8px; display: inline-block; position: relative; z-index: 10; color: #ff4500; font-size: 16px; transition: transform 0.2s; }
.share-news-btn:hover { transform: scale(1.2); }

#scroll-to-top { position: fixed; bottom: 25px; right: 25px; background: #ff4500; border-radius: 50%; width: 55px; height: 55px; font-size: 30px; text-align: center; line-height: 55px; cursor: pointer; z-index: 9999; opacity: 0; visibility: hidden; box-shadow: 0 0 15px rgba(255,69,0,0.6); transition: 0.3s; border: 2px solid #111; }
#scroll-to-top.show { opacity: 1; visibility: visible; }

.cookie-banner { position: fixed; bottom: -150%; left: 0; width: 100%; background: #000; border-top: 2px solid #ff4500; color: #ddd; z-index: 9999; padding: 20px; box-shadow: 0 -5px 20px rgba(255,69,0,0.4); transition: bottom 0.6s ease-in-out; display: flex; justify-content: center; box-sizing: border-box; }
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 900px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 14px; transition: 0.3s; }
.cookie-btn.accept { background: #f7931a; color: #fff; }
.cookie-btn.decline { background: #222; color: #aaa; border: 1px solid #444; }

.motd-bar { background: #ff0000; color: #fff; font-weight: bold; font-size: 14px; text-transform: uppercase; padding: 8px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 9999; display: flex; justify-content: center; }
.motd-text { display: inline-block; padding-left: 100%; animation: scroll-left 20s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* 🚨 HANDY ANSICHT 🚨 */
@media (max-width: 1280px) {
    /* 💻 ZWISCHEN-BREAKPOINT FÜR LAPTOPS & SKALIERTE BILDSCHIRME (1281px bis 1480px) */
    /* Falls du den Laptop-Fix hier reinpacken wolltest, füge ihn ggf. über den 1280px Block ein, wie im vorherigen Chat besprochen! */
    
    .nav-bar { flex-wrap: wrap; justify-content: center; gap: 10px; }
    
    .social-mini-bar { width: 95% !important; max-width: 375px !important; justify-content: center !important; margin: 10px auto !important; }
    .middle-section { flex-direction: column; align-items: center; gap: 20px; margin-top: 20px; }
    .center-col { width: 100%; max-width: 100vw; padding: 0 10px; }
    .logo-scroll { max-width: 100%; height: auto; margin: 0 auto; display: block; }
    
    .left-col, .right-col { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 !important; margin: 0 !important; }
    
    .jingle-stack-grid { 
        grid-template-columns: 1fr 1fr; 
        width: 95% !important; 
        max-width: 375px !important; 
        margin: 0 auto !important; 
        justify-content: center;
    }

    /* 🚨 MOBILE-ANPASSUNG FÜR DIE NEUEN NAV-BUTTONS 🚨 */
    .nav-buttons-container {
        width: 95% !important; 
        max-width: 375px !important; 
        margin: 0 auto !important;
    }
    .nav-row {
        gap: 10px; /* Bisschen weniger Abstand auf dem Handy */
    }
    
    .news-feed-area, .text-news-box, #schulden-widget, #btc-widget-container, .social-proof { 
        width: 95% !important; 
        max-width: 375px !important; 
        margin-right: auto !important; 
        margin-left: auto !important; 
        margin-top: 15px !important; /* Hier überschreibt das !important das margin-top: auto für mobile! */
    }
    
    .support-bar { flex-wrap: wrap; max-width: 100%; margin-top: 20px !important; justify-content: center; }
    .footer-wrapper { flex-direction: column; gap: 15px; margin-top: 20px !important; align-items: center; }
    .footer-left { display: none; }
    .footer-center { width: 100%; align-items: center; }
    .footer-links { white-space: normal; line-height: 1.8; margin-bottom: 0; }
    .footer-right { width: 100%; justify-content: center; margin-top: 10px; align-items: center; }
}

/* Fix für das Podcast-Dropdown auf dem Handy (Öffnet jetzt zentriert nach unten!) */
@media (max-width: 900px) {
    .podcast-dropdown-content {
        left: 50% !important;
        right: auto !important;
        top: 100% !important; /* Startet direkt unter dem Button */
        transform: translateX(-50%) !important; /* Zentriert es perfekt */
        margin-left: 0 !important;
        margin-top: 10px !important; /* Kleiner Abstand nach unten */
    }
    /* Die unsichtbare Brücke anpassen, damit das Menü beim Antippen/Wischen nicht sofort schließt */
    .podcast-dropdown-content::before {
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }
}

/* --- BITCOIN TICKER BAR --- */
.btc-ticker-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Bricht sauber um, wenn der Platz fehlt */
    gap: 10px; /* Abstand zwischen den Werten beim Umbruch */
    background-color: #111; 
    border: 1px solid #ff003c; 
    padding: 10px 15px;
    margin-bottom: 15px; 
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace; 
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 0 5px rgba(255, 0, 60, 0.2);
    cursor: help; 
    transition: all 0.3s ease;
}

.btc-ticker-bar:hover {
    box-shadow: 0 0 12px rgba(255, 0, 60, 0.6); 
    border-color: #fff;
}

.ticker-item {
    white-space: nowrap; /* Verhindert, dass Icon und Zahl unschön getrennt werden */
}

.ticker-item i {
    color: #ff003c; 
    margin-right: 6px;
}

#btc-block-height, #btc-fees, #btc-hashrate, #btc-difficulty {
    color: #f7931a; /* Bitcoin Orange */
    font-weight: bold;
}