:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;
  color: rgba(255, 255, 255, 0.95);
  background-color: #141a12;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #90EE90;
  text-decoration: inherit;
}
a:hover {
  color: #39FF14;
}

body {
  margin: 0;
  position: absolute;
  width: 100%;
  min-height: 100vh;
  background-color: #141a12;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Mobile-first responsive design improvements */
@media (max-width: 600px) {
  body {
    background-attachment: scroll; /* Better performance on mobile */
  }

  /* Ensure touch targets are at least 44px */
  button, .MuiButton-root {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve text readability on small screens */
  .MuiTypography-root {
    word-break: break-word;
    hyphens: auto;
  }

  /* Prevent horizontal scrolling */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Tablet optimizations */
@media (min-width: 601px) and (max-width: 960px) {
  /* Tablet-specific styles */
  .MuiContainer-root {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Desktop optimizations */
@media (min-width: 961px) {
  /* Desktop-specific styles */
  .MuiContainer-root {
    padding-left: 24px;
    padding-right: 24px;
  }
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: rgba(26, 34, 24, 0.9);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #39FF14;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Dark theme only — SetGox style */
/* Web3Modal Trust Wallet Priority Styles */

/* Trust Wallet Priority - Make it stand out */
w3m-modal wui-wallet-button[data-wallet-id="4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"] {
  order: -999 !important;
  border: 2px solid #FFA000 !important;
  background: linear-gradient(135deg, #FFA000 0%, #FF8F00 100%) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 15px rgba(255, 160, 0, 0.4) !important;
  margin-bottom: 8px !important;
}

/* Trust Wallet text styling */
w3m-modal wui-wallet-button[data-wallet-id="4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"] wui-text {
  color: white !important;
  font-weight: bold !important;
}

/* Mobile specific - Trust Wallet first */
@media (max-width: 768px) {
  w3m-modal wui-wallet-button[data-wallet-id="4622a2b2d6af1c9844944291e5e7351a6aa24cd7b23099efac1b2fd875da31a0"] {
    order: -999 !important;
    transform: scale(1.1) !important;
    margin-bottom: 12px !important;
  }
}


