/* =============================================================
   shop.css — KitsuMC Shop / Pricing Page
   ============================================================= */

/* ===== HERO ===== */

.shop-hero {
    padding: 7.5rem 2rem 3.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.shop-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.shop-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mc);
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

.shop-breadcrumb a {
    color: var(--text-dim);
    transition: color 0.15s;
}

.shop-breadcrumb a:hover { color: var(--accent); }

.shop-breadcrumb i {
    font-size: 0.4rem;
    opacity: 0.45;
}

.shop-hero h1 {
    font-family: var(--font-mc);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
    line-height: 1.1;
}

.shop-hero h1 .highlight {
    color: var(--accent);
    text-shadow: 0 0 32px var(--accent-glow), 0 0 8px var(--accent-glow);
}

.shop-hero p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto;
}

/* ===== MAIN CONTAINER ===== */

.shop-main {
    position: relative;
    z-index: 10;
    padding: 0.5rem 2rem 6rem;
}

/* ===== PRICING GRID ===== */

.shop-grid {
    max-width: 1080px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 1.75rem;
    align-items: center;
}

/* ===== CARD BASE ===== */

.shop-card {
    background: rgba(20, 8, 14, 0.82);
    border: 1.5px solid rgba(255, 140, 26, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== CARD HEADERS (tier colours) ===== */

.shop-card[data-tier="vip"] .card-header {
    background: linear-gradient(145deg, #8b46f0 0%, #6d28d9 60%, #4c1d95 100%);
}

.shop-card[data-tier="vip-plus"] .card-header {
    background: linear-gradient(145deg, #f0287a 0%, #e91e8c 40%, #be185d 100%);
}

.shop-card[data-tier="kvip"] .card-header {
    background: linear-gradient(145deg, #14b8b8 0%, #0e9f9f 50%, #0a7272 100%);
}

.card-header {
    position: relative;
    padding: 2.25rem 1.75rem 1.75rem;
    text-align: center;
    overflow: hidden;
}

/* subtle shimmer on header */
.card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255,255,255,0.9);
    font-family: var(--font-mc);
    font-size: 0.48rem;
    letter-spacing: 0.8px;
    padding: 0.28rem 0.65rem;
    border-radius: 50px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.18);
}

.card-mascot {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(255,255,255,0.15));
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-title {
    font-family: var(--font-mc);
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ===== CARD BODY ===== */

.card-body {
    padding: 1.75rem 1.75rem 1.75rem;
}

/* thin accent divider under header */
.shop-card[data-tier="vip"] .card-body    { border-top: 2px solid rgba(139, 70, 240, 0.35); }
.shop-card[data-tier="vip-plus"] .card-body { border-top: 2px solid rgba(233, 30, 140, 0.45); }
.shop-card[data-tier="kvip"] .card-body   { border-top: 2px solid rgba(14, 159, 159, 0.35); }

.card-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-family: var(--font-mc);
    font-size: 2.2rem;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-family: var(--font-mc);
    font-size: 0.52rem;
    color: var(--text-dim);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* ===== PERK DIVIDER ===== */

.perk-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 1.2rem;
    opacity: 0.5;
}

/* ===== PERK LIST ===== */

.perk-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.perk-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 230, 245, 0.78);
    font-weight: 600;
    line-height: 1.3;
}

.perk-list li i.fa-check {
    width: 16px;
    height: 16px;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 4px;
    color: #4ade80;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== BUY BUTTON ===== */

.shop-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-mc);
    font-size: 0.65rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.82rem 1rem;
    border-radius: 10px;
    color: #fff !important;
    transition: transform 0.15s var(--ease-bounce), box-shadow 0.15s var(--ease-bounce), filter 0.15s;
    position: relative;
    overflow: hidden;
}

.shop-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.shop-card[data-tier="vip"] .shop-btn {
    background: linear-gradient(135deg, #8b46f0, #6d28d9);
    box-shadow: 0 4px 0 #3b0e8c, 0 8px 24px rgba(109, 40, 217, 0.5);
}

.shop-card[data-tier="vip-plus"] .shop-btn {
    background: linear-gradient(135deg, #f0287a, #be185d);
    box-shadow: 0 4px 0 #8b0047, 0 8px 24px rgba(233, 30, 140, 0.5);
}

.shop-card[data-tier="kvip"] .shop-btn {
    background: linear-gradient(135deg, #14b8b8, #0a7272);
    box-shadow: 0 4px 0 #064a4a, 0 8px 24px rgba(14, 159, 159, 0.5);
}

.shop-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
}

.shop-btn:active {
    transform: translateY(2px);
}

/* ===== FEATURED CARD (VIP+) ===== */

.shop-card.featured {
    border-color: rgba(233, 30, 140, 0.5);
    box-shadow:
        0 0 0 1px rgba(233, 30, 140, 0.22),
        0 16px 56px rgba(233, 30, 140, 0.22),
        0 0 80px rgba(233, 30, 140, 0.08);
}

.shop-card.featured:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 0 1px rgba(233, 30, 140, 0.38),
        0 28px 72px rgba(233, 30, 140, 0.3),
        0 0 100px rgba(233, 30, 140, 0.12);
}

/* ===== NOTICE ===== */

.shop-notice {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 140, 26, 0.05);
    border: 1.5px solid rgba(255, 140, 26, 0.12);
    border-radius: 12px;
    padding: 1rem 1.4rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.shop-notice i {
    color: var(--accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.shop-notice p { margin: 0; line-height: 1.5; }

.shop-notice a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== LIGHT MODE ===== */

[data-theme="light"] .shop-card {
    background: rgba(255, 248, 252, 0.92);
    border-color: rgba(180, 50, 90, 0.14);
}

[data-theme="light"] .price-amount { color: #1a0810; }

[data-theme="light"] .perk-list li { color: #3a0820; }

[data-theme="light"] .perk-list li i.fa-check {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(22, 163, 74, 0.3);
}

[data-theme="light"] .shop-notice {
    background: rgba(255, 140, 26, 0.05);
    border-color: rgba(180, 50, 90, 0.14);
}

[data-theme="light"] .shop-card[data-tier="vip"] .card-body    { border-top-color: rgba(109, 40, 217, 0.25); }
[data-theme="light"] .shop-card[data-tier="vip-plus"] .card-body { border-top-color: rgba(190, 24, 93, 0.3); }
[data-theme="light"] .shop-card[data-tier="kvip"] .card-body   { border-top-color: rgba(10, 114, 114, 0.25); }

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
    .shop-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        gap: 1.25rem;
    }

    .shop-card.featured {
        order: -1;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 6rem 1.25rem 2.5rem;
    }

    .shop-main {
        padding: 0.5rem 1.25rem 4rem;
    }

    .card-header {
        padding: 1.75rem 1.25rem 1.25rem;
    }

    .card-body {
        padding: 1.25rem 1.25rem 1.25rem;
    }

    .price-amount { font-size: 1.8rem; }
}
