/* ============================================
   TOMBOLA PAGE - NEW MODERN DESIGN
   ============================================ */

body {
    font-family: 'Montserrat', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Drapeaux circulaires dans le footer de la page tombola */
.footer-section .flag-icon {
    border-radius: 50% !important; /* Rendre les drapeaux circulaires */
}

/* Fix banner alignment on tombola page */
.top-banner .container .row {
    align-items: center !important;
}

.top-banner-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
}

.top-banner-location,
.top-banner-date {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: #ffffff !important;
    line-height: 1.5 !important;
    justify-content: flex-start !important;
}

.top-banner-location .info-icon,
.top-banner-date .info-icon {
    flex-shrink: 0 !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}


/* ============================================
   HERO SECTION
   ============================================ */

.tombola-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
    overflow: hidden;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 40px 0;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-prizes {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-prize {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 35px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
    min-width: 280px;
}

.hero-prize:nth-child(2) {
    animation-delay: 0.6s;
}

.prize-icon {
    font-size: 48px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.prize-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.prize-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.prize-price {
    font-size: 18px;
    font-weight: 700;
    color: #1AA45A;
    margin-top: 5px;
}

.prize-value {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-top: 5px;
}

.prize-price {
    font-size: 18px;
    font-weight: 700;
    color: #1AA45A;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

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

/* ============================================
   INFO SECTION
   ============================================ */

.tombola-info-section {
    padding: 80px 20px;
    background: #ffffff;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #000000 0%, #1AA45A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
}

.info-card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FORM SECTION
   ============================================ */

.tombola-form-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.form-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
}

.price-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #000000 0%, #1AA45A 100%);
    color: #ffffff;
    padding: 20px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.price-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tombola-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-group label svg {
    color: #000000;
}

.form-control {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #000000;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.lot-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.lot-label svg {
    color: #1AA45A;
}

.lot-select {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d2d2d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.lot-select:focus {
    outline: none;
    border-color: #1AA45A;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 164, 90, 0.1);
}

.tickets-selector {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
    margin: 10px 0;
}

.tickets-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.tickets-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ticket-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

.ticket-btn:active {
    transform: scale(0.95);
}

.tickets-input {
    width: 100px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    border: 2px solid #000000;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
}

.total-display {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.total-label {
    font-size: 18px;
    color: #666;
    margin-right: 10px;
}

.total-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.btn-submit {
    background: linear-gradient(135deg, #000000 0%, #1AA45A 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin: 20px 0 0 0;
    padding: 15px;
    background: #fff9e6;
    border-radius: 10px;
    border-left: 4px solid #f4d03f;
}

.form-note svg {
    color: #f4d03f;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .form-container {
        padding: 40px 30px;
    }
    
    .form-main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .tombola-hero {
        min-height: 400px;
        padding: 80px 20px 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-prizes {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-prize {
        flex-direction: column;
        padding: 20px;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .prize-icon {
        font-size: 40px;
    }
    
    .prize-value {
        font-size: 18px;
    }
    
    .prize-price {
        font-size: 16px;
    }
    
    .tombola-info-section,
    .tombola-form-section {
        padding: 60px 20px;
    }
    
    .info-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-main-title {
        font-size: 24px;
    }
    
    .price-badge {
        padding: 15px 25px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tickets-control {
        gap: 10px;
    }
    
    .ticket-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .tickets-input {
        width: 80px;
        font-size: 24px;
    }
    
    .total-amount {
        font-size: 28px;
    }
    
    .btn-submit {
        padding: 16px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .form-main-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 32px;
    }
}
