/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimisations de performance */
img {
    max-width: 100%;
    height: auto;
}

/* Préchargement des polices pour de meilleures performances */
@font-face {
    font-family: 'Balabeloo';
    font-display: swap;
}

/* Style du body avec l'image de background */
body {
    background-image: url('newback.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* Navbar principale */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* Container de la navigation */
.nav-container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Menu de navigation */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

/* Items de navigation */
.nav-item {
    margin: 0;
}

/* Liens de navigation */
.nav-link {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* État hover des liens */
.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Lien actif */
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Container principal pour le contenu futur */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px;
    text-align: center;
}

/* Style de base pour le titre */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Style de base pour le paragraphe */
p {
    font-size: 1.2rem;
    color: #666;
}

/* Contenu principal */
.main-content {
    padding-top: 120px;
    min-height: 100vh;
}

/* Texte de marque */
.brand-text {
    text-align: center;
    margin-bottom: 40px;
}

/* Texte courbé SOLANA */
.curved-text {
    font-size: 100px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

/* Lettres individuelles pour l'effet de courbure */
.letter {
    display: inline-block;
    transform-origin: center bottom;
    margin: 0 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.letter[data-letter="1"] { transform: rotate(-15deg); }
.letter[data-letter="2"] { transform: rotate(-9deg); }
.letter[data-letter="3"] { transform: rotate(-3deg); }
.letter[data-letter="4"] { transform: rotate(3deg); }
.letter[data-letter="5"] { transform: rotate(9deg); }
.letter[data-letter="6"] { transform: rotate(15deg); }

/* Effets hover pour chaque lettre */
.letter[data-letter="1"]:hover { 
    transform: rotate(-15deg) translateY(-15px) scale(1.3); 
}
.letter[data-letter="2"]:hover { 
    transform: rotate(-9deg) translateY(-15px) scale(1.3); 
}
.letter[data-letter="3"]:hover { 
    transform: rotate(-3deg) translateY(-15px) scale(1.3); 
}
.letter[data-letter="4"]:hover { 
    transform: rotate(3deg) translateY(-15px) scale(1.3); 
}
.letter[data-letter="5"]:hover { 
    transform: rotate(9deg) translateY(-15px) scale(1.3); 
}
.letter[data-letter="6"]:hover { 
    transform: rotate(15deg) translateY(-15px) scale(1.3); 
}

/* Texte droit Dreamers */
.straight-text {
    font-size: 100px;
    font-weight: 800;
    color: #4a90e2;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Image de background */
.background-image {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.background-image img {
    max-width: 120%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

/* Boutons d'action */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.btn-buy, .btn-chart {
    padding: 20px 45px;
    font-size: 22px;
    font-weight: 800;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 8px 8px 0px #000000, 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-buy {
    background: linear-gradient(135deg, #8B1538, #A91E4A, #C72757);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #C72757, #E63964, #FF4571);
    transform: translateY(-2px) translateX(-2px) scale(1.05);
    box-shadow: 10px 10px 0px #000000, 0 12px 35px rgba(139, 21, 56, 0.4);
}

.btn-chart {
    background: linear-gradient(135deg, #ffffff, #f8f9fa, #e9ecef);
    color: #1a1a1a;
    border: 3px solid #333;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-chart:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6, #ced4da);
    transform: translateY(-2px) translateX(-2px) scale(1.05);
    box-shadow: 10px 10px 0px #000000, 0 12px 35px rgba(0, 0, 0, 0.2);
    color: #000;
}

/* Conteneur social */
.social-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    margin-top: 150px;
}

.social-buttons {
    background: #644e4e;
    border: 3px solid #000000;
    border-radius: 8px;
    padding: 50px 20px 15px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 10px;
    width: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 35px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: absolute;
    overflow: hidden;
    border: 4px solid #000000;
    top: -40px;
}

.social-btn:nth-child(1) { left: 50px; }
.social-btn:nth-child(2) { left: 160px; }
.social-btn:nth-child(3) { left: 270px; }

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #0099dd);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.social-btn.dex {
    background: rgb(83, 188, 236);
    color: white;
    box-shadow: 0 4px 15px rgba(83, 188, 236, 0.3);
}

.social-btn.extra {
    background: linear-gradient(135deg, #00d4aa, #00e6bb);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.social-btn.telegram:hover {
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

.social-btn.twitter:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.social-btn.dex:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-btn.extra:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.5);
}

/* Section About */
#about {
    text-align: center;
    position: relative;
}

.car-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.car-image::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 12px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 80%);
    border-radius: 50%;
    z-index: -1;
}

.about-container {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    border-radius: 20px;
    padding: 35px 40px 65px 40px;
    margin: 40px auto 80px auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #000000;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-container:hover {
    border: 4px solid #000000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.about-title {
    font-family: 'Balabeloo', cursive;
    font-size: 48px;
    font-weight: 2000;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 3px;
    white-space: nowrap;
}

.about-text {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.about-buy-btn {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
    border: 4px solid #000000;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.about-buy-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ffb347);
    transform: translateX(-50%) translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Section How to Buy */
#how-to-buy {
    text-align: center;
    padding-top: 120px;
}

.how-to-buy-image {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
}

.how-to-buy-image img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.step-card {
    background: #e8e8e8;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    background: #8B4513;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #000000;
    transition: all 0.4s ease;
    cursor: pointer;
}

.step-number:hover {
    background: #A0522D;
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
}

.step-card:hover .step-number {
    background: #CD853F;
    transform: translateX(-50%) scale(1.15);
}

.step-title {
    font-size: 24px;
    font-weight: 900;
    color: #000000;
    margin: 40px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-description {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    margin: 0;
}

/* Contract Address Button */
.contract-container {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
}

.contract-button {
    background: #8B1538;
    color: white;
    border: 4px solid #000000;
    border-radius: 15px;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease, background-color 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contract-button:hover {
    background: #A91E4A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contract-text {
    font-weight: 900;
}

.copy-icon {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.copy-icon svg {
    width: 20px;
    height: 20px;
}

.contract-button:hover .copy-icon {
    transform: scale(1.1);
}

/* Mascotte fantôme flottante */
.floating-mascot {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-in-out;
}

.floating-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.floating-mascot.rise-from-bottom {
    animation: riseFromBottom 12s linear;
}

.floating-mascot.rise-from-left {
    animation: riseFromLeft 12s linear;
}

.floating-mascot.rise-from-right {
    animation: riseFromRight 12s linear;
}

@keyframes riseFromBottom {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.9);
    }
    15% {
        opacity: 0.9;
        transform: translateY(-150px) scale(1);
    }
    85% {
        opacity: 0.2;
        transform: translateY(-750px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translateY(-900px) scale(0.85);
    }
}

@keyframes riseFromLeft {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.9);
    }
    15% {
        opacity: 0.9;
        transform: translate(150px, -100px) scale(1);
    }
    85% {
        opacity: 0.2;
        transform: translate(600px, -600px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(750px, -750px) scale(0.85);
    }
}

@keyframes riseFromRight {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.9);
    }
    15% {
        opacity: 0.9;
        transform: translate(-150px, -100px) scale(1);
    }
    85% {
        opacity: 0.2;
        transform: translate(-600px, -600px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(-750px, -750px) scale(0.85);
    }
}

/* Nuages défilants dans la section How to Buy */
#how-to-buy {
    position: relative;
    overflow: hidden;
    min-height: 150vh;
    padding-bottom: 400px;
}

/* Nuages en arrière-plan derrière les cartes */
.background-clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.background-cloud {
    position: absolute;
    opacity: 0.7;
}

.background-cloud img {
    height: auto;
    display: block;
}

/* Nuage 4 - Moyen et défilement diagonal */
.background-cloud-4, .background-cloud-4-bis {
    animation: backgroundCloudMove4 45s linear infinite;
}

.background-cloud-4 img, .background-cloud-4-bis img {
    width: 300px;
}

.background-cloud-4 {
    top: 650px;
    animation-delay: 0s;
}

.background-cloud-4-bis {
    top: 620px;
    animation-delay: -22s;
}

/* Nuage 5 - Plus grand et défilement lent */
.background-cloud-5, .background-cloud-5-bis {
    animation: backgroundCloudMove5 60s linear infinite;
}

.background-cloud-5 img, .background-cloud-5-bis img {
    width: 400px;
}

.background-cloud-5 {
    top: 720px;
    animation-delay: -15s;
}

.background-cloud-5-bis {
    top: 680px;
    animation-delay: -45s;
}

/* Animations de défilement pour les nuages d'arrière-plan */
@keyframes backgroundCloudMove4 {
    0% {
        transform: translateX(calc(100vw + 300px));
    }
    100% {
        transform: translateX(-300px);
    }
}

@keyframes backgroundCloudMove5 {
    0% {
        transform: translateX(calc(100vw + 400px));
    }
    100% {
        transform: translateX(-400px);
    }
}

/* Image lesdeux.svg en bas et au milieu */
.bottom-image {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.bottom-image img {
    width: 300px;
    height: auto;
    opacity: 0.9;
    animation: sparkle 4s ease-in-out infinite;
    transform-origin: center;
}

/* Animation de scintillement avec mouvement vertical */
@keyframes sparkle {
    0% {
        opacity: 0.3;
        transform: translateY(0px);
    }
    25% {
        opacity: 1;
        transform: translateY(-15px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-20px);
    }
    75% {
        opacity: 1;
        transform: translateY(-10px);
    }
    100% {
        opacity: 0.3;
        transform: translateY(0px);
    }
}

.clouds-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.cloud {
    position: absolute;
    opacity: 0.8;
}

.cloud img {
    height: auto;
    display: block;
}

/* Nuage 1 - Moyen et rapide */
.cloud-1, .cloud-1-bis {
    animation: cloudMove1 30s linear infinite;
}

.cloud-1 img, .cloud-1-bis img {
    width: 200px;
}

.cloud-1 {
    bottom: 20px;
    animation-delay: 0s;
}

.cloud-1-bis {
    bottom: 120px;
    animation-delay: -15s;
}

/* Nuage 2 - Grand et vitesse moyenne */
.cloud-2, .cloud-2-bis {
    animation: cloudMove2 40s linear infinite;
}

.cloud-2 img, .cloud-2-bis img {
    width: 280px;
}

.cloud-2 {
    bottom: 10px;
    animation-delay: -10s;
}

.cloud-2-bis {
    bottom: 180px;
    animation-delay: -30s;
}

/* Nuage 3 - Très grand et lent */
.cloud-3, .cloud-3-bis {
    animation: cloudMove3 50s linear infinite;
}

.cloud-3 img, .cloud-3-bis img {
    width: 350px;
}

.cloud-3 {
    bottom: 60px;
    animation-delay: -20s;
}

.cloud-3-bis {
    bottom: 5px;
    animation-delay: -35s;
}

/* Animations de défilement */
@keyframes cloudMove1 {
    0% {
        transform: translateX(calc(100vw + 200px));
    }
    100% {
        transform: translateX(-200px);
    }
}

@keyframes cloudMove2 {
    0% {
        transform: translateX(calc(100vw + 280px));
    }
    100% {
        transform: translateX(-280px);
    }
}

@keyframes cloudMove3 {
    0% {
        transform: translateX(calc(100vw + 350px));
    }
    100% {
        transform: translateX(-350px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        margin: 0 15px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .curved-text {
        font-size: 32px;
        letter-spacing: 3px;
    }
    
    .straight-text {
        font-size: 28px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn-buy, .btn-chart {
        width: 250px;
        padding: 18px 35px;
        font-size: 20px;
    }
    
    .social-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .social-buttons {
        padding: 12px;
        gap: 12px;
    }
    
    .about-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .about-container {
        margin: 30px 20px;
        padding: 25px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 60px;
        margin: 30px auto;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .step-title {
        font-size: 20px;
        margin: 35px 0 12px 0;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    /* Nuages adaptés pour mobile */
    .clouds-container {
        height: 250px;
    }
    
    .cloud-1 img, .cloud-1-bis img {
        width: 150px;
    }
    
    .cloud-2 img, .cloud-2-bis img {
        width: 200px;
    }
    
    .cloud-3 img, .cloud-3-bis img {
        width: 250px;
    }
    
    /* Nuages d'arrière-plan adaptés pour mobile */
    .background-cloud-4 img, .background-cloud-4-bis img {
        width: 220px;
    }
    
    .background-cloud-5 img, .background-cloud-5-bis img {
        width: 300px;
    }
}

/* Section Tokenomics */
#tokenomics {
    padding: 80px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tokenomics-logo {
    margin-bottom: 40px;
}

.tokenomics-logo img {
    width: 300px;
    height: 300px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.tokenomics-logo img:hover {
    transform: scale(1.05);
}

.tokenomics-title {
    font-family: 'Balabeloo', cursive;
    font-size: 4rem;
    color: white;
    font-weight: 2000;
    margin: 30px 0 70px 0;
    letter-spacing: 3px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.tokenomics-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    max-width: 1100px;
    width: 100%;
}

.tokenomics-card {
    border-radius: 25px;
    padding: 55px 25px;
    text-align: center;
    border: 4px solid #000000;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.tokenomics-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    border-color: #333333;
}

.tokenomics-card.brown {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    color: white;
}

.tokenomics-card.brown:hover {
    background: linear-gradient(135deg, #9B5523 0%, #B0623D 50%, #DD954F 100%);
}

.tokenomics-card.light {
    background: linear-gradient(135deg, #F5F5DC 0%, #FFFACD 50%, #FFEFD5 100%);
    color: #333;
}

.tokenomics-card.light:hover {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFDD 50%, #FFF8DC 100%);
}

.card-icon {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.card-icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.tokenomics-card:hover .card-icon {
    transform: translateY(-3px);
}

.tokenomics-card:hover .card-icon img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.card-label {
    font-family: 'Balabeloo', cursive;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.card-value {
    font-family: 'Balabeloo', cursive;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tokenomics-card:hover .card-label,
.tokenomics-card:hover .card-value {
    transform: translateY(-2px);
}

/* Responsive pour les cartes tokenomics */
@media (max-width: 768px) {
    .tokenomics-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 90%;
    }
    
    .tokenomics-title {
        font-size: 3rem;
        margin: 20px 0 50px 0;
    }
    
    .tokenomics-card {
        padding: 40px 15px;
    }
    
    .card-icon {
        margin-bottom: 20px;
    }
    
    .card-icon img {
        width: 120px;
        height: 120px;
    }
    
    .card-label {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .card-value {
        font-size: 1.8rem;
    }
}

/* Section Memes */
#memes {
    padding: 80px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.memes-title {
    font-family: 'Balabeloo', cursive;
    font-size: 4rem;
    color: white;
    font-weight: 2000;
    margin: 0 0 80px 0;
    letter-spacing: 3px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.memes-container {
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.memes-row {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    width: max-content;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.memes-row-right {
    animation: scrollRight 40s linear infinite;
}

.memes-row-left {
    animation: scrollLeft 40s linear infinite;
}

.memes-row:hover {
    animation-play-state: paused;
}

.meme-item {
    flex-shrink: 0;
    width: 320px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: #f0f0f0;
    position: relative;
}

.meme-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    will-change: transform;
}

/* Animations de défilement continu */
@keyframes scrollRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Responsive pour les memes */
@media (max-width: 768px) {
    .memes-title {
        font-size: 3rem;
        margin: 0 0 60px 0;
    }
    
    .memes-container {
        gap: 40px;
    }
    
    .memes-row {
        gap: 20px;
    }
    
    .meme-item {
        width: 250px;
        height: 160px;
        border-radius: 15px;
    }
    
    .memes-row-right,
    .memes-row-left {
        animation-duration: 30s;
    }
    
    #memes {
        padding: 60px 15px;
    }
}

/* Bouton Join us */
.join-us-container {
    text-align: center;
    margin: 80px auto 0 auto;
    padding: 20px;
}

.join-us-button {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #0f0f1e 100%);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 8px 25px;
    font-family: 'Balabeloo', cursive;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.join-us-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.mascot-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mascot-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Responsive pour le bouton Join us */
@media (max-width: 768px) {
    .join-us-container {
        margin: 60px auto 0 auto;
        padding: 15px;
    }
    
    .join-us-button {
        padding: 6px 20px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .mascot-circle {
        width: 24px;
        height: 24px;
    }
}

/* Copyright */
.copyright {
    text-align: left;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive pour le copyright */
@media (max-width: 768px) {
    .copyright {
        font-size: 0.7rem;
        padding: 15px;
        margin-top: 20px;
    }
}

/* Page Meme Generator */
.meme-generator-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.meme-generator-title {
    font-family: 'Balabeloo', cursive;
    font-size: 4rem;
    color: white;
    font-weight: 2000;
    margin: 0 0 20px 0;
    letter-spacing: 3px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.meme-generator-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 60px 0;
    font-weight: 600;
}

.generator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    text-align: left;
}

/* Panneau des stickers à gauche */
.stickers-panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    height: fit-content;
    min-height: 380px;
}

.panel-title {
    font-family: 'Balabeloo', cursive;
    font-size: 1.8rem;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.stickers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.sticker-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.sticker-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticker-item:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.15);
}

.sticker-item img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.sigma-logo {
    font-family: 'Balabeloo', cursive;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
}

.sigma-logo.white { color: #ffffff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }
.sigma-logo.yellow { color: #ffff00; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }

/* Section texte */
.text-section {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.section-title {
    font-family: 'Balabeloo', cursive;
    font-size: 1.4rem;
    color: white;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(5px);
}

.text-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.text-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.color-control,
.font-size-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    color: white;
    font-size: 13px;
}

.color-control label,
.font-size-control label {
    font-weight: 600;
    opacity: 0.9;
}

.color-picker {
    width: 40px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
}

.size-slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.size-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#fontSizeValue {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
}

.add-text-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #0f0f1e 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: 'Balabeloo', cursive;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-text-btn:hover {
    background: linear-gradient(135deg, #252540 0%, #3d3d54 50%, #1a1a2e 100%);
    transform: translateY(-1px);
}

/* Transform Controls */
.transform-controls {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.transform-controls .section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.transform-group {
    margin-bottom: 12px;
}

.transform-group label {
    display: block;
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.transform-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.transform-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #00d4aa;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.transform-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00d4aa;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reset-transform-btn {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-transform-btn:hover {
    background: linear-gradient(135deg, #A0522D, #B8860B);
    transform: translateY(-1px);
}

/* Instructions */
.instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instructions p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 1);
    font-size: 13px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.instructions ul {
    margin: 0;
    padding-left: 20px;
}

.instructions li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-bottom: 4px;
    list-style-type: disc;
}

/* Panneau canvas à droite */
.canvas-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upload-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Container Canvas */
.canvas-container {
    position: relative;
    width: fit-content;
    min-width: 100%;
    min-height: 350px;
    background: rgba(35, 35, 35, 0.8);
    border-radius: 15px;
    overflow: hidden;
}

#memeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    cursor: move;
    border-radius: 15px;
}

.upload-area {
    border: 3px dashed rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 350px;
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(45, 45, 45, 0.8);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.upload-icon {
    margin-bottom: 15px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
}

.upload-icon svg {
    width: 60px;
    height: 60px;
}

.upload-content p {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    opacity: 0.9;
}

.upload-content small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}



/* Responsive pour le générateur de memes */
@media (max-width: 1200px) {
    .generator-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .generator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stickers-panel {
        order: 2;
        min-height: auto;
    }
    
    .canvas-panel {
        order: 1;
    }
    
    .upload-section {
        min-height: 400px;
    }
    
    .upload-area {
        min-height: 300px;
    }
    
    .stickers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .meme-generator-title {
        font-size: 3rem;
    }
    
    .meme-generator-subtitle {
        font-size: 1.2rem;
        margin: 0 0 40px 0;
    }
    
    .meme-generator-container {
        padding: 40px 15px;
    }
    
    .stickers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .sticker-item {
        min-height: 80px;
        padding: 10px;
    }
    
    .sticker-item img {
        max-width: 55px;
        max-height: 55px;
    }
    
    .upload-section {
        min-height: 350px;
    }
    
    .upload-area {
        min-height: 250px;
    }
    
    .upload-content {
        padding: 30px 15px;
    }
    
    .upload-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .action-buttons-container {
        gap: 6px;
        margin-top: 15px;
    }
    
    .action-btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 4px;
    }
    
    .action-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .instructions {
        margin-top: 15px;
        padding: 12px;
    }
    
    .instructions p {
        font-size: 12px;
    }
    
    .instructions li {
        font-size: 11px;
    }
    
    .transform-controls {
        margin-top: 10px;
        padding: 12px;
    }
    
    .transform-controls .section-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .transform-group {
        margin-bottom: 10px;
    }
    
    .transform-group label {
        font-size: 12px;
    }
}

/* CSS spécifique pour la page meme generator */
.meme-generator-page .navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.meme-generator-page .main-content {
    padding-top: 120px;
}

/* Boutons d'action */
.action-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 20px;
    justify-content: space-between;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex: 1;
}

.download-btn {
    background: linear-gradient(135deg, #00d4aa, #00e6bb);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #00e6bb, #00f0cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.copy-btn {
    background: linear-gradient(135deg, #cd853f, #daa520);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #daa520, #e6b532);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
}

.reset-btn {
    background: linear-gradient(135deg, #4a90e2, #5ba3f5);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.reset-btn:hover {
    background: linear-gradient(135deg, #5ba3f5, #6eb6ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.action-btn:active {
    transform: translateY(0);
}
