/* --- SICHERHEITS-FIX für Linktree Buttons --- */
/* Überschreibt die Einstellungen der style.css zwingend */
body.lt-body .lt-button {
    display: flex !important;           /* Repariert die Zentrierung */
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    background: #141414 !important;     /* Dunkler Hintergrund */
    color: #d33500 !important;          /* Helle Schrift */
    border: 1px solid #2a2a2a !important;
    text-align: center !important;
    padding: 12px 10px !important;
    box-shadow: none !important;        
    text-decoration: none !important;
}

/* Hover-Effekt wiederherstellen */
body.lt-body .lt-button:hover {
    background: #d33500 !important;     /* Rot beim Hover */
    color: #000000 !important;          /* Schwarze Schrift */
    border-color: #d33500 !important;
    box-shadow: 0 0 15px rgba(211, 53, 0, 0.5) !important;
}

/* Versteckte Elemente sicher ausblenden */
.hidden { display: none !important; }
/* =========================================
   SPRM3 CRT - LINKTREE (V8.0 - CRT Overlay Merge)
   ========================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #000000;
  --fg: #f0f0f0;
  --accent: #d33500; 
  --accent-dim: #6a1b00; 
  --radius: 8px;
  --font-main: 'Rajdhani', sans-serif;
  --max-width: 480px; 
}

/* WICHTIG: Überschreibt etwaige style.css Konflikte */
html, body, .lt-body {
    width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center !important;     
    justify-content: center !important; 
}

/* HAUPT-CONTAINER */
.lt-main-container {
    width: 100%;
    max-width: var(--max-width);
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    position: relative;
    z-index: 5;
    max-height: 100vh; 
    justify-content: center;
}

/* BAND FOTO */
.lt-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 1; 
}

.lt-band-photo {
    display: block; 
    width: 100%;      
    height: auto;      
    max-height: 130px; 
    object-fit: cover; 
    border-radius: var(--radius);
    border: 1px solid #222;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.lt-band-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 15px 0 20px 0;
    text-align: center;
    width: 100%;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* DIE CARD */
.lt-card-content {
    width: 100%; 
    padding: 20px 15px; 
    background-color: #080808; 
    background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 2px, rgba(255, 255, 255, 0.03) 3px);
    border-radius: var(--radius);
    border: 1px solid #1a1a1a; 
    box-shadow: 0 10px 40px rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* Logo & Sprache */
.lt-logo-small { max-width: 100px; height: auto; margin-bottom: 20px; display: block; }

.lt-lang-switcher {
    font-size: 0.6rem; color: #555; margin-bottom: 15px; letter-spacing: 1px;
    display: flex; justify-content: center; gap: 4px; font-weight: 600;
}
.lang-btn { cursor: pointer; transition: color 0.3s ease; color: #c1c1c1; text-decoration: none; }
.lang-btn:hover { color: #ffffff; text-decoration: underline;}
.lang-btn.active-lang { color: var(--accent); font-weight: bold;}

/* BUTTONS */
.lt-nav-stack { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.lt-button {
    display: flex; justify-content: center; align-items: center; text-align: center;
    width: 100%; padding: 12px 10px;
    background: #141414; border: 1px solid #2a2a2a; 
    color: #dddddd; text-decoration: none; text-transform: uppercase; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 1px; border-radius: var(--radius);
    transition: all 0.3s ease-in-out; position: relative; z-index: 10;
}
/* --- BUTTON INTERAKTION (Desktop & Mobile Fix) --- */

/* Wir kombinieren :hover (Maus) und :active (Finger-Tippen) */
.lt-button:hover,
.lt-button:active, 
.lt-button:focus {
    background: var(--accent); 
    color: #000; 
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(211, 53, 0, 0.5); /* Etwas stärkeres Leuchten */
    transform: translateY(-1px);
    outline: none; /* Entfernt den blauen Standard-Rahmen mancher Handys */
}

/* Das Gleiche für die Icons unten */
.lt-icon-link:hover,
.lt-icon-link:active { 
    color: var(--accent); 
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(211, 53, 0, 0.8);
}

/* EFFECTS */
.lt-pulse { animation: button-glow 2s infinite; border-color: #551a00; }
@keyframes button-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(211, 53, 0, 0.1); border-color: #2a2a2a; }
    50% { box-shadow: 0 0 10px 0 rgba(211, 53, 0, 0.3); border-color: var(--accent-dim); }
}

.live-dot {
    display: inline-block; width: 6px; height: 6px; background-color: var(--accent);
    border-radius: 50%; margin-right: 8px; animation: dot-pulse 1.5s infinite;
}
@keyframes dot-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.7; }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 4px rgba(211, 53, 0, 0); }
}

/* FOOTER ICONS (Saubere Klammern & kein Unterstrich) */
.lt-icon-row {
    display: flex; 
    justify-content: center; 
    gap: 20px; /* Etwas enger zusammen, sieht mit 5 Icons besser aus */
    margin-top: 20px; 
    width: 100%; 
    position: relative; 
    z-index: 20;
    flex-wrap: wrap; /* Sichert ab, falls Handys extrem schmal sind */
}

.lt-icon-link { 
    color: #bbb; 
    transition: all 0.2s; 
    text-decoration: none !important; /* TÖTET DEN UNTERSTRICH */
    border: none !important;
    display: inline-flex; /* WICHTIG für die Höhe */
    align-items: center;  /* WICHTIG für die Höhe */
}

.lt-icon-link:hover { 
    color: var(--accent) !important; 
    transform: scale(1.1); 
    text-shadow: 0 0 10px rgba(211, 53, 0, 0.8);
}

.lt-icon-link svg { 
    width: 20px; 
    height: 20px; 
    fill: currentColor; 
    margin: 0 6px; /* Perfekter Abstand zwischen Klammer und Icon */
    margin-bottom: -2px; /* Schiebt das Icon optisch exakt in die Mitte */
}

/* RECHTLICHES (Links) */
/* =========================================
   FOOTER ALIGNMENT FIX (Hard Reset)
   ========================================= */

/* =========================================
   FOOTER STYLE (Perfekt einheitlich)
   ========================================= */

/* 1. Der Container setzt die Basis */
.lt-footer-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 0; 
    
    margin-top: 25px;
    width: 100%;
    position: relative; 
    z-index: 999;
    
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    line-height: 1; 
}

