/* =========================
   Dashboard Container
========================= */
.dashboard {
    max-width: 1200px;
    margin: auto;
    padding: var(--padding-dashboard);
}

/* =========================
   Willkommen Overlay Box – final responsive
========================= */
.welcome-holo {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: welcomeFloat 6s ease-in-out infinite;
}
@keyframes welcomeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================
   Overlay-Rahmen (OBEN)
========================= */
.overlay-frame {
    position: absolute;
    inset: 0;
    background: url("../images/welcome_overlay.png") no-repeat center;
    background-size: contain;
    z-index: 3;
    pointer-events: none;
}

/* =========================
   Innere, dunkle Fläche (nur Mitte)
========================= */
.overlay-inner {
    position: absolute;
    top: 20%;
    left: 12%;
    width: 76%;
    height: 64%;
    background: rgba(10, 0, 20, 0.65);
    border-radius: 12px;
    z-index: 2;
}

/* =========================
   Textbereich exakt in der Innenfläche
========================= */
.holo-inner {
    position: absolute;
    top: 20%;
    left: 12%;
    width: 76%;
    height: 64%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    z-index: 5;
}

/* =========================
   Desktop – deine manuelle Textkorrektur
========================= */
@media (min-width: 768px) {
    /* Heading */
    .welcome-holo h1 {
        position: relative;
        left: -16px;
        top: -44px;
        margin-top: 2px;
        margin-bottom: 0px;
    }
    /* Paragraph */
    .welcome-holo p {
        position: relative;
        left: -3px;
        top: -38px;
        padding-right: 47px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

/* =========================
   Handy-Version – final
========================= */
@media (max-width: 767px) {
    /* Container darf NICHT abschneiden */
    .welcome-holo {
        aspect-ratio: unset !important;
        height: auto !important;
        padding: 1rem 0;
        overflow: visible !important;
    }
    /* Overlay komplett ausblenden */
    .overlay-frame,
    .overlay-inner,
    .holo-scan,
    .holo-glow {
        display: none !important;
    }
    /* Blur-Box für Handy – breiter + höher */
    .holo-inner {
        position: relative;
        width: 96%;          /* <<< noch breiter */
        margin: 0 auto;
        height: auto;
        padding: 2.8rem 1.8rem;  /* <<< noch höher */
        background: rgba(10, 0, 20, 0.65);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        z-index: 5;
    }
    /* Text normal zentriert */
    .welcome-holo h1,
    .welcome-holo p {
        position: static;
        margin: 0.6rem 0;
        padding: 0;
        transform: none;
    }
    .welcome-holo h1 {
        font-size: 1.45rem;
        line-height: 1.3;
    }
    .welcome-holo p {
        font-size: 1.05rem;
        line-height: 1.35;
    }
}

/* =========================
   Scanlines – NUR in der Mitte!
========================= */
.holo-scan {
    position: absolute;
    top: 20%;
    left: 12%;
    width: 76%;
    height: 64%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: scanMove 5s linear infinite;
    pointer-events: none;
    z-index: 6;
}
@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* =========================
   Glow – bleibt über der Mitte
========================= */
.holo-glow {
    position: absolute;
    top: 20%;
    left: 12%;
    width: 76%;
    height: 64%;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(30px);
    animation: holoGlow 7s ease-in-out infinite;
    z-index: 4;
}
@keyframes holoGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* =========================
   Slider Card
========================= */
.slider-card {
    max-width: 650px;
    margin: 0 auto 4rem auto;
    padding: 1.2rem;
}

/* =========================
   Card Grid
========================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--gap-grid);
}

/* =========================
   Slider
========================= */
.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    max-width: 100%;
    margin: 0 auto;
}
.slide { display: none; }
.slide img {
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.fade { animation: fade 1s ease; }
@keyframes fade { from { opacity: .4 } to { opacity: 1 } }
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius-dot);
    z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }
.dots {
    text-align: center;
    margin-top: 12px;
}
.dot {
    height: 12px;
    width: 12px;
    background: rgba(119,119,119,0.8);
    border-radius: var(--radius-dot);
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
}
.dot.active { background: var(--color-text); }

/* =========================
   Dashboard Grid
========================= */
.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-grid);
    align-items: stretch;
}
.dashboard-row .slider-card,
.dashboard-row .profile-box {
    width: 90%;
    height: 82%;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .dashboard-row { grid-template-columns: 1fr; }
}

