* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  min-height: 100vh;
  color: #333;
}
#root {
  min-height: 100vh;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.connect-wallet-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px #3b82f64d;
}
.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #3b82f666;
}
.wallet-connected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #ffffff1a;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}
.wallet-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.wallet-address {
  font-family: Courier New, monospace;
  font-size: 14px;
  font-weight: 600;
}
.farcaster-badge {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.disconnect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.disconnect-btn:hover {
  background: #fff3;
  transform: scale(1.1);
}
.farcaster-app {
  position: relative;
}
.farcaster-main {
  padding-top: 60px !important;
  margin-top: 0 !important;
  min-height: 100vh;
}
.farcaster-app .game-card {
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fffffff2;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px #00000014;
  transition: all 0.3s ease;
  padding: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 85px;
}
.farcaster-app .game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px #00000026;
}
.farcaster-app .game-card:active {
  transform: translateY(-2px);
}
.farcaster-app .game-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1f2937;
}
.farcaster-app .game-card p {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 6px;
  line-height: 1.4;
}
.farcaster-app .game-card .game-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.farcaster-app .game-card .xp-reward {
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.farcaster-app .game-card .bonus-xp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.farcaster-app .action-button {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px #0000001a;
}
.farcaster-app .action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #00000026;
}
.farcaster-app .card {
  background: #fffffff2;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px #0000001a;
  margin-bottom: 24px;
}
.farcaster-app .welcome-section {
  margin-bottom: 32px;
}
.farcaster-app .welcome-section h1 {
  font-size: 32px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.farcaster-app .leaderboard {
  padding: 0;
}
.farcaster-app .leaderboard .card {
  margin-bottom: 16px;
}
.farcaster-app .game-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 25px #00000026;
}
.farcaster-app .game-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}
.farcaster-app .card h1 {
  margin-top: 20px !important;
  padding-top: 20px !important;
}
.farcaster-app .card h2 {
  margin-top: 16px !important;
  padding-top: 16px !important;
}
.farcaster-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fffffff2;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  box-shadow: 0 2px 8px #00000014;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.player-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7c3aed;
  font-weight: 600;
}
.wallet-address {
  font-family: Courier New, monospace;
  font-size: 12px;
}
.not-connected-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-weight: 600;
}
.stat-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0000000d;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
}
.stat-mini.xp {
  color: #f57c00;
  background: #ffc1071a;
}
.stat-mini.token {
  color: #388e3c;
  background: #4caf501a;
}
.claim-mini {
  background: #e5e7eb;
  border: none;
  border-radius: 6px;
  padding: 6px;
  color: #9ca3af;
  cursor: not-allowed;
}
.claim-button {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px #f59e0b33;
}
.claim-button.coming-soon {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  cursor: not-allowed;
  opacity: 0.8;
  box-shadow: 0 2px 4px #9ca3af33;
}
.claim-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #f59e0b4d;
}
.claim-button.coming-soon:hover {
  transform: none;
  box-shadow: 0 2px 4px #9ca3af33;
}
.header-connect-button {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-connect-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #3b82f64d;
}
.home-button {
  background: #0000000d;
  border: none;
  border-radius: 8px;
  padding: 6px;
  color: #7c3aed;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-button:hover {
  background: #7c3aed1a;
  transform: translateY(-1px);
}
.back-button {
  background: #0000000d !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  color: #6b7280 !important;
  transition: all 0.2s ease !important;
}
.back-button:hover {
  background: #0000001a !important;
  transform: translateY(-1px) !important;
  color: #374151 !important;
}
.farcaster-xp-display.not-connected {
  background: linear-gradient(145deg, #6776eaf2, #764ba2e6);
  color: #fff;
  text-align: center;
}
.connect-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}
.connect-button {
  background: #fff3;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-bottom: 12px;
}
.connect-button:hover {
  background: #ffffff4d;
  transform: translateY(-1px);
}
.xp-preview {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.xp-preview .xp-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  opacity: 0.8;
}
.farcaster-xp-display.connected {
  color: #374151;
}
.stat-mini.token.exciting {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 12px #f59e0b4d;
  animation: tokenGlow 2s ease-in-out infinite alternate;
}
.stat-mini.token.exciting .token-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-mini.token.exciting .token-name {
  font-size: 10px;
  font-weight: 700;
  color: #92400e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}
.stat-mini.token.exciting .token-balance {
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
@keyframes tokenGlow {
  0% {
    box-shadow: 0 4px 12px #f59e0b4d;
    transform: scale(1);
  }
  to {
    box-shadow: 0 6px 20px #f59e0b80;
    transform: scale(1.02);
  }
}
@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.deploy-token-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  padding: 20px;
}
.deploy-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px #0000001a;
}
.deploy-header {
  text-align: center;
  margin-bottom: 40px;
}
.deploy-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.deploy-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.deploy-header p {
  color: #6b7280;
  font-size: 16px;
}
.deploy-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}
.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s ease;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px #3b82f61a;
}
.deploy-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}
.deploy-button {
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.deploy-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #3b82f64d;
}
.deploy-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.error-message {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.deploy-success {
  text-align: center;
}
.success-icon {
  color: #10b981;
  margin-bottom: 20px;
}
.deploy-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
}
.deploy-details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}
.detail-item {
  margin-bottom: 12px;
  font-size: 14px;
}
.detail-item strong {
  color: #374151;
  display: block;
  margin-bottom: 4px;
}
.status-message {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  color: #0369a1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
.contract-address,
.tx-hash {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.copy-button,
.view-button {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}
.copy-button:hover,
.view-button:hover {
  background: #5a67d8;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.deploy-another-button,
.home-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.deploy-another-button {
  background: #3b82f6;
  color: #fff;
  border: none;
}
.home-button {
  background: #fff;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}
.deploy-another-button:hover,
.home-button:hover {
  transform: translateY(-1px);
}
.xp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.player-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7c3aed;
  font-weight: 600;
  font-size: 12px;
}
.wallet-info {
  font-family: Courier New, monospace;
  font-size: 10px;
  color: #6b7280;
  background: #0000000d;
  padding: 4px 8px;
  border-radius: 8px;
}
.xp-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.stat-item:hover {
  background: #00000008;
}
.xp-stat {
  background: linear-gradient(135deg, #ffc1071a, #ff98000d);
}
.token-stat {
  background: linear-gradient(135deg, #4caf501a, #388e3c0d);
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.xp-stat .stat-icon {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #fff;
}
.token-stat .stat-icon {
  background: linear-gradient(135deg, #4caf50, #388e3c);
  color: #fff;
}
.stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stat-value {
  font-weight: 700;
  font-size: 16px;
  color: #1f2937;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.claim-section {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}
.claim-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: not-allowed;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}
.claim-button.disabled {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #9ca3af;
}
.claim-note {
  font-size: 10px;
  color: #6b7280;
  line-height: 1.3;
}
.compact-connect-button {
  background: #ffffff4d;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.compact-connect-button:hover {
  background: #fff6;
}
.compact-header {
  margin-bottom: 8px;
  text-align: center;
}
.compact-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #7c3aed;
  font-weight: 600;
  font-size: 10px;
}
.compact-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.compact-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.compact-stat.xp {
  background: linear-gradient(135deg, #ffc10726, #ff98001a);
  color: #f57c00;
}
.compact-stat.token {
  background: linear-gradient(135deg, #4caf5026, #388e3c1a);
  color: #388e3c;
}
.compact-stat .stat-info {
  display: flex;
  align-items: center;
  gap: 3px;
}
.compact-stat .value {
  font-weight: 700;
  font-size: 12px;
}
.compact-stat .label {
  font-size: 9px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.compact-claim-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 10px;
  border: none;
  cursor: not-allowed;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #9ca3af;
}
.skeleton-loader {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 16px 0;
}
.skeleton-logo {
  width: 120px;
  height: 32px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}
.skeleton-nav {
  width: 200px;
  height: 32px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}
.skeleton-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.skeleton-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px #0000001a;
}
.skeleton-title {
  width: 70%;
  height: 24px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 16px;
}
.skeleton-description {
  width: 100%;
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}
.skeleton-description:nth-child(3) {
  width: 80%;
}
.skeleton-button {
  width: 120px;
  height: 40px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
  margin-top: 16px;
}
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}
@media (max-width: 768px) {
  .farcaster-app .container {
    padding: 16px;
  }
  .farcaster-app .game-card {
    padding: 16px;
    min-height: 120px;
    position: relative;
  }
  .farcaster-app .card {
    padding: 24px;
  }
  .farcaster-xp-display {
    top: 10px;
    right: 10px;
    min-width: 160px;
    max-width: 180px;
    padding: 12px;
  }
  .stat-value {
    font-size: 14px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
  }
  .connect-button {
    padding: 8px 12px;
    font-size: 12px;
  }
}
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 24px;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #3b82f64d;
}
.btn-secondary {
  background: #ffffff1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: #fff3;
}
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.card {
  background: #fffffff2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px #0000001a;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.wallet-connect {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.wallet-address {
  font-family: Courier New, monospace;
  background: #0000001a;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  word-break: break-all;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.farcaster-app .games-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.farcaster-app .game-card {
  padding: 12px;
  min-height: 90px;
  position: relative;
}
.game-card {
  background: #fffffff2;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px #00000026;
}
.game-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}
.header {
  background: #ffffff1a;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.status-connected {
  color: #10b981;
}
.status-disconnected {
  color: #ef4444;
}
@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .farcaster-app .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .btn {
    width: 100%;
  }
  .header-content {
    flex-direction: column;
    gap: 12px;
  }
  .farcaster-app .game-card {
    padding: 12px;
    min-height: 100px;
  }
}
.wallet-dropdown {
  position: relative;
  display: inline-block;
}
.wallet-dropdown:hover .wallet-options {
  display: block;
}
.wallet-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #000000e6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  min-width: 180px;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.wallet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.wallet-option:hover {
  background: #ffffff1a;
}
.disconnect-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ef44441a;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}
.disconnect-button:hover {
  background: #ef444433;
  border-color: #ef444480;
  transform: translateY(-1px);
}
