@font-face {
  font-family: "Sansita One";
  src: url("/public/fonts/sansita-one.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* Page root */
.page-root {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  background: url("/public/lottery/bg_lottery@3x.webp") center / cover no-repeat;
}

/* Loading */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #fffbeb, #ffedd5);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loading-spinner-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.loading-spinner-track,
.loading-spinner-bar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #fed7aa;
}

.loading-spinner-bar {
  border-color: #f97316 transparent transparent transparent;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #c2410c;
  text-transform: lowercase;
}

.loading-dots {
  display: flex;
  gap: 8px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
  animation: bounce-delay 1.4s infinite ease-in-out both;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bounce-delay {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Language switcher */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.lang-menu li {
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.lang-menu li:hover {
  background: #f5f5f5;
}

/* Lottery main */
.lottery-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-x: hidden;
}

.lottery-header {
  text-align: center;
  margin-bottom: 16px;
  margin-top: 50px;
  padding: 0 8px;
  width: 100%;
}

@media (min-width: 640px) {
  .lottery-header { margin-top: 30px; margin-bottom: 32px; }
}

@media (min-width: 768px) {
  .lottery-header { margin-top: 40px; }
}

.lottery-title {
  font-family: "Sansita One", Georgia, serif;
  font-size: clamp(36px, 10vw, 80px);
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #fff9e6 0%, #ffe8a3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 clamp(10px, 3vw, 30px);
  word-wrap: break-word;
}

.lottery-subtitle {
  font-family: "Sansita One", Georgia, serif;
  font-size: clamp(20px, 5vw, 40px);
  font-weight: 400;
  line-height: normal;
  background: linear-gradient(180deg, #fffac9 26.7%, #fffff7 68.18%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wheel */
.wheel-section {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100vw;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .wheel-section { margin-bottom: 32px; }
}

.wheel-cup {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: url("/public/lottery/lottery_cup.webp") center / contain no-repeat;
}

.wheel-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 256px;
  height: 256px;
  margin-top: -60px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  background: url("/public/lottery/wheel.svg") center / cover no-repeat;
  backface-visibility: hidden;
  will-change: transform;
}

@media (min-width: 640px) {
  .wheel-disc { width: 268px; height: 268px; }
}

.wheel-disc.spinning {
  transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wheel-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: 56px;
  height: 56px;
  margin-top: -60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  background: url("/public/lottery/lottery_pointer.webp") center / cover no-repeat;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.3s ease;
}

.wheel-pointer:hover { transform: translate(-50%, -50%) scale(1.1); }
.wheel-pointer:active { transform: translate(-50%, -50%) scale(0.95); }
.wheel-pointer.disabled { transform: translate(-50%, -50%) scale(0.9); pointer-events: none; }

@media (min-width: 640px) {
  .wheel-pointer { width: 64px; height: 64px; }
}

/* Draw button */
.draw-btn-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .draw-btn-wrap { padding: 0 32px; }
}

.draw-btn {
  position: relative;
  width: 90vw;
  max-width: 320px;
  height: 60px;
  border-radius: 9999px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe8a3 0%, #ffb84d 50%, #ff9a1f 100%);
  filter: drop-shadow(0 8px 20px rgba(255, 154, 31, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

@media (min-width: 640px) {
  .draw-btn { height: 70px; }
}

.draw-btn:hover { transform: scale(1.05); }
.draw-btn:active { transform: scale(0.95); }
.draw-btn.disabled {
  transform: scale(0.95);
  opacity: 0.8;
  filter: drop-shadow(0 6px 16px rgba(255, 154, 31, 0.3));
  cursor: not-allowed;
  pointer-events: none;
}

.draw-btn-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bf3100;
  font-family: Roboto, sans-serif;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.draw-btn-hand {
  position: absolute;
  top: 50%;
  right: -30px;
  width: 80px;
  height: 80px;
  transform: translateY(-50%);
  background: url("/public/lottery/ic-hand.webp") center / contain no-repeat;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  pointer-events: none;
  animation: tap-hand 1.5s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@media (min-width: 640px) {
  .draw-btn-hand { width: 96px; height: 96px; }
}

@keyframes tap-hand {
  0%, 100% { transform: translate3d(0, -50%, 0) rotate(0deg); }
  25% { transform: translate3d(0, calc(-50% - 8px), 0) rotate(-5deg); }
  50% { transform: translate3d(0, -50%, 0) rotate(0deg); }
  75% { transform: translate3d(0, calc(-50% - 4px), 0) rotate(5deg); }
}

/* Prize records on homepage */
.prize-records-list {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}

.prize-records-list.hidden {
  display: none;
}

.prize-record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 215, 0, 0.35);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) {
  .prize-records-list { margin-top: 24px; gap: 10px; }
  .prize-record-item { font-size: 14px; padding: 12px 16px; }
}

.prize-record-phone {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prize-record-amount {
  flex: 0 0 auto;
  color: #ffd700;
}

.prize-record-countdown {
  flex: 0 0 auto;
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #7cffb2;
}

/* Danmaku */
.danmaku-area {
  margin-top: 32px;
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .danmaku-area { margin-top: 48px; }
}

.danmaku-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background-color: rgba(0, 0, 0, 0.25);
  animation: scrollHorizontal linear infinite;
  animation-fill-mode: both;
  backface-visibility: hidden;
  max-width: calc(100vw - 20px);
  will-change: transform, opacity;
}

@media (min-width: 640px) {
  .danmaku-item { gap: 12px; padding: 12px 16px; }
}

.danmaku-item:nth-child(odd) {
  animation: scrollHorizontal linear infinite, floatVertical 3s ease-in-out infinite;
}

.danmaku-item:nth-child(even) {
  animation: scrollHorizontal linear infinite, floatVertical 4s ease-in-out infinite reverse;
}

.danmaku-item:hover {
  animation-play-state: paused;
  background-color: rgba(0, 0, 0, 0.4);
  transform: scale(1.08);
  z-index: 50;
}

.danmaku-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  ring: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .danmaku-avatar { width: 36px; height: 36px; }
}

.danmaku-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.danmaku-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
}

@media (min-width: 640px) {
  .danmaku-text { font-size: 14px; }
}

@keyframes scrollHorizontal {
  0% { opacity: 0; transform: translateX(calc(100vw + var(--start-offset, 0px))); }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(-100vw - 400px)); }
}

@keyframes floatVertical {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}

/* Prize modal */
.prize-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.prize-modal {
  width: min(520px, 95vw);
  max-height: 90vh;
  overflow: hidden;
}

.prize-modal-bg {
  position: relative;
  height: min(812px, 85vh);
  background: url("/public/lottery/bg-lottery-result.webp") center / contain no-repeat;
  overflow: hidden;
}

.prize-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 38%;
}