/* =========================
   PLAYER WRAPPER
========================= */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: transparent;
    z-index: 9999;
}

/* =========================
   PLAYER BOX (kompakt)
========================= */
.player-inner {
    position: relative;
    margin: 0 auto;
    width: 900px;
    max-width: 100%;
    height: 185px; /* kompakter */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   OVERLAY FRAME
========================= */
.player-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/overlay_player.png') no-repeat center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}
.player-inner > * {
    position: relative;
    z-index: 2;
}

/* =========================
   SPALTEN
========================= */
.player-left,
.player-center,
.player-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   AVATAR IM KREIS
========================= */
.player-left {
    width: 160px;
    align-items: flex-start;
    padding-left: 25px;
}
.player-avatar {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,200,255,0.7);
}

/* =========================
   MITTE: Titel, Buttons, Track
========================= */
.player-center {
    flex: 1;
    text-align: center;
    gap: 6px;
}
.player-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
/* LIVE INDICATOR */
.live-indicator {
    background: #ff004c;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    margin-left: 6px;
    box-shadow: 0 0 8px #ff004c;
}
/* Buttons */
.player-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.player-controls button {
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}
/* Track */
.track-info {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-top: 4px;
}

/* =========================
   RECHTS: Equalizer
========================= */
.player-right {
    width: 160px;
    padding-right: 25px;
    align-items: flex-end;
}
.equalizer {
    display: flex;
    gap: 3px;
    height: 40px;
    align-items: flex-end;
}
.equalizer .bar {
    width: 5px;
    height: 10px;
    max-height: 40px;
    border-radius: 3px;
    transition: height 0.05s linear;
    background: linear-gradient(to top, #00eaff, #8a00ff, #ff00e1);
    background-size: 100% 300%;
    animation: holoBarPulse 3s ease-in-out infinite;
}
@keyframes holoBarPulse {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}
/* Strong Tag */
.player-inner .player-meta strong{
 transform: translatex(266px) translatey(-38px);
}
/* Image */
.player-inner .player-meta img{
 transform:translatex(-185px) translatey(-15px);
}
/* Player status */
#player-status{
 transform:translatex(192px) translatey(56px);
}
/* Player meta */
.sticky-player .player-meta{
 transform:translatex(74px) translatey(0px);
}
/* Player volume */
#player-volume{
 transform:translatex(-111px) translatey(61px);
 height:20px;
}
/* Image */
.player-inner .player-left img{
 transform:translatex(44px) translatey(-10px);
 position:relative;
 top:-1px;
 left:1px;
}
/* Player meta */
.sticky-player .player-meta{
 transform:translatex(13px) translatey(-22px);
}
/* Player controls */
.sticky-player .player-controls{
 transform:translatex(0px) translatey(0px);
}
/* Equalizer */
.sticky-player .equalizer{
 transform:translatex(-119px) translatey(22px);
}

/* =========================
   MOBILE VERSION (kompakt + ohne Grafik + Footer fix)
========================= */
@media (max-width: 768px) {
    .player-inner::before {
        content: none !important;
        background: none !important;
    }
    .player-inner {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 10px;
        background: rgba(0,0,0,0.25);
        backdrop-filter: blur(18px);
        border-radius: 18px;
    }
    .player-left,
    .player-center,
    .player-right {
        width: 100%;
        align-items: center;
        padding: 0;
    }
    .player-right {
        margin-top: 8px;
    }
    /* Schrift kleiner */
    .player-title {
        font-size: 13px;
        margin-bottom: 2px;
    }
    .track-info {
        font-size: 10px;
    }
    .live-indicator {
        font-size: 9px;
        padding: 1px 4px;
        margin-left: 4px;
    }
    /* Avatar kleiner */
    .player-avatar {
        width: 52px;
        height: 52px;
    }
    /* Buttons kompakter */
    .player-controls {
        gap: 6px;
    }
    .player-controls button {
        padding: 4px 7px;
        font-size: 14px;
    }
    /* Equalizer kleiner */
    .equalizer {
        height: 26px;
        gap: 2px;
    }
    .equalizer .bar {
        width: 3px;
        height: 8px;
        max-height: 20px;
    }
    /* Transform-Hacks deaktivieren */
    .player-inner .player-meta strong,
    .player-inner .player-meta img,
    #player-status,
    .sticky-player .player-meta,
    #player-volume,
    .player-inner .player-left img,
    .sticky-player .player-controls,
    .sticky-player .equalizer {
        transform: none !important;
    }
}
/* Footer-Abstand wie bei dir (160px) */
body {
    padding-bottom: 160px !important;
}

