:root {
    --bg-black: #050505;
    --card-glass: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.1);
    --text-pure: #ffffff;
    --text-muted: #86868b;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-pure);
    font-family: 'Inter', sans-serif;
    min-height: 200vh; /* Permet de défiler pour voir les animations */
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Étoiles statiques et élégantes */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 45px 45px;
    z-index: -1;
}

.main-wrapper {
    width: 100%;
    max-width: 900px;
    padding: 100px 24px;
    text-align: center;
}

.welcome-text {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 10px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.brand-text {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(180deg, #fff 30%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
}

/* Boutons de Navigation */
.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

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

.boton-elegante {
    padding: 18px 36px;
    background: var(--card-glass);
    border: 1px solid var(--border-light);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.boton-elegante:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,255,255,0.14);
}

/* Cartes News */
.info-card {
    background: var(--card-glass);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
    backdrop-filter: blur(15px);
}

.info-card:hover {
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-4px);
}

.info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.info-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.dream-word {
    color: var(--text-pure);
    display: inline-block;
    font-style: italic;
}

.dream-word-glitch {
    position: relative;
    color: var(--text-pure);
    animation: dream-glitch 420ms steps(2, end) 3;
}

.dream-word-glitch::before,
.dream-word-glitch::after {
    content: attr(data-word);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dream-word-glitch::before {
    color: #7dfffa;
    transform: translate(-2px, 0);
    clip-path: inset(0 0 70% 0);
}

.dream-word-glitch::after {
    color: #ff6b9d;
    transform: translate(2px, 0);
    clip-path: inset(70% 0 0 0);
}

@keyframes dream-glitch {
    0% { transform: translate(0, 0); opacity: 1; }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, 0); opacity: 0.9; }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); opacity: 1; }
}

/* Bouton Download */
.download-button {
    display: block;
    width: 100%;
    padding: 24px;
    background: linear-gradient(90deg, #222, #111);
    color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 320ms cubic-bezier(.2,.8,.2,1), background 320ms ease, color 320ms ease, border-color 320ms ease;
}

.mini {
    width: 50%;
}

.download-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .buttons-container { flex-direction: column; }
    .brand-text { font-size: 3rem; }
}
