/* ─────────────────────────────────────────
   STORE SECTION
───────────────────────────────────────── */
.store-section {
    position: relative;
    z-index: 10;
    padding: 4rem 0 7rem;
}

.store-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

/* ── Cards ── */
.store-card {
    position: relative;
    background: rgba(6, 8, 22, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Animated gradient border on hover — pseudo-overlay trick */
.store-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--violet), var(--cyan), var(--violet-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.store-card:hover::before { opacity: 1; }

.store-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 50px -16px rgba(91, 45, 171, 0.38),
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.06);
    background: rgba(8, 11, 26, 0.7);
}

/* ── Popular card variant ── */
.store-card--popular {
    border-color: rgba(139,111,240,0.28);
    background: rgba(8, 8, 28, 0.58);
    box-shadow:
        0 16px 40px -16px rgba(91,45,171,0.3),
        0 0 0 1px rgba(139,111,240,0.15),
        inset 0 1px 0 rgba(255,255,255,0.06);
}
.store-card--popular:hover {
    box-shadow:
        0 28px 55px -16px rgba(91,45,171,0.5),
        0 0 0 1px rgba(139,111,240,0.4),
        0 0 60px rgba(91,45,171,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Popular ribbon */
.store-popular-ribbon {
    position: absolute;
    top: 16px;
    right: -1px;
    background: linear-gradient(90deg, var(--violet), var(--blue-mid));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.85rem 0.28rem 0.7rem;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 0 14px rgba(91,45,171,0.5);
    z-index: 2;
}
.store-popular-ribbon::before {
    content: '⭐ ';
}

/* ── Card header ── */
.store-card-header {
    text-align: center;
    padding: 2rem 1.2rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.store-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    background: linear-gradient(135deg, rgba(91, 45, 171, 0.28), rgba(32, 85, 200, 0.22));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 111, 240, 0.28);
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 16px rgba(91,45,171,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

.store-card:hover .store-icon-wrapper {
    border-color: rgba(139,111,240,0.6);
    box-shadow: 0 0 24px rgba(91, 45, 171, 0.5), 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: scale(1.06) rotate(-4deg);
}

.store-icon {
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-game-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.6rem;
}

/* ── Price tag ── */
.store-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.6rem;
}
.store-price {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 0%, rgba(200,205,255,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.store-price-currency {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}
.store-price-period {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 400;
}

.store-badge {
    display: inline-block;
    padding: 0.22rem 0.85rem;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.22);
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Card body ── */
.store-card-body {
    padding: 1.5rem 1.5rem 1rem;
    flex: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(232, 234, 246, 0.8);
    font-weight: 400;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s, padding-left 0.2s;
}

.feature-list li:last-child {
    border-bottom: none;
}

.store-card:hover .feature-list li {
    color: rgba(232, 234, 246, 0.95);
}

.feature-icon {
    font-size: 0.95rem;
    color: var(--accent);
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    filter: drop-shadow(0 0 4px rgba(139,111,240,0.4));
}

/* ── Card footer ── */
.store-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.store-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--violet), var(--blue-mid));
    border-radius: 12px;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.87rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid rgba(139, 111, 240, 0.45);
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 0 16px rgba(91, 45, 171, 0.35), 0 4px 12px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.store-buy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.12) 50%, transparent 62%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.store-buy-btn:hover::before { left: 100%; transform: translateX(100%); }

.store-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(91, 45, 171, 0.55), 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(139, 111, 240, 0.75);
    color: white;
    background: linear-gradient(135deg, var(--violet-light), var(--blue));
}

.store-buy-btn i { font-size: 1rem; }

/* ── Section glow blobs ── */
.store-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.store-glow--left {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(91,45,171,0.14) 0%, transparent 65%);
    top: 20%;
    left: -10%;
}
.store-glow--right {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79,195,247,0.1) 0%, transparent 65%);
    bottom: 15%;
    right: -8%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .store-section { padding: 2.5rem 0 4rem; }
    .store-card { margin-bottom: 0.5rem; }
    .feature-list li { font-size: 0.83rem; }
    .store-game-title { font-size: 1.35rem; }
    .store-price { font-size: 1.6rem; }
}