/* ============================================================
   COMMUNITY – HOLOGRAMM CARD
============================================================ */
.community-holo-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: communityHoloFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
}
@keyframes communityHoloFloat {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.community-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: communityScanMove 5s linear infinite;
}
@keyframes communityScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Glow Layer */
.community-holo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: communityGlow 7s ease-in-out infinite;
}
@keyframes communityGlow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* ============================================================
   COMMUNITY TEXT
============================================================ */
.community-holo-card h2 {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
}
.community-holo-card .community-list a {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 6px rgba(0,200,255,0.4);
}
.community-holo-card small {
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   RADIOLPUNA – PROMO SLIDER (ISOLIERT + 3D HOLOGRAMM + FADE)
============================================================ */
.promo-holo-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 22px;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: promoHoloFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
}
@keyframes promoHoloFloat {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.promo-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: promoScanMove 5s linear infinite;
}
@keyframes promoScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Glow Layer */
.promo-holo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: promoGlow 7s ease-in-out infinite;
}
@keyframes promoGlow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* ============================================================
   TITEL
============================================================ */
.promo-holo-card .promo-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: rgba(0,200,255,0.95);
    text-shadow:
        0 0 12px rgba(0,200,255,0.8),
        0 0 20px rgba(150,0,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.promo-holo-card .promo-icon {
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(0,200,255,0.8);
}

/* ============================================================
   SLIDER (ANTI-SPRING FIX)
============================================================ */
.promo-holo-card .promo-slider {
    position: relative;
    width: 100%;
    height: 260px; /* FIX: feste Höhe verhindert Springen */
    overflow: hidden; /* FIX */
}
/* Slides übereinander stapeln */
.promo-holo-card .promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .8s ease, transform .8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	pointer-events: none; /* verhindert Klicks */
    z-index: 0;           /* liegt unter dem aktiven Slide */
}
.promo-holo-card .promo-slide.active {
    opacity: 1;
    transform: translateY(0);
	pointer-events: auto; /* nur aktiver Slide klickbar */
    z-index: 1;           /* liegt oben */
}

/* ============================================================
   BILDER
============================================================ */
.promo-holo-card .promo-slide img {
    max-width: 90%;
    max-height: 200px;
    object-fit: contain; /* FIX: verhindert Höhenänderung */
    border-radius: 18px;
    box-shadow:
        0 0 18px rgba(0,200,255,0.5),
        inset 0 0 12px rgba(150,0,255,0.3);
    transition: transform 0.3s ease;
}
.promo-holo-card .promo-slide img:hover {
    transform: scale(1.05);
}

/* ============================================================
   TEXT
============================================================ */
.promo-holo-card .promo-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
    margin-bottom: 0.3rem;
}
.promo-holo-card .promo-link a {
    color: rgba(0,200,255,0.9);
    text-decoration: underline;
    font-size: 0.9rem;
    text-shadow: 0 0 6px rgba(0,200,255,0.6);
}

/* =========================
   Cache Refresh Button – 3D Hologram Style
========================= */
#cache-refresh-container {
    text-align: center;
    margin: 12px 0 16px 0;
}
/* Hologram Button */
#cache-refresh-btn {
    position: relative;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    border-radius: 16px;
    /* Dunkler transparenter Hintergrund wie deine Boxen */
    background: rgb(255 22 22 / 60%);
    color: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    /* Neon-Hologramm Glow */
    box-shadow:
        0 0 22px rgba(0, 200, 255, 0.35),
        inset 0 0 18px rgba(150, 0, 255, 0.25),
        0 6px 18px rgba(0,0,0,0.45);
    transition: 0.25s ease;
}
/* Scanlines */
#cache-refresh-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    pointer-events: none;
    animation: scanMove 5s linear infinite;
}
@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Hover Effekt */
#cache-refresh-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 0 32px rgba(0, 200, 255, 0.55),
        inset 0 0 25px rgba(150, 0, 255, 0.35),
        0 10px 25px rgba(0,0,0,0.55);
}
/* Active Effekt */
#cache-refresh-btn:active {
    transform: scale(0.97);
    box-shadow:
        0 0 18px rgba(0, 200, 255, 0.35),
        inset 0 0 18px rgba(150, 0, 255, 0.25);
}

