/* ==========================================================================
   PAGE DES LOTS - easyBet.me
   ========================================================================== */

   .lots-container {
    padding-top: 40px;
    padding-bottom: 70px;
}

/* --- BANNIÈRE DE TICKETS --- */
.chances-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004423 100%);
    border-radius: var(--border-radius);
    padding: 30px 40px;
    color: #ffffff;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
}

.chances-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.chances-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.chances-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.chances-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: 12px;
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticket-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.ticket-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    opacity: 0.9;
}

/* --- TITRE DE SECTION --- */
.section-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* --- GRILLE DES CARTES DE LOTS --- */
.lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Une carte de lot standard */
.lot-card {
    background: var(--bg-translucent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
}

.lot-card:hover {
    transform: translateY(-4px);
}

/* Mise en avant du Gros Lot */
.card-gros-lot {
    grid-column: span 2; /* Prend deux colonnes de large si l'écran le permet */
    border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
    .card-gros-lot {
        grid-column: span 1;
    }
}

.badge-premium {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Zone Image */
.lot-image {
    background-color: #f1f5f9;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.card-gros-lot .lot-image {
    height: 240px;
    background-color: #ecfdf5; /* Vert très clair pour le fond de l'image du maillot */
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Détails textuels */
.lot-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lot-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

.lot-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive banner */
@media (max-width: 640px) {
    .chances-content {
        flex-direction: column;
        text-align: center;
    }
    .chances-counter {
        width: 100%;
    }
}