/* Styles de la page d'accueil (index.php) */

/* Background et décorations du body */
body {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-top: 0;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 210, 63, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .container {
        padding: 1rem;
    }
}

/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: var(--cream);
    text-shadow: 4px 4px 0 var(--orange-primary), 8px 8px 0 rgba(0, 0, 0, 0.2);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.subtitle {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    color: var(--yellow-accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Grille de statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--orange-primary);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-card:nth-child(2) {
    transform: rotate(1deg);
}

.stat-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--orange-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grille d'actions */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.action-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-left: 8px solid var(--orange-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.action-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.action-card h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--blue-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.action-card p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--orange-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: var(--blue-primary);
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.4);
}

.btn-secondary:hover {
    background: var(--blue-dark);
    box-shadow: 0 6px 20px rgba(0, 78, 137, 0.6);
}

/* Décorations basketball */
.basketball-decoration {
    position: fixed;
    width: 80px;
    height: 80px;
    background: var(--orange-primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.basketball-decoration:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.basketball-decoration:nth-child(2) {
    top: 60%;
    right: 8%;
    width: 60px;
    height: 60px;
    animation: float 8s ease-in-out infinite 1s;
}

.basketball-decoration:nth-child(3) {
    bottom: 15%;
    left: 15%;
    width: 100px;
    height: 100px;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .action-card h2 {
        font-size: 1.8rem;
    }
}
