:root {
    --bg: #020617;          /* sehr dunkles Blau/Anthrazit */
    --bg-soft: #0b1220;
    --bg-card: #020c1b;
    --accent: #f97316;      /* Orange */
    --accent-soft: rgba(249, 115, 22, 0.15);
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --border-soft: rgba(148, 163, 184, 0.2);
    --radius-lg: 18px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.9);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
}

/* Layout */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.section {
    padding: 3.5rem 0;
}

.section-lead {
    color: var(--text-muted);
    max-width: 52rem;
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.7));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.9rem;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.6));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #f9fafb;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: #f9fafb;
    background: rgba(15, 23, 42, 0.8);
}

.nav-link.active {
    color: #f97316;
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.35);
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
    gap: 2.2rem;
    align-items: center;
}

.hero-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin: 0 0 0.8rem;
}

.hero-lead {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cards / Buttons */

.card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 1));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1.4rem;
}

.hero-card {
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.08), rgba(15, 23, 42, 1));
}

.hero-card h2 {
    margin-top: 0;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.hero-list li {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease box-shadow, 0.2s ease background, 0.2s ease color, 0.2s ease border-color;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #111827;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    border-color: var(--border-soft);
}

.btn-ghost:hover {
    border-color: rgba(249, 115, 22, 0.6);
}

/* Discord-Button */

.btn-discord {
    background: #5865F2;
    color: #e5e7eb;
    font-weight: 500;
}

.btn-discord:hover {
    background: #4752c4;
}

/* Sections / Grids */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.section-highlight {
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.15), transparent);
}

.highlight-inner {
    text-align: center;
    max-width: 40rem;
}

/* Plan (Streamplan-Seite) */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.3rem;
    margin-top: 1.5rem;
}

.plan-day h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Jede Plan-Karte */

.plan-item {
    padding: 0.8rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    margin-bottom: 0.65rem;
}

/* Zeile mit Avatar + Textblock */

.plan-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Block mit Avatar + Text */

.streamer-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Twitch-Avatar */

.streamer-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.7);
    background: #020617;
}

/* falls aus irgendeinem Grund direkt ein <img> im plan-item steht */
.plan-item > img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Name + Zeit */

.plan-streamer-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.plan-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Bereich für OFFLINE/LIVE + Zum Stream */

.plan-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0.35rem;
    margin-left: 0;
}

/* Sicherstellen, dass „Zum Stream“ immer IM Textblock ist */
.plan-item .btn-link {
    display: inline-flex;
    margin-top: 0.25rem;
}

/* Beschreibung */

.plan-desc {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Live-Badges */

.live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.17rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.8);
}

.live-badge.is-live {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
}

.live-badge.is-offline {
    border-color: rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
}

.legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.legend-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.badge {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.badge-live {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.9);
}

/* Minecraft layout */

.mc-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    gap: 1.5rem;
}

.mc-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.mc-list li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.sponsor-image-wrapper {
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(249, 115, 22, 0.5);
}

.sponsor-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.small-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* NEU: Minecraft-Hauptspalte mit mehreren Karten */

.mc-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mc-card h1,
.mc-card h2 {
    margin-top: 0;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.5rem 0 1.8rem;
    background: radial-gradient(circle at bottom, #020617, #000 70%);
}

.footer-inner {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-sub {
    margin-top: 0.3rem;
}

.footer-links {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 0.25rem;
}

.footer-links a:hover {
    color: #e5e7eb;
    text-decoration: underline;
}

/* ===== Erweiterungen für Startseite: Widget, Hund, Share-Section ===== */

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donation-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.donation-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.donation-widget {
    margin-top: 0.2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.donation-link-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.donation-link-note a {
    color: var(--accent);
    text-decoration: none;
}

.donation-link-note a:hover {
    text-decoration: underline;
}

/* Cartoon-Hund – größer, ohne Hintergrund */

.dog-mascot-card {
    margin-top: 0.4rem;
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    gap: 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dog-mascot-graphic {
    width: 90px;
    height: 90px;
    background: none;
    animation: dog-bounce 2.4s ease-in-out infinite;
}

.dog-mascot-graphic img {
    width: 100%;
    height: auto;
    display: block;
}

.dog-mascot-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* kleine Bounce-Animation */

@keyframes dog-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Share/Info Section Layout */

.share-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 1.6rem;
    align-items: flex-start;
}

.share-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.9));
}

.share-link-box {
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(249, 115, 22, 0.5);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.share-link-box span {
    display: block;
}

/* Responsive */

@media (max-width: 850px) {
    .hero-inner,
    .mc-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-side {
        margin-top: 1.4rem;
    }

    .share-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 2.4rem;
    }

    .card {
        padding: 1.2rem 1rem;
    }

    .plan-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-actions {
        align-items: flex-start;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav-link {
        padding-inline: 0.4rem;
    }

    .dog-mascot-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
