/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-inter"}],"variableName":"inter"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.49%;descent-override: 22.56%;line-gap-override: 0.00%;size-adjust: 107.06%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}.__variable_f367f3 {--font-inter: '__Inter_f367f3', '__Inter_Fallback_f367f3'
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Press_Start_2P","arguments":[{"subsets":["latin"],"weight":"400","variable":"--font-pixel"}],"variableName":"pixel"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Press_Start_2P_6d0c14';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/dbbdd2d89d2ef0ef-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Press_Start_2P_6d0c14';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/a06229eb79a83cfc-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: '__Press_Start_2P_6d0c14';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/c9e224327ce7933e-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: '__Press_Start_2P_6d0c14';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d85064eaed4b8683-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Press_Start_2P_6d0c14';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/db234bd00cda6a96-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Press_Start_2P_Fallback_6d0c14';src: local("Arial");ascent-override: 44.58%;descent-override: 0.00%;line-gap-override: 0.00%;size-adjust: 224.32%
}.__className_6d0c14 {font-family: '__Press_Start_2P_6d0c14', '__Press_Start_2P_Fallback_6d0c14';font-weight: 400;font-style: normal
}.__variable_6d0c14 {--font-pixel: '__Press_Start_2P_6d0c14', '__Press_Start_2P_Fallback_6d0c14'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg-primary: #050505;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #1a1a1a;
  --border-primary: #2a2a2a;
  --border-secondary: #3c3c3c;
  --text-primary: #f5f5f5;
  --text-secondary: #d0d0d0;
  --text-muted: #9a9a9a;
  --accent-primary: #ffffff;
  --accent-secondary: #dcdcdc;
  --accent-hotpink: #ffffff;
  --accent-gradient: linear-gradient(135deg, #ffffff 0%, #c8c8c8 50%, #000000 100%);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-pixel), ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  background: var(--bg-primary);
  color: var(--text-primary);
}

#__next {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Landing */
.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.landing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-overlay {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  flex-direction: column;
  gap: 24px;
}

.landing-card {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.05) inset;
  padding: 32px;
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  text-align: center;
}

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

.brand-icon {
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-gradient);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.brand-title {
  margin: 0;
  font-size: clamp(40px, 12vw, 92px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.2);
}

.x-accent {
  display: inline-block;
  transform: rotate(12deg) skewX(-6deg);
  color: var(--accent-hotpink);
}

.brand-sub {
  margin-top: 8px;
  color: var(--text-secondary);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-enter {
  font-size: 18px;
  padding: 14px 22px;
  background: var(--accent-gradient);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

.hint-mini {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

/* Pixel theme helpers */
.pixel-frame {
  position: relative;
}

.pixel-frame::before,
.pixel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pixel-frame::before {
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  -webkit-clip-path: polygon(0% 6px, 6px 6px, 6px 0%,
      calc(100% - 6px) 0%, calc(100% - 6px) 6px, 100% 6px,
      100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
      6px 100%, 6px calc(100% - 6px), 0% calc(100% - 6px));
          clip-path: polygon(0% 6px, 6px 6px, 6px 0%,
      calc(100% - 6px) 0%, calc(100% - 6px) 6px, 100% 6px,
      100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
      6px 100%, 6px calc(100% - 6px), 0% calc(100% - 6px));
}

.pixel-frame::after {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Subtle CRT scanlines */
.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 2px,
      transparent 4px);
  pointer-events: none;
}

/* Concept section */
.concept {
  width: min(980px, 92vw);
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 24px;
}

.concept-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: var(--text-primary);
}

.concept-text {
  margin: 0 0 16px 0;
  color: var(--text-secondary);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.concept-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 16px;
}

.concept-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 10px;
}

.concept-head {
  font-weight: 800;
  margin-bottom: 6px;
}

.concept-body {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .concept-grid {
    grid-template-columns: 1fr;
  }
}

.app-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Pixel crisp text rendering */
.pixelated,
body {
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  border-bottom: 1px solid var(--border-primary);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  transition: transform 0.2s ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  padding: 8px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.logo-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-start {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-secondary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.wallet-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  transition: all 0.2s ease;
}

.wallet-indicator {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.2s ease;
  box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.1);
}

.status-dot.connected {
  background: var(--accent-secondary);
  box-shadow: 0 0 0 2px rgba(220, 220, 220, 0.2);
}

