:root {
  --bg: #090d16;
  --panel: #111827;
  --panel-2: #171f2f;
  --border: rgba(114, 76, 232, 0.34);
  --accent: #724ce8;
  --accent-2: #8b6cff;
  --text: #eef2ff;
  --muted: #a7aec4;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, rgba(114, 76, 232, 0.25), transparent 28%), var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, Apple SD Gothic Neo, Noto Sans KR, sans-serif;
  min-height: 100%;
}

body {
  min-height: 100vh;
}

button {
  font: inherit;
}

input,
textarea {
  caret-color: #ffffff !important;
  color: var(--text) !important;
}

input:focus,
textarea:focus {
  caret-color: #ffffff !important;
  outline: none;
}

.app-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 18px 16px 100px;
}

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

.topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(24px, 4vw, 34px);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(114, 76, 232, 0.1);
}

.lang-button {
  min-width: 52px;
  padding: 10px 14px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-button.active {
  background: linear-gradient(180deg, rgba(114, 76, 232, 0.55), rgba(38, 22, 87, 0.88));
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
  width: 90%;
  max-width: 360px;
}

.toast {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(160, 120, 255, 0.5);
  background: #1a1040;
  box-shadow: var(--shadow);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  pointer-events: auto;
  animation: toast-in 0.3s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.toast-indicator {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  border-radius: 4px;
}

.toast-success .toast-indicator {
  background: #16a34a;
}

.toast-error .toast-indicator {
  background: #dc2626;
}

.toast.toast-out {
  animation: toast-out 0.22s ease-in forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)      scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0)      scale(1); }
  to   { opacity: 0; transform: translateY(-8px)   scale(0.97); }
}

.hidden {
  display: none !important;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(9, 13, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 100;
}

.tabbar .tab-button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  min-width: 0;
  transition: color 0.15s ease;
}

.tabbar .tab-button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.tabbar .tab-button.active {
  color: var(--accent-2);
  background: transparent;
  box-shadow: none;
}

.tabbar .tab-button:hover:not(.active) {
  color: var(--text);
  transform: none;
  border-color: transparent;
}

.tab-button,
.ghost-button,
.secondary-button,
.primary-button {
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.tab-button,
.ghost-button,
.secondary-button {
  background: rgba(114, 76, 232, 0.1);
  padding: 10px 14px;
}


.primary-button {
  width: 100%;
  background: linear-gradient(180deg, #8b6cff, #5d3fd3);
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(114, 76, 232, 0.3);
}

.primary-button:disabled,
.ghost-button:disabled,
.secondary-button:disabled,
.tab-button:disabled,
.lang-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tab-button:hover,
.ghost-button:hover,
.secondary-button:hover,
.primary-button:hover:not(:disabled),
.lang-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(139, 108, 255, 0.9);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(11, 16, 28, 0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
}

.panel h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-header-centered {
  justify-content: center;
  text-align: center;
}

.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.user-panel {
  display: flex;
  gap: 14px;
  align-items: center;
}

.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(139, 108, 255, 0.85), rgba(57, 32, 143, 0.95));
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(114, 76, 232, 0.28);
}

.user-main {
  flex: 1;
}

.user-name {
  font-size: 22px;
  font-weight: 700;
}

.user-meta {
  color: var(--muted);
  margin-top: 4px;
  word-break: break-all;
}

.user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.status-chip,
.code-chip,
.upline-level,
.summary-pill,
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(114, 76, 232, 0.15);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}

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

.bottom-stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(114, 76, 232, 0.09);
  border: 1px solid rgba(114, 76, 232, 0.22);
  border-radius: 18px;
  padding: 16px;
}

