/* 🌟 Styles Généraux */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d0d1f, #1a2a44);
    color: #e0e0ff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Effet de fond animé subtil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 98, 0, 0.1), transparent 70%);
    opacity: 0.3;
    animation: pulse 10s infinite alternate;
}

/* 📌 Grille à 3 colonnes */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 100vh;
    width: 100%;
    height: 100vh;
    position: relative;
}

/* 📌 Colonnes latérales */
.sidebar-left, .sidebar-right {
    background: rgba(20, 20, 40, 0.8);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centré verticalement */
    gap: 35px; /* Espacement généreux */
    overflow-y: auto;
    height: 100%;
    border-right: 1px solid rgba(255, 98, 0, 0.2);
    backdrop-filter: blur(5px); /* Effet verre givré */
}

/* 📦 Cartes de pub/dons */
.ad-card {
    background: linear-gradient(145deg, #1f1f3d, #2a2a55);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 98, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 98, 0, 0.5);
}

.ad-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 98, 0, 0.6);
}

.ad-card h4 {
    font-size: 20px;
    color: #ff6200;
    margin-bottom: 12px;
    text-shadow: 0 0 5px rgba(255, 98, 0, 0.5);
}

.ad-card a {
    display: inline-block;
    background: linear-gradient(90deg, #ff6200, #ff8c00);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, box-shadow 0.3s;
}

.ad-card a:hover {
    background: linear-gradient(90deg, #e05500, #ff7700);
    box-shadow: 0 0 10px rgba(255, 98, 0, 0.7);
}

.ad-img {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
    filter: brightness(1.1);
}

/* Animation de fond */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.05); opacity: 0.5; }
}

/* 📱 Responsive */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .sidebar-left, .sidebar-right {
        display: none;
    }
}