/* Runtime Collections Page Styles */

/* Runtime-specific card colors */
.collection-card.runtime-quick {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.collection-card.runtime-standard {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.collection-card.runtime-epic {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
}

.collection-card.runtime-marathon {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

/* Runtime header for detail view */
.runtime-header {
    padding: 20px;
    border-radius: 12px;
    margin: 15px auto;
    max-width: 95%;
    text-align: center;
    color: white;
}

.runtime-header.runtime-quick {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.runtime-header.runtime-standard {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.runtime-header.runtime-epic {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
}

.runtime-header.runtime-marathon {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

.runtime-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.runtime-header .runtime-icon {
    font-size: 1.2em;
}

.runtime-header .runtime-description {
    opacity: 0.9;
    font-size: 1.1em;
}

.runtime-header .runtime-range {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Runtime legend on landing page */
.runtime-legend {
    max-width: 95%;
    margin: 20px auto 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.runtime-legend h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #555;
}

.runtime-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.runtime-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
}

.runtime-legend-icon {
    font-size: 1.3em;
}

/* Back link */
.runtime-back-link {
    max-width: 95%;
    margin: 15px auto;
    padding: 0 15px;
}

.runtime-back-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.runtime-back-link a:hover {
    text-decoration: underline;
}

/* Movie card runtime badge */
.movie-runtime-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .runtime-header {
        padding: 15px;
    }

    .runtime-header h2 {
        font-size: 1.4em;
    }

    .runtime-legend-items {
        flex-direction: column;
        gap: 8px;
    }
}