.compact-stat-card {
  min-height: 92px;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

.stat-value {
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  word-break: break-all;
}

.chest-panel {
  text-align: center;
}

.chest-visual {
  width: 152px;
  height: 152px;
  border-radius: 32px;
  margin: 10px auto 18px;
  display: grid;
  place-items: center;
  font-size: 76px;
  background: radial-gradient(circle at top, rgba(139, 108, 255, 0.45), rgba(31, 17, 69, 0.95));
  border: 1px solid rgba(139, 108, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.chest-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.info-box {
  background: rgba(114, 76, 232, 0.11);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}

.info-label {
  color: var(--muted);
  font-size: 12px;
}

.info-value {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

.action-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.action-row > * {
  flex: 1;
}

.reward-result {
  min-height: 74px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  padding: 14px;
  line-height: 1.6;
}

.reward-result.empty {
  color: var(--muted);
}

.reward-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.reward-summary-card {
  background: rgba(114, 76, 232, 0.09);
  border: 1px solid rgba(114, 76, 232, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.reward-summary-card strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.reward-list-title {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reward-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reward-line:last-child {
  border-bottom: 0;
}

.reward-line-label {
  color: var(--text);
}

.reward-line-meta {
  color: var(--muted);
  text-align: right;
}

.rank-summary {
  padding: 14px;
  border-radius: 16px;
  background: rgba(114, 76, 232, 0.11);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.ranking-list,
.upline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 22, 35, 0.9);
  border: 1px solid rgba(114, 76, 232, 0.22);
}

.rank-item.me {
  border-color: rgba(139, 108, 255, 0.85);
  box-shadow: 0 10px 25px rgba(114, 76, 232, 0.15);
}

.rank-no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(114, 76, 232, 0.18);
  border: 1px solid var(--border);
  font-weight: 700;
}

.rank-user-name,
.tree-node-name {
  font-weight: 700;
}

.rank-user-meta,
.tree-node-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  word-break: break-all;
}

.rank-score {
  text-align: right;
  font-weight: 800;
}

.upline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 22, 35, 0.92);
  border: 1px solid rgba(114, 76, 232, 0.22);
}

.tree-summary-text {
  font-size: 18px;
  margin-bottom: 14px;
}

.summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-money {
  margin-top: 16px;
  font-size: 16px;
}

.tree-wrap {
  max-height: 680px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(114, 76, 232, 0.35);
  background: radial-gradient(circle at top, rgba(114, 76, 232, 0.18), rgba(12, 18, 30, 0.98));
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  border-radius: 14px;
  background: #070b12;
  border: 1px solid rgba(114, 76, 232, 0.25);
  cursor: pointer;
}

.tree-row:hover {
  border-color: rgba(139, 108, 255, 0.8);
}

.tree-arrow {
  width: 22px;
  text-align: center;
  color: var(--accent-2);
  font-size: 18px;
}

.tree-node-main {
  flex: 1;
  min-width: 0;
}

.tree-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tree-children {
  margin-left: 26px;
  border-left: 1px dashed rgba(114, 76, 232, 0.5);
  padding-left: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.tree-children.open {
  max-height: 4000px;
  opacity: 1;
}

.loading-overlay,
.reward-animation-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 12, 0.66);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.reward-animation-overlay {
  z-index: 1200;
  background: radial-gradient(circle at center, rgba(114, 76, 232, 0.18), rgba(3, 6, 12, 0.92));
}

.loading-box,
.reward-animation-panel {
  border-radius: 22px;
  border: 1px solid rgba(114, 76, 232, 0.35);
  background: rgba(10, 13, 24, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.loading-box {
  min-width: 180px;
  text-align: center;
  padding: 16px 18px;
}

.reward-animation-panel {
  width: min(500px, calc(100vw - 28px));
  padding: 28px 20px 24px;
  text-align: center;
  overflow: hidden;
}

.reward-stage-label {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.reward-chest-stage {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
}

.reward-halo {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 241, 175, 0.42), rgba(139, 108, 255, 0.18) 45%, transparent 70%);
  filter: blur(6px);
  opacity: 0.45;
}

.reward-chest {
  position: relative;
  z-index: 1;
  width: 152px;
  height: 152px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 78px;
  background: radial-gradient(circle at top, rgba(139, 108, 255, 0.55), rgba(31, 17, 69, 0.95));
  border: 1px solid rgba(139, 108, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform-origin: center bottom;
}

.reward-chest.is-shaking {
  animation: chestShake 0.55s ease-in-out infinite;
}

.reward-chest.is-opening {
  animation: chestOpen 1.2s ease forwards;
}

.reward-chest.is-open {
  animation: chestPulse 1s ease-in-out infinite;
}

.reward-chest.is-finished {
  animation: chestFinish 0.6s ease forwards;
}

.reward-counter-prefix {
  color: var(--muted);
  font-size: 15px;
}

.reward-counter-value {
  margin-top: 10px;
  font-size: clamp(44px, 10vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.reward-counter-meta {
  margin-top: 10px;
  color: #d7d9ff;
  min-height: 24px;
}

.reward-particles {
  position: relative;
  height: 40px;
  margin-top: 14px;
}

.reward-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fef08a, #8b6cff);
  opacity: 0.8;
  animation: particleFloat 1.6s ease-in-out infinite;
}

.reward-particles span:nth-child(1) { left: 12%; animation-delay: 0s; }
.reward-particles span:nth-child(2) { left: 26%; animation-delay: 0.2s; }
.reward-particles span:nth-child(3) { left: 41%; animation-delay: 0.35s; }
.reward-particles span:nth-child(4) { left: 58%; animation-delay: 0.15s; }
.reward-particles span:nth-child(5) { left: 74%; animation-delay: 0.28s; }
.reward-particles span:nth-child(6) { left: 88%; animation-delay: 0.42s; }

.reward-skip-button {
  margin-top: 8px;
}

@keyframes chestShake {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-5deg) translateY(2px); }
  40% { transform: rotate(5deg) translateY(-1px); }
  60% { transform: rotate(-3deg) translateY(1px); }
  80% { transform: rotate(3deg) translateY(-2px); }
}

@keyframes chestOpen {
  0% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  45% { transform: scale(1.04) rotate(-4deg); filter: brightness(1.05); }
  60% { transform: scale(1.08) rotate(5deg); filter: brightness(1.2); }
  100% { transform: scale(1.18) rotate(0deg); filter: brightness(1.4); }
}

@keyframes chestPulse {
  0%, 100% { transform: scale(1.14); box-shadow: 0 0 0 rgba(139, 108, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.42); }
  50% { transform: scale(1.22); box-shadow: 0 0 28px rgba(139, 108, 255, 0.38), 0 18px 40px rgba(0, 0, 0, 0.42); }
}

@keyframes chestFinish {
  0% { transform: scale(1.18); }
  100% { transform: scale(1.24); box-shadow: 0 0 40px rgba(254, 240, 138, 0.35), 0 18px 42px rgba(0, 0, 0, 0.44); }
}

@keyframes particleFloat {
  0% { transform: translateY(0) scale(0.9); opacity: 0.3; }
  50% { transform: translateY(-16px) scale(1.2); opacity: 1; }
  100% { transform: translateY(-2px) scale(0.85); opacity: 0.35; }
}

@media (max-width: 960px) {
  .bottom-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .chest-info-grid,
  .reward-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 14px 12px 100px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-controls {
    justify-content: space-between;
  }

  .bottom-stats-grid,
  .chest-info-grid,
  .reward-summary-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 46px 1fr;
  }

  .rank-score {
    grid-column: 1 / -1;
    text-align: left;
  }

  .upline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tree-row {
    flex-wrap: wrap;
  }

  .tree-badges {
    width: 100%;
  }

  .reward-animation-panel {
    padding: 24px 16px 20px;
  }

  .reward-chest-stage {
    height: 180px;
  }

  .reward-chest {
    width: 136px;
    height: 136px;
    font-size: 68px;
  }
}


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

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

.voucher-ticket {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(139, 108, 255, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(20, 28, 44, 0.97), rgba(8, 12, 20, 0.99));
  border: 1px solid rgba(114, 76, 232, 0.45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.voucher-ticket::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 56%;
  /* border-top: 1px dashed rgba(167, 174, 196, 0.36); */
}

.voucher-ticket-notch {
  position: absolute;
  top: 56%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(114, 76, 232, 0.38);
}

.voucher-ticket-notch.left {
  left: -8px;
}

.voucher-ticket-notch.right {
  right: -8px;
}

.voucher-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.voucher-ticket-title {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voucher-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(114, 76, 232, 0.2);
  border: 1px solid rgba(114, 76, 232, 0.45);
  font-size: 12px;
  font-weight: 700;
}

.voucher-status-chip.pending{
  background: rgba(22, 162, 74, 0.2);
  border-color: rgba(22, 162, 74, 0.45);
}

.voucher-status-chip.redeemed {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.45);
}

.voucher-code-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.voucher-code {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  word-break: break-all;
  color: #f2f6ff;
}

.voucher-copy-button {
  white-space: nowrap;
  padding: 8px 12px;
}

.voucher-metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.voucher-metric-card {
  background: rgba(114, 76, 232, 0.12);
  border: 1px solid rgba(114, 76, 232, 0.28);
  border-radius: 14px;
  padding: 12px;
}

.voucher-metric-label {
  color: var(--muted);
  font-size: 12px;
}

.voucher-metric-value {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.voucher-allowed-email {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.voucher-allowed-email strong {
  color: var(--text);
  text-align: right;
  word-break: break-all;
}

.voucher-created-at {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
  font-size: 13px;
}

.voucher-created-at strong {
  color: var(--text);
  text-align: right;
}

.shop-summary-card,
.shop-note-box,
.about-section-panel,
.about-hero-panel,
.shop-convert-panel,
.shop-hero-panel {
  background: rgba(114, 76, 232, 0.08);
  border: 1px solid rgba(114, 76, 232, 0.22);
}

.shop-summary-card {
  border-radius: 18px;
  padding: 16px;
}

.shop-summary-label,
.shop-field-label,
.shop-note-title {
  color: var(--muted);
  font-size: 13px;
}

.shop-summary-value {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
}

.shop-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.shop-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(114, 76, 232, 0.26);
  background: rgba(9, 13, 22, 0.72);
  color: var(--text);
  outline: none;
  caret-color: white !important;
  color: var(--text) !important;
}

.shop-input:focus {
  border-color: rgba(139, 108, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(114, 76, 232, 0.18);
}

.shop-input::placeholder {
  color: rgba(167, 174, 196, 0.75);
}

.shop-max-button {
  min-width: 112px;
}

.shop-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.shop-primary-button {
  width: auto;
}

.shop-note-box {
  border-radius: 18px;
  padding: 16px;
  margin-top: 18px;
}

.shop-domain-value {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

.shop-note-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-section-panel h3,
.about-hero-panel h2 {
  margin-top: 0;
}

.about-section-panel p,
.about-hero-panel p {
  color: var(--text);
  line-height: 1.7;
  margin: 10px 0 0;
}

.about-list {
  margin: 12px 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
}

.about-list li {
  line-height: 1.6;
}

@media (max-width: 860px) {
  .shop-summary-grid,
  .shop-actions {
    grid-template-columns: 1fr;
  }

  .voucher-list {
    grid-template-columns: 1fr;
  }

  .voucher-metrics {
    grid-template-columns: 1fr;
  }

  .voucher-code-row {
    grid-template-columns: 1fr;
  }

  .voucher-copy-button {
    width: 100%;
  }

  .shop-field-row {
    grid-template-columns: 1fr;
  }

  .shop-max-button {
    width: 100%;
  }
}
