/* Live-Ticker Page Styles - angepasst an EVD Design */

/* Main Container */
.liveticker-main {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #1a0505 0%, #0a0a0a 50%, #050a0f 100%);
}

/* Hero Section */
.liveticker-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.liveticker-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
}

.liveticker-hero p {
    color: #999;
    font-size: 1.2rem;
}

/* Game Header Card */
.game-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(204, 0, 0, 0.3);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Matchup */
.game-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(204, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.team-logo:hover {
    transform: scale(1.05);
}

.team h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Game Info Section */
.game-info {
    text-align: center;
}

/* Countdown */
.countdown {
    padding: 20px;
}

.countdown-label {
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.countdown-time {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #cc0000;
    font-family: 'Courier New', monospace;
}

.countdown-time span {
    min-width: 60px;
    background: rgba(204, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #cc0000;
}

/* Scoreboard */
.scoreboard {
    text-align: center;
    padding: 20px;
}

.score {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
}

.score-separator {
    color: #cc0000;
    margin: 0 20px;
}

.game-status {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 1.1rem;
    color: #999;
}

.game-status span {
    padding: 8px 16px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid #cc0000;
}

/* Game Details */
.game-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(204, 0, 0, 0.3);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 1rem;
}

.detail-item i {
    color: #cc0000;
    font-size: 1.2rem;
}

#status-indicator {
    animation: pulse 2s infinite;
}

#status-indicator.live {
    color: #00ff00;
}

#status-indicator.scheduled {
    color: #ff6b35;
}

#status-indicator.finished {
    color: #999;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Events Container */
.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: #cc0000;
}

/* Pre-Game Message */
.pre-game-message {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.pre-game-message i {
    font-size: 4rem;
    color: #cc0000;
    margin-bottom: 20px;
    display: block;
}

.pre-game-message p {
    color: #999;
    font-size: 1.2rem;
}

/* Events Timeline */
.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-left: 5px solid #cc0000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.event-item.goal {
    border-left-color: #00ff00;
    background: rgba(0, 255, 0, 0.02);
}

.event-item.penalty {
    border-left-color: #ff6b35;
}

.event-item.fight {
    border-left-color: #ff0000;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.event-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.event-type i {
    font-size: 1.5rem;
    color: #cc0000;
}

.event-time {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
}

.event-time span {
    background: rgba(204, 0, 0, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
}

.event-body {
    margin-bottom: 15px;
}

.event-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.player-number {
    background: #cc0000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.player-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-description {
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
}

.event-image {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* No Events */
.no-events {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.no-events i {
    font-size: 4rem;
    color: #666;
    margin-bottom: 20px;
    display: block;
}

.no-events p {
    color: #999;
    font-size: 1.2rem;
}

/* No Game */
.no-game {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.no-game-content {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.no-game-content i {
    font-size: 6rem;
    color: #cc0000;
    margin-bottom: 30px;
    display: block;
}

.no-game-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.no-game-content p {
    color: #999;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .liveticker-main {
        padding-top: 80px;
    }

    .liveticker-hero h1 {
        font-size: 2rem;
    }

    .game-header {
        padding: 25px 20px;
    }

    .game-matchup {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-logo {
        width: 80px;
        height: 80px;
    }

    .team h2 {
        font-size: 1.2rem;
    }

    .countdown-time {
        font-size: 1.5rem;
        gap: 10px;
    }

    .countdown-time span {
        min-width: 50px;
        padding: 8px;
    }

    .score {
        font-size: 3rem;
    }

    .game-details {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .event-item {
        padding: 20px 15px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 60px;
    color: #999;
}

.loading i {
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
