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

body {
  overflow: hidden;
  background: #000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  cursor: default;
}

#game-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

#game-canvas canvas {
  display: block;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-content {
  text-align: center;
}

.loading-content h1 {
  font-size: 4rem;
  background: linear-gradient(135deg, #00d2ff, #7a5fff, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loading-content p {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 2rem;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: #222;
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00d2ff, #7a5fff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Auth Screen */
#auth-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.auth-content {
  text-align: center;
}

.auth-content h1 {
  font-size: 4rem;
  background: linear-gradient(135deg, #00d2ff, #7a5fff, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.auth-content p {
  color: #888;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

#google-signin-btn {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  min-height: 44px;
}

.auth-loading {
  color: #7a5fff;
  font-size: 1.1rem;
  padding: 12px 24px;
  animation: authPulse 1.5s ease-in-out infinite;
}

@keyframes authPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Name Screen */
#name-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.name-content {
  text-align: center;
}

.name-content h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #00d2ff, #7a5fff, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.name-content p {
  color: #888;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.name-content input {
  display: block;
  width: 320px;
  padding: 14px 20px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
}

.name-content input:focus {
  border-color: #7a5fff;
}

.name-content button {
  display: block;
  width: 320px;
  padding: 14px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #7a5fff, #00d2ff);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.name-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 95, 255, 0.4);
}

.controls-hint {
  color: #555;
  font-size: 0.85rem;
}

/* HUD */
#crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

#player-count {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #aaa;
  z-index: 10;
  backdrop-filter: blur(10px);
}

#controls-info {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #666;
  z-index: 10;
}

/* Chat */
#chat-container {
  position: fixed;
  bottom: 16px;
  left: 16px;
  width: 420px;
  z-index: 20;
  pointer-events: none;
}

#chat-messages {
  max-height: 250px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: none;
}

#chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-msg {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.4;
  animation: chatFadeIn 0.3s ease;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.chat-msg.system {
  color: #888;
  font-style: italic;
  background: rgba(0, 0, 0, 0.3);
}

.chat-msg .sender {
  font-weight: 700;
  margin-right: 6px;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg-fade {
  opacity: 0.3;
  transition: opacity 2s ease;
}

#chat-input-container {
  margin-top: 6px;
  pointer-events: all;
}

#chat-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  backdrop-filter: blur(10px);
}

#chat-input:focus {
  border-color: #7a5fff;
}

/* Player name labels (3D overlay) */
.player-label {
  position: absolute;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -100%);
  white-space: nowrap;
  z-index: 5;
}

/* Speech bubble */
.speech-bubble {
  position: absolute;
  max-width: 220px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 16px;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -100%);
  word-wrap: break-word;
  z-index: 6;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, 0.95);
}

.speech-bubble-show {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-4px);
}

