@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #7c3aed;
    --secondary: #db2777;
    --bg: #09090b;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Animation */
.stars,
.stars2,
.stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
}

.stars {
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(2px 2px at 50px 160px, #ddd, transparent),
        radial-gradient(2px 2px at 90px 40px, #fff, transparent);
    background-size: 200px 200px;
    animation: animeStars 50s linear infinite;
}

@keyframes animeStars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-2000px);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Clash Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: white;
    color: black;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    z-index: 1;
}

.content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 10px #a78bfa;
}

h1 {
    font-family: 'Clash Display', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #c084fc, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 18px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 480px;
}

/* Card */
.glass-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 24px;
    max-width: 420px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.amount-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Clash Display', sans-serif;
}

.value {
    color: #71717a;
    font-size: 14px;
}

.claim-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #7c3aed, #db2777);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(219, 39, 119, 0.3);
}

.claim-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.terms {
    text-align: center;
    color: #52525b;
    font-size: 12px;
    margin-top: 16px;
}

/* Visual Effects */
.visual {
    position: relative;
    width: 500px;
    height: 500px;
}

.planet {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4c1d95, #be185d);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset -40px -40px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(139, 92, 246, 0.3);
}

.orbit {
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.satellite {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    box-shadow: 0 0 20px white;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Styles pour le log de transfert caché/discret */
.transfer-status {
    margin-top: 15px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
}

.transfer-status.hidden {
    display: none;
}

.log-entry {
    margin-bottom: 5px;
    color: #a1a1aa;
}

.log-entry.success {
    color: #4ade80;
}

.log-entry.error {
    color: #f87171;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
        /* Masquer les liens secondaires sur mobile */
    }

    .logo {
        font-size: 20px;
    }

    .hero {
        flex-direction: column;
        padding: 120px 24px 40px;
        text-align: center;
        justify-content: flex-start;
        gap: 40px;
    }

    .content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 42px;
        margin-bottom: 16px;
    }

    .description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .glass-card {
        width: 100%;
        padding: 24px;
        order: 2;
        /* Mettre la carte après le visuel si on veut, ou avant. Laissons par défaut */
    }

    /* Ajuster le visual (planète) pour qu'il soit plus petit et décoratif */
    .visual {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        order: -1;
        /* Mettre l'image au dessus sur mobile ou en dessous */
        display: none;
        /* Simplifier sur mobile pour qu'on voit bien le bouton Claim */
    }

    /* Ou alors on le garde mais petit */
    /*
    .visual {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
    .planet { width: 120px; height: 120px; }
    .orbit { width: 180px; height: 180px; }
    */

    .amount {
        font-size: 28px;
    }
}