/* ==========================================================================
   Public storefront
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.site-header-inner,
.site-footer-inner,
.shop-main,
.order-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.game-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 390px;
  margin: 0 auto;
}

.game-search input {
  width: 100%;
  height: 37px;
  padding: 0 15px 0 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 11.5px;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.game-search input::placeholder {
  color: #94a3b8;
}

.game-search input:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.07);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.brand-compact {
  gap: 9px;
}

.brand-compact .brand-mark {
  width: 30px;
  height: 30px;
}

.skeleton-short {
  width: 70%;
  margin-top: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a.nav-link {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a.nav-link:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

.site-nav a.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}

.site-nav .btn {
  height: 36px;
  font-size: 12.5px;
}

.clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.clock-pill .clock-emoji {
  font-size: 12px;
  line-height: 1;
}


/* Hero -------------------------------------------------------------------- */
.shop-main {
  width: min(1140px, calc(100% - 48px));
  padding-bottom: 80px;
}

@media (max-width: 1180px) {
  .quick-rail {
    display: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding: clamp(62px, 9vw, 110px) 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 29px;
  padding: 0 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.055);
  color: #0f766e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% {
    box-shadow: 0 0 0 7px rgba(15, 118, 110, 0.02);
  }
}

.hero h1 {
  margin-top: 25px;
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #0b6b63 0%, #0ea5a3 46%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
}

.hero-stat {
  display: grid;
  gap: 2px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stat strong {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-stat span {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--faint);
  font-size: 11.5px;
}

.hero-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

/* Redeem card ------------------------------------------------------------- */
.redeem-card {
  position: relative;
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(13, 148, 136, 0.55), rgba(15, 23, 42, 0.06) 40%, rgba(124, 58, 237, 0.3));
  box-shadow: 0 34px 80px -40px rgba(15, 23, 42, 0.35), 0 0 60px -32px rgba(13, 148, 136, 0.3);
}

.redeem-inner {
  position: relative;
  padding: 30px;
  border-radius: 22px;
  background:
    radial-gradient(380px 200px at 85% -20%, rgba(15, 118, 110, 0.13), transparent 70%),
    linear-gradient(165deg, #ffffff, #f8fafc 70%);
  overflow: hidden;
}

.redeem-inner::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(15, 118, 110, 0.025), 0 0 0 68px rgba(15, 118, 110, 0.015);
  pointer-events: none;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.card-kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.redeem-inner h2 {
  margin-top: 11px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.redeem-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.redeem-form {
  display: grid;
  gap: 11px;
  margin-top: 25px;
}

.code-shell {
  position: relative;
}

.code-shell .code-prefix {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.redeem-input {
  width: 100%;
  height: 58px;
  padding: 0 16px 0 47px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #ffffff;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.redeem-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.redeem-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.redeem-input.shake {
  animation: shake 0.4s ease;
  border-color: rgba(190, 18, 60, 0.6);
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}

.redeem-form .error-text {
  min-height: 16px;
  margin-top: -3px;
}

.redeem-form .btn {
  height: 52px;
  font-size: 15px;
}

.redeem-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.redeem-foot .secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 10.5px;
}

.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  text-decoration: underline;
  text-decoration-color: rgba(15, 23, 42, 0.3);
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--accent);
}

.redeem-perks {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.perks-title {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.redeem-perks ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.redeem-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #475569;
  font-size: 10.5px;
  line-height: 1.55;
}

.perk-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.03);
  font-size: 16px;
}

.trust-item h3 {
  font-size: 12px;
  font-weight: 650;
}

.trust-item p {
  margin-top: 3px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

.quick-rail {
  position: fixed;
  top: 50%;
  right: 9px;
  z-index: 35;
  display: grid;
  gap: 1px;
  width: 51px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 20px 50px -18px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.quick-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 100%;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  background: transparent;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.2;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.quick-item:last-child {
  border-bottom: 0;
}

.quick-item:hover {
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent);
}

.quick-icon {
  font-size: 15px;
  line-height: 1;
}

/* Notice ------------------------------------------------------------------ */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(180, 83, 9, 0.17);
  border-radius: 12px;
  background: rgba(180, 83, 9, 0.045);
  color: #92400e;
  font-size: 12px;
}

