/* Schedule Preview Section for Homepage */

.schedule-preview-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.schedule-preview-section .section-header-modern {
    text-align: center;
    margin-bottom: 0;
}

/* Schedule Header Title - Styled like date headers */
.schedule-preview-header-title {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 16px 28px;
    text-align: center;
    margin: 20px auto 0;
    max-width: 1400px;
    position: relative;
    border-bottom: 4px solid #ff6600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.schedule-preview-header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.5), transparent);
}

.schedule-preview-main-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
    color: white;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    text-transform: uppercase;
}


.schedule-preview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 30px 20px;
}

.schedule-preview-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: visible;
    cursor: pointer;
    min-height: 200px;
}

.schedule-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6600, #ff8c00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.schedule-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 102, 0, 0.2);
    border-color: #ff6600;
}

.schedule-preview-card:hover::before {
    transform: scaleX(1);
}

/* Time and Group Container */
.schedule-preview-time-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.schedule-preview-group-badge {
    align-self: flex-start;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
    white-space: nowrap;
}

.schedule-preview-time-badge {
    background: #000000;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.schedule-preview-date-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 12px 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 3px solid #ff6600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
    border-radius: 6px;
    line-height: 1.4;
}

/* Removed sport badge - not needed with new design */

.schedule-preview-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.schedule-preview-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.schedule-preview-team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    margin-bottom: 8px;
    background: #f5f5f5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-preview-card:hover .schedule-preview-team-logo {
    border-color: #ff6600;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.schedule-preview-team-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.schedule-preview-color-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.schedule-preview-color-indicator.light {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
}

.schedule-preview-color-indicator.dark {
    background: #333333;
    border: 2px solid #1a1a1a;
}

.schedule-preview-team-color {
    font-size: 0.75rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 2px;
}

.schedule-preview-score {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 4px;
}

.schedule-preview-team.winner .schedule-preview-team-name {
    color: #ff6600;
    font-weight: 800;
}

.schedule-preview-team.winner .schedule-preview-score {
    color: #ff6600;
    background: #fff5f0;
    font-weight: 800;
}

.schedule-preview-vs {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ff6600;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    padding: 0 8px;
}

.schedule-preview-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
    border-left: 3px solid #ff6600;
    margin-top: 4px;
}

.schedule-preview-card.event-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
}

.schedule-preview-card.event-card:hover {
    background: #fff8f0;
    border-color: #ff6600;
}

.schedule-preview-event-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.schedule-preview-venue i {
    color: #ff6600;
    font-size: 1rem;
}

/* Group badge moved to time-group-container */

.schedule-preview-status {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.schedule-preview-status.upcoming {
    background: #28a745;
}

.schedule-preview-status.live {
    background: #dc3545;
    animation: pulse-status 2s infinite;
}

.schedule-preview-status.completed {
    background: #6c757d;
}

@keyframes pulse-status {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.schedule-preview-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.schedule-preview-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.schedule-preview-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.schedule-preview-empty p {
    font-size: 1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .schedule-preview-header-title {
        padding: 14px 20px;
        margin: 20px 20px 0;
    }

    .schedule-preview-main-title {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .schedule-preview-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .schedule-preview-section {
        padding: 40px 15px;
    }

    .schedule-preview-header-title {
        padding: 12px 15px;
        margin: 20px 15px 0;
    }

    .schedule-preview-main-title {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
        line-height: 1.4;
    }

    .schedule-preview-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 15px;
    }

    .schedule-preview-card {
        padding: 20px;
    }

    .schedule-preview-team-logo {
        width: 50px;
        height: 50px;
    }

    .schedule-preview-team-name {
        font-size: 0.85rem;
    }

    .schedule-preview-time {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .schedule-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-preview-time {
        align-self: flex-start;
    }
}

