
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* GRID */
.crypto-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(340px, 1fr));
    gap: 20px;
	margin-bottom:120px;
}
@media (max-width: 1200px) {
    .crypto-list {
        grid-template-columns: repeat(2, minmax(340px, 1fr));
    }
}
/* =========================
   CARD WRAPPER
========================= */

.crypto-card{
    perspective:1000px;
    cursor:pointer;
    transition:.25s;
}

.crypto-card:hover{
    transform:translateY(-4px);
}

/* =========================
   FLIP CONTAINER
========================= */

.crypto-card-inner{
    position:relative;
    width:100%;
    height:340px;
    transition:transform .6s ease;
    transform-style:preserve-3d;
    -webkit-transform-style:preserve-3d;
}

.crypto-card.flipped .crypto-card-inner{
    transform:rotateY(180deg);
}

/* =========================
   FRONT + BACK
========================= */

.crypto-card-front,
.crypto-card-back {
    position: absolute;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:#ffffff;
    padding: 15px;
    border-radius: 20px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-sizing: border-box;
}

/* =========================
   TOP BORDER ACCENT
========================= */

.crypto-card-front::before,
.crypto-card-back::before{
   
    content:"";

    position:absolute;
     
    top:0;
    left:0px;
	
    width:100%;
    height:4px;

    background:
        linear-gradient(
            90deg,
            #22c55e,
            #3b82f6
        );
}

/* =========================
   BACK
========================= */

.crypto-card-back{
    transform:rotateY(180deg);
}

/* =========================
   LOGO
========================= */

.crypto-logo{
    text-align:center;
    margin-bottom:10px;
}

.crypto-logo img{

    width:72px;
    height:72px;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #f3f4f6;

    background:#fff;
}

/* =========================
   TITLE
========================= */

.crypto-card h3{

    margin:0;

    font-size:20px;

    font-weight:700;

    color:#111827;
}

.symbol{

    display:inline-block;

    padding:5px 10px;

    border-radius:999px;

    background:#f3f4f6;

    color:#6b7280;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    margin:10px auto;
}

/* =========================
   DESCRIPTION
========================= */

.crypto-card p{

    margin:0;

    color:#4b5563;

    line-height:1.6;

    font-size:14px;
}

/* =========================
   RATING
========================= */

.gegov-rating-score{

    margin-top:8px;

    font-size:13px;

    font-weight:600;

    color:#6b7280;
}

/* =========================
   NETWORK
========================= */

.crypto-card-back strong{
    color:#111827;
}

.crypto-card-back small{

    display:block;

    margin-top:5px;

    word-break:break-all;

    color:#6b7280;
}

/* =========================
   LINKS
========================= */

.crypto-card-back a{

    color:#2563eb;

    text-decoration:none;

    font-weight:600;
}

.crypto-card-back a:hover{
    text-decoration:underline;
}

/* =========================
   BUTTONS
========================= */

.flip-btn{

    width:100%;

    padding:12px;

    border:none;

    border-radius:12px;

    background:#111827;

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

.flip-btn:hover{
    opacity:.9;
}

.flip-btn.back{
    background:#22c55e;
}

/* OPTIONAL: HOVER EFFECT */
.crypto-card:hover .crypto-card-inner {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.gegov-stars-card-rating{

    position: relative;

    display: inline-block;
    width:40%;
    font-size: 26px;

    line-height: 1;

    letter-spacing: 3px;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.gegov-stars-card{

    position: absolute;

    top: 0;
    left: 0;

    white-space: nowrap;

    overflow: hidden;

    z-index: 2;

    line-height: 1;

    pointer-events: none;

    transform: translateZ(1px);
    -webkit-transform: translateZ(1px);
}
.crypto-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.crypto-filters a{
    padding:9px 15px;
    border-radius:999px;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    background:#f5f7fa;
    color:#111827;
    border:1px solid #e5e7eb;
    transition:.2s;
}

.crypto-filters a:hover{
    transform:translateY(-2px);
    border-color:#22c55e;
}

.crypto-filters a.active{
    background:#22c55e;
    border-color:#22c55e;
    color:#fff;
}

.crypto-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:20px;
    padding:10px 22px;
    background:#111827;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.06);
}

.crypto-toolbar-title{
    font-size:15px;
    font-weight:700;
    color:#fff;
    letter-spacing:.3px;
    text-transform:uppercase;
}

.crypto-sort{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.crypto-sort a{
    padding:10px 18px;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    background:#1f2937;
    color:#fff;
    transition:.25s;
    border:1px solid rgba(255,255,255,.08);
}

.crypto-sort a:hover{
    transform:translateY(-2px);
    background:#374151;
}

.crypto-sort a.active{
    background:#22c55e;
    color:#fff;
    border-color:#22c55e;
}
.crypto-sort a{
    padding:10px 18px;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    background:#1f2937;
    color:#fff;
    transition:.25s;
    border:1px solid rgba(255,255,255,.08);
}

.crypto-sort a:hover{
    transform:translateY(-2px);
    background:#374151;
}

.crypto-sort a.active{
    background:#22c55e;
    color:#fff;
    border-color:#22c55e;
}

.gegov-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:40px;
}

.gegov-pagination a{
    min-width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    background:#111827;
    color:#fff;
    transition:.2s;
}

.gegov-pagination a:hover{
    transform:translateY(-2px);
}

.gegov-pagination a.active{
    background:#22c55e;
}

@media (max-width: 600px) {
    


    .crypto-list {
        grid-template-columns: repeat(1, minmax(340px, 1fr));
        padding: 0;
        gap: 12px;
    }

    .crypto-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .crypto-card-inner {
        min-height: 340px;
    }

    /* migliora touch flip */
    .crypto-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}