.notice-bar strong {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* Games ------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 7px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.section-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.section-count {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.section-head-side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-more {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.section-more:hover {
  color: var(--accent-2);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent-line);
  color: var(--accent);
}

.page-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-arrow {
  padding: 0 13px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.98));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 160px at 90% -10%, rgba(15, 118, 110, 0.08), transparent 70%);
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.26);
}

.game-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.game-art.has-cover {
  display: block;
  height: 148px;
  margin: -20px -20px 14px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--surface-soft);
}

.game-art.has-cover .game-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-art.has-cover .game-status {
  position: absolute;
  top: 10px;
  right: 10px;
}

.game-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.game-tags span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--faint);
  font-size: 9.5px;
  line-height: 1.35;
}

.game-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  color: var(--faint);
  font-size: 11.5px;
}

.steam-price s {
  color: #b45309;
  font-weight: 600;
}

.steam-online b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}

.game-card h3 {
  margin-top: 1px;
}

.game-emoji {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(145deg, #ecfdf9, #e6f6f2);
  font-size: 29px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
}

.game-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.game-status.off {
  color: var(--faint);
}

.game-status.off::before {
  box-shadow: none;
}

.game-card h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.game-card p {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
}

.game-foot > .game-link:only-child {
  margin-left: auto;
}

.game-avail {
  color: var(--faint);
  font-size: 10.5px;
}

.game-avail b {
  color: #334155;
  font-family: var(--mono);
  font-weight: 550;
}

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
}

.game-link:hover {
  gap: 8px;
}

.game-card.is-empty .game-emoji {
  filter: grayscale(0.7);
  opacity: 0.65;
}

.game-card.is-empty .game-link {
  color: var(--faint);
}

/* How it works ------------------------------------------------------------ */
.how {
  margin-top: 80px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.how-num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.how-card h3 {
  margin-top: 13px;
  font-size: 15px;
}

.how-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 38px;
  background: rgba(238, 242, 247, 0.72);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--faint);
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--text);
}

/* ==========================================================================
   Order page
   ========================================================================== */
.order-main {
  width: min(900px, calc(100% - 48px));
  padding: 54px 0 80px;
}

.order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.order-top h1 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.order-top p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.order-top .btn {
  height: 38px;
  font-size: 12px;
}

.order-panel {
  overflow: hidden;
}