/* ============================================================
   NEWS HOLOGRAMM (ISOLIERT, KEIN ABSOLUTE, KEIN FADE)
============================================================ */
.news-holo-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 22px;
    /* FIX: Card-Basis wieder aktivieren */
    background: var(--color-bg-card);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: newsHoloFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
    height: 380px;
}
@keyframes newsHoloFloat {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.news-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: newsScanMove 5s linear infinite;
}
@keyframes newsScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Glow Layer */
.news-holo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: newsGlow 7s ease-in-out infinite;
}
@keyframes newsGlow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* ============================================================
   NEWS SLIDER – feste Höhe + Scroll
============================================================ */
.news-holo-card .news-slider {
    position: relative;
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
}
.news-holo-card .news-slide {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}
.news-holo-card .news-slide.active {
    display: block;
}

/* ============================================================
   BILDER
============================================================ */
.news-holo-card .news-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 10px;
    box-shadow:
        0 0 18px rgba(0,200,255,0.5),
        inset 0 0 12px rgba(150,0,255,0.3);
}
.news-holo-card .news-content img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
    border-radius: 12px;
}

/* ============================================================
   TEXT
============================================================ */
.news-holo-card h3 {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
    margin-bottom: 0.5rem;
}
.news-holo-card .news-content {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* =========================
   Responsive / Mobile
========================= */
/* PROMO BOX */
@media (max-width: 768px) {
    .promo-holo-card { padding: 1rem; }
    .promo-holo-card .promo-slider { height: 240px; }
    .promo-holo-card .promo-slide img { max-height: 170px; }
    .promo-holo-card .promo-title { font-size: 1.3rem; }
    #cache-refresh-btn {
        width: 90%;
        font-size: 0.95rem;
        padding: 12px;
    }
}
@media (max-width: 480px) {
    .promo-holo-card .promo-slider { height: 200px; }
    .promo-holo-card .promo-slide img { max-height: 140px; }
    .promo-holo-card .promo-title { font-size: 1.1rem; }
}
/* NEWS BOX */
@media (max-width: 768px) {
    /* Äußere Card */
    .news_box {
        padding: 1rem;
        overflow: hidden;
    }
    /* Bilder */
    .news_box .news-image,
    .news_box .news-slide img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
        border-radius: var(--radius-news);
        margin: 0 auto 10px auto;
        display: block;
    }
    /* Text */
    .news_box .news-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    /* Überschrift */
    .news_box h2 {
        font-size: 1.2rem;
    }
    /* Titel */
    .news_box .news-slide h3 {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {

    .news_box .news-image,
    .news_box .news-slide img {
        max-height: none;
    }
    .news_box .news-content {
        font-size: 0.85rem;
    }
}

/* ===============================
   Charts – Hologramm Effekt
==================================*/
.charts-holo-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 22px;
    /* Holo-Layer */
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: chartsHoloFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
}
@keyframes chartsHoloFloat {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.charts-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: chartsScanMove 5s linear infinite;
}
@keyframes chartsScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Glow Layer */
.charts-holo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: chartsGlow 7s ease-in-out infinite;
}
@keyframes chartsGlow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}
/* Text-Glanz */
.charts-holo-card h2,
.charts-holo-card .chart-title,
.charts-holo-card .chart-votes,
.charts-holo-card .chart-pos {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
}
.charts-holo-card .song-time,
.charts-holo-card small {
    color: rgba(255,255,255,0.75);
}

