* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f0f0f0ef;
    color: #1f2937;
    line-height: 1.5;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Header Styles */
header {
    background: linear-gradient(90deg, #000000, #1b3661);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header img.logo {
    max-width: 250px;
    margin-bottom: -100px;
    margin-top: -100px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1rem;
    font-weight: 300;
}

/* Adaptation pour les mobiles */
@media (max-width: 768px) {
    header img.logo {
        max-width: 200px !important;
        margin: -80px !important;
        margin-top: -80px !important;
    }

    header h1 {
        font-size: 1.4rem !important;
        text-align: center !important;
        padding: 0 10px !important;
    }

    header p {
        font-size: 0.95rem !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
}


/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-bottom: 6rem; /* Espace pour le footer */
}

.countdown {
    text-align: center;
    margin: 1rem 0;
    font-size: 2rem;
    background: #fff;
    padding: 0.6rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .countdown {
        text-align: center !important;
        font-size: 1.5rem !important; 
    }
}



.crypto-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.crypto-table th, .crypto-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.crypto-table th {
    background: #3b82f6;
    color: white;
    font-weight: 600;
}

.crypto-table tr {
    transition: background 0.2s ease;
}

.crypto-table tr:hover {
    background: #f1f5f9;
}

.crypto-table img {
    width: 18px;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.ads-container {
    text-align: center;
    margin: 1rem 0;
    max-width: 100%;
}

.chart-container {
    margin: 1rem 0;
    background: #fff;
    padding: 0.8rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 300px;
}

.chart-selector {
    margin-bottom: 0.8rem;
    text-align: center;
}

.chart-selector select {
    padding: 0.4rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    transition: border-color 0.2s ease;
}

.chart-selector select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Footer Styles */
.footer {
    background: #010103e8;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-about, .footer-donate {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem;
}

.footer-about h3, .footer-donate h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.paypal-button {
    width: 100px;
    margin: 0.5rem 0;
    transition: transform 0.2s ease;
}

.paypal-button:hover {
    transform: scale(1.05);
}

.copy-button {
    padding: 0.4rem 0.8rem;
    background: #3b82f6;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.copy-button:hover {
    background: #2563eb;
}

.footer-donate p {
    font-size: 0.85rem;
    word-break: break-all;
    margin: 0.5rem 0;
}

.footer-copy {
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Nouvelle section Gainers & Losers */
.gainers-losers {
    margin: 1rem 0;
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow-x: hidden; /* Empêche le débordement horizontal */
}

.gainers-losers h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.gainers-losers-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.gainers, .losers {
    flex: 1;
    min-width: 250px;
    width: 100%; /* Assure que chaque section prend toute la largeur disponible */
}

.gainers h3, .losers h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
}

.gainers .crypto-table th:nth-child(2),
.losers .crypto-table th:nth-child(2) {
    text-align: right;
}

.gainers .crypto-table td:nth-child(2),
.losers .crypto-table td:nth-child(2) {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    white-space: nowrap; /* Empêche le texte de se casser */
}

/* Style pour les flèches */
.arrow-up::before {
    content: '\25B2'; /* Flèche vers le haut (Unicode) */
    color: green;
    font-size: 0.9rem; /* Réduit légèrement la taille */
}

.arrow-down::before {
    content: '\25BC'; /* Flèche vers le bas (Unicode) */
    color: red;
    font-size: 0.9rem; /* Réduit légèrement la taille */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
        padding-bottom: 7rem;
    }

    header h1 {
        font-size: 1.4rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .countdown {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .crypto-table {
        display: block;
        width: 100%;
        overflow-x: hidden; /* Évite tout débordement */
    }

    .crypto-table thead {
        display: none;
    }

    .crypto-table tbody, .crypto-table tr {
        display: block;
    }

    .crypto-table tr {
        margin-bottom: 1rem;
        padding: 0.5rem;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .crypto-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
        border-bottom: none;
        width: 100%;
        box-sizing: border-box;
    }

    .crypto-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #4b5563;
        flex: 1;
        font-size: 0.8rem;
        max-width: 50%; /* Limite la largeur du label */
    }

    .crypto-table td:nth-child(3), .crypto-table td:nth-child(6) {
        display: none;
    }

    .crypto-table img {
        width: 16px; /* Réduit légèrement la taille des logos sur mobile */
    }

    .chart-container {
        padding: 0.5rem;
        min-height: 250px;
        margin-bottom: 2rem;
    }

    .chart-selector select {
        font-size: 0.85rem;
        max-width: 200px;
    }

    .tradingview-widget-container {
        height: 250px !important;
        overflow: hidden;
    }

    .ads-container {
        padding: 0 0.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-about, .footer-donate {
        text-align: center;
        min-width: 100%;
    }

    /* Responsive pour Gainers & Losers */
    .gainers-losers-container {
        flex-direction: column;
        gap: 1.5rem; /* Plus d'espace entre gainers et losers */
    }

    .gainers, .losers {
        min-width: 100%;
        width: 100%;
    }

    .gainers .crypto-table td:nth-child(2),
    .losers .crypto-table td:nth-child(2) {
        justify-content: flex-end;
        flex-wrap: nowrap;
        font-size: 0.85rem;
    }

    .arrow-up::before, .arrow-down::before {
        font-size: 0.8rem; /* Flèches plus petites sur mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding-bottom: 8rem;
    }

    header img.logo {
        max-width: 80px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    header p {
        font-size: 0.8rem;
    }

    .countdown {
        font-size: 0.8rem;
    }

    .crypto-table td {
        font-size: 0.8rem;
    }

    .chart-container {
        min-height: 200px;
        margin-bottom: 3rem;
    }

    .chart-selector select {
        font-size: 0.8rem;
        max-width: 180px;
    }

    .tradingview-widget-container {
        height: 200px !important;
    }

    .paypal-button {
        width: 80px;
    }

    .footer-about h3, .footer-donate h3 {
        font-size: 1.1rem;
    }

    .footer-about p, .footer-donate p {
        font-size: 0.8rem;
    }

    .gainers-losers h2 {
        font-size: 1.3rem;
    }

    .gainers h3, .losers h3 {
        font-size: 1.1rem;
    }

    .crypto-table img {
        width: 14px; /* Encore plus petit pour les très petits écrans */
    }

    .gainers .crypto-table td:nth-child(2),
    .losers .crypto-table td:nth-child(2) {
        font-size: 0.8rem;
    }

    .arrow-up::before, .arrow-down::before {
        font-size: 0.75rem;
    }
}



/* Ajouter ce code à la fin de styles.css */
.converter-container {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    max-width: 1200px;
    text-align: center;
}

.converter-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.converter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.converter-input, .converter-select {
    flex: 1;
    min-width: 200px;
}

.converter-input input {
    padding: 0.4rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    width: 100%;
    box-sizing: border-box;
}

.converter-select select {
    padding: 0.4rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    width: 100%;
    cursor: pointer;
}

.convert-button {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.convert-button:hover {
    background: #2563eb;
}

.converter-result {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
}

.converter-result p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .converter {
        flex-direction: column;
        align-items: stretch;
    }

    .converter-input, .converter-select {
        min-width: 100%;
    }

    .converter-input input, .converter-select select {
        font-size: 0.85rem;
    }

    .convert-button {
        font-size: 0.85rem;
    }

    .converter-result {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .converter-container h2 {
        font-size: 1.3rem;
    }

    .converter-input input, .converter-select select {
        font-size: 0.8rem;
    }

    .convert-button {
        font-size: 0.8rem;
    }

    .converter-result {
        font-size: 0.85rem;
    }
}




.quiz-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
}

.quiz-container h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.quiz-question {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.quiz-option {
    padding: 0.6rem;
    background: #f1f5f9;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.quiz-option:hover {
    background: #e5e7eb;
}

.quiz-option.selected {
    background: #3b82f6;
    color: white;
    border-color: #2563eb;
}

.quiz-button {
    padding: 0.6rem 1.2rem;
    background: #3b82f6;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.quiz-button:hover {
    background: #2563eb;
}

.quiz-result {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
}

.quiz-tip {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #4b5563;
    font-style: italic;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 1rem;
        margin: 0.5rem;
    }

    .quiz-container h2 {
        font-size: 1.4rem;
    }

    .quiz-question {
        font-size: 1rem;
    }

    .quiz-option {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .quiz-button {
        font-size: 0.9rem;
    }

    .quiz-result {
        font-size: 1.1rem;
    }

    .quiz-tip {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .quiz-container h2 {
        font-size: 1.2rem;
    }

    .quiz-question {
        font-size: 0.9rem;
    }

    .quiz-option {
        font-size: 0.85rem;
    }

    .quiz-button {
        font-size: 0.85rem;
    }
}



.investment-simulator {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
}

.investment-simulator h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.simulator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.simulator-input, .simulator-select {
    flex: 1;
    min-width: 200px;
}

.simulator-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.simulator-input input {
    padding: 0.4rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    width: 100%;
    box-sizing: border-box;
}

.simulator-select select, .simulator-input select {
    padding: 0.4rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    width: 100%;
    cursor: pointer;
}

.simulator-button {
    padding: 0.6rem 1.2rem;
    background: #3b82f6;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.simulator-button:hover {
    background: #2563eb;
}

.simulator-result {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 768px) {
    .investment-simulator {
        padding: 1rem;
        margin: 0.5rem;
    }

    .investment-simulator h2 {
        font-size: 1.4rem;
    }

    .simulator-form {
        flex-direction: column;
        align-items: stretch;
    }

    .simulator-input, .simulator-select {
        min-width: 100%;
    }

    .simulator-input input, .simulator-select select, .simulator-input select {
        font-size: 0.85rem;
    }

    .simulator-button {
        font-size: 0.9rem;
    }

    .simulator-result {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .investment-simulator h2 {
        font-size: 1.2rem;
    }

    .simulator-input input, .simulator-select select, .simulator-input select {
        font-size: 0.8rem;
    }

    .simulator-button {
        font-size: 0.85rem;
    }

    .simulator-result {
        font-size: 0.9rem;
    }
}





/* Remplacer la section .crypto-map-container existante à la fin de styles.css par ce code */
.crypto-map-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
    max-width: 1500px;
    text-align: center;
    z-index: 10; /* Inférieur au z-index: 100 du header */
    position: relative; /* Assure un contexte d'empilement correct */
}

.crypto-map-container h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

#cryptoMap {
    width: 100%;
    height: 400px; /* Hauteur explicite pour éviter un conteneur vide */
    border-radius: 6px;
    overflow: hidden;
    position: relative; /* Assure que Leaflet rend correctement */
    z-index: 5; /* Inférieur au header */
}

.top-countries-table {
    margin-top: 1.5rem;
}

.top-countries-table h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.top-countries-table .crypto-table {
    max-width: 500px;
    margin: 0 auto;
}

.top-countries-table .crypto-table th,
.top-countries-table .crypto-table td {
    padding: 0.6rem;
}

.top-countries-table .crypto-table td:nth-child(2) {
    text-align: center;
}

.map-tooltip {
    font-size: 0.9rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #1f2937;
    z-index: 1000; /* Les info-bulles doivent rester au-dessus de la carte */
}

@media (max-width: 768px) {
    .crypto-map-container {
        padding: 1rem;
        margin: 0.5rem;
    }

    .crypto-map-container h2 {
        font-size: 1.4rem;
    }

    #cryptoMap {
        height: 300px;
    }

    .top-countries-table h3 {
        font-size: 1.1rem;
    }

    .top-countries-table .crypto-table td {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .crypto-map-container h2 {
        font-size: 1.2rem;
    }

    #cryptoMap {
        height: 250px;
    }

    .top-countries-table h3 {
        font-size: 1rem;
    }

    .top-countries-table .crypto-table td {
        font-size: 0.8rem;
    }
}




.intro {
    max-width: 1300px; /* Réduit de 1500px à 1200px pour correspondre à .container */
    margin: 1rem auto;
    padding: 1rem; /* Padding réduit pour mobile */
    text-align: center;
    font-size: 1rem;
    color: #d1d5db; /* Gris clair argenté */
    background: linear-gradient(90deg, #000000, #09030e); /* Dégradé noir à violet profond */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Empêche le padding de causer des débordements */
}

@media (max-width: 768px) {
    .intro {
        max-width: 100%; /* Prend toute la largeur disponible sur mobile */
        margin: 0.5rem; /* Margin réduit pour éviter les décalages */
        padding: 0.5rem; /* Padding réduit pour mobile */
        font-size: 0.9rem;
        color: #d1d5db;
        background: linear-gradient(90deg, #000000, #050108);
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .intro {
        max-width: 100%;
        margin: 0.5rem;
        padding: 0.5rem;
        font-size: 0.85rem; /* Taille de police légèrement plus petite pour très petits écrans */
        color: #d1d5db;
        background: linear-gradient(90deg, #000000, #000000);
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
}


/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-update {
    font-size: 1rem;
    font-weight: 300;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-menu {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-menu {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Mobile Navigation (Drawer) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.hidden {
        display: none; /* Masquer le bouton hamburger quand le menu est ouvert */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -250px; /* Menu caché à gauche */
        width: 250px;
        height: 100%;
        background: #1b3661;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 1rem;
        transition: left 0.3s ease;
        z-index: 100;
    }

    .nav-menu.active {
        left: 0; /* Menu visible */
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 0.5rem 0;
        width: 100%;
        text-align: left;
    }

    .close-menu {
        display: block;
    }
}


/* Marquee Text Wrapper */
.marquee-text-wrapper {
    --space: 2rem;
    display: grid;
    align-content: center;
    overflow: hidden;
    gap: var(--space);
    width: 100%;
    font-size: 3rem;
    line-height: 1.5;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: var(--accent-color, #000000);
}

.marquee {
    --duration: 50s;
    --gap: var(--space);
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll var(--duration) linear infinite;
}

.marquee__group p {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.marquee--borders {
    padding-block: 0.75rem;
}

.marquee:hover .marquee__group {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

@media (max-width: 600px) {
    .marquee-text-wrapper {
        padding-top: 0px;
        padding-bottom: 0px;
        font-size: 1.5rem;
    }

    .marquee__group p {
        font-size: 1.5rem;
    }
}

.crypto-table.updated {
    animation: highlight 0.5s ease;
}
@keyframes highlight {
    0% { background-color: #f0f0f0; }
    100% { background-color: transparent; }
}





/* Styles pour le conteneur du popup */
#crypto-popup-container {
    position: fixed;
    top: 350px; /* Position plus basse dans le corps */
    left: 10px; /* Position à gauche */
    z-index: 10000;
}

/* Styles pour la notification du popup */
.crypto-popup-notification {
    background-color: #000000; /* Violet foncé */
    color: #FFFFFF; /* Blanc */
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    cursor: pointer;
    max-width: 320px;
    font-size: 13px;
    position: relative;
    border: 2px solid #66118a; /* Violet clair */
}

/* Styles pour le conteneur de l'avatar */
.crypto-avatar-container {
    position: relative;
}

/* Styles pour l'image avatar */
.crypto-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    margin-right: 10px;
    object-fit: cover;
    position: relative;
    top: -5px;
}

/* Styles pour le bouton de fermeture */
.crypto-close-btn {
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 10px;
    cursor: pointer;
    color: #FFFFFF;
    transition: color 0.3s;
}

.crypto-close-btn:hover {
    color: #F5B544; /* Jaune-orangé */
}

/* Styles pour le contenu du texte */
.crypto-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.crypto-title {
    font-size: 12px;
    font-weight: bold;
    color: #F5B544; /* Jaune-orangé */
    margin: 0 0 2px;
    text-transform: uppercase;
}

.crypto-description {
    font-size: 12px;
    color: #FFFFFF;
    margin: 0;
}

/* Media query pour mobile */
@media (max-width: 768px) {
    .crypto-popup-notification {
        font-size: 11px;
    }
    .crypto-title,
    .crypto-description {
        font-size: 10px;
    }
    .crypto-avatar {
        width: 50px;
        height: 50px;
    }
}