/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #e74c3c;
    --primary-hover: #ff7675;
    --secondary: #ff7eb3;
    --dark: #2d3436;
    --light: #f5f6fa;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(0, 0, 0, 0.55);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

.hidden { display: none !important; }

/* ==========================================================================
   Global & Layout
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/qr7ha4/site/media/6ae2359e07b173.56629841.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.site-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    width: 100%;
}

/* ==========================================================================
   Glassmorphism Card & Typography
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 3.5rem 3rem;
    width: 100%;
    max-width: 650px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}


.logo-container {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.badge {
    display: none;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.headline {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.text-gradient {
    background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
		font-size:2.2rem;
}

.subhead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 90%;
    margin: 0 auto;
}

/* ==========================================================================
   Promotional Image
   ========================================================================== */
.promo-image-container {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-image-container:hover .promo-image {
    transform: scale(1.05);
}

/* ==========================================================================
   Countdown Timer
   ========================================================================== */
.countdown-wrapper {
    margin-bottom: 2.5rem;
    text-align: center;
}

.countdown-label {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
		display :none;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.cd-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: var(--secondary);
}

.cd-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Forms & Buttons
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(255, 126, 179, 0.2);
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary);
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary);
    background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(231, 76, 60, 0.4);
}

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

.submit-btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

/* ==========================================================================
   States & Messaging
   ========================================================================== */
.error-message,
.status-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.error-message {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.5);
    color: #fff;
}

.status-message {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

/* ==========================================================================
   Post-Entry / Success Section
   ========================================================================== */
.success-section {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
}

.success-section h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.success-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Bonus Entries Panel */
.bonus-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.bonus-panel h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.bonus-panel p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.share-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.share-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.social-shares {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.fb { background: #1877F2; }
.social-btn.tw { background: #000000; border: 1px solid rgba(255,255,255,0.2); }

/* ==========================================================================
   Woobox Required Elements
   ========================================================================== */
#wbx-powered-by-slot {
    margin-top: auto;
    padding-top: 2rem;
    width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 600px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .headline {
        font-size: 3.2rem;
    }
    
    .promo-image {
        height: 180px;
    }
    
    .countdown-grid {
        gap: 0.5rem;
    }
    
    .countdown-box {
        min-width: 65px;
        padding: 0.8rem 0.4rem;
    }
    
    .cd-num {
        font-size: 1.6rem;
    }
    
    .share-box {
        flex-direction: column;
    }
    
    .share-box button {
        padding: 0.8rem;
    }
    
    .social-shares {
        flex-direction: column;
    }
}
.toutpetit {
   font-weight: 200;
}

/* ==========================================================================
   Rules Accordion
   ========================================================================== */
.rules-accordion {
    margin-top: 2rem;
}

.accordion-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-header .chevron {
    transition: transform 0.3s ease;
}

.accordion-header.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.accordion-content.expanded {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
}

.accordion-inner-content {
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.accordion-inner-content h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-head);
}

.accordion-inner-content h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
}

.accordion-inner-content p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.accordion-inner-content::-webkit-scrollbar {
    width: 6px;
}
.accordion-inner-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.accordion-inner-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