/* ===============================
   Charts – Responsive Desktop + Mobile
==================================*/
/* Container für die Chart Liste */
.charts-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 6px;
}
/* Jede Chart-Reihe */
.chart-row {
    display: grid;
    grid-template-columns: 40px minmax(180px, 1fr) 80px auto 120px; /* Pos | Titel | Votes | Button | Zeit */
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid #444;
    align-items: center;
    word-break: break-word;
}
/* Position */
.chart-pos {
    font-weight: bold;
    text-align: center;
}
/* Titel + Interpret */
.chart-title {
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Stimmen */
.chart-votes {
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}
/* Zeit / User */
.song-time {
    font-size: 12px;
    opacity: 0.7;
    text-align: right;
    display: block;
}
/* Voting-Button */
.vote-btn {
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    background: #6c63ff;
    color: #fff;
    border-radius: 4px;
    border: none;
}
.vote-btn:hover { background: #5751d9; }
/* Disabled Voting Hinweis */
.vote-disabled {
    font-size: 12px;
    opacity: 0.6;
}
/* Kommentare */
.chart-comments .cmt {
    margin-top: 6px;
    background: rgba(255,255,255,0.05);
    padding: 6px 8px;
    border-radius: 4px;
}
/* Song Einreichungsformular */
.new-song, .new-comment {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.new-song input[type="text"], .new-comment input[type="text"] {
    flex: 1 1 200px; /* mind. 200px */
    padding: 6px;
    border: 1px solid #444;
    border-radius: 4px;
}
.new-song button, .new-comment button {
    padding: 6px 10px;
    border: none;
    background: #6c63ff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.new-song button:hover, .new-comment button:hover { background: #5751d9; }

/* ===============================
   Responsive Anpassungen
==================================*/
@media (max-width: 700px) {
    .chart-row {
        grid-template-columns: 24px 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 6px;
    }
    .chart-votes {
        grid-column: 1 / span 2;
    }
    .song-time {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* =========================
   DSGVO Modal
========================= */
.leave-modal { display: none; position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.8); z-index: 99999; justify-content: center; align-items: center; }
.leave-modal-content { background: linear-gradient(135deg, rgba(17,17,17,1), rgba(28,28,40,1)); border-radius: var(--radius-modal); padding: 25px; max-width: 420px; color: var(--color-text); box-shadow: 0 0 25px rgba(0,0,0,0.8); text-align: center; }
.leave-modal-content a { color: var(--color-link); text-decoration: underline; }
.leave-modal-buttons { margin-top: 15px; display: flex; justify-content: space-around; }
.leave-modal-buttons button,
.leave-modal-buttons a { background: rgba(43,43,60,1); border: none; padding: 8px 14px; border-radius: 10px; color: var(--color-text); text-decoration: none; cursor: pointer; }
.leave-modal-buttons button:hover,
.leave-modal-buttons a:hover { background: rgba(61,61,85,1); }

/* ===============================
  Cookies anzeige
==================================*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15,15,25,0.97);
    color: #fff;
    padding: 1.2rem;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.6);
}
.cookie-content {
    max-width: 1100px;
    margin: auto;
    font-size: 0.95rem;
}
.cookie-content h3 {
    margin-top: 0;
}
.cookie-content ul {
    margin-left: 1.2rem;
}
.cookie-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}
.cookie-buttons button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}
.cookie-accept {
    background: #4caf50;
    color: #fff;
}
.cookie-decline {
    background: #b71c1c;
    color: #fff;
}
/* Cookie Banner hidden state (CSP-safe) */
.cookie-banner.is-hidden {
    display: none;
}

/* ===============================
   Mobile Charts Fix
==================================*/
@media (max-width: 600px) {
    .chart-row {
        grid-template-columns: 24px 1fr;
        grid-template-areas:
            "pos title"
            "votes vote";
        row-gap: 4px;
    }
    .chart-pos { grid-area: pos; }
    .chart-title { grid-area: title; }
    .chart-votes { grid-area: votes; font-size: 0.8rem; }
    .vote-btn,
    .vote-disabled { grid-area: vote; justify-self: start; }
}

/* ============================================================
   RADIOLPUNA – LIVE PROGRAMM (ISOLIERTE HOLOGRAMM VERSION)
============================================================ */
/* Hauptcontainer der Live-Box */
.live-holo-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateX(6deg);
    animation: liveHoloFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 35px rgba(0, 200, 255, 0.4),
        inset 0 0 25px rgba(150, 0, 255, 0.35);
}
@keyframes liveHoloFloat {
    0%, 100% { transform: perspective(900px) rotateX(6deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(4deg) translateY(-6px); }
}
/* Scanlines */
.live-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 2px,
        transparent 3px,
        transparent 6px
    );
    animation: liveScanMove 5s linear infinite;
}
@keyframes liveScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
/* Glow Layer */
.live-holo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255,0,255,0.35), transparent 70%);
    filter: blur(35px);
    animation: liveGlow 7s ease-in-out infinite;
}
@keyframes liveGlow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(40px); }
}

