/* Enhanced Match Card Styles */
.match-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.match-card .card-img-top {
    position: relative;
    border-radius: 0.375rem 0.375rem 0 0;
}

.match-card .badge-game {
    background: linear-gradient(45deg, #FF6B35, #FF8C42);
    color: white;
    border: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.match-card .badge.bg-primary {
    background: linear-gradient(45deg, #007bff, #6f42c1) !important;
    border: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.match-card .badge.bg-dark {
    background: rgba(0, 0, 0, 0.75) !important;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

/* Mode and Map Preview Cards */
.mode-preview-card,
.map-preview-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.mode-preview-card:hover,
.map-preview-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

/* Match Details Page Enhancements */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #FF6B35;
}

.info-item i {
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 20px;
    flex-shrink: 0;
}

/* Team Size Badges */
.team-size-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

/* Map and Mode Display Cards */
.game-feature-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-feature-card:hover {
    border-color: #FF6B35;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.game-feature-card img {
    transition: transform 0.3s ease;
}

.game-feature-card:hover img {
    transform: scale(1.05);
}

/* Admin Create Match Form Enhancements */
.preview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.preview-section h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Loading States */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .match-card .card-img-top {
        height: 100px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .game-feature-card {
        margin-bottom: 1rem;
    }
}

/* Enhanced Button Styles */
.btn-match-action {
    background: linear-gradient(45deg, #FF6B35, #FF8C42);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-match-action:hover {
    background: linear-gradient(45deg, #FF8C42, #FF6B35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Status Indicators */
.status-live {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.status-ready {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
