* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #050b14;
    color: #ffffff;
}

/* Canvas de fond particules */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Conteneur principal */
.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(0, 102, 153, 0.15) 0%, rgba(5, 11, 20, 0.85) 100%);
}

/* Cadre 3D de l'image */
.card-wrapper {
    perspective: 1000px;
    max-width: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.card {
    position: relative;
    width: 100%;
    max-height: 70vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.25), 
                0 0 30px rgba(0, 102, 153, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    background: #091322;
}

.card img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

/* Effet de brillance (Glow) au survol */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.15), transparent 40%);
    z-index: 3;
    pointer-events: none;
}

/* Compte à rebours */
.countdown-container {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    z-index: 2;
}

.time-box {
    background: rgba(9, 19, 34, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 10px 18px;
    border-radius: 10px;
    text-align: center;
    min-width: 75px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.time-box .number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.time-box .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0aec0;
    margin-top: 2px;
}

/* Bouton d'action */
.action-btn {
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #006699 0%, #00d4ff 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #0080c0 0%, #33e0ff 100%);
}

/* Responsivité */
@media (max-height: 700px) {
    .card img { max-height: 55vh; }
    .countdown-container { margin-top: 15px; }
    .action-btn { margin-top: 15px; padding: 10px 20px; }
}

@media (max-width: 600px) {
    .countdown-container { gap: 8px; }
    .time-box { min-width: 60px; padding: 8px 10px; }
    .time-box .number { font-size: 1.2rem; }
}