/* Home Page Specific Styles */

/* Başlayacak Maçlar Bölümü */
.upcoming-matches-section {
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
}

.upcoming-matches-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.upcoming-matches-section .section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.btn-analyze {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-analyze:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.matches-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.matches-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.matches-slider::-webkit-scrollbar {
    display: none;
}

.matches-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matches-slider-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.matches-slider-btn.prev-matches {
    left: 0;
}

.matches-slider-btn.next-matches {
    right: 0;
}

.match-card {
    min-width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.match-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.match-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-day {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.match-month {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.match-info {
    margin-bottom: 15px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.team {
    flex: 1;
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

.team-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.match-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.vs-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.match-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.match-time i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.match-league {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.league-country {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.league-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card.no-matches {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.no-matches-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.no-matches-content i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.no-matches-content p {
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .upcoming-matches-section .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .btn-analyze {
        width: 100%;
        justify-content: center;
    }
    
    .matches-slider-wrapper {
        padding: 0 40px;
    }
    
    .matches-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .match-card {
        min-width: 260px;
        max-width: 260px;
    }
}

/* Blog Slider Styles */
.blog-slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.blog-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
}

.blog-slider-track.dragging {
    cursor: grabbing;
    transition: none;
}

.blog-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.blog-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons */
.blog-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.blog-slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.blog-slider-prev {
    left: 20px;
}

.blog-slider-next {
    right: 20px;
}

/* Dots */
.blog-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.blog-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.blog-slider-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-slider-wrapper {
        height: 250px;
    }
    
    .blog-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .blog-slider-prev {
        left: 10px;
    }
    
    .blog-slider-next {
        right: 10px;
    }
}