/* Variables CSS pour la palette de couleurs */
:root {
    --marron-principal: #8B4513;
    --marron-fonce: #5D2F0A;
    --marron-clair: #D2B48C;
    --creme: #F5F5DC;
    --or: #FFD700;
    --blanc-casse: #FAFAFA;
    --gris-chaud: #8B7D6B;
    --ombre: rgba(139, 69, 19, 0.2);
    --ombre-forte: rgba(93, 47, 10, 0.3);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--creme) 0%, #F0E68C 100%);
    color: var(--marron-fonce);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 2rem 0;
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--marron-principal);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px var(--ombre);
}

.tagline {
    font-size: 1.1rem;
    color: var(--gris-chaud);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Contenu principal */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

/* Container de l'ampoule */
.lightbulb-container {
    position: relative;
    margin-bottom: 3rem;
}

.lightbulb {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbulb:hover {
    transform: scale(1.05);
}

.bulb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px var(--ombre));
    transition: filter 0.3s ease;
}

.lightbulb.active .bulb-image {
    filter: drop-shadow(0 15px 30px var(--or)) brightness(1.2);
}

/* Effet de lueur */
.bulb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--or) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.lightbulb.active .bulb-glow {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

/* Particules */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--or);
    border-radius: 50%;
    opacity: 0;
    animation: float 3s infinite;
}

@keyframes float {
    0% { 
        opacity: 0; 
        transform: translateY(0) scale(0);
    }
    10% { 
        opacity: 1; 
        transform: translateY(-10px) scale(1);
    }
    90% { 
        opacity: 1; 
        transform: translateY(-100px) scale(1);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-120px) scale(0);
    }
}

/* Section de contenu */
.content-section {
    max-width: 600px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--marron-principal);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px var(--ombre);
}

.description {
    font-size: 1.2rem;
    color: var(--gris-chaud);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.description strong {
    color: var(--marron-principal);
    font-weight: 600;
}

/* Compteur */
.countdown-container {
    margin-bottom: 3rem;
}

.countdown-container h3 {
    font-size: 1.3rem;
    color: var(--marron-principal);
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--ombre);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.1);
    min-width: 80px;
}

.time-unit .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--marron-principal);
    margin-bottom: 0.5rem;
}

.time-unit .label {
    font-size: 0.9rem;
    color: var(--gris-chaud);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formulaire de notification */
.notification-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--ombre);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.notification-form h3 {
    font-size: 1.4rem;
    color: var(--marron-principal);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--marron-clair);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--blanc-casse);
    color: var(--marron-fonce);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--marron-principal);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.btn-submit {
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--marron-principal), var(--marron-fonce));
    color: var(--blanc-casse);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--ombre-forte);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover .btn-glow {
    left: 100%;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gris-chaud);
    text-align: center;
}

.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--marron-principal);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--ombre);
}

.social-link:hover {
    background: var(--marron-principal);
    color: var(--blanc-casse);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--ombre-forte);
}

.copyright {
    font-size: 0.9rem;
    color: var(--gris-chaud);
}

.copyright a {
    color: var(--marron-principal);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .lightbulb {
        width: 150px;
        height: 150px;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-unit {
        padding: 1rem 0.8rem;
        min-width: 70px;
    }
    
    .time-unit .number {
        font-size: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .notification-form {
        padding: 2rem 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .countdown {
        gap: 0.8rem;
    }
    
    .time-unit {
        padding: 0.8rem 0.6rem;
        min-width: 60px;
    }
    
    .time-unit .number {
        font-size: 1.3rem;
    }
    
    .time-unit .label {
        font-size: 0.8rem;
    }
}

