:root {
    --green: #2ecc71;
    --white: rgba(255, 255, 255, 0.95);
    --shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    --image-ratio: 16/9; /* Ново съотношение 16:9 */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #07231a;
    min-height: 100vh;
    overflow-x: hidden;
}

.index-hero-bg {
    position: fixed;
    inset: 0;
    background: url('assets/img/pitch-overview.jpg') no-repeat center/cover;
    z-index: -1;
    transform: scale(1);
}

.index-hero-bg.zoom-exit {
    animation: indexZoomExit 0.65s ease forwards;
}

@keyframes indexZoomExit {
    to { transform: scale(1.55); filter: brightness(0.1); }
}

#index-container.fade-exit {
    animation: containerFadeOut 0.4s ease forwards;
}

@keyframes containerFadeOut {
    to { opacity: 0; }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 18px 0 8px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dfe9e4;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icon:hover {
    background: #2ecc71;
    color: #07231a;
    border-color: #2ecc71;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.logo {
    margin: 20px 0 30px 0;
    z-index: 10;
}

.logo img {
    width: 160px;
    height: auto;
    filter: drop-shadow(var(--shadow));
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 2000px;
}

.image-card {
    position: relative;
    flex: 1;
    max-width: 1400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    aspect-ratio: var(--image-ratio); /* Ключова промяна за правоъгълници */
}

.image-blur {
    width: 100%;
    height: 100%; /* Пълна височина спрямо родителя */
    object-fit: cover;
    filter: blur(8px);
    transition: all 0.4s ease;
}

.image-card:hover .image-blur {
    filter: blur(0);
    transform: scale(1.03);
}

.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--green);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-shadow: var(--shadow);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.image-card:hover .image-title {
    opacity: 0;
}

.watermark {
    margin-top: 30px;
    color: var(--white);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .image-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .image-card {
        width: 100%;
        max-width: 500px;
    }
    
    .logo {
        margin: 15px 0 25px 0;
    }
}

.live-btn {
    display: none; /* Скрит по подразбиране */
    /* останалите стилове остават същите */
}

.live-btn.visible {
    display: flex; /* Показва се когато е необходимо */
}

.season-filter {
    margin: 20px 0;
    text-align: right;
}

.season-filter select {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    background-color: white;
    color: var(--text);
    font-weight: 600;
}

.season-badge {
    background-color: var(--primary-dark);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 10px;
}