/* Styles spécifiques à la page d'accueil */

/* Hero Header */
.hero-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    padding: 50px 30px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3em;
    color: #7f8c8d;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Formats Section */
.formats-section {
    margin: 40px 0;
}

.formats-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 40px;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Format Cards */
.format-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.format-card.available:hover::before {
    transform: translateX(0);
}

.format-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.format-card.coming-soon {
    opacity: 0.7;
}

.format-card.coming-soon:hover {
    transform: translateY(-5px);
}

.format-icon {
    font-size: 3em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.format-card h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.format-description {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.format-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.detail-item {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #2c3e50;
    border: 1px solid #e9ecef;
}

.format-status {
    margin-bottom: 20px;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-badge.available {
    background: #d4edda;
    color: #155724;
}

.status-badge.coming-soon {
    background: #fff3cd;
    color: #856404;
}

.btn-format {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-format:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Recent Tournaments */
.recent-tournaments {
    background: rgba(255, 255, 255, 0.95);
}

.recent-list {
    display: grid;
    gap: 15px;
}

.recent-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.recent-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.recent-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.recent-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.95);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-item p {
    color: #7f8c8d;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .format-card {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .format-details {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .format-details {
        flex-direction: column;
    }
}
