/*
Theme Name: Streaming Linktree Ultimate
Theme URI: https://manus.im
Author: Manus
Author URI: https://manus.im
Description: Das ultimative WordPress-Template für Streamer mit Live-Status, Video-Hintergrund, Countdown und mehr.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streaming-linktree-ultimate
*/

:root {
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #9146ff;
    --hover-color: #a970ff;
    --live-color: #ff0000;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -2;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Live Status Badge */
.live-badge {
    display: inline-block;
    background: var(--live-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
    animation: glow 1.5s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s ease-in-out infinite;
}

.live-badge.hidden {
    display: none;
}

.profile-header {
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    object-fit: cover;
    animation: fadeInDown 0.6s ease-out;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(145, 70, 255, 0.6);
}

.live-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--live-color);
    border: 3px solid var(--bg-color);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.live-indicator.hidden {
    display: none;
}

.profile-image-placeholder {
    animation: fadeInDown 0.6s ease-out;
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.4);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.profile-bio {
    font-size: 1rem;
    color: #b3b3b3;
    line-height: 1.5;
    animation: fadeInDown 0.8s ease-out 0.4s both;
}

/* Countdown Section */
.countdown-section {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(145, 70, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.countdown-title {
    font-size: 0.9rem;
    color: #b3b3b3;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.countdown-item {
    background: rgba(145, 70, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 50px;
}

.countdown-item-label {
    font-size: 0.7rem;
    color: #888;
    margin-top: 4px;
    display: block;
}

/* Video Embed Section */
.video-embed-section {
    background-color: var(--card-bg);
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(145, 70, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.video-embed-section iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: none;
}

/* Progress Bar Section */
.progress-section {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(145, 70, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.progress-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.85rem;
    color: #b3b3b3;
}

/* Social Proof Section */
.social-proof-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.social-proof-item {
    background-color: var(--card-bg);
    padding: 16px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(145, 70, 255, 0.2);
    transition: var(--transition);
}

.social-proof-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.social-proof-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.social-proof-label {
    font-size: 0.75rem;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.link-item {
    display: block;
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out backwards;
}

.link-item:nth-child(1) { animation-delay: 1s; }
.link-item:nth-child(2) { animation-delay: 1.1s; }
.link-item:nth-child(3) { animation-delay: 1.2s; }
.link-item:nth-child(4) { animation-delay: 1.3s; }
.link-item:nth-child(5) { animation-delay: 1.4s; }
.link-item:nth-child(n+6) { animation-delay: 1.5s; }

.link-item:hover {
    background-color: #252525;
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(145, 70, 255, 0.3);
}

.footer {
    margin-top: 48px;
    font-size: 0.8rem;
    color: #666;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.footer a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .countdown-timer {
        font-size: 1.2rem;
    }

    .countdown-item {
        min-width: 40px;
        padding: 6px 10px;
    }

    .video-embed-section iframe {
        height: 200px;
    }
}
