.token-hero {
    min-height: 100vh;
    padding: 6rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, 
        rgba(26, 16, 37, 0.95) 0%,
        rgba(90, 24, 154, 0.95) 100%
    );
    overflow: hidden;
}

.token-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/grid.png') center/cover;
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.floating-token {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s infinite;
}

.token-1 { top: 20%; left: 10%; animation-delay: 0s; }
.token-2 { top: 60%; right: 15%; animation-delay: -2s; }
.token-3 { top: 30%; right: 25%; animation-delay: -4s; }

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(157, 78, 221, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 78, 221, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    animation: gridMove 20s linear infinite;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(157, 78, 221, 0.2) 0%,
        transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.mini-logo {
    height: 24px;
    filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.5));
}

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.stat-bubble {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.token-card {
    background: rgba(26, 16, 37, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 78, 221, 0.25);
    border-radius: 24px;
    padding: 4rem 1.5rem 1.5rem !important; /* Augmenter l'espace en haut pour le badge */
    transition: all 0.3s ease;
    position: relative !important;
    overflow: visible !important; /* Pour que le badge puisse déborder */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
    width: 100%;
    transform: translateY(10px);
    opacity: 0;
    animation: cardAppear 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    padding-bottom: 1.5rem !important; /* Espace pour le bouton */
}

@keyframes cardAppear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.token-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        rgba(157, 78, 221, 0.1),
        rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 10px 30px rgba(157, 78, 221, 0.2),
        0 0 15px rgba(255, 0, 255, 0.1);
    border-color: rgba(157, 78, 221, 0.4);
}

.token-card:hover::before {
    opacity: 1;
}

.token-card:hover .token-image-placeholder {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    border-color: rgba(255, 0, 255, 0.5);
}

.token-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1 !important;
    border-radius: 24px;
    background: linear-gradient(45deg, rgba(157, 78, 221, 0.5), rgba(255, 0, 255, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-card:hover::after {
    opacity: 0.05;
}

.token-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 0 !important; /* Enlever le padding-top car déjà géré dans .token-card */
    margin-top: 0 !important;
    width: 100% !important;
    position: relative;
}

.token-header img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;  /* Empêcher le rétrécissement */
}

.token-header h3 {
    font-size: 1.4rem;
    margin: 0.2rem 0;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
    width: 100%;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.stat {
    background: rgba(157, 78, 221, 0.07);
    border: 1px solid rgba(157, 78, 221, 0.15);
    border-radius: 14px;
    padding: 0.8rem 0.6rem;
    text-align: center;
    transition: all 0.25s ease;
}

.stat:hover {
    background: rgba(157, 78, 221, 0.12);
    transform: translateY(-2px);
}

.stat .label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
}

.stat .value {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff00ff, #9d4edd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.3rem;
    padding: 0.1rem 0;
    position: relative;
}

.stat .value::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: -2px;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover .value::after {
    opacity: 1;
}

.value.positive {
    color: #4caf50;
}

.value.negative {
    color: #f44336;
}

/* Amélioration responsive du bouton token-btn */
.token-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #9d4edd, #ff00ff);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin-top: auto;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-image: linear-gradient(45deg, #9d4edd, #ff00ff);
    background-size: 200% auto;
    background-position: left center;
}

.token-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-btn::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.3rem;
}

.token-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
    background-position: right center;
    transform: translateY(-3px);
}

