/* =====================
   CARD – BASE (MOBILE FIRST)
===================== */
.presale-card.horizontal {
    width: 100%;
    max-width: 1200px;
    margin: 12px auto;
    background: linear-gradient(135deg, #050816 0%, #191970 40%, #5b21b6 100%);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

/* =====================
   LEFT
===================== */
.left-wrap {
    width: 100%;
}

.coin-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.coin-logo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eee;
}

.trend {
    font-size: 11px;
    font-weight: 800;
    color: #ff9f43;
}

.presale-name {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 800;
    color : #fff;
    margin: 5px auto !important;
}

.presale-name span {
    color: #777;
}

/* =====================
   META GRID
===================== */
.meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    color: #fff;
}

.meta-grid small {
    font-size: 11px;
    color: #fff;
}

.meta-grid strong {
    display: block;
    margin-top: 4px;
    font-weight: 700;
    color: #fff;
}

/* =====================
   HYPE BAR
===================== */
.hype .progress {
    height: 7px;
    width: 100%;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6px;
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #2ecc71);
}

.rating {
    font-size: 16px;
}

/* =====================
   CTA
===================== */
.cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.buy-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #564287;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(90, 70, 149, 0.45);
    transition: 0.25s ease;
    font-size: 14px;
    text-align: center;
}

.buy-btn:hover {
    transform: translateY(-2px);
    background: #6a55a2;
    color: #fff;
}

/* =====================
   TABLET ≥ 768px
===================== */
@media (min-width: 768px) {
    .presale-card.horizontal {
        padding: 26px;
        gap: 30px;
    }

    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 30px;
    }

    .hype .progress {
        width: 200px;
    }

    .cta-wrap {
        justify-content: flex-start;
    }

    .buy-btn {
        width: auto;
        padding: 14px 28px;
    }


}

/* =====================
   DESKTOP ≥ 1024px
===================== */
@media (min-width: 1024px) {
    .presale-card.horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 30px 34px;
        gap: 40px;
    }

    .left-wrap {
        flex: 1;
    }

    .meta-grid {
        grid-template-columns: repeat(2, 240px);
        gap: 22px 40px;
    }

    .hype .progress {
        width: 220px;
    }

    .cta-wrap {
        min-width: 200px;
        justify-content: flex-end;
    }

    .buy-btn {
        font-size: 14px;
    }

    .presale-name {
        font-size: 22px;
    }
}

/* =================================
   MOBILE – EXACT REF IMAGE LAYOUT
================================= */
@media (max-width: 768px) {

    .presale-card.horizontal {
        flex-direction: column;
        padding: 20px 18px 22px;
        border-radius: 22px;
        gap: 18px;
    }

    /* TOP ROW */
    .coin-row {
        align-items: center;
        gap: 14px;
    }

    .coin-logo img {
        width: 56px;
        height: 56px;
    }

    .trend {
        font-size: 12px;
        margin-bottom: 2px;
        display: inline-block;
    }

    .presale-name {
        font-size: 18px;
        line-height: 1.3;
    }

    /* META GRID – 2 COLUMN LIKE IMAGE */
    .meta-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 16px;
        margin-top: 16px;
    }

    .meta-grid .grid-item strong,
    .rating {
        font-size: 15px;
    }

    /* HYPE BAR – FULL WIDTH UNDER LEFT COLUMN */
    .hype {
        /* grid-column: 1 / -1; */
    }

    .hype .progress {
        width: 100%;
        height: 7px;
    }

    /* CTA BUTTON – FULL WIDTH */
    .cta-wrap {
        width: 100%;
        margin-top: 8px;
    }

    .buy-btn {
        width: 100%;
        padding: 16px;
        font-size: 15px;
        border-radius: 14px;
        text-align: center;
    }
}