.order-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 8% -30%, rgba(15, 118, 110, 0.12), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.order-game {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-game .game-emoji {
  width: 58px;
  height: 58px;
  font-size: 27px;
}

.order-game h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.order-game p {
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.order-status-side {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 9px;
}

.countdown-label {
  color: var(--faint);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.countdown {
  color: var(--accent);
  font-family: var(--mono);
  font-size: clamp(22px, 3.3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: none;
}

.countdown.warn {
  color: var(--amber);
  text-shadow: none;
}

.expiry-line {
  color: var(--muted);
  font-size: 10.5px;
}

.order-body {
  display: grid;
  gap: 20px;
  padding: 26px 28px 30px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-title h3 {
  font-size: 14px;
}

.panel-title span {
  color: var(--faint);
  font-size: 10.5px;
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.credential-card {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #f8fafc;
}

.credential-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.credential-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #0f172a;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credential-value.masked {
  letter-spacing: 0.16em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 31px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.025);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.copy-btn.copied {
  color: var(--accent);
  border-color: var(--accent-line);
}

.credential-hint {
  margin-top: 11px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
}

.security-note {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 11px;
  background: rgba(180, 83, 9, 0.045);
  color: #92400e;
  font-size: 11px;
  line-height: 1.65;
}

.security-note b {
  color: var(--amber);
}

/* Expired / ended --------------------------------------------------------- */
.expired-box,
.ended-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 20px 28px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 15px;
  background:
    radial-gradient(320px 140px at 50% 0%, rgba(180, 83, 9, 0.08), transparent 70%),
    #f8fafc;
  text-align: center;
}

.ended-box {
  border-color: var(--line);
  background: #f8fafc;
}

.lock-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
  border: 1px solid rgba(180, 83, 9, 0.24);
  border-radius: 14px;
  background: var(--amber-soft);
  font-size: 19px;
}

.ended-box .lock-mark {
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.03);
  filter: grayscale(0.5);
}

.expired-box h3,
.ended-box h3 {
  font-size: 17px;
}

.expired-box p,
.ended-box p {
  max-width: 460px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

/* Renew ------------------------------------------------------------------- */
.renew-card {
  padding: 22px;
  border: 1px solid var(--accent-line);
  border-radius: 15px;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(15, 118, 110, 0.08), transparent 70%),
    #f7fefc;
}

.renew-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.renew-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.renew-head h3 .spark {
  color: var(--accent);
}

.renew-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.renew-badge {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
}

.renew-form {
  display: flex;
  gap: 9px;
  margin-top: 17px;
}

.renew-form .input {
  height: 48px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.renew-form .btn {
  height: 48px;
  padding: 0 22px;
}

.renew-help {
  margin-top: 10px;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.6;
}

.renew-disabled {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(190, 18, 60, 0.2);
  border-radius: 10px;
  background: var(--rose-soft);
  color: #be123c;
  font-size: 11px;
  line-height: 1.6;
}

/* Order details ----------------------------------------------------------- */
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.detail-cell {
  padding: 13px 15px;
  background: #f8fafc;
}

.detail-cell span {
  display: block;
  color: var(--faint);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.detail-cell strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #334155;
  font-size: 11.5px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-log {
  display: grid;
  gap: 7px;
}

.renewal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
  color: var(--muted);
  font-size: 11px;
}

.renewal-row:last-child {
  border-bottom: 0;
}

.renewal-row b {
  color: #334155;
  font-weight: 550;
}

.support-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 2px;
  color: var(--faint);
  font-size: 10.5px;
}

.support-line strong {
  color: var(--muted);
  font-weight: 550;
}

.order-loading {
  min-height: 360px;
  display: grid;
  place-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

/* Order login ------------------------------------------------------------- */
.order-login {
  max-width: 470px;
  margin: 18px auto 0;
  padding: 34px;
  text-align: center;
}

.login-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  border: 1px solid var(--accent-line);
  border-radius: 17px;
  background: var(--accent-soft);
  font-size: 25px;
}

.order-login h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.order-login > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.order-login form {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  text-align: left;
}

.order-login .input {
  height: 52px;
  font-family: var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.order-login .btn {
  height: 49px;
}

.login-tip {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: left;
}

.switch-order {
  margin-top: 18px;
  text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .redeem-card {
    max-width: 560px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header-inner {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .game-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .site-header-inner,
  .shop-main,
  .site-footer-inner,
  .order-main {
    width: calc(100% - 32px);
  }

  .site-header-inner {
    height: auto;
    padding: 9px 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 26px;
  }

  .trust-item {
    padding: 12px 13px;
  }

  .redeem-perks {
    margin-top: 16px;
  }

  .site-nav a.nav-link {
    display: none;
  }

  .clock-pill {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 13.5px;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stat {
    padding: 0 18px;
  }

  .hero-stat strong {
    font-size: 19px;
  }

  .redeem-inner {
    padding: 23px;
  }

  .notice-bar {
    margin-bottom: 40px;
  }

  .game-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 190px;
  }

  .how {
    margin-top: 58px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .order-main {
    padding: 32px 0 60px;
  }

  .order-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .order-status-side {
    justify-items: start;
  }

  .order-body {
    padding: 20px;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .renew-form {
    flex-direction: column;
  }

  .renew-form .btn {
    width: 100%;
  }

  .renew-head {
    flex-direction: column;
    gap: 8px;
  }

  .support-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .order-login {
    padding: 25px;
  }
}
