/* VoleyBul - Maçlar Sayfası Stil Dosyası */
:root {
    --primary: #e65100;
    --secondary: #9a0000;
    --accent: #1976d2;
    --light: #f5f5f5;
    --dark: #333;
    --gray: #777;
    --white: #fff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Ana Konteyner */
.vbmatch-bg {
    background-color: #f9f9f9;
    min-height: 80vh;
    padding: 30px 0;
}

.vbmatch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vbmatch-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.match-icon {
    margin-right: 15px;
    font-size: 36px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Tarih Filtresi */
.date-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 15px 0;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.date-filter::-webkit-scrollbar {
    height: 6px;
}

.date-filter::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 20px;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 75px;
    text-decoration: none;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.date-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.date-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.date-item:hover::before {
    transform: scaleX(1);
}

.date-item.active {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.date-item.active::before {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(1);
}

.day-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.day-number {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.month {
    font-size: 13px;
    opacity: 0.8;
}

/* Görünüm Sekmeleri */
.view-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow-x: auto;
    scrollbar-width: none;
}

.view-tabs::-webkit-scrollbar {
    display: none;
}

.view-tab {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--gray);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-tab i {
    font-size: 16px;
}

.view-tab:hover {
    color: var(--accent);
    background-color: rgba(25, 118, 210, 0.05);
}

.view-tab.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    position: relative;
}

.view-tab.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: pulse 2s infinite;
}

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

/* Maç Listesi */
.vbmatch-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.date-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.date-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.vbmatch-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.vbmatch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(154, 0, 0, 0.2);
}

.vbmatch-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all var(--transition-normal);
}

.vbmatch-card:hover::before {
    opacity: 1;
    top: 0;
}

.vbmatch-teams {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.vbmatch-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    transition: transform var(--transition-normal);
}

.vbmatch-card:hover .vbmatch-team:first-child {
    transform: translateX(-5px);
}

.vbmatch-card:hover .vbmatch-team:last-child {
    transform: translateX(5px);
}

.vbmatch-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 12px;
    transition: transform var(--transition-normal);
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.vbmatch-card:hover .vbmatch-logo {
    transform: scale(1.05);
}

.vbmatch-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.vbmatch-team-name {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    color: var(--dark);
    margin-bottom: 6px;
    transition: color var(--transition-normal);
}

.vbmatch-card:hover .vbmatch-team-name {
    color: var(--primary);
}

.vbmatch-score {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 44px;
    background-color: #f2f2f2;
    border-radius: 20px;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.vbmatch-card:hover .vbmatch-score {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(154, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.vbmatch-score-home, .vbmatch-score-away {
    padding: 0 6px;
}

.vbmatch-score-divider {
    padding: 0 2px;
    opacity: 0.5;
}

.vbmatch-info {
    padding: 15px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(0,0,0,0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vbmatch-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vbmatch-time i {
    font-size: 14px;
}

.vbmatch-league, .vbmatch-field {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vbmatch-league i, .vbmatch-field i {
    font-size: 12px;
    color: var(--secondary);
}

/* Puan Durumu */
.standings-container {
    margin-top: 20px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    animation: fadeIn var(--transition-slow);
}

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

.standings-table th, .standings-table td {
    padding: 14px 15px;
    text-align: center;
}

.standings-table th {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.standings-table th::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.standings-table tr:nth-child(even) {
    background-color: rgba(0,0,0,0.02);
}

.standings-table tr {
    transition: all var(--transition-normal);
}

.standings-table tr:hover {
    background-color: rgba(25, 118, 210, 0.05);
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.standings-table tr:hover .team-logo {
    transform: scale(1.2);
}

.team-name {
    font-weight: 600;
    transition: color var(--transition-normal);
}

.standings-table tr:hover .team-name {
    color: var(--primary);
}

.team-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    transition: all var(--transition-normal);
    padding: 5px;
    border-radius: var(--radius-sm);
}

.team-link:hover {
    background-color: rgba(154, 0, 0, 0.05);
    color: var(--primary);
    transform: translateX(3px);
}

.section-header {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: white;
    border-radius: var(--radius-md);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.section-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.section-header i {
    font-size: 18px;
}

.no-matches {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    font-style: italic;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
    border: 1px dashed rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .vbmatch-teams {
        padding: 15px;
    }
    
    .vbmatch-logo {
        width: 60px;
        height: 60px;
    }
    
    .vbmatch-team-name {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .vbmatch-container {
        padding: 15px;
    }
    
    .vbmatch-title {
        font-size: 28px;
    }
    
    .vbmatch-teams {
        flex-direction: column;
        align-items: center;
        padding-bottom: 60px;
    }
    
    .vbmatch-team {
        width: 100%;
        margin-bottom: 10px;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .vbmatch-logo {
        margin-bottom: 0;
    }
    
    .vbmatch-score {
        top: auto;
        bottom: 15px;
    }
    
    .vbmatch-card:hover .vbmatch-team:first-child,
    .vbmatch-card:hover .vbmatch-team:last-child {
        transform: none;
    }
    
    .date-item {
        min-width: 65px;
        padding: 10px;
    }
    
    .day-number {
        font-size: 18px;
    }
    
    .view-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .vbmatch-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .vbmatch-title {
        font-size: 24px;
    }
    
    .match-icon {
        font-size: 28px;
    }
    
    .vbmatch-logo {
        width: 50px;
        height: 50px;
    }
    
    .standings-table th, .standings-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .team-cell {
        gap: 8px;
    }
    
    .team-logo {
        width: 25px;
        height: 25px;
    }
}
