/* ══════════════════════════════════════════════
   SECTION CARD  (white rounded panel)
   ══════════════════════════════════════════════ */
.section-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1360px;
    box-shadow: 0 6px 28px var(--shadow);
    position: relative;
    overflow: visible;
}

/* Tab label anchored top-left */
.section-tab {
    position: absolute;
    top: -18px;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 10px 36px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--text-pink);
    letter-spacing: 3px;
    box-shadow: 0 -4px 12px var(--shadow);
    border-bottom: 3px solid var(--pink-light);
}

/* Inner content padding */
.section-body {
    padding: 28px 28px 28px;
    min-height: 500px;
}

/* ══════════════════════════════════════════════
   TITLE CARD  (centered hero badge)
   ══════════════════════════════════════════════ */
.title-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 60px;
    text-align: center;
    box-shadow: 0 4px 18px var(--shadow);
    margin-bottom: -16px;
    position: relative;
    z-index: 2;
    align-self: center;
}

.title-card h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    color: var(--text-pink);
    letter-spacing: 4px;
}

.title-card p {
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-mid);
    letter-spacing: 5px;
    margin-top: -4px;
}

/* ══════════════════════════════════════════════
   NEW — ARTWORK GRID
   ══════════════════════════════════════════════ */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.artwork-card {
    background: var(--pink-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 3px 12px var(--shadow);
}

.artwork-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 28px var(--shadow);
}

.artwork-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artwork-card .badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pink-deep);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px var(--shadow);
}

/* Empty placeholder */
.artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--pink-mid);
}

.artwork-placeholder svg {
    opacity: 0.4;
}

.artwork-placeholder span {
    font-size: 13px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   HOME PAGE — css/pages/home.css
   ═══════════════════════════════════════════════ */

/* ══════════════════════════════════════
   CHARACTER SWIPER
══════════════════════════════════════ */
.character-swiper {
    width: 100%;
    padding: 24px 0 24px !important;
    overflow: hidden !important;   /* ✅ ตัดไม่ให้หลุดออกนอก card */
}

/* แต่ละ slide */
.character-swiper .swiper-slide {
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pink-light);
    box-shadow: 0 6px 24px var(--shadow);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.character-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* slide ที่ active — โตขึ้น + เงาเพิ่ม */
.character-swiper .swiper-slide-active {
    box-shadow: 0 16px 48px rgba(224, 48, 96, 0.35);
}

/* ── Navigation arrows (custom color) ── */
.character-swiper .swiper-button-prev,
.character-swiper .swiper-button-next {
    color: var(--text-pink);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--pink-mid);
    box-shadow: 0 4px 14px var(--shadow);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.character-swiper .swiper-button-prev:hover,
.character-swiper .swiper-button-next:hover {
    background: var(--pink-deep);
    color: var(--white);
    border-color: var(--pink-deep);
    transform: scale(1.1);
}

.character-swiper .swiper-button-prev::after,
.character-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 900;
}

/* ── Pagination dots ── */
.character-swiper .swiper-pagination {
    bottom: 10px !important;
}

.character-swiper .swiper-pagination-bullet {
    background: var(--pink-mid);
    opacity: 0.5;
    width: 8px;
    height: 8px;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.character-swiper .swiper-pagination-bullet-active {
    background: var(--pink-deep);
    opacity: 1;
    transform: scale(1.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .character-swiper .swiper-slide {
        width: 180px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .character-swiper .swiper-slide {
        width: calc(100vw - 80px);
        height: calc((100vw - 80px) * 4 / 3);
        max-height: 65vh;
    }
}