/* 2. MASTER-FARBE: Hier definieren wir die Farbe für ALLES (Text, Links, Striche) */
.lt-footer-area,          /* Der Container */
.lt-footer-area span,     /* Das Copyright */
.lt-legal-link,           /* Die Links */
.separator {              /* Die Striche */
    color: #dddddd !important; /* <--- HIER DEINE WUNSCHFARBE */
    opacity: 1 !important;     /* Verhindert ungewollte Transparenz */
}

/* 3. Reset für alle Elemente */
.lt-footer-area > * {
    margin: 0;
    padding: 0;
}

/* 4. Link-Verhalten */
.lt-legal-link {
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    display: block; 
}

/* Hover-Effekt (wird Weiß + Leuchten) */
.lt-legal-link:hover { 
    color: #ffffff !important; 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* 5. Der Separator (Abstandshalter) */
.separator {
    position: relative;
    top: -1px; 
    
    /* Der Abstand links und rechts */
    margin-left: 8px;
    margin-right: 8px;
    
    display: inline-block;
}


/* ==========================================================
   DER RESTAURIERTE OVERLAY STYLE (CRT + ROTE BALKEN + FIXES)
   ========================================================== */
.hidden { display: none !important; }

.lt-overlay {
    position: fixed; inset: 0; 
    background: rgba(0,0,0,0.95);
    z-index: 2000; 
    display: flex; justify-content: center; align-items: center; 
    padding: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lt-overlay-content {
    /* --- Layout & Design --- */
    background: #050505; 
    border: 1px solid var(--accent); 
    padding: 25px;
    border-radius: 4px; 
    width: 100%;
    max-width: 450px; 
    max-height: 80vh; 
    
    /* --- Scroll-Verhalten (Scrollbar verstecken) --- */
    overflow-y: auto;          /* Scrollen erlauben */
    scrollbar-width: none;     /* Firefox: Balken weg */
    -ms-overflow-style: none;  /* IE/Edge: Balken weg */

    /* --- Text Style & Mobile Sicherheit --- */
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    text-align: left; 
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);

    /* --- Umbruch für lange Links erzwingen --- */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Chrome/Safari Scrollbar verstecken */
.lt-overlay-content::-webkit-scrollbar {
    display: none; 
}

/* --- LINKS (Neu: Rot & Hover-Effekte) --- */
.lt-overlay-content a {
    color: var(--accent) !important;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dotted rgba(211, 53, 0, 0.5);
    transition: all 0.3s ease;
}

.lt-overlay-content a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

/* --- Listen (Neu: Sauber eingerückt) --- */
.lt-overlay-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

.lt-overlay-content li {
    margin-bottom: 8px;
}

/* --- CRT EFFECT (Scanlines) --- */
.lt-overlay-content::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0.6;
}

/* --- HEADLINES (Flicker Effect) --- */
.lt-overlay-content h2, 
.lt-overlay-content h1, 
.lt-overlay-content h3 {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 1px solid rgba(211, 53, 0, 0.3);
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: terminal-flicker 0.15s infinite;
    line-height: 1.4;
}

/* --- ROTE BALKEN LINKS --- */
.lt-overlay-content p {
    margin-bottom: 15px;
    border-left: 3px solid var(--accent); 
    padding-left: 15px; 
    background: rgba(255, 255, 255, 0.02); 
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    animation: terminal-flicker 3s infinite; 
}

/* Close Button im Terminal Style */
.lt-close-btn {
    background: transparent; border: none;
    color: var(--accent); font-weight: bold; text-transform: uppercase;
    cursor: pointer; margin-bottom: 20px; display: block; width: 100%;
    text-align: right; font-family: 'Rajdhani', sans-serif; letter-spacing: 2px;
    border-bottom: 1px dashed #333; padding-bottom: 10px;
}
.lt-close-btn:hover { color: #fff; }

/* Die Animation */
@keyframes terminal-flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    52% { opacity: 0.95; }
    54% { opacity: 1; }
    100% { opacity: 0.99; }
}
/* =========================================
   MOBILE OLED FIX (Linktree)
   ========================================= */

@media (max-width: 850px) {
    /* 1. HELLE AKZENTFARBE (Lesbarkeit) */
    :root {
        --accent: #ff5522 !important; /* Knalliges Orange-Rot statt Dunkelrot */
    }
    /* Die Hauptkarte heller machen */
    .lt-card-content {
        background-color: #222222 !important; /* Heller als #080808 */
        border: 1px solid rgba(255, 255, 255, 0.4) !important; /* Stärkerer Rand */
    }

    /* Die Buttons deutlicher abheben */
    .lt-button {
        background: #2c2c2c !important; /* Helleres Grau für Buttons */
        border-color: rgba(255, 255, 255, 0.35) !important;
    }
}
/* =========================================
   FLOATING CONTROLS (Hoch & Zu)
   ========================================= */
.lt-floating-controls {
    position: absolute; /* Positioniert relativ zum Overlay */
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px; /* Abstand zwischen den Buttons */
    z-index: 2010; /* Muss höher sein als der Content */
}

.lt-float-btn {
    background: #000;
    color: var(--accent);
    border: 1px solid var(--accent);
    
    /* --- HIER SIND DIE ÄNDERUNGEN (Kleiner & Feiner) --- */
    width: 35px;        /* Vorher 45px */
    height: 35px;       /* Vorher 45px */
    font-size: 0.9rem;  /* Vorher 1.2rem -> Kleineres Icon */
    
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    transition: all 0.2s ease;
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    opacity: 0.8; /* Tipp: Leicht transparent, wirkt weniger massiv */
}

/* Wenn man drüberfährt (wird voll sichtbar) */
.lt-float-btn:hover {
    opacity: 1;
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 10px var(--accent);
    transform: translateY(-2px);
}

/* Aktiver Klick-Effekt (Mobile) */
.lt-float-btn:active {
    transform: scale(0.95);
}
.mt-20 {
    margin-top: 20px;
}