/* Home Page Specific Styles */

/* Başlayacak Maçlar Bölümü - Kompakt */
.upcoming-matches-section {
    margin: 30px 0;
    background: var(--bg-overlay-subtle);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

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

.upcoming-matches-section .section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

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

.matches-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 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: 32px;
    height: 32px;
    background: var(--bg-overlay-medium);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 14px;
    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: 220px;
    max-width: 220px;
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.match-card:hover {
    background: var(--bg-overlay-medium);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.match-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.match-day {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.match-month {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

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

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

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

.team-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

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

.vs-text {
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.match-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    background: var(--bg-overlay-light);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
}

.match-time i {
    font-size: 10px;
    color: var(--text-muted);
}

.match-league {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.league-country {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.league-name {
    font-size: 11px;
    color: var(--text-secondary);
    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: 30px;
}

.no-matches-content {
    text-align: center;
    color: var(--text-muted);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .upcoming-matches-section {
        padding: 16px;
    }
    
    .upcoming-matches-section .section-title {
        font-size: 16px;
    }
    
    .upcoming-matches-section .section-header {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
    }
    
    .btn-analyze {
        width: auto;
        justify-content: center;
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    .matches-slider-wrapper {
        padding: 0;
    }
    
    .matches-slider-btn {
        display: none;
    }
    
    .match-card {
        min-width: 200px;
        max-width: 200px;
        padding: 12px;
    }
}

/* 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;
    /* Yatay jestleri JS'e bırak, dikey sayfa kaydırmasına izin ver */
    touch-action: pan-y;
}

.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;
    }
}


/* Rolling Section - Home Page - Kompakt & Slider */
.rolling-section {
    margin: 30px 0;
    background: var(--bg-overlay-subtle);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

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

.rolling-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.rolling-slider-wrapper {
    position: relative;
    padding: 0 40px;
}

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

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

.rolling-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--bg-overlay-medium);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.rolling-card-home {
    min-width: 240px;
    max-width: 240px;
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.rolling-card-home:hover {
    background: var(--bg-overlay-medium);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.rolling-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rolling-header-home h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

/* Rolling Tip Badge (Home) */
.badge-tip-home {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 14px;
    flex-shrink: 0;
}

.badge-tip-home.free {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-tip-home.member {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-tip-home.bayi {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-tip-home.vip {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-aktif-home {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    white-space: nowrap;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.rolling-stats-home {
    background: var(--bg-overlay-subtle);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.stat-row-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.stat-row-home:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.stat-row-home span {
    font-size: 11px;
    color: var(--text-muted);
}

.stat-row-home strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-section-home {
    margin-bottom: 10px;
}

.progress-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.progress-bar-container-home {
    width: 100%;
    height: 4px;
    background: var(--bg-overlay-strong);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-home {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.rolling-footer-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 10px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-stat-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.footer-stat-home span {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-stat-home strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-detail-home {
    display: block;
    text-align: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-detail-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .rolling-section {
        padding: 16px;
    }
    
    .rolling-section .section-title {
        font-size: 16px;
    }
    
    .rolling-section .section-header {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
    }
    
    .btn-view-all {
        width: auto;
        justify-content: center;
        font-size: 11px;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    .rolling-slider-wrapper {
        padding: 0;
    }
    
    .rolling-slider-btn {
        display: none;
    }
    
    .rolling-card-home {
        min-width: 220px;
        max-width: 220px;
        padding: 12px;
    }
    
    .rolling-header-home h3 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rolling-card-home {
        min-width: 200px;
        max-width: 200px;
    }
}


/* Featured Section - Modern & Compact */
.featured-section {
    margin: 30px 0;
}

.featured-section .section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.featured-card {
    background: var(--bg-overlay-light);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.badge {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.4);
}

.card-content {
    padding: 14px;
}

.card-title {
    margin-bottom: 8px;
}

.card-title a {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.card-title a:hover {
    color: #667eea;
}

.card-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
}

.meta-date,
.meta-category {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.meta-date i {
    font-size: 10px;
    color: rgba(102, 126, 234, 0.8);
}

.meta-category i {
    font-size: 10px;
    color: rgba(34, 197, 94, 0.8);
}

/* Responsive Featured Section */
@media (max-width: 768px) {
    .featured-section {
        margin: 20px 0;
    }
    
    .featured-section .section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-image {
        height: 140px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .card-title a {
        font-size: 14px;
    }
    
    .card-excerpt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .card-image {
        height: 120px;
    }
}
