/**
 * MovTrax Public CSS
 */

.movtrax-content {
    margin: 20px 0;
}

/* Movie/Series Info */
.movtrax-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.movtrax-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.movtrax-info-item {
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}

.movtrax-info-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.movtrax-info-value {
    color: #212529;
}

/* Rating */
.movtrax-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #ffc107;
    color: #000;
    border-radius: 5px;
    font-weight: bold;
}

.movtrax-rating::before {
    content: "⭐";
}

/* Genres */
.movtrax-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.movtrax-genre {
    display: inline-block;
    padding: 5px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.movtrax-genre:hover {
    background: #0056b3;
    color: #fff;
}

/* Servers */
.movtrax-servers {
    margin-top: 30px;
}

.movtrax-servers h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.movtrax-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.movtrax-server-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
}

.movtrax-server-link:hover {
    background: #218838;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.movtrax-server-link.download {
    background: #dc3545;
}

.movtrax-server-link.download:hover {
    background: #c82333;
}

.movtrax-server-quality {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    margin-top: 3px;
}

/* Poster */
.movtrax-poster {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Cast and Crew */
.movtrax-cast,
.movtrax-directors {
    margin: 20px 0;
}

.movtrax-cast h3,
.movtrax-directors h3 {
    margin-bottom: 10px;
    color: #495057;
}

.movtrax-cast-list,
.movtrax-directors-list {
    color: #212529;
}

/* Responsive */
@media (max-width: 768px) {
    .movtrax-info-grid {
        grid-template-columns: 1fr;
    }
    
    .movtrax-servers-grid {
        grid-template-columns: 1fr;
    }
}