.prize-amount {
  font-size: clamp(40px, 12vw, 60px);
  font-weight: 700;
  color: #fde047;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.prize-hint {
  font-size: 14px;
  color: #fef9c3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.withdraw-btn-wrap {
  position: relative;
  width: min(300px, 88vw);
  margin-top: 4px;
}

.withdraw-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe8a3 0%, #ffb84d 48%, #ff9a1f 100%);
  box-shadow:
    0 8px 22px rgba(255, 154, 31, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(191, 49, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.withdraw-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.04);
  box-shadow:
    0 10px 26px rgba(255, 154, 31, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 0 rgba(191, 49, 0, 0.3);
}

.withdraw-btn:active {
  transform: scale(0.97);
  box-shadow:
    0 4px 12px rgba(255, 154, 31, 0.4),
    inset 0 2px 6px rgba(191, 49, 0, 0.15);
}

.withdraw-btn:focus-visible {
  outline: 3px solid rgba(255, 228, 163, 0.95);
  outline-offset: 3px;
}

.withdraw-btn span {
  color: #bf3100;
  font-family: Roboto, sans-serif;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.35);
}

.withdraw-hand {
  position: absolute;
  top: 50%;
  right: -18px;
  width: 64px;
  height: 64px;
  transform: translateY(-50%);
  background: url("/public/lottery/ic-hand.webp") center / contain no-repeat;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  animation: tap-hand 1.5s ease-in-out infinite;
}

.countdown {
  margin-top: 20px;
  font-size: clamp(24px, 6vw, 30px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .draw-btn-hand,
  .withdraw-hand {
    animation: none;
    transform: translateY(-50%);
  }
}

/* Withdraw / WhatsApp bind modal */
.withdraw-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.withdraw-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, #fff9eb 0%, #ffedd5 45%, #fed7aa 100%);
  box-shadow: 0 20px 60px rgba(191, 49, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 184, 77, 0.5);
}