.wallet-address {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.btn-primary {
  background: var(--accent-gradient);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Section */
.section {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.section.fullscreen {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.section.fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 70% -200px, rgba(255, 255, 255, 0.10), transparent 60%),
    radial-gradient(700px 500px at -200px 80%, rgba(255, 255, 255, 0.15), transparent 60%);
}

.section.fullscreen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 2px,
      transparent 4px);
}

.pixel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  cursor: crosshair;
}

/* Dapp overlay branding */
.brand-mini {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 8px 12px;
}

.brand-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mini-icon {
  padding: 6px;
  border-radius: 8px;
  background: var(--accent-gradient);
}

.brand-mini-text {
  font-weight: 900;
}

.floating-controls {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
  transition: transform 0.3s ease;
  min-width: 300px;
}

.floating-controls.hidden {
  transform: translateX(calc(100% - 50px));
}

.toggle-controls {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.toggle-controls:hover {
  background: var(--bg-tertiary);
  transform: translateY(-50%) scale(1.1);
}

.controls-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-group .label {
  min-width: 60px;
}

.controls-hint-mini {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 50;
}

.controls-hint-mini kbd {
  background: var(--bg-primary);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
  border: 1px solid var(--border-primary);
  color: var(--accent-hotpink);
}

.status-mini {
  font-size: 12px;
  color: var(--text-primary);
  padding: 4px 8px;
  background: var(--bg-primary);
  border-radius: 6px;
  border: 1px solid var(--border-primary);
}

/* Removed old toolbar styles - now using floating controls */

.row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  background: var(--bg-tertiary);
  transition: all 0.2s ease;
}

.row:hover {
  border-color: var(--border-secondary);
  transform: translateY(-1px);
}

.label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  min-width: 50px;
}

.pill {
  border: 1px solid var(--border-primary);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-primary);
  font-weight: 500;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn:hover:not(:disabled) {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-zoom {
  min-width: 40px;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 12px;
}

.color-picker-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color {
  width: 48px;
  height: 36px;
  padding: 0;
  border: 2px solid var(--border-primary);
  border-radius: 12px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.color:hover {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.color-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-primary);
}

.color-text {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Canvas and grid styles removed - now using HTML5 Canvas */

.status {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  color: var(--accent-secondary);
  font-weight: 500;
  text-align: center;
}

.hint {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
}

.hint code {
  background: var(--bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  color: var(--accent-primary);
}

/* Old hint and canvas styles removed - now using Canvas API */

/* Performance optimized Canvas API styles */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .landing-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .landing-overlay {
    padding: 16px;
  }

  .landing-card {
    padding: 24px 16px;
    width: 100%;
  }

  .brand-title {
    font-size: clamp(36px, 12vw, 60px);
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-enter,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  /* Nav Mobile */
  .nav-wallet-desktop {
    display: none;
  }

  .nav-content {
    padding: 0 16px;
  }

  .nav-logo span {
    font-size: 18px;
  }

  .wallet-status {
    padding: 8px 12px;
  }

  .wallet-address {
    font-size: 12px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  /* Hide default floating controls on mobile */
  .floating-controls {
    display: none !important;
  }

  /* Hide Desktop Hints */
  .controls-hint-mini {
    display: none !important;
  }

  /* Mobile FAB (Floating Action Button) - Centered */
  .mobile-fab {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .mobile-fab:active {
    transform: translateX(-50%) scale(0.92);
  }

  .mobile-fab-icon {
    width: 32px;
    height: 32px;
    color: white;
  }

  /* Mobile Status Toast */
  .mobile-status-toast {
    position: fixed;
    top: 20px;
    left: 16px;
    right: 16px;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-left: 4px solid var(--accent-hotpink);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  @keyframes slideDownFade {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Bottom Sheet Overlay */
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* Bottom Sheet Content */
  .mobile-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0a0a0a;
    /* Fallback */
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(5, 5, 5, 1));
    border-top: 1px solid var(--border-primary);
    border-radius: 24px 24px 0 0;
    padding: 24px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    z-index: 999;
    transform: translateY(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .mobile-bottom-sheet.open {
    transform: translateY(0);
  }

  /* Bottom Sheet Handle */
  .sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border-secondary);
    border-radius: 2px;
    margin: -8px auto 12px auto;
  }

  /* Sheet Header */
  .sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-primary);
  }

  .sheet-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
  }

  .sheet-close {
    background: var(--bg-tertiary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Grid Layouts */
  .sheet-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    gap: 12px;
  }

  .sheet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
  }
}
