/* Köln vs. Düsseldorf - Styles */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #212121;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.no-margin {
    margin: 0;
}

/* Header */
header nav {
    box-shadow: none;
}

header .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.4rem;
}

header .brand-logo i {
    font-size: 1.8rem;
}

/* Search */
.nav-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper .input-field {
    margin: 0;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0 10px;
}

.search-wrapper .input-field .prefix {
    position: relative;
    left: 0;
    color: #fff;
}

.search-wrapper .input-field input {
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-left: 10px !important;
    color: #fff;
    height: 40px;
}

.search-wrapper .input-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-wrapper #clear-search {
    padding: 0;
    min-width: auto;
    color: #fff;
}

/* Scoreboard */
.scoreboard-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px 0;
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #333 0%, #222 100%);
    border-radius: 12px;
    padding: 25px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.score-team {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.duesseldorf-team {
    justify-content: flex-end;
}

.koeln-team {
    justify-content: flex-start;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.team-score {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.duesseldorf-team .team-score {
    color: #2196F3;
}

.koeln-team .team-score {
    color: #f44336;
}

.score-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.score-vs {
    font-size: 3rem;
    font-weight: 300;
    opacity: 0.6;
}

.score-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-top: 5px;
}

.score-info {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.score-info .divider-dot {
    margin: 0 8px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding-bottom: 20px;
}

.news-column {
    padding: 0 !important;
}

.column-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.column-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.column-header h5 i {
    font-size: 1.3rem;
}

.duesseldorf-column .column-header {
    background: #1565C0;
}

.koeln-column .column-header {
    background: #c62828;
}

.news-count {
    font-size: 0.85rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.news-container {
    padding: 15px;
    min-height: 400px;
    background: #1a1a1a;
}

/* News Cards */
.news-card {
    background: #2d2d2d;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-card a {
    display: block;
    padding: 15px;
    color: inherit;
    text-decoration: none;
}

.news-card .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.news-card .news-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card .news-time i {
    font-size: 0.9rem;
}

.news-card .news-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-card .news-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #fff;
}

.news-card .news-description {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-source {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card .news-source i {
    font-size: 0.85rem;
}

/* City-specific card accents */
.duesseldorf-column .news-card {
    border-left: 3px solid #2196F3;
}

.koeln-column .news-card {
    border-left: 3px solid #f44336;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.5;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 1rem;
}

/* Loading spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

/* Score animation */
.score-changed {
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* New item animation */
.news-card.new-item {
    animation: slideIn 0.3s ease-out;
}

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

/* Winner indicator */
.winner {
    position: relative;
}

.winner::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid gold;
}

/* Search mode indicator */
#mode-indicator.search-mode {
    color: #ff9800;
    font-weight: 500;
}

/* Footer */
.page-footer {
    padding: 15px 0;
    margin-top: auto;
}

.page-footer p {
    margin: 0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .scoreboard {
        padding: 20px 15px;
    }

    .team-name {
        font-size: 0.9rem;
    }

    .team-score {
        font-size: 2.5rem;
        min-width: 50px;
    }

    .score-vs {
        font-size: 2rem;
    }

    .score-separator {
        padding: 0 10px;
    }

    .score-team {
        gap: 10px;
    }

    .column-header h5 {
        font-size: 0.95rem;
    }

    header .brand-logo {
        font-size: 1.1rem;
    }
}