.withdraw-toast {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.withdraw-toast--warn {
  background: #fff1f0;
  color: #c2410c;
  border: 1px solid #fecaca;
}

.withdraw-toast--success {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.withdraw-toast--info {
  background: #fffbeb;
  color: #9a3412;
  border: 1px solid #fde68a;
}

.withdraw-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(191, 49, 0, 0.12);
  color: #bf3100;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.withdraw-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-right: 28px;
}

.withdraw-modal__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.35);
}

.withdraw-modal__title {
  font-family: "Sansita One", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #bf3100;
  margin-bottom: 4px;
}

.withdraw-modal__sub {
  font-size: 13px;
  color: #9a3412;
  opacity: 0.85;
}

.withdraw-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.withdraw-country-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  min-width: 108px;
  height: 48px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: #9a3412;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.withdraw-country-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.withdraw-country-fallback {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.15);
  color: #c2410c;
}

.withdraw-country-dial {
  flex: 1;
  text-align: left;
}

.withdraw-phone-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: #431407;
  font-size: 16px;
  outline: none;
}

.withdraw-phone-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.withdraw-agree {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #9a3412;
  cursor: pointer;
}

.withdraw-agree input {
  width: 16px;
  height: 16px;
  accent-color: #f97316;
}

.withdraw-agree-badge {
  padding: 2px 8px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ffb84d, #ff9a1f);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.withdraw-submit-btn {
  position: relative;
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe8a3 0%, #ffb84d 50%, #ff9a1f 100%);
  filter: drop-shadow(0 6px 16px rgba(255, 154, 31, 0.4));
  color: #bf3100;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.withdraw-submit-btn:hover:not(:disabled) {
  transform: scale(1.02);
}

.withdraw-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.withdraw-submit-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  border: 2px solid rgba(191, 49, 0, 0.2);
  border-top-color: #bf3100;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.withdraw-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #9a3412;
}

.withdraw-status--success { color: #15803d; }
.withdraw-status--warn { color: #c2410c; }
.withdraw-status--info { color: #9a3412; }

.withdraw-pair-code {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(249, 115, 22, 0.35);
}

.withdraw-pair-code__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.withdraw-pair-code__label {
  font-size: 14px;
  font-weight: 700;
  color: #bf3100;
}

.withdraw-pair-code__hint {
  font-size: 11px;
  color: #9a3412;
  opacity: 0.8;
}

.withdraw-pair-code__panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 184, 77, 0.4);
}

.pair-code-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.pair-code-cell {
  width: 28px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #bf3100;
  font-size: 18px;
  font-weight: 800;
  font-family: "Courier New", monospace;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.pair-code-dash {
  color: #f97316;
  font-weight: 700;
  font-size: 18px;
  padding: 0 2px;
}

.withdraw-pair-code__copy {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #bf3100;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.withdraw-pair-code__copy:hover {
  background: #fff;
}

/* Country picker */
.country-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}

.country-picker {
  width: 100%;
  max-width: 480px;
  height: 72vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #fffbeb 0%, #ffedd5 100%);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.country-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
}

.country-picker__title {
  font-family: "Sansita One", Georgia, serif;
  font-size: 18px;
  color: #bf3100;
}

.country-picker__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(191, 49, 0, 0.1);
  color: #bf3100;
  font-size: 20px;
  cursor: pointer;
}

.country-picker__search {
  margin: 0 16px 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  outline: none;
}

.country-picker__list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 16px;
}

.country-picker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  margin-bottom: 4px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.country-picker__item:hover,
.country-picker__item--active {
  background: rgba(255, 255, 255, 0.65);
}

.country-picker__item--active {
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.45);
}

.country-picker__flag {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.country-picker__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.country-picker__name {
  font-size: 14px;
  color: #431407;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-picker__iso {
  font-size: 11px;
  color: #9a3412;
  opacity: 0.7;
}

.country-picker__dial {
  font-size: 14px;
  font-weight: 600;
  color: #bf3100;
  flex-shrink: 0;
}

.country-picker__empty {
  padding: 32px 16px;
  text-align: center;
  color: #9a3412;
  font-size: 14px;
}