.token-btn:hover::before {
    opacity: 1;
    animation: ripple 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.token-btn:hover::after {
    transform: translateX(4px);
}

@keyframes ripple {
    from { transform: scale(0.2); opacity: 0.6; }
    to { transform: scale(1); opacity: 0; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.token-image-placeholder {
    font-size: 2.4rem;
    width: 70px;
    height: 70px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
    animation: float 5s ease-in-out infinite, glow 3s ease-in-out infinite alternate !important;
    flex-shrink: 0;
    overflow: hidden;  /* S'assurer que le contenu ne déborde pas */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.token-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 0, 255, 0.1),
        rgba(157, 78, 221, 0.1),
        rgba(255, 0, 255, 0.3),
        rgba(157, 78, 221, 0.1)
    );
    background-size: 400% 400%;
    animation: gradientMove 6s ease infinite;
    opacity: 0.5;
    z-index: 0;
}

.token-image-placeholder > * {
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.community-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    background: rgba(138, 111, 176, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.join-community {
    text-align: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(circle at 0% 0%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    margin-top: 4rem;
}

.join-community h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@keyframes float {
     0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(157, 78, 221, 0.5);
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.time-block {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 100px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.time-block:hover {
    transform: translateY(-5px);
}

.time {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff00ff, #9d4edd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launched {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.launch-badge {
    position: absolute !important;
    top: 1.2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(45deg, #ff00ff, #9d4edd) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 30px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: white !important;
    box-shadow: 
        0 4px 15px rgba(157, 78, 221, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
    z-index: 20 !important;
    animation: badgePulse 2s infinite !important;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(157, 78, 221, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.15),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(157, 78, 221, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.2),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
        transform: translateX(-50%) scale(1.05);
    }
}

.token-card:hover .launch-badge {
    transform: translateX(-50%) scale(1.05) !important;
    animation: none !important; /* Désactiver l'animation au hover */
    box-shadow: 
        0 6px 25px rgba(157, 78, 221, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

.token-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 0 !important; /* Enlever le padding-top car déjà géré dans .token-card */
    margin-top: 0 !important;
    width: 100% !important;
    position: relative;
}

.token-header img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;  /* Empêcher le rétrécissement */
}

.token-header h3 {
    font-size: 1.4rem;
    margin: 0.2rem 0;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
    width: 100%;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.stat {
    background: rgba(157, 78, 221, 0.07);
    border: 1px solid rgba(157, 78, 221, 0.15);
    border-radius: 14px;
    padding: 0.8rem 0.6rem;
    text-align: center;
    transition: all 0.25s ease;
}

.stat:hover {
    background: rgba(157, 78, 221, 0.12);
    transform: translateY(-2px);
}

.stat .label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
}

.stat .value {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff00ff, #9d4edd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.3rem;
    padding: 0.1rem 0;
    position: relative;
}

.stat .value::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: -2px;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover .value::after {
    opacity: 1;
}

.value.positive {
    color: #4caf50;
}

.value.negative {
    color: #f44336;
}

/* Amélioration responsive du bouton token-btn */
.token-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #9d4edd, #ff00ff);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin-top: auto;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-image: linear-gradient(45deg, #9d4edd, #ff00ff);
    background-size: 200% auto;
    background-position: left center;
}

.token-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.token-btn::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.3rem;
}

.token-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
    background-position: right center;
    transform: translateY(-3px);
}

.token-btn:hover::before {
    opacity: 1;
    animation: ripple 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.token-btn:hover::after {
    transform: translateX(4px);
}

@keyframes ripple {
    from { transform: scale(0.2); opacity: 0.6; }
    to { transform: scale(1); opacity: 0; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.token-image-placeholder {
    font-size: 2.4rem;
    width: 70px;
    height: 70px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
    animation: float 5s ease-in-out infinite, glow 3s ease-in-out infinite alternate !important;
    flex-shrink: 0;
    overflow: hidden;  /* S'assurer que le contenu ne déborde pas */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.token-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 0, 255, 0.1),
        rgba(157, 78, 221, 0.1),
        rgba(255, 0, 255, 0.3),
        rgba(157, 78, 221, 0.1)
    );
    background-size: 400% 400%;
    animation: gradientMove 6s ease infinite;
    opacity: 0.5;
    z-index: 0;
}

.token-image-placeholder > * {
    position: relative;
    z-index: 1;
}

.status-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.community-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    background: rgba(138, 111, 176, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.join-community {
    text-align: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(circle at 0% 0%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    margin-top: 4rem;
}

.join-community h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@keyframes float {
     0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(157, 78, 221, 0.5);
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.time-block {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 100px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.time-block:hover {
    transform: translateY(-5px);
}

.time {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff00ff, #9d4edd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launched {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.launch-badge {
    position: absolute !important;
    top: 1.2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(45deg, #ff00ff, #9d4edd) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 30px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: white !important;
    box-shadow: 
        0 4px 15px rgba(157, 78, 221, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
    z-index: 20 !important;
    animation: badgePulse 2s infinite !important;
}

.launch-badge::before,
.launch-badge::after,
.launch-badge {
  content: "Launching April 25" !important;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(157, 78, 221, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.15),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(157, 78, 221, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.2),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
        transform: translateX(-50%) scale(1.05);
    }
}

.token-card:hover .launch-badge {
    transform: translateX(-50%) scale(1.05) !important;
    animation: none !important; /* Désactiver l'animation au hover */
    box-shadow: 
        0 6px 25px rgba(157, 78, 221, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

/* Structure améliorée de la carte de token */
.token-card {
    position: relative !important;
    padding: 4rem 1.5rem 1.5rem !important; /* Augmenter l'espace en haut pour le badge */
    border-radius: 24px !important;
    overflow: visible !important; /* Pour que le badge puisse déborder */
}

/* Assurer que le badge reste visible quand la carte est survolée */
.token-card::after {
    z-index: 1 !important;
}

/* Correction du header de token */
.token-header {
    padding-top: 0 !important; /* Enlever le padding-top car déjà géré dans .token-card */
    margin-top: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* Ajustement responsive spécifique */
@media (max-width: 768px) {
    .token-card {
        padding-top: 4rem !important; /* Ajuster selon la taille du badge */
    }
    
    .launch-badge {
        width: auto !important;
        max-width: 90% !important;
        top: 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .token-btn {
        width: 100% !important;
        padding: 0.8rem !important;
    }
    
    /* Empêcher le double hover transform problème */
    .token-card:hover {
        transform: translateY(-5px) !important; 
    }
}

/* Corrections spéciales pour très petits écrans */
@media (max-width: 375px) {
    .token-card {
        padding: 3.8rem 1rem 1.2rem !important;
    }
    
    .launch-badge {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.75rem !important;
        top: 0.8rem !important;
    }
    
    .token-btn::after {
        display: none !important; /* Supprimer la flèche sur les très petits écrans */
    }
}

/* Corrections des doubles transformations pour éviter le bug quand on hover sur les éléments intérieurs */
.stat:hover,
.token-btn:hover,
.token-header:hover,
.token-image-placeholder:hover {
    transform: none !important; /* Empêcher les transformations intérieures qui causent des bugs */
}

.token-btn:hover {
    transform: translateY(-3px) !important; /* La seule transformation autorisée est celle du bouton */
}

.token-card:hover .token-image-placeholder {
    transform: none !important;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.3) !important;
}

/* Élimination des duplications de propriétés */
.token-card, 
.token-btn, 
.token-stats,
.token-header,
.token-image-placeholder {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important; /* Une seule transition cohérente */
}

/* Correction des animations spécifiques */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Animation graphique pour le token-image-placeholder */
.token-image-placeholder {
    animation: float 5s ease-in-out infinite, glow 3s ease-in-out infinite alternate !important;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(157, 78, 221, 0.2); }
    to { box-shadow: 0 0 20px rgba(157, 78, 221, 0.5); }
}

/* Optimisation des performances d'animation */
.token-card,
.launch-badge,
.token-btn,
.token-image-placeholder {
    will-change: transform, box-shadow !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
}

/* === CORRECTION FINALE RESPONSIVE TOKEN === */

/* Amélioration du badge pour qu'il soit entièrement visible en responsive */
.launch-badge {
    width: auto !important;
    max-width: 80% !important; /* Réduit à 80% pour s'assurer qu'il soit entièrement visible */
    padding: 0.6rem 1rem !important; /* Padding horizontal réduit */
    overflow: visible !important; /* Assure que le contenu est visible */
    white-space: nowrap !important;
    font-size: 0.8rem !important; /* Taille de police légèrement réduite */
    transform: translateX(-50%) !important; /* Maintient le centrage */
    top: 0.8rem !important; /* Positionné légèrement plus haut */
    z-index: 100 !important; /* Z-index très élevé pour s'assurer qu'il soit au-dessus */
    animation: badgePulse 2s infinite !important; /* Maintien de l'animation */
}

/* Centrage parfait du token CCM en responsive */
.token-image-placeholder {
    margin: 0 auto !important; /* Centrage horizontal */
    transform: none !important; /* Suppression des transformations qui peuvent affecter le centrage */
}

/* Structure de carte optimisée pour le responsive */
.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem;
    padding: 1rem !important;
    width: 100% !important;
}

.token-card {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 3.5rem !important; /* Plus d'espace pour le badge */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Correction du débordement des cartes en responsive */
@media (max-width: 768px) {
    .tokens-grid {
        grid-template-columns: 1fr !important; /* Une seule colonne sur mobile */
        padding: 1rem !important;
    }
    
    .token-card {
        width: 100% !important;
        padding: 3.5rem 1rem 1rem 1rem !important; /* Espacement ajusté */
        margin: 0 auto !important;
    }
    
    /* Assurer que l'image est bien centrée */
    .token-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .token-image-placeholder {
        margin: 0 auto 1rem auto !important;
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Badge optimisé pour mobile */
    .launch-badge {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.8rem !important;
        top: 0.7rem !important;
        max-width: 85% !important;
    }
    
    /* Empêcher toute transformation qui pourrait décaler les éléments */
    .token-card:hover .token-image-placeholder,
    .token-image-placeholder:hover,
    .token-header:hover {
        transform: none !important;
    }
}

/* Très petits écrans (iPhone SE, etc.) */
@media (max-width: 375px) {
    .token-card {
        padding: 3rem 0.8rem 1rem 0.8rem !important; 
    }
    
    .token-image-placeholder {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.8rem !important;
    }
    
    .launch-badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.7rem !important;
        max-width: 90% !important;
        top: 0.6rem !important;
    }
    
    .token-header h3 {
        font-size: 1.1rem !important;
    }
}

/* Forcer le centrage horizontal de tous les éléments clés */
.token-header,
.token-image-placeholder,
.token-header h3,
.token-stats,
.token-btn {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Correction de l'animation du badge pour mobile */
@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 
            0 4px 10px rgba(157, 78, 221, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 5px 15px rgba(157, 78, 221, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.2);
        transform: translateX(-50%) scale(1.05);
    }
}

/* Correction spécifique pour le token CCM placeholder */
.token-card:nth-child(1) .token-image-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Correction pour s'assurer que tous les éléments sont centrés */
.tokens-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Amélioration du contraste du texte pour une meilleure lisibilité */
.launch-badge {
    color: white !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Correction des problèmes de z-index et de superposition */
.token-image-placeholder {
    z-index: 10 !important;
    position: relative !important;
}

.launch-badge {
    z-index: 20 !important;
}

/* CORRECTION DU BOUTON "SEE TOKEN INFO" NON CLIQUABLE */

/* 1. Assurer que le bouton est au-dessus des autres éléments */
.token-btn {
  position: relative !important;
  z-index: 30 !important; /* Z-index plus élevé que les autres éléments */
  cursor: pointer !important;
  pointer-events: auto !important; /* Force l'acceptation des événements de pointeur */
  margin-top: 1rem !important;
  isolation: isolate !important; /* Crée un nouveau contexte d'empilement */
}

/* 2. S'assurer qu'aucun élément ne recouvre le bouton */
.token-card {
  position: relative !important;
  overflow: visible !important; /* Pour que le bouton ne soit pas coupé */
}

/* 3. Clarifier l'apparence et l'interaction du bouton */
.token-btn.info {
  background: linear-gradient(45deg, #9d4edd, #ff00ff) !important;
  border: none !important;
  border-radius: 12px !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  padding: 0.9rem 1.2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(157, 78, 221, 0.3) !important;
  text-align: center !important;
}

/* 4. Effet hover plus visible pour indiquer que c'est cliquable */
.token-btn.info:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 15px rgba(157, 78, 221, 0.4) !important;
  background: linear-gradient(45deg, #ff00ff, #9d4edd) !important; /* Gradient inversé au survol */
}

/* 5. Effet actif pour montrer le feedback lors du clic */
.token-btn.info:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(157, 78, 221, 0.3) !important;
}

/* 6. Correction des obstacles potentiels */
.token-features {
  position: relative !important;
  z-index: 5 !important; /* Z-index inférieur au bouton */
  pointer-events: none !important; /* Empêcher les événements de souris sur cette div */
}

.token-features .feature {
  pointer-events: auto !important; /* Mais permettre les événements sur les features elles-mêmes */
}

/* 7. Assurer qu'il n'y a pas de problème de débordement */
.token-details {
  position: relative !important;
  overflow: visible !important;
}

/* 8. État focus pour l'accessibilité */
.token-btn.info:focus {
  outline: 2px solid rgba(255, 0, 255, 0.6) !important;
  outline-offset: 2px !important;
}

/* 9. Amélioration mobile */
@media (max-width: 768px) {
  .token-btn.info {
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
  }
}

/* CORRECTION URGENTE: Bouton "See Token Info" invisible */
.token-btn.info {
  display: flex !important; /* Force l'affichage */
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(45deg, #9d4edd, #ff00ff) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.9rem 1.2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  margin-top: 1.5rem !important;
  width: 100% !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 50 !important; /* Z-index très élevé */
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3) !important;
  opacity: 1 !important; /* Force l'opacité */
  pointer-events: auto !important; /* Assure que les événements de souris fonctionnent */
  visibility: visible !important; /* Force la visibilité */
}

/* S'assurer que le conteneur ne cache pas le bouton */
.token-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: 1.5rem !important; /* Espace pour le bouton */
  overflow: visible !important; /* Évite que le contenu soit coupé */
}

/* Effets au survol */
.token-btn.info:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4) !important;
}