/* ============================================================
   LIVE SLOT (INNEN)
============================================================ */
.live-holo-card .live-slot {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    transform: perspective(900px) rotateX(5deg);
    animation: liveSlotFloat 6s ease-in-out infinite;
    box-shadow:
        0 0 25px rgba(0, 200, 255, 0.35),
        inset 0 0 18px rgba(150, 0, 255, 0.25);
}
@keyframes liveSlotFloat {
    0%, 100% { transform: perspective(900px) rotateX(5deg) translateY(0); }
    50% { transform: perspective(900px) rotateX(3deg) translateY(-5px); }
}
/* Genre Cover */
.live-holo-card .genre-cover {
    width: 150px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow:
        0 0 12px rgba(0,200,255,0.5),
        inset 0 0 10px rgba(150,0,255,0.3);
}
/* Text */
.live-holo-card .slot-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.live-holo-card strong {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(0,200,255,0.6);
}
.live-holo-card span {
    color: rgba(255,255,255,0.85);
}
/* Moderator Avatar */
.live-holo-card .moderator-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid rgba(0,200,255,0.8);
    box-shadow:
        0 0 12px rgba(0,200,255,0.7),
        inset 0 0 12px rgba(150,0,255,0.4);
}

/* ============================================================
   LIVE BADGE (HOLOGRAMM)
============================================================ */
.live-holo-card .live-badge {
    position: relative;
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 60, 0.9),
        rgba(255, 60, 120, 0.9)
    );
    border-radius: 8px;
    font-size: 0.78rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 80, 120, 0.6);
    box-shadow:
        0 0 12px rgba(255, 0, 60, 0.8),
        inset 0 0 8px rgba(255, 120, 160, 0.4);
}
/* Reflex */
.live-holo-card .live-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.05) 40%,
        transparent 70%
    );
    mix-blend-mode: screen;
}

/* ================================
   ⭐ Bewertungs-Slider (Radiopluna)
   ================================ */
#rating-slider {
    position: fixed;
    top: 30%;
    left: -340px;
    width: 300px;
    background: #1a1a1a;
    color: #fff;
    padding: 15px;
    border-radius: 0 10px 10px 0;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    transition: left 0.4s ease;
    z-index: 99999;
    font-family: Arial, sans-serif;
}
#rating-slider.open {
    left: 0;
}
/* Titel – Sterne & Text stehen bereits im HTML */
.rating-title {
    text-align: center;
    font-size: 20px;
    color: #ffcc00;
    line-height: 1.4;
    margin-bottom: 15px;
}
/* Textarea */
#rating-slider textarea {
    width: 100%;
    height: 80px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    padding: 8px;
    resize: none;
    background: #2a2a2a;
    color: #fff;
}
/* Absenden-Button */
#rating-slider button[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: #ffcc00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: 0.2s;
}
#rating-slider button[type="submit"]:hover {
    background: #ffdd33;
}
/*Toggle-Button – Text VERTIKAL + Sterne aus HTML */
#rating-toggle-btn {
    position: absolute;
    right: -70px;
    top: 40%;
    width: 70px;
    background: #3b086a;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    padding: 8px 5px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
    /* WICHTIG: Text vertikal */
    writing-mode: vertical-rl;
    text-orientation: upright;
    /* WICHTIG: KEINE PSEUDO-STARS MEHR */
}
/* Sterne-Bewertung */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}
.star-rating span {
    font-size: 28px;
    cursor: pointer;
    color: #555;
    transition: 0.2s;
    user-select: none;
}
.star-rating span.active,
.star-rating span:hover,
.star-rating span:hover ~ span {
    color: #ffcc00;
}
/*Info-Text */
#rating-slider .info {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.7;
    text-align: center;
}
/* Mobile Anpassung */
@media (max-width: 600px) {
    #rating-slider {
        top: auto;
        bottom: 20px;
        left: -260px;
        width: 250px;
    }
    #rating-toggle-btn {
        top: 35%;
    }
}
