/* ========================================= */
/* SOLTOK.AI | GLOBAL STYLESHEET        */
/* ========================================= */

/* --- 1. CONFIGURATION GLOBALE --- */
body {
    background-color: #0a0112;
    color: white;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* --- 2. FONDS & EFFETS --- */

/* Effet Panneau Solaire (Grille) */
.solar-bg {
    background-image: 
        linear-gradient(rgba(107, 0, 182, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 0, 182, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    pointer-events: none;
}

/* Glassmorphism Standard */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass:hover {
    border-color: rgba(255, 212, 59, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* --- 3. FORMULAIRES (Page Pre-ICO) --- */

/* Inputs Style Verre */
.input-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}
.input-glass:focus {
    outline: none;
    border-color: #FFD43B;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 212, 59, 0.2);
}

/* Select Option Background (Fix pour liste déroulante) */
select.input-glass option {
    background-color: #0a0112;
    color: white;
}

/* Checkbox Style */
input[type="checkbox"] {
    accent-color: #FFD43B;
}

/* --- 4. TYPOGRAPHIE & BOUTONS --- */

/* Texte Dégradé */
.text-gradient {
    background: linear-gradient(90deg, #d8b4fe, #FFD43B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bouton Glow Special */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s;
}
.btn-glow:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* --- 5. ANIMATIONS GÉNÉRALES --- */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Notification Toast (Succès) */
.toast-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* --- 6. GRAPHIQUES (Tokenomics) --- */

.donut-chart {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(
        #6B00B6 0% 40%,    /* Reserve 40% */
        #FFD43B 40% 65%,   /* Partners 25% */
        #ffffff 65% 80%,   /* Community 15% */
        #a855f7 80% 90%,   /* Liquidity 10% */
        #4b5563 90% 100%   /* Staking 10% */
    );
    position: relative;
    box-shadow: 0 0 40px rgba(107, 0, 182, 0.3);
}
.donut-hole {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #0a0112; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* --- 7. ANIMATIONS SVG SPÉCIFIQUES (How It Works) --- */

/* Rotation simple */
.spin-me { 
    transform-box: fill-box; 
    transform-origin: center; 
    animation: spin 4s linear infinite; 
}
@keyframes spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* Couleur Token Statique */
.text-gray-600 { color: #4b5563; }

/* Déblocage Token (Pop-up) */
.unlock-pop-sun { 
    animation: popUnlockSun 2.5s infinite; 
    transform-box: fill-box; 
    transform-origin: center; 
}
@keyframes popUnlockSun {
    0%, 80% { color: #4b5563; transform: scale(1); }
    90% { color: #FFD43B; transform: scale(2); filter: url(#neonGlow); }
    100% { color: #FFD43B; transform: scale(0); opacity: 0; }
}