/* =========================================
   Global Variables & Reset
   ========================================= */
:root {
  --primary: #26A17B;
  --primary-dark: #197c5e;
  --primary-light: #ecfdf5;
  --primary-border: #d1fae5;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.04);
  --header-height: 61px;
  --sidebar-width: 240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-color: var(--bg-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   Top Navigation Bar
   ========================================= */
.top-navbar {
  width: 100%;
  min-height: var(--header-height);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-bar-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.menu-bar-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary-dark);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.network-badge {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #16a34a;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================
   Sidebar & Desktop / Mobile Shell
   ========================================= */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.45);
  z-index: 890;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  z-index: 900;
  transition: transform 0.2s ease;
}

.sidebar-panel.closed {
  transform: translateX(-100%);
}

.sidebar-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.sidebar-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-close:hover {
  background-color: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.sidebar-menu {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-section {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 10px 12px 4px;
}

.sidebar-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-item:hover {
  background-color: var(--bg-body);
  color: var(--text-main);
}

.sidebar-item.active {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.sidebar-item.logout {
  color: #e11d48;
}

.sidebar-item.logout:hover {
  background-color: #fff1f2;
}

.sidebar-bottom {
  padding: 14px 18px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Push content right of sidebar on desktop */
.top-navbar ~ .hero-section,
.top-navbar ~ .main-wrapper,
.top-navbar ~ .site-footer {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  transition: margin-left 0.2s ease, width 0.2s ease;
}

.top-navbar ~ .sidebar-panel.closed ~ .hero-section,
.top-navbar ~ .sidebar-panel.closed ~ .main-wrapper,
.top-navbar ~ .sidebar-panel.closed ~ .site-footer {
  margin-left: 0;
  width: 100%;
}

/* =========================================
   Index Hero & Auth Card Styles
   ========================================= */
.hero-section {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 44px 0 52px;
}

.hero-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ecfdf5;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
}

.hero-cta-note {
  font-size: 13px;
  color: #d1fae5;
  font-weight: 600;
  margin-top: 4px;
}

.hero-cta-note button {
  background: none;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.auth-card {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-header-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.auth-error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background-color: var(--bg-body);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.auth-tab {
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.auth-tab.active {
  background-color: var(--primary);
  color: #ffffff;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth-form.active {
  display: flex;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper .form-control {
  padding-right: 68px;
}

.toggle-pass-btn {
  position: absolute;
  right: 10px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  border-radius: 7px;
  padding: 4px 9px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.toggle-pass-btn:hover {
  background-color: var(--primary-border);
}

.winner-user {
  font-weight: 600;
  color: var(--text-secondary);
}

.site-footer {
  width: 100%;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.footer-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
}

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

/* =========================================
   Main Layout Wrapper
   ========================================= */
.main-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: calc(var(--header-height) + 28px) auto 48px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-section + .main-wrapper {
  margin-top: 28px;
}

/* =========================================
   Wallet Banner
   ========================================= */
.wallet-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 28px rgba(38, 161, 123, 0.16);
}

.balance-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.balance-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
}

.balance-value {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.balance-value span {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-border);
  margin-left: 2px;
}

.action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 12px 20px;
  color: #ffffff;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.action-btn:hover {
  background-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.action-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 32px;
  height: 32px;
  background-color: #ffffff;
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-text {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================
   Full-Width USDT Token Card
   ========================================= */
.token-card {
  width: 100%;
  background-color: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 22px 28px 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.token-card:hover {
  transform: translateY(-2px);
  border-color: #a7f3d0;
  box-shadow: 0 12px 28px rgba(38, 161, 123, 0.1);
}

.token-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.token-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.token-badge {
  background-color: var(--bg-body);
  border: 1px dashed #94a3b8;
  padding: 5px 11px;
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.card-stats {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 24px;
  gap: 16px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-box.right {
  text-align: right;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.price-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.win-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.divider {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
  flex-shrink: 0;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  min-width: 175px;
  white-space: nowrap;
}

.card-bottom strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.status .status-dot {
  background-color: var(--primary);
}

/* =========================================
   Section Card & Data Table
   ========================================= */
.section-card {
  width: 100%;
  background-color: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.pill-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pill-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  padding: 13px 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
}

.data-table th.text-right,
.data-table td.text-right {
  text-align: right;
}

.data-table td {
  padding: 15px 24px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 14px;
  color: var(--text-secondary);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: var(--bg-body);
}

.mono-id {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  background-color: var(--bg-body);
  border: 1px dashed #cbd5e1;
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.amount-negative {
  font-size: 15px;
  font-weight: 800;
  color: #e11d48;
  white-space: nowrap;
}

.amount-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-completed {
  background-color: #ecfdf5;
  color: #16a34a;
}

.badge-pending {
  background-color: #fffbeb;
  color: #d97706;
}

/* =========================================
   Withdraw Modal
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background-color: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.modal-body {
  padding: 20px 22px 24px;
}

/* =========================================
   Form Elements
   ========================================= */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.form-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  background-color: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 161, 123, 0.14);
}

.form-control.mono-input {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
}

.input-suffix {
  position: absolute;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-note strong {
  color: var(--text-secondary);
}

.submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(38, 161, 123, 0.2);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(38, 161, 123, 0.28);
}

.submit-btn:active {
  transform: translateY(0);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 900px) {
  .sidebar-panel {
    transform: translateX(-100%);
  }

  .sidebar-panel.mobile-open {
    transform: translateX(0);
  }

  .top-navbar ~ .hero-section,
  .top-navbar ~ .main-wrapper,
  .top-navbar ~ .site-footer {
    margin-left: 0;
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .token-card {
    flex-wrap: wrap;
    padding: 20px 22px 20px 26px;
    gap: 16px;
  }

  .card-top {
    min-width: auto;
    flex: 1;
  }

  .card-bottom {
    flex-direction: row;
    align-items: center;
    min-width: auto;
  }

  .card-stats {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 16px;
  }

  .main-wrapper {
    margin: calc(var(--header-height) + 16px) auto 32px;
    padding: 0 16px;
    gap: 20px;
  }

  .hero-section {
    padding: 28px 0 36px;
  }

  .hero-container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .footer-container {
    padding: 18px 16px;
    flex-direction: column;
    text-align: center;
  }

  .wallet-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 22px;
    border-radius: 18px;
  }

  .balance-info {
    text-align: center;
  }

  .balance-value {
    font-size: 32px;
  }

  .action-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .action-btn {
    flex-direction: column;
    padding: 14px 8px;
    gap: 8px;
  }

  .btn-text {
    font-size: 12px;
  }

  .token-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 16px 22px;
    gap: 14px;
    border-radius: var(--radius-md);
  }

  .card-top {
    width: 100%;
    justify-content: space-between;
  }

  .brand-title {
    font-size: 15px;
  }

  .card-stats {
    order: 2;
    width: 100%;
    padding: 11px 16px;
    justify-content: space-between;
  }

  .card-bottom {
    order: 3;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .price-value {
    font-size: 15px;
  }

  .win-value {
    font-size: 16px;
  }

  .card-header {
    padding: 16px 18px;
  }

  .data-table th,
  .data-table td {
    padding: 13px 16px;
  }

  .modal-dialog {
    border-radius: var(--radius-md);
  }

  .modal-header,
  .modal-body {
    padding: 16px 18px;
  }
}