/* --- ANIMATION PROGRESS STYLES --- */
.progress-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', -apple-system, sans-serif;
}

/* Minecraft-artiger pixeliger Titel */
.section-title {
    color: #ffffff;
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0px #2c2c2c;
    /* Minecraft Text-Schatten Effekt */
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Grundzeile für Text und Bild */
.progress-row {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(15, 15, 15, 0.85);
    /* Dunkler, leicht transparenter UI-Background */
    border: 4px solid #3c3c3c;
    /* Kantiger Minecraft-GUI Rahmen */
    box-shadow: inset -4px -4px 0px #1e1e1e, inset 4px 4px 0px #5a5a5a;
    /* 3D-GUI-Tiefe */
    padding: 20px;
    border-radius: 0px;
    /* Minecraft ist eckig, keine runden Ecken */
    transition: transform 0.3s ease;
}

.progress-row:hover {
    transform: translateY(-3px);
}

/* Steuerung der Richtung (Rechts/Links-Wechsel) */
.item-right {
    flex-direction: row;
}

.item-left {
    flex-direction: row-reverse;
}

/* Text-Bereich (Minecraft Chat- / Textbox-Style) */
.progress-text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-status {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 0px;
    width: fit-content;
    margin-bottom: 10px;
    box-shadow: 1px 1px 0px #000;
}

/* Farb-Codes exakt aus der Minecraft-Farbpalette */
.status-finished {
    background-color: #55ff55;
    color: #000000;
}

/* Green */

.status-cancelled {
    background-color: #aa0000;
    color: #ffffff;
}

/* Dark Red (Weißer Text für bessere Lesbarkeit) */

.status-in-progress {
    background-color: #ffaa00;
    color: #000000;
}

/* Gold / Orange */

.status-coming-soon {
    background-color: #55ffff;
    color: #000000;
}

/* Aqua */

.status-paused {
    background-color: #aaaaaa;
    color: #000000;
}

/* Gray */

.status-empty {
    background-color: #555555;
    color: #000000;
    border: 2px solid #3c3c3c;
    /* Verleiht dem leeren Feld einen leichten Slot-Rahmen */
    min-width: 40px;
    height: 22px;
}

/* Dark Gray / Leerer Slot */

.progress-text-box h3 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 22px;
}

.progress-text-box p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* Minecraft-Ladebalken (Bossbar / XP-Bar Style) */
.progress-bar-container {
    width: 100%;
    height: 16px;
    background-color: #111111;
    border: 2px solid #555555;
    padding: 2px;
    box-sizing: border-box;
}

.progress-bar {
    height: 100%;
    background-color: #c10000;
    /* Standard geladen: Dunkelrot */
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.status-finished-bar {
    background-color: #55ff55;
    /* Fertig: XP-Grün */
}

.status-progress-bar {
    background-color: #ffaa00;
    /* Fertig: XP-Grün */
}

/* Bild-Bereich (Verhältnis 16:9) */
.progress-image-box {
    flex: 1.3;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 3px solid #222;
    background-color: #000;
}

.progress-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: pixelated;
    /* Falls du In-Game-Screenshots nutzt, bleibt es knackig scharf */
    transition: transform 0.5s ease;
}

.progress-image-box:hover img {
    transform: scale(1.03);
}

/* Mobile Optimierung: Auf Handys wird alles sauber untereinander gestapelt */
@media (max-width: 768px) {

    .progress-row,
    .item-left,
    .item-right {
        flex-direction: column-reverse;
        /* Bild oben, Text unten auf Smartphones */
    }

    .progress-image-box {
        width: 100%;
    }
}

/* Twitch Widget Styles mit funktionierender animierter Border */
.twitch-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.twitch-widget {
    background-color: #18181b;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.twitch-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #000000, #9147ff, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.twitch-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.twitch-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.twitch-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #18181b;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.twitch-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family: 'segoe ui', monospace;
}

.twitch-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.twitch-button {
    background-color: #9147ff;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.twitch-button:hover {
    background-color: #772ce8;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(145, 71, 255, 0.5);
}

/* Mobile Ansicht */
@media screen and (max-width: 700px) {
    .twitch-container {
        margin: 20px auto;
    }

    .twitch-banner {
        height: 100px;
    }
}

/* Twitter Widget Styles */
.twitter-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.twitter-widget {
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.twitter-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #1DA1F2, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.twitter-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.twitter-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.twitter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #000000;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.twitter-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family: 'segoe ui', monospace;
}

.twitter-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.twitter-button {
    background-color: #1DA1F2;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.twitter-button:hover {
    background-color: #1991db;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}

/* Instagram Widget Styles */
.instagram-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.instagram-widget {
    background-color: #121212;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.instagram-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #e6683c, #cc2366, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.instagram-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.instagram-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.instagram-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #121212;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.instagram-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family: 'segoe ui', monospace;
}

.instagram-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.instagram-button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.instagram-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(188, 24, 136, 0.5);
}

/* Container für alle Social Widgets */
.social-widgets-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Ansicht */
@media screen and (max-width: 700px) {
    .social-widgets-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .twitter-banner,
    .instagram-banner {
        height: 100px;
    }
}