/* ===============================
   POUND HUB
   Matches Explore / Shops flow
=============================== */

.hub-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.hub-title {
    margin: 0 0 6px;
    text-align: center;
    font-size: 32px;
    color: #5a2d82;
    line-height: 1.1;
}

.hub-intro {
    max-width: 760px;
    margin: 0 auto 10px;
    text-align: center;
    color: #5d6470;
    font-size: 15px;
    line-height: 1.45;
}

.hub-note {
    margin: 0 auto 22px;
    text-align: center;
    color: #8a8198;
    font-size: 13px;
}

.hub-container {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
}

.hub-card {
    background: #ffffff;
    border: 1px solid #ddd6ff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    padding-bottom: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.hub-image {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: contain;
    background: #f4ecff;
    padding: 10px;
}

.hub-image:hover {
    transform: none;
}

.hub-card h3 {
    margin: 14px 16px 6px;
    color: #5f3e99;
    font-size: 20px;
}

.hub-text {
    max-width: none;
    margin: 0 16px;
    color: #55586b;
    font-size: 14px;
    line-height: 1.45;
}

/* ===============================
   ADOPT LIST
=============================== */

.pound-grid {
    max-width: 920px;
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.pet-card {
    background: #ffffff;
    border: 1px solid #ddd6ff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.pet-image {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.adopt-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: linear-gradient(90deg, #d492fd 0%, #91caff 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.adopt-btn:hover {
    opacity: 0.96;
}

/* ===============================
   MODAL
=============================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.modal-content {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid #d8c8ff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.modal-content button {
    margin-top: 10px;
}

/* ===============================
   MOBILE
=============================== */

@media (max-width: 900px) {
    .hub-wrapper {
        padding: 40px 14px;
    }

    .hub-container {
        grid-template-columns: 1fr;
    }

    .hub-image {
        height: 220px;
    }
}