/* COINZ STORE - pages */

/* ---------- hero slider ---------- */
.hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 200px; height: clamp(200px, 38vw, 340px); margin-bottom: 14px; box-shadow: var(--shadow); border: 1px solid var(--glass-border); touch-action: pan-y; }
.hero-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 22px clamp(18px, 5vw, 54px); color: #fff; overflow: hidden; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.theme-violet { background: radial-gradient(circle at 15% 20%, #a78bff, transparent 50%), linear-gradient(135deg, #3b1fa8, #7c5cff 55%, #4b2fd6); }
.theme-cyan { background: radial-gradient(circle at 15% 20%, #7ff4ff, transparent 50%), linear-gradient(135deg, #034e72, #00b8d9 60%, #0a6fb0); }
.theme-pink { background: radial-gradient(circle at 15% 20%, #ff9fcd, transparent 50%), linear-gradient(135deg, #7b0f55, #ff3d9a 60%, #c01c78); }
.theme-gold { background: radial-gradient(circle at 15% 20%, #fff0a8, transparent 50%), linear-gradient(135deg, #8a4a00, #ffb02e 60%, #e07b00); }
.theme-gold .slide-t, .theme-gold .slide-s { color: #2a1700; text-shadow: none; }
.slide-img { position: absolute; inset: 0; background: var(--img) center/cover; opacity: .45; mix-blend-mode: luminosity; }
.slide::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px); pointer-events: none; }
.slide-in { position: relative; z-index: 1; max-width: 62%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.slide-t { margin: 0; font-size: clamp(1.3rem, 4.6vw, 2.5rem); text-shadow: 0 3px 16px rgba(0, 0, 0, .35); }
.slide-s { margin: 0 0 6px; font-size: clamp(.85rem, 2.2vw, 1.1rem); opacity: .95; }
.slide-deco { position: absolute; inset-inline-end: 4%; top: 50%; transform: translateY(-50%); font-size: clamp(6rem, 22vw, 12rem); opacity: .9; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); animation: float 4s ease-in-out infinite; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.6rem; line-height: 1; display: none; }
.hero-nav:hover { background: rgba(0, 0, 0, .6); }
.hero-nav.prev { inset-inline-start: 10px; } .hero-nav.next { inset-inline-end: 10px; }
.hero-dots { position: absolute; bottom: 10px; inset-inline: 0; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.dot-btn { width: 28px; height: 28px; background: none; border: 0; position: relative; }
.dot-btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .5); transform: translate(-50%, -50%); transition: all var(--t); }
.dot-btn.on::after { width: 24px; background: #fff; }
@media (min-width: 700px) { .hero-nav { display: block; } }

.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-block: 14px; }
.trust-i { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px; }
.trust-i span { grid-row: span 2; font-size: 1.7rem; }
.trust-i b { font-size: .88rem; } .trust-i small { color: var(--text-dim); font-size: .72rem; line-height: 1.3; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- category page ---------- */
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cat-head h1 { margin: 0; }
.cat-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 0 22px rgba(124, 92, 255, .45); flex: none; }

/* ---------- static page ---------- */
.page { max-width: 780px; margin-inline: auto; }
.prose p { color: var(--text-dim); line-height: 1.95; }

/* ---------- welcome ---------- */
.welcome { text-align: center; }
.welcome-ic { font-size: 3.4rem; animation: float 3s ease-in-out infinite; }

/* ---------- product modal ---------- */
.pm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pm-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .78rem; color: var(--text-dim); }
.pm-crumbs a { color: var(--text-dim); }
.pm-crumbs a + a::before { content: '‹ '; }
.fav.on { background: rgba(255, 61, 154, .15); }
.pm-desc { color: var(--text-dim); font-size: .92rem; white-space: pre-line; }
.pm-h { margin-bottom: 8px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty-input { text-align: center; font-weight: 800; font-size: 1.1rem; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .icon-btn { background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .4); font-size: 1.4rem; min-width: 48px; min-height: 48px; }
.seg { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.seg-btn { min-height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-border); font-weight: 800; transition: all var(--t); }
.seg-btn:hover { border-color: var(--primary); }
.seg-btn.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.player-name { margin-top: -6px; margin-bottom: 12px; }
.pm-price { margin-block: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 92, 255, .16), rgba(0, 229, 255, .1)); border: 1px solid rgba(124, 92, 255, .4); }
.pm-price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pm-price-label { color: var(--text-dim); font-size: .85rem; }
.pm-price-usd { font-size: 1.8rem; color: var(--gold); text-shadow: 0 0 18px rgba(255, 212, 59, .4); }
.pm-price-local { color: var(--accent); font-weight: 700; }
.pm-cta { display: grid; gap: 8px; }
.pm-balance { font-size: .85rem; color: var(--text-dim); text-align: center; }
.pm-balance b { color: var(--gold); }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-border); }
.summary dt { color: var(--text-dim); font-size: .88rem; } .summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.done { text-align: center; }
.done-ic { font-size: 3.6rem; animation: float 2.6s ease-in-out infinite; }
.done-meta { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.done-total { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.done-total small { font-size: .9rem; color: var(--text-dim); }
.codes { text-align: start; background: rgba(46, 229, 157, .07); border: 1px dashed rgba(46, 229, 157, .5); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 10px; background: var(--card-2); border-radius: 10px; }
.code-row code { overflow-wrap: anywhere; font-size: .95rem; letter-spacing: .5px; user-select: all; }
