@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --jade-950: #082f2b;
  --jade-900: #123c37;
  --jade-800: #1b5047;
  --jade-700: #28665a;
  --jade-100: #e3f1eb;
  --paper: #f5f3ec;
  --paper-bright: #fffdf7;
  --ink: #183a34;
  --muted: #5f7168;
  --line: #d2ddd4;
  --gold: #d9b56c;
  --gold-bright: #f5d994;
  --orange: #bd4e2f;
  --orange-dark: #81301f;
  --blue: #2563a9;
  --shadow: 0 22px 55px rgba(18, 60, 55, .11);
}
* { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; }
body { width: 100%; min-width: 0; min-height: 100dvh; margin: 0; display: flex; flex-direction: column; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 14px/1.55 'Be Vietnam Pro', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shop-nav { width: 100%; min-width: 0; height: 76px; padding: 0 max(22px, calc((100% - 1180px) / 2)); display: flex; align-items: center; gap: 48px; color: #eff5e8; background: var(--jade-900); border-bottom: 1px solid #bb985a; box-shadow: 0 8px 22px rgba(8, 47, 43, .15); position: sticky; top: 0; z-index: 5; }
.shop-brand img { width: 128px; height: auto; display: block; opacity: .98; }
.shop-nav__links { display: flex; gap: 30px; height: 100%; color: #c8d6c7; font-weight: 600; }
.shop-nav__links a { display: grid; align-items: center; position: relative; }
.shop-nav__links a:hover, .shop-nav__links a.active { color: var(--gold-bright); }
.shop-nav__links a.active::after { content: ''; position: absolute; bottom: 0; left: 2px; right: 2px; height: 3px; background: var(--gold); }
.account { margin-left: auto; display: flex; align-items: center; gap: 9px; color: #d3dfd0; font-size: 12px; }
.account-player { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account-player > span:last-child { display: grid; gap: 2px; line-height: 1.1; }
.account-player b { max-width: 150px; overflow: hidden; color: var(--gold-bright); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.account-player small { color: #aebeb5; font-size: 10px; }
.account-dot { flex: 0 0 auto; width: 8px; height: 8px; background: #77877f; border-radius: 50%; }
.account-dot.online { background: #6bdc91; box-shadow: 0 0 0 3px rgba(107, 220, 145, .14); }
.account-currency { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; color: #f5f2e8; background: rgba(255,255,255,.06); border: 1px solid rgba(217,181,108,.25); border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.account-currency img { width: 19px; height: 19px; object-fit: contain; }
.account-login, .account-logout { padding: 7px 11px; color: #f5f7ee; background: transparent; border: 1px solid #83a096; border-radius: 8px; cursor: pointer; }
.account-login:hover, .account-logout:hover { color: var(--gold-bright); border-color: var(--gold); }
.account-login:focus-visible, .account-logout:focus-visible, .shop-nav__links a:focus-visible { outline: 3px solid rgba(245,217,148,.45); outline-offset: 3px; }
.shop-shell { flex: 1; width: 100%; min-width: 0; max-width: 1180px; margin: 0 auto; padding: 30px 22px 70px; }
.notice { margin-top: 18px; padding: 13px 16px; color: #8f351f; background: #fff4e9; border: 1px solid #e8b78a; border-radius: 10px; }
.notice.error { color: #a42626; background: #fff0f0; border-color: #e9a2a2; }
.notice.success { color: #1f6243; background: #e9f7ed; border-color: #a9d5b6; font-weight: 700; }
.shop-layout { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; margin-top: 0; align-items: start; }
.notice + .shop-layout { margin-top: 18px; }
.packs-panel, .checkout-panel { min-width: 0; max-width: 100%; padding: 28px; background: var(--paper-bright); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 34px -28px rgba(18,60,55,.68); }
.checkout-panel { position: sticky; top: 98px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font: 600 23px/1.2 'Space Grotesk', sans-serif; letter-spacing: -.025em; }
.section-copy { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: #216243; background: #e7f5e8; border: 1px solid #b9ddc1; border-radius: 999px; font-size: 11px; font-weight: 700; }
.secure-badge { display: grid; place-items: center; width: 34px; height: 34px; color: var(--jade-700); background: var(--jade-100); border: 1px solid #b8d4c9; border-radius: 10px; }
.secure-badge svg { width: 18px; height: 18px; }
.packs { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pack { min-height: 146px; padding: 16px 17px; color: var(--ink); text-align: left; background: #fff; border: 1px solid #ccd9d1; border-radius: 13px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; position: relative; }
.pack:hover { transform: translateY(-2px); border-color: #b6934e; box-shadow: 0 12px 24px rgba(18,60,55,.1); }
.pack.active { background: #f2f8ef; border-color: var(--jade-700); box-shadow: inset 0 0 0 1px var(--jade-700), 0 12px 25px rgba(18,60,55,.1); }
.pack:focus-visible, .method:focus-visible, .pay:focus-visible { outline: 3px solid rgba(37, 99, 169, .35); outline-offset: 2px; }
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pack-id { color: var(--muted); font-size: 10px; letter-spacing: .1em; font-weight: 800; }
.chosen { color: #216243; font-size: 10px; font-weight: 700; }
.pack .price { margin-top: 18px; font: 700 21px/1 'Space Grotesk', sans-serif; }
.pack .gems { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: var(--blue); font-size: 13px; font-weight: 700; }
.pack .gems svg { width: 18px; height: 18px; color: #4d8ac2; }
.pack .bonus { display: inline-block; margin-top: 12px; padding: 3px 7px; color: #8e5d08; background: #fff5d6; border: 1px solid #edd796; border-radius: 5px; font-size: 10px; font-weight: 700; }
.pack-arrow { position: absolute; right: 15px; bottom: 13px; color: #8aa095; font-size: 19px; opacity: .6; }
.loading { padding: 22px 0; color: var(--muted); }
.selected-empty { margin-bottom: 14px; padding: 14px; color: var(--muted); background: #faf9f4; border: 1px dashed #b8c7bf; border-radius: 10px; text-align: center; }
.selected { margin-bottom: 14px; padding: 13px 14px; color: var(--ink); background: #f2f8ef; border: 1px solid #c4d9ca; border-radius: 10px; }
.selected strong { display: block; font: 600 19px/1.25 'Space Grotesk', sans-serif; }
.selected small { display: block; margin-top: 5px; color: var(--muted); }
.methods { display: grid; gap: 8px; }
.method { width: 100%; min-height: 66px; display: grid; grid-template-columns: 82px 1fr 18px; gap: 12px; align-items: center; padding: 12px; color: var(--ink); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.method:hover { border-color: #9aaea4; }
.method.selected { padding: 11px; background: #f4f9f2; border: 2px solid var(--jade-800); }
.method b { display: block; font-size: 14px; }
.method small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.method i { width: 16px; height: 16px; border: 1.5px solid #b9c8bf; border-radius: 50%; position: relative; }
.method.selected i { border-color: var(--orange); }
.method.selected i::after { content: ''; position: absolute; inset: 3px; background: var(--orange); border-radius: 50%; }
.method-logo { height: 34px; display: grid; place-items: center; border-radius: 6px; overflow: hidden; background: #fff; }
.method-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.method-logo.bank { background: #fffaf4; }
.pay { width: 100%; padding: 14px; margin-top: 18px; color: #fff9e9; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border: 0; border-radius: 9px 13px; box-shadow: 0 9px 18px rgba(129,48,31,.23); cursor: pointer; font: 700 15px 'Space Grotesk', sans-serif; transition: transform .18s ease, filter .18s ease; }
.pay:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.pay:disabled { color: #fff; background: #718178; box-shadow: none; cursor: not-allowed; }
.secure { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.steps div { padding: 17px 18px; background: var(--paper-bright); }
.step-icon { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 9px; color: #f3dfab; background: var(--jade-800); border-radius: 7px; font: 700 12px 'Space Grotesk', sans-serif; }
.steps b { display: block; font-size: 14px; }
.steps small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.shop-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1136px, calc(100% - 44px)); margin: 0 auto; padding: 22px 0 28px; color: #758a80; border-top: 1px solid #d7ddd6; font-size: 12px; }
.shop-footer nav { display: flex; gap: 18px; }
.shop-footer a:hover { color: var(--jade-800); }
@media (max-width: 920px) { .account-currency { display: none; } }
@media (max-width: 800px) { .shop-layout { grid-template-columns: 1fr; } .checkout-panel { position: static; } }
@media (max-width: 560px) { .shop-nav { height: auto; min-height: 68px; gap: 14px; padding: 8px 14px; flex-wrap: wrap; } .shop-nav__links { order: 3; width: 100%; min-width: 0; height: 44px; gap: 22px; font-size: 13px; } .shop-nav__links a { flex: 1; justify-content: center; } .shop-brand img { width: 102px; } .account { min-width: 0; max-width: calc(100% - 116px); } .account-player small { display: none; } .account-player b { max-width: 92px; font-size: 12px; } .account-logout { min-height: 44px; padding: 6px 10px; font-size: 11px; } .shop-shell { padding: 24px 14px 54px; } .packs-panel, .checkout-panel { padding: 21px; } .packs { grid-template-columns: minmax(0, 1fr); } .pack { width: 100%; min-width: 0; } .steps { grid-template-columns: 1fr; } .steps div { padding: 14px 18px; } .shop-footer { width: calc(100% - 28px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } .pack:hover, .pay:hover:not(:disabled) { transform: none; } }