.speech-bubble-hide {
  opacity: 0;
  transform: translate(-50%, -100%) translateY(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ── Player Context Menu ─────────────────────────── */
.player-menu {
  position: fixed;
  min-width: 180px;
  background: rgba(16, 16, 36, 0.95);
  border: 1px solid #00e5ff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.15);
  animation: menuFadeIn 0.15s ease;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.player-menu-header {
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.player-menu-item {
  padding: 10px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  color: #ddd;
}

.player-menu-item:hover {
  background: rgba(0, 229, 255, 0.15);
  color: #fff;
}

.player-menu-item.disabled {
  color: #555;
  cursor: default;
}

.player-menu-item.disabled:hover {
  background: transparent;
  color: #555;
}

.player-menu-tooltip {
  float: right;
  font-size: 0.7rem;
  color: #444;
  font-style: italic;
  margin-left: 10px;
}

/* ── Challenge Dialogs ───────────────────────────── */
.challenge-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdropIn 0.2s ease;
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.challenge-dialog {
  background: #1a1a2e;
  border: 1px solid #00e5ff;
  border-radius: 14px;
  padding: 28px 32px;
  min-width: 340px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 12px 48px rgba(0, 229, 255, 0.2);
  animation: dialogIn 0.25s ease;
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.challenge-dialog-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.challenge-dialog-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: #666;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.15s;
}

.challenge-dialog-close:hover {
  color: #fff;
}

.challenge-bet-row {
  margin: 12px 0 4px;
  text-align: center;
}

.challenge-bet-label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 6px;
}

.challenge-bet-input {
  width: 160px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  background: rgba(255, 215, 0, 0.08);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  color: #ffd700;
  outline: none;
  transition: border-color 0.2s;
}

.challenge-bet-input:focus {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.challenge-bet-input::placeholder {
  color: rgba(255, 215, 0, 0.3);
}

.challenge-game-cards {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

.challenge-game-card {
  flex: 1;
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.challenge-game-card:hover {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.challenge-game-card.disabled {
  opacity: 0.35;
  cursor: default;
}

.challenge-game-card.disabled:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  transform: none;
}

.challenge-game-card-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.challenge-game-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ccc;
}

.challenge-game-card-sub {
  font-size: 0.7rem;
  color: #555;
  margin-top: 4px;
}

.challenge-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.challenge-btn {
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.challenge-btn.accept {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.challenge-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.4);
}

.challenge-btn.reject {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.challenge-btn.reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
}

/* ── Challenge Alert (top notification) ──────────── */
.challenge-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 16, 36, 0.95);
  border: 1px solid #f39c12;
  border-radius: 10px;
  padding: 12px 24px;
  color: #f39c12;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 300;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
  animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Tetris Overlay ──────────────────────────────── */
#tetris-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 8, 20, 0.97);
  z-index: 500;
  padding: 20px 40px;
}

.tetris-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tetris-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.tetris-timer {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00e5ff;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  letter-spacing: 4px;
}

.tetris-boards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex: 1;
  width: 100%;
}

.tetris-player-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tetris-player-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.tetris-player-score {
  font-size: 0.95rem;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 6px;
}

.tetris-board-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.tetris-board-canvas {
  border: 2px solid #00e5ff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.tetris-side-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tetris-side-label {
  color: #557;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tetris-side-box {
  border: 1px solid #00e5ff;
  border-radius: 4px;
  background: rgba(10, 10, 30, 0.8);
  padding: 4px;
}

.tetris-side-box canvas {
  display: block;
}

.tetris-lines-display {
  border: 1px solid #00e5ff;
  border-radius: 4px;
  padding: 6px 12px;
  text-align: center;
  margin-top: 4px;
}

.tetris-lines-label {
  color: #557;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tetris-lines-value {
  color: #f0c040;
  font-size: 1.4rem;
  font-weight: 700;
}

.tetris-vs {
  font-size: 2rem;
  font-weight: 700;
  color: #00e5ff;
  border: 1px solid #00e5ff;
  padding: 6px 14px;
  border-radius: 6px;
  align-self: center;
  margin-top: 60px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

/* ── Tetris Result Screen ────────────────────────── */
.tetris-result-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdropIn 0.3s ease;
}

.tetris-result-backdrop.win {
  background: rgba(46, 204, 113, 0.15);
}

.tetris-result-backdrop.lose {
  background: rgba(231, 76, 60, 0.15);
}

.tetris-result-box {
  padding: 40px 60px;
  border-radius: 16px;
  text-align: center;
  animation: dialogIn 0.4s ease;
}

.tetris-result-box.win {
  background: linear-gradient(135deg, #1a4a2e, #1a3a2e);
  border: 2px solid #2ecc71;
  box-shadow: 0 0 40px rgba(46, 204, 113, 0.3);
}

.tetris-result-box.lose {
  background: linear-gradient(135deg, #4a1a1a, #3a1a1a);
  border: 2px solid #e74c3c;
  box-shadow: 0 0 40px rgba(231, 76, 60, 0.3);
}

.tetris-result-emoji {
  font-size: 4rem;
  margin-bottom: 12px;
}

.tetris-result-text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.tetris-result-box.win .tetris-result-text {
  color: #2ecc71;
}

.tetris-result-box.lose .tetris-result-text {
  color: #e74c3c;
}

.tetris-result-btn {
  padding: 12px 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tetris-result-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ── Wallet Balance HUD ──────────────────────────── */
#wallet-balance-hud {
  position: fixed;
  top: 16px;
  right: 170px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2ecc71;
  z-index: 10;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46, 204, 113, 0.25);
  user-select: none;
}

.wallet-icon {
  font-size: 1.1rem;
}

/* ── Wallet Dialog ───────────────────────────────── */
.wallet-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdropIn 0.2s ease;
}

.wallet-dialog {
  position: relative;
  background: #1a1a2e;
  border: 1px solid #2ecc71;
  border-radius: 14px;
  padding: 28px 32px 32px;
  min-width: 380px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 12px 48px rgba(46, 204, 113, 0.15);
  animation: dialogIn 0.25s ease;
}

.wallet-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: #666;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}

.wallet-close:hover {
  color: #fff;
}

.wallet-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.wallet-balance-row {
  font-size: 1.05rem;
  color: #aaa;
  margin-bottom: 18px;
}

.wallet-balance-row span {
  color: #2ecc71;
  font-weight: 700;
  font-size: 1.15rem;
}

/* Tabs */
.wallet-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wallet-tab {
  flex: 1;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: #888;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

.wallet-tab.active {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

/* Form elements */
.wallet-label {
  display: block;
  text-align: left;
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.wallet-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}

.wallet-input:focus {
  border-color: #2ecc71;
}

.wallet-input::placeholder {
  color: #555;
}

/* Remove spinner from number inputs */
.wallet-input[type=number]::-webkit-inner-spin-button,
.wallet-input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wallet-input[type=number] {
  -moz-appearance: textfield;
}

.wallet-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.wallet-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.wallet-btn-primary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.wallet-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.4);
}

.wallet-btn-withdraw {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.wallet-btn-withdraw:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(243, 156, 18, 0.4);
}

/* QR Code area */
.wallet-qr-msg {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.wallet-qr-img {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  display: block;
  margin: 0 auto 12px;
}

.wallet-qr-status {
  color: #f39c12;
  font-weight: 600;
  font-size: 0.9rem;
}

.wallet-success {
  color: #2ecc71;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 30px 0;
  animation: dialogIn 0.3s ease;
}

/* Messages */
.wallet-msg {
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
}

.wallet-msg-error {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.wallet-msg-success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}
