* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('mont-ventoux-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.6) 30%, rgba(22, 33, 62, 0.5) 70%, rgba(15, 52, 96, 0.4) 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.08) 0%, transparent 50%);
}


.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.3);
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: rgba(255, 255, 255, 0.4);
    animation-duration: 10s;
}

.particle-snow {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: snowFall 8s linear infinite;
}

.particle-dust {
    background: rgba(200, 200, 200, 0.3) !important;
    border-radius: 2px;
    animation: dustFloat 12s ease-in-out infinite;
}

.particle-sparkle {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes snowFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes dustFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
}


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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0.5px);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    padding-bottom: 8vh;
    gap: 60px;
}

.title-section {
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 8px;
    margin: 0;
    text-transform: uppercase;
    animation: titleGlow 3s ease-in-out infinite alternate;
}


@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(255, 255, 255, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(255, 255, 255, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.8);
    }
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 12px;
    min-width: 100px;
    transition: all 0.4s ease;
}

.time-unit:hover {
    transform: translateY(-5px) scale(1.05);
}

.number {
    font-family: 'Cinzel', serif;
    font-size: clamp(4rem, 10vw, 6.5rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.registration-section {
    max-width: 400px;
    width: 100%;
}

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

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: all 0.4s ease;
    text-align: center;
    letter-spacing: 1px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.submit-btn {
    padding: 20px 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

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

.success-message {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.success-message h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 300;
}

.error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.error-message h4 {
    color: #ef4444;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .content {
        gap: 50px;
        padding: 0 15px 6vh 15px;
    }
    
    .title-section {
        top: 12vh;
    }
    
    .main-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
        letter-spacing: 4px;
    }
    
    .countdown {
        gap: 20px;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 12px 10px;
    }
    
    .registration-section {
        max-width: 350px;
    }
    
    .form-group input {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 18px 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .content {
        gap: 40px;
        padding: 0 15px 5vh 15px;
    }
    
    .title-section {
        top: 10vh;
    }
    
    .main-title {
        font-size: clamp(2rem, 5vw, 3rem);
        letter-spacing: 2px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px 8px;
    }
    
    .number {
        font-size: 2.5rem;
    }
    
    .label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .registration-section {
        max-width: 300px;
    }
    
    .form-group input {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 13px;
    }
}
