@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Noto+Sans:wght@400;500;600;700;800&family=Press+Start+2P&display=swap');


:root {
  --bg-deep:        #080214;
  --bg-dark:        #0d0420;
  --bg-surface:     rgba(13, 8, 26, 0.72);
  --bg-card:        rgba(15, 9, 30, 0.65);
  --bg-card-hover:  rgba(24, 14, 46, 0.8);
  
  --border-dark:    rgba(255, 255, 255, 0.08);
  --border-med:     rgba(255, 255, 255, 0.14);
  --border-gold:    rgba(255, 255, 255, 0.22);
  --border-bright:  rgba(255, 255, 255, 0.35);
  --border-inner:   rgba(255, 255, 255, 0.05);
  
  --neon-magenta:   #ff00ff;
  --neon-cyan:      #00f0ff;
  --neon-glow:      rgba(255, 0, 255, 0.25);
  --neon-glow-cyan: rgba(0, 240, 255, 0.25);

  --gold:           #fee055;
  --gold-light:     #fee055;
  --gold-bright:    #ffffff;
  --gold-dim:       #ca8a04;
  --gold-glow:      rgba(254, 224, 85, 0.35);
  
  --ember:          #ff00ff;
  --ember-bright:   #ff40ff;
  --ember-glow:     rgba(255, 0, 255, 0.25);
  
  --text-main:      #ffffff;
  --text-dim:       #cbd5e1;
  --text-muted:     #808ea3;
  
  --green:          #16a34a;
  --green-bright:   #4ade80;
  --red:            #dc2626;
  --red-bright:     #f87171;
  
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      16px;
}

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

html {
  scroll-behavior: smooth;
}

.m2-starfield-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-color: #020006;
  -webkit-mask-image: linear-gradient(to bottom, #000000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 60%, transparent 100%);
}

body {
  font-family: 'Noto Sans', system-ui, -apple-system, sans-serif;
  background-color: #000000;
  background-image: 
    linear-gradient(to right, rgba(255, 0, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 0, 255, 0.055) 1px, transparent 1px),
    radial-gradient(ellipse 90% 650px at 50% 0%, rgba(255, 0, 255, 0.08) 0%, transparent 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.m2-pixel-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.m2-pixel-canvas.is-active {
  opacity: 1;
}

.site-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.wrap {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.home-wrap {
  padding: 0;
  max-width: none;
  background: transparent;
  position: relative;
  z-index: 2;
}

a {
  color: #f8fafc;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ff00ff;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 74px;
  background: rgba(8, 0, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(8, 0, 16, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85);
}

.site-header .site-wrap {
  max-width: 1440px;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  min-width: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
}

.header-logo-img {
  height: 30px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
  filter: none !important;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.header-logo:hover .header-logo-img {
  transform: scale(1.04);
}

.header-logo:active .header-logo-img {
  transform: scale(0.97);
}

.header-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: visible;
}

.slide-tabs {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: border-color 0.25s ease;
}

.slide-tabs:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.slide-tab {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 9999px;
  user-select: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.slide-tab a,
.slide-tab a:hover,
.slide-tab a:focus,
.slide-tab a.active,
.slide-tab .nav-discord,
.slide-tab .nav-community {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 11px !important;
  font-family: 'Press Start 2P', monospace !important;
  font-size: 7.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  transition: color 0.15s ease !important;
}

.slide-tab.cursor-over a {
  color: #000000 !important;
  text-shadow: none !important;
}

.slide-tab.cursor-over a .discord-logo {
  fill: #000000 !important;
}

.slide-tab-discord a {
  gap: 6px !important;
}

.slide-tab-discord .discord-logo {
  width: 12px;
  height: 12px;
  fill: #cbd5e1;
  transition: fill 0.15s ease;
}

.slide-tab-cursor {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 9999px;
  background: #fee055;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: left 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              width 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.2s ease;
}

.header-right {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
  align-items: center;
  gap: 10px;
}

.header-shop-btn {
  display: none;
}

.lang-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 34px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switcher:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.lang-switcher a {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #cbd5e1;
  height: 100%;
  padding: 0 8px;
  border-radius: 9999px;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.lang-switcher a.active {
  color: #000000 !important;
  background: #fee055;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lang-switcher a:hover {
  color: #000000 !important;
  background: #fee055 !important;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lang-switcher:has(a:hover) a.active:not(:hover) {
  background: transparent;
  color: #cbd5e1 !important;
  box-shadow: none;
}

.header-auth > a,
.header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-height: 34px;
  box-sizing: border-box;
  padding: 0 16px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.75);
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-auth > a:hover,
.header-account-link:hover {
  border-color: #fee055;
  background: #fee055;
  color: #000000 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0 5px 0 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-account:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.header-account-name {
  display: inline-flex;
  align-items: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  transition: color 0.15s ease;
}

.header-account-name:hover {
  color: #fee055;
}

.header-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.header-logout-btn svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  transform: none;
}

.header-logout-btn:hover {
  color: #ffffff;
  background-color: #ff0055;
  transform: scale(1.05);
}


.m2-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  isolation: isolate;
  background: 
    linear-gradient(180deg, rgba(6, 5, 4, 0.25) 0%, rgba(6, 5, 4, 0.75) 60%, #060504 100%),
    url('../img/hero_bg.jpg') center top / cover no-repeat;
}

.m2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 5, 4, 0.85) 100%);
  pointer-events: none;
}

.m2-hero.m2-hero-pixel-mode {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: transparent !important;
}

.m2-hero.m2-hero-pixel-mode::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(45, 10, 75, 0.40) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.m2-hero.m2-hero-pixel-mode::after {
  display: none !important;
}

.m2-pixel-canvas-mount {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.m2-pixel-canvas-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.pixel-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Press Start 2P', monospace, system-ui;
}

.pixel-status-pill {
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 0;
  color: #ffffff;
  max-width: 100%;
  box-sizing: border-box;
}

@keyframes pixelLogoFloat {
  0% {
    transform: translateY(0px);
    filter: drop-shadow(0 0 16px rgba(254, 224, 85, 0.35)) drop-shadow(0 0 35px rgba(217, 70, 239, 0.3));
  }
  100% {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 28px rgba(254, 224, 85, 0.6)) drop-shadow(0 0 55px rgba(217, 70, 239, 0.5));
  }
}

.pixel-headline {
  font-family: 'Press Start 2P', monospace, system-ui !important;
  font-size: clamp(18px, 3.8vw, 48px) !important;
  font-weight: 700;
  color: #fee055 !important;
  text-shadow: 
    3px 3px 0px #f804e9,
    4px 4px 0px #f804e9,
    5px 5px 0px #000000,
    6px 6px 0px #000000,
    0 0 25px rgba(248, 4, 233, 0.45) !important;
  line-height: 1.35 !important;
  letter-spacing: -1px !important;
  margin-bottom: 24px;
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
  text-align: center;
}

.pixel-headline-line {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

.pixel-headline-line.brand {
  margin-bottom: 8px;
}

.pixel-word-wrap {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}

.pixel-char-span {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: pixelCharFlyIn 0.6s cubic-bezier(0.2, 0.65, 0.3, 0.9) forwards;
}

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

.pixel-lead {
  font-family: inherit;
  font-size: clamp(10px, 1.2vw, 13px) !important;
  line-height: 1.9 !important;
  color: #cbd5e1 !important;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(12px);
  animation: pixelFadeUp 0.6s cubic-bezier(0.2, 0.65, 0.3, 0.9) 0.4s forwards;
  text-align: center;
}

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

.pixel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pixel-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0;
  border: 2px solid #ffffff;
  background: #000000;
  color: #ffffff !important;
  padding: 16px 28px;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  box-sizing: border-box;
}

.pixel-btn-primary:hover {
  background: #ffffff;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.pixel-btn-primary.play {
  border-color: #fee055;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.pixel-btn-primary.play:hover {
  background: #fee055;
  border-color: #fee055;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}


.pixel-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  color: #cbd5e1 !important;
  padding: 16px 28px;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pixel-btn-ghost:hover {
  border-color: #fee055;
  color: #fee055 !important;
  background: rgba(254, 224, 85, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.pixel-split-btn {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid #fee055;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  position: relative;
}

.pixel-split-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(254, 224, 85, 0.2);
}

.pixel-split-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  color: #ffffff !important;
  padding: 16px 24px;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  border: none;
  outline: none;
  white-space: nowrap;
}

.pixel-split-action:hover {
  background: #fee055;
  color: #000000 !important;
}

.pixel-split-divider {
  width: 2px;
  background: #fee055;
  flex-shrink: 0;
}

.pixel-split-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  background: #000000;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.pixel-split-lang:hover {
  background: rgba(254, 224, 85, 0.15);
}

.pixel-split-lang-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  pointer-events: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.pixel-split-current-lang {
  color: #fee055;
  margin-left: 4px;
  font-weight: 700;
}

.pixel-split-arrow {
  color: #fee055;
  font-size: 8px;
  pointer-events: none;
  transition: transform 0.15s ease;
  line-height: 1;
}

.pixel-split-lang:hover .pixel-split-arrow {
  transform: translateY(1px);
}

.pixel-split-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  outline: none;
  border: none;
}

.pixel-split-select:focus {
  outline: none;
}

.pixel-split-select option {
  background: #000000;
  color: #fee055;
  font-family: monospace;
  font-size: 13px;
  padding: 6px;
}

.m2-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-arrive .85s cubic-bezier(.16,1,.3,1) both;
}

.m2-status-pill,
.pixel-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

.m2-status-pill .pill-dot,
.pixel-status-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: #ef4444;
  box-shadow: none;
  flex-shrink: 0;
}

.m2-status-pill .pill-dot.on,
.pixel-status-pill .pill-dot.on {
  background: #22c55e;
  box-shadow: none;
}

.m2-status-pill .pill-sep,
.pixel-status-pill .pill-sep {
  color: #64748b;
  font-size: 8px;
  user-select: none;
}

.m2-status-pill .pill-count,
.pixel-status-pill .pill-count {
  color: #fee055;
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
}

.m2-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: #fff4d1;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 6px 30px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(212, 163, 56, 0.25);
  animation: title-arrive 1s .1s cubic-bezier(.16,1,.3,1) both;
}

.m2-hero-lead {
  font-size: 17px;
  color: #dfd2b8;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.m2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.m2langpick-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  border: 1.5px solid #fee055;
  border-radius: 0;
  padding: 6px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.m2langpick-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  text-transform: uppercase;
}

.m2langsel {
  background: #000000;
  color: #fee055;
  border: 1px solid #fee055;
  border-radius: 0;
  padding: 3px 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}


.m2-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 60px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  transform: none !important;
}

.retro-hud-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
  width: 100%;
  position: relative;
}

.retro-hud-header .hud-rule {
  flex: 1 1 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 0.35) 75%, transparent 100%);
  min-width: 30px;
}

.retro-hud-header .hud-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 9px 24px;
  font-family: 'Press Start 2P', monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  white-space: nowrap;
}

.retro-hud-header .hud-title {
  color: #ffffff;
}

@media (max-width: 768px) {
  .retro-hud-header {
    gap: 10px;
    margin-bottom: 24px;
  }
  .retro-hud-header .hud-tag {
    font-size: 7.5px;
    padding: 7px 16px;
  }
  .retro-hud-header .hud-rule {
    min-width: 16px;
  }
}

.m2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.m2-eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fee055;
  box-shadow: none;
}
.quickstart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.quickstep-card {
  position: relative;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 30px 24px 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  overflow: hidden;
}
.quickstep-card:hover {
  transform: translateY(-4px);
  border-color: #fee055;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.quickstep-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.quickstep-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.quickstep-badge.highlight {
  color: #fee055;
}

.quickstep-icon {
  width: 44px;
  height: 44px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.quickstep-icon.has-pixel-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
}

.quickstep-pixel-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.quickstep-card:hover .quickstep-pixel-icon {
  transform: translateY(-2px) scale(1.06);
}

.quickstep-card:hover .quickstep-icon,
.quickstep-icon.highlight {
  border-color: #fee055;
  color: #fee055;
}
.quickstep-title {
  font-family: 'Cinzel', serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}
.quickstep-card:hover .quickstep-title {
  color: #fee055;
}
.quickstep-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 18px 0;
  min-height: 60px;
}

.quickstep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.quickstep-tag {
  font-family: 'Press Start 2P', monospace;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  border-radius: 0;
}

.quickstep-tag.tag-highlight {
  background: rgba(254, 224, 85, 0.12);
  border-color: #fee055;
  color: #fee055;
}

.quickstep-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quickstep-dual-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quickstep-col {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 12px 12px;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quickstep-col:hover {
  border-color: rgba(254, 224, 85, 0.45);
  background: rgba(254, 224, 85, 0.03);
}

.quickstep-col-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fee055;
  margin-bottom: 8px;
  display: block;
}

.quickstep-col-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
}

.quickstep-col .quickstep-action-btn {
  margin-top: auto;
  width: 100%;
  padding: 11px 8px;
  font-size: 7.5px;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .quickstep-dual-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.quickstep-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  background: #000000;
  color: #ffffff !important;
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.quickstep-action-btn:hover {
  background: #fee055 !important;
  border-color: #fee055;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.quickstep-action-btn.btn-highlight {
  background: #fee055;
  border-color: #fee055;
  color: #000000 !important;
}

.quickstep-action-btn.btn-highlight:hover {
  background: #ffffff !important;
  border-color: #ffffff;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

@media (max-width: 860px) {
  .quickstart-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quickstep-desc {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  .quickstep-dual-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quickstep-col {
    padding: 12px 10px;
  }
  .quickstep-col-label {
    font-size: 7px;
  }
}


.m2-scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.m2-scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.m2-scroll-stagger:not(.is-revealed) > * {
  opacity: 0;
  transform: translateY(30px);
}

.m2-scroll-stagger.is-revealed > * {
  opacity: 1;
  transform: translateY(0);
  animation: m2StaggerEntrance 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.m2-scroll-stagger.is-revealed > *:nth-child(1) { animation-delay: 0.05s; }
.m2-scroll-stagger.is-revealed > *:nth-child(2) { animation-delay: 0.14s; }
.m2-scroll-stagger.is-revealed > *:nth-child(3) { animation-delay: 0.23s; }
.m2-scroll-stagger.is-revealed > *:nth-child(4) { animation-delay: 0.32s; }

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

.retro-hud-header.m2-scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.retro-hud-header.m2-scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.retro-hud-header.m2-scroll-reveal .hud-rule {
  transform: scaleX(0);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.retro-hud-header.m2-scroll-reveal.is-revealed .hud-rule {
  transform: scaleX(1);
}

.retro-hud-header.m2-scroll-reveal .hud-tag {
  transform: scale(0.92);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.retro-hud-header.m2-scroll-reveal.is-revealed .hud-tag {
  transform: scale(1);
}

.m2-class-nav.m2-scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.m2-class-nav.m2-scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.m2-rates-grid.m2-scroll-stagger.is-revealed > * .m2-rate-val {
  animation: rateValGleam 0.6s ease-out 0.4s;
}

@keyframes rateValGleam {
  0% { text-shadow: 0 0 0 rgba(254, 224, 85, 0); }
  50% { text-shadow: 0 0 20px rgba(254, 224, 85, 0.85), 0 0 35px rgba(254, 224, 85, 0.5); color: #ffffff; }
  100% { text-shadow: 0 0 10px rgba(254, 224, 85, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .m2-scroll-reveal,
  .m2-scroll-stagger > *,
  .retro-hud-header.m2-scroll-reveal,
  .retro-hud-header.m2-scroll-reveal .hud-rule,
  .retro-hud-header.m2-scroll-reveal .hud-tag,
  .m2-class-nav.m2-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.m2-rates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.m2-rate-item {
  text-align: center;
  padding: 26px 16px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, box-shadow 0.15s ease !important;
  transition-delay: 0s !important;
  cursor: pointer;
}

.m2-rate-item:hover {
  border-color: #fee055 !important;
  background: #000000;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), 0 0 16px rgba(254, 224, 85, 0.15) !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, box-shadow 0.15s ease !important;
  transition-delay: 0s !important;
}

.m2-rate-item .m2-rate-val {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #fee055;
  line-height: 1.2;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.m2-rate-item:hover .m2-rate-val {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(254, 224, 85, 0.7);
}

.m2-rate-item .m2-rate-lbl {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
  transition: color 0.15s ease;
}

.m2-rate-item:hover .m2-rate-lbl {
  color: #fee055;
}


.card {
  position: relative;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 32px 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

input, select {
  background: #000000;
  color: var(--text-main);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  margin: 6px 0;
  font-family: 'Noto Sans', sans-serif;
  transition: all 0.2s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #fee055;
  background: #000000;
  box-shadow: none;
}

input::placeholder {
  color: var(--text-muted);
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1.5px solid #ffffff;
  padding: 12px 22px;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
}

button:hover, .btn:hover {
  background: #fee055;
  border-color: #fee055;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.big {
  width: 100%;
  padding: 14px 20px;
  font-size: 9.5px;
  margin-top: 10px;
}

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

.hintline {
  font-size: 12px;
  min-height: 18px;
  margin: 1px 0 6px;
  color: #00f0ff;
}

.flashes {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.auth-flashes {
  max-width: 100% !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #000000;
  border: 1.5px solid #fee055;
  border-radius: 0;
  padding: 12px 16px;
  color: #fee055;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}
.flash.err {
  background: #000000;
  border-color: #ef4444;
  color: #ff8a80;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), 0 0 14px rgba(239, 68, 68, 0.25);
}

.flash-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
}

.flash-msg {
  flex: 1;
  word-break: break-word;
}

.flash-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  box-shadow: none;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.flash-close:hover {
  background: transparent;
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: none;
}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
}

.info-table th {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.4);
  text-align: left;
}

.info-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 13.5px;
}

.info-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}


.site-footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: 0;
  text-align: center;
  padding: 22px 20px;
  border-top: 1.5px solid #fee055 !important;
  background: #000000;
  color: #94a3b8;
  font-size: 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  color: #cbd5e1;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-footer a .footer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.site-footer a .footer-handle {
  opacity: 0.75;
  font-size: 7px;
  letter-spacing: 0.2px;
}

.site-footer a:hover {
  background: #fee055;
  border-color: #fee055;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .site-footer a .footer-handle {
    display: none;
  }
}


@media (max-width: 900px) {
  .m2-rates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .m2-hero {
    min-height: 100svh;
    padding: 140px 16px 60px;
  }
  .m2-hero-actions {
    flex-direction: column;
  }
  .m2-rates-grid {
    grid-template-columns: 1fr;
  }
}

.m2-status-pill { animation: pill-arrive .7s .18s both; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-arrive { from { opacity: 0; letter-spacing: .16em; } to { opacity: 1; letter-spacing: .04em; } }
@keyframes pill-arrive { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

@media (max-width: 1100px) { .header-inner { gap: 12px; }.header-nav a { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 880px) { .header-nav .nav-rates { display: none; }.header-nav a { padding-left: 8px; padding-right: 8px; }.header-right { gap: 6px; } }
.m2-availability { color: var(--text-dim); max-width: 520px; margin: 8px auto 0; }
.market-form h1 { margin:8px 0; color:var(--gold-bright); font-family:'Cinzel',serif; text-transform:uppercase; letter-spacing:.08em; }.inline-form { display:inline; }.market-form { max-width:560px; margin:24px auto; }.market-form input { margin:5px 0; }.market-form .btn { margin-top:12px; }
.admin-gate {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.admin-gate-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  text-align: center;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  position: relative;
  box-sizing: border-box;
}

.admin-gate-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

.admin-gate-card h1 {
  margin: 8px 0 8px;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-gate-card form {
  margin-top: 22px;
}

.admin-gate-card input {
  margin: 0 0 14px;
  width: 100%;
  box-sizing: border-box;
}

.admin-gate-card .btn {
  width: 100%;
  box-sizing: border-box;
}

.admin-gate-back {
  display: inline-block;
  margin-top: 20px;
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-gate-back:hover {
  color: #fee055;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wrap.market-wrap {
  padding-top: 104px;
  padding-bottom: 60px;
  max-width: 1400px;
}
.shop-kicker { color:var(--gold); font-family:'Cinzel',serif; font-size:10px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }.wallet-unit { display:block; color:var(--text-dim); font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.coin-modal[hidden] { display:none; }.coin-modal { position:fixed; inset:0; z-index:2000; display:grid; place-items:center; padding:22px; }.coin-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.76); backdrop-filter:blur(5px); }.coin-modal-card { position:relative; z-index:1; width:min(100%,560px); padding:35px 36px 30px; background:linear-gradient(145deg,rgba(31,21,13,.99),rgba(13,10,7,.99)); border:1px solid var(--border-gold); box-shadow:0 24px 80px rgba(0,0,0,.8),0 0 35px rgba(212,163,56,.1); animation:coin-modal-in .24s ease-out both; }.coin-modal-card h2 { margin:8px 0 12px; color:#fff1c2; font:800 28px/1.15 'Cinzel',serif; text-transform:uppercase; letter-spacing:.03em; }.coin-modal-lead { max-width:475px; color:var(--text-dim); font-size:13px; line-height:1.7; }.coin-modal-close { position:absolute; top:14px; right:17px; padding:0; color:var(--text-dim); background:transparent; border:0; box-shadow:none; font:300 29px/1 'Noto Sans',sans-serif; }.coin-modal-close:hover { color:var(--gold-bright); background:transparent; box-shadow:none; transform:none; }.coin-packages-label { display:block; margin:22px 0 8px; color:var(--gold-dim); font-size:10px; letter-spacing:.15em; text-transform:uppercase; }.coin-packages { overflow:hidden; border:1px solid var(--border-dark); border-radius:var(--radius-md); }.coin-package { display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:10px; min-height:50px; padding:0 14px; border-bottom:1px solid var(--border-dark); color:var(--text-dim); font-size:13px; }.coin-package:last-child { border-bottom:0; }.coin-package strong { color:var(--gold-light); font:800 16px 'Cinzel',serif; }.coin-contact-btn { display:flex; align-items:center; justify-content:center; min-height:48px; margin-top:20px; padding:10px 16px; color:#241605; background:linear-gradient(180deg,#f7dc8a,#c28b29); border:1px solid #ffe9a8; border-radius:var(--radius-md); font:800 13px 'Cinzel',serif; letter-spacing:.04em; text-align:center; text-transform:uppercase; }.coin-contact-btn:hover { color:#100a02; transform:translateY(-1px); box-shadow:0 9px 24px rgba(212,163,56,.2); }.coin-modal-open { overflow:hidden; } @keyframes coin-modal-in { from { opacity:0; transform:translateY(9px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }.shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
@keyframes shop-card-in { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } } @keyframes shop-orbit { to { transform:rotate(395deg); } }
@media (max-width:1000px) { .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { }
@media (max-width:500px) { .shop-grid { grid-template-columns:1fr; } }
.coin-contact-btn { font-size:12px; letter-spacing:.025em; text-transform:none; }
.coin-contact-btn { font-family:'Cinzel',serif; font-size:13px; text-transform:none !important; }

html { scroll-padding-top:82px; }
.m2-hero { --hero-shift:0px; }
.m2-hero-content { transform: none !important; will-change: auto !important; }
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .wrap { padding:86px 14px 32px; }
  .wrap.home-wrap { padding:0; }
  .m2-hero { min-height:100svh; padding: 90px 14px 40px; }
  .header-logo-img { height: 22px !important; max-width: 125px !important; }
  .pixel-headline {
    font-size: clamp(16px, 5vw, 26px) !important;
    text-shadow: 2px 2px 0px #f804e9, 3px 3px 0px #000000, 0 0 16px rgba(248, 4, 233, 0.45) !important;
    margin-bottom: 20px !important;
    line-height: 1.38 !important;
    letter-spacing: -0.5px !important;
  }
  .pixel-headline-line.brand {
    margin-bottom: 8px !important;
  }
  .pixel-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .pixel-btn-primary, .pixel-btn-ghost, .pixel-split-btn { width: 100%; }
  .pixel-split-action { flex: 1; min-width: 0; padding: 14px 10px; font-size: 9px; gap: 6px; }
  .pixel-split-lang { padding: 0 10px; }
  .pixel-split-lang-label { font-size: 8px; }
  .pixel-split-current-lang { margin-left: 2px; }
  .m2-section { padding:58px 16px; }
  .m2-rates-grid { padding:0 16px; gap:12px; }
  .m2-rate-item { padding:19px 10px; }
  .m2-rate-val { font-size:29px; }
  .card { padding:24px 18px; }
  .info-table { display:block; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; }
  .info-table th, .info-table td { padding:10px 11px; }
  .coin-modal { padding:14px; }
  .coin-modal-card { max-height:calc(100svh - 28px); overflow-y:auto; padding:29px 20px 22px; }
  .coin-modal-card h2 { font-size:22px; padding-right:22px; }
  .coin-modal-lead { font-size:12px; line-height:1.6; }
  .coin-package { grid-template-columns:25px 1fr auto; padding:0 10px; font-size:12px; }
  .coin-contact-btn { font-size:12px; }
}

@media (max-width: 520px) {
  .m2-hero { padding-top:110px; }
  .m2-hero h1 { font-size:clamp(29px,9.5vw,43px); }
  .m2-status-pill { flex-wrap:wrap; justify-content:center; }
  .m2-rates-grid { grid-template-columns:repeat(2,1fr); }
  .shop-grid { gap:12px; }
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3.5px;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 9999px !important;
  background: rgba(0, 0, 0, 0.75) !important;
  cursor: pointer;
  position: relative;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.nav-toggle.is-open {
  background: rgba(255, 0, 255, 0.2) !important;
  border-color: #ff00ff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.18s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  background-color: #ff00ff;
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
  background-color: #ff00ff;
}

@media (max-width: 768px) {
  .site-header,
  .site-header.is-scrolled {
    height: 56px !important;
    padding: 0 !important;
  }

  .site-header .site-wrap {
    height: 100%;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  .wrap:has(.auth-wrapper),
  .wrap:has(.admin-gate),
  .wrap.auth-page-wrap {
    padding-top: 56px !important;
  }

  .site-footer {
    padding: 18px 16px !important;
  }

  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    gap: 6px !important;
    position: relative;
    box-sizing: border-box !important;
  }

  .header-logo {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .header-shop-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    height: 28px !important;
    padding: 0 8px !important;
    border-radius: 9999px !important;
    background: #fee055 !important;
    color: #000000 !important;
    border: 1px solid #fee055 !important;
    font-family: 'Press Start 2P', monospace !important;
    font-size: 7px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
  }

  .header-shop-btn:hover,
  .header-shop-btn:active,
  .header-shop-btn.active {
    background: #fee055 !important;
    border-color: #fee055 !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 0 10px rgba(254, 224, 85, 0.4) !important;
  }

  .lang-switcher {
    height: 28px !important;
    padding: 2px !important;
    gap: 1px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .lang-switcher a {
    font-size: 7px !important;
    padding: 0 5px !important;
    line-height: 1;
    height: 100% !important;
    border-radius: 9999px !important;
  }

  .header-account {
    height: 28px !important;
    padding: 0 6px 0 8px !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .header-account-name {
    font-size: 7px !important;
    line-height: 1;
  }

  .header-logout-btn {
    width: 18px !important;
    height: 18px !important;
  }

  .header-logout-btn svg {
    width: 10px !important;
    height: 10px !important;
  }

  .header-auth > a,
  .header-account-link {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 8px !important;
    font-size: 7px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
  }

  .nav-toggle {
    display: flex !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
    gap: 3px !important;
  }

  .nav-toggle span {
    width: 13px !important;
    height: 2px !important;
  }

  .header-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 14px;
    box-sizing: border-box !important;
    background: rgba(4, 4, 6, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, padding 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }

  .header-nav.is-open {
    max-height: calc(100vh - 65px);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding: 14px 14px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav .slide-tabs {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .header-nav .slide-tab {
    width: 100%;
    list-style: none;
  }

  .header-nav .slide-tab a {
    width: 100%;
    height: 42px !important;
    min-height: 42px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    font-family: 'Press Start 2P', monospace;
    font-size: 8.5px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    text-transform: uppercase;
    transition: all 0.15s ease;
    box-sizing: border-box;
  }

  .header-nav .slide-tab a.nav-market {
    border-color: #fee055 !important;
    color: #fee055 !important;
    background: rgba(254, 224, 85, 0.08) !important;
    box-shadow: none !important;
  }

  .header-nav .slide-tab.active a {
    color: #000000 !important;
    background: #fee055 !important;
    border-color: #fee055 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .header-nav .slide-tab-cursor {
    display: none;
  }

  .header-nav .slide-tab-discord a {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
  }

  .header-nav .slide-tab-discord .discord-logo {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }

  .header-nav .nav-discord > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 4px !important;
  }

  .header-right {
    gap: 3px !important;
  }

  .header-shop-btn {
    height: 28px !important;
    padding: 0 7px !important;
    font-size: 6.5px !important;
    gap: 3px !important;
  }

  .lang-switcher a {
    font-size: 6.5px !important;
    padding: 0 4px !important;
  }

  .header-account,
  .header-auth > a,
  .header-account-link {
    padding: 0 6px !important;
    font-size: 6.5px !important;
  }

  .header-logo-img {
    height: 18px !important;
    max-width: 100px !important;
  }

  .pixel-headline {
    font-size: clamp(15px, 4.8vw, 22px) !important;
    text-shadow: 2px 2px 0px #f804e9, 3px 3px 0px #000000, 0 0 14px rgba(248, 4, 233, 0.4) !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 360px) {
  .site-header .site-wrap {
    padding: 0 10px !important;
  }

  .pixel-headline {
    font-size: clamp(13px, 4.2vw, 17px) !important;
  }

  .header-logo-img {
    height: 16px !important;
    max-width: 85px !important;
  }

  .header-shop-btn {
    padding: 0 5px !important;
    font-size: 6px !important;
  }
}



.wrap:has(.auth-wrapper),
.wrap:has(.admin-gate),
.wrap.auth-page-wrap {
  flex: 1 0 auto;
  padding-top: 74px !important;
  padding-bottom: 0 !important;
}

.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 24px 16px;
  box-sizing: border-box;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 28px 28px 24px;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}
.auth-header {
  text-align: center;
  margin-bottom: 18px;
}
.auth-header .m2-eyebrow {
  margin-bottom: 8px;
}
.auth-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px 0;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.auth-header p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.auth-form input {
  margin: 0;
}
.auth-form .hintline {
  font-size: 11.5px;
  min-height: 14px;
  margin: 2px 0 0;
  line-height: 1.3;
}
.auth-form .form-hint {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-input {
  background: #000000;
  color: var(--text-main);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #fee055;
  box-shadow: none;
  background: #000000;
}
.auth-submit,
.auth-form button.big {
  margin-top: 8px;
  width: 100%;
  padding: 14px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1.5px solid #ffffff;
  background: #000000;
  color: #ffffff;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-submit:hover,
.auth-form button.big:hover {
  background: #fee055;
  border-color: #fee055;
  color: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}
.auth-footer-link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.auth-footer-link a {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #fee055;
  text-decoration: none;
  transition: all 0.2s ease;
}
.auth-footer-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.account-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0 60px;
}
.account-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  position: relative;
}
.account-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}
.account-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.account-hero-title,
.account-username {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.account-hero-sub {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}
.account-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 5px 12px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #ffffff;
}
.account-hero-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.account-role-tag {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #fee055;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  padding: 5px 10px;
  background: #000000;
  border: 1.5px solid #fee055;
  border-radius: 0;
}

.account-wallet-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 10px 20px;
  min-height: 52px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

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

.wallet-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-amount {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #ffffff;
  line-height: 1;
}

.wallet-unit {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #fee055;
  line-height: 1;
  margin-left: 2px;
}

.m2-gem-icon {
  display: inline-block;
  vertical-align: middle;
  height: 18px;
  width: auto;
  pointer-events: none;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(244, 63, 94, 0.65));
  transform-origin: center center;
  animation: m2GemPulse 2.8s ease-in-out infinite;
}

@keyframes m2GemPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 42, 95, 0.9)) drop-shadow(0 0 10px rgba(254, 224, 85, 0.45));
  }
}

.m2-gem-icon-wallet {
  height: 28px;
}

.btn-wallet-action {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 14px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-wallet-action:hover {
  background: #fee055;
  border-color: #fee055;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-account-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: #000000;
  color: #cbd5e1;
  border-radius: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  cursor: pointer;
}

.btn-account-logout svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.btn-account-logout:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #000000;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

.btn-account-logout:hover svg {
  stroke: #000000;
  transform: translateX(2px);
}

.account-grid-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.account-main-col,
.account-side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roster-count-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 0;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #cbd5e1;
}

.account-level-badge,
.account-roster-table .admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 0;
  background: #000000;
  border: 1.5px solid #fee055;
  color: #fee055;
  box-shadow: none;
  line-height: 1;
}

.account-discord-card {
  background: #000000;
  border: 1.5px solid rgba(88, 101, 242, 0.5);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: #000000;
  color: #fff;
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1.5px solid #5865F2;
  box-shadow: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #fff;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .account-grid-layout {
    grid-template-columns: 1fr;
  }
  .account-hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .account-hero-right {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .account-wallet-pill {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    gap: 10px;
  }
  .btn-account-logout {
    padding: 0 14px;
    flex-shrink: 0;
  }
}

@media (max-width: 520px) {
  .account-hero-right {
    flex-direction: column;
    align-items: stretch;
  }
  .account-wallet-pill {
    width: 100%;
    justify-content: space-between;
  }
  .btn-account-logout {
    width: 100%;
    justify-content: center;
  }
}
.account-card {
  position: relative;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.account-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}
.card-head,
.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.account-card-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
.account-card-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 4px 10px;
  border-radius: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #cbd5e1;
}

.admin-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.admin-kpi-card {
  background: linear-gradient(150deg, rgba(28, 19, 12, 0.95), rgba(14, 9, 6, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-gold);
  background: rgba(10, 7, 5, 0.8);
  text-align: left;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}
.admin-table tr:hover td {
  background: rgba(212, 163, 56, 0.04);
}
.admin-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  background: #000000;
  border: 1.5px solid #fee055;
  color: #fee055;
}
.admin-badge.live {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.4);
  color: #81c784;
}
.admin-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .admin-grid-2col {
    grid-template-columns: 1fr;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .account-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.player-name-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.dot.on {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #54d978;
  box-shadow: 0 0 0 2px rgba(84,217,120,.25);
}
.player-online-label {
  color: #70df8b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}


.m2-class-showcase-section {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  contain: layout style;
}

.m2-class-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 32px;
}

.m2-class-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transform: none !important;
}

.m2-class-tab-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.m2-class-tab-btn:hover {
  border-color: #fee055 !important;
  background: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85) !important;
  color: inherit !important;
}

.m2-class-tab-btn.active {
  border-color: #fee055 !important;
  background: #000000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transform: none !important;
}

.m2-class-tab-btn.active:hover {
  border-color: #fee055 !important;
  background: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85) !important;
}

.m2-class-tab-btn.active::before {
  background: #fee055;
  box-shadow: none;
}

.m2-class-tab-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.m2-class-tab-icon svg {
  display: block;
  flex-shrink: 0;
}

.m2-class-tab-btn:hover .m2-class-tab-icon {
  border-color: #fee055;
  color: #fee055;
}

.m2-class-tab-btn.active .m2-class-tab-icon {
  border-color: #fee055;
  color: #000000;
  background: #fee055;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.m2-class-tab-btn:hover .m2-class-tab-name {
  color: #ffffff;
}

.m2-class-tab-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.m2-class-tab-name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.m2-class-tab-btn.active .m2-class-tab-name {
  color: #ffffff;
  text-shadow: none;
}

.m2-class-tab-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 0;
}

.m2-class-tab-btn.active .m2-class-tab-sub {
  color: #fee055;
}

.m2-class-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.m2-class-specs-card {
  background: #000000;
  border: 1.5px solid #ffffff;
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 560px;
  height: 100%;
}

.m2-class-specs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

.m2-class-header-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m2-class-role-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #cbd5e1;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 8px 14px;
  box-shadow: none;
}

.m2-class-role-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #fee055;
  box-shadow: none;
  margin-right: 8px;
}

.m2-class-title {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.25;
}

.m2-class-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
  min-height: 72px;
}

.m2-doctrines-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m2-doctrines-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.m2-doctrines-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 38px;
  align-items: center;
}

.m2-doctrine-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.m2-doctrine-bullet {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #fee055;
  box-shadow: none;
}

.m2-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m2-stat-row {
  display: grid;
  grid-template-columns: 170px 1fr 40px;
  align-items: center;
  gap: 12px;
}

.m2-stat-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.m2-stat-bar {
  height: 8px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.m2-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #fee055);
  border-radius: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.m2-stat-row .m2-stat-val {
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  color: #fee055;
  text-align: right;
}

.m2-skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m2-skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  min-height: 84px;
}

.m2-skill-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  transition: border-color 0.2s ease;
}

.m2-skill-badge:hover {
  border-color: #fee055;
}

.m2-skill-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fee055;
  font-size: 9px;
  font-weight: 800;
}

.m2-class-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.m2-ctrl-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 3px;
  flex-shrink: 0;
}

.m2-ctrl-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-family: 'Press Start 2P', monospace;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  transform: none !important;
  box-shadow: none !important;
}

.m2-ctrl-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: none !important;
  box-shadow: none !important;
}

.m2-ctrl-btn.active {
  background: #fee055 !important;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  transform: none !important;
}

.m2-ctrl-btn.active:hover {
  background: #fee055 !important;
  color: #000000 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.m2-class-3d-stage {
  position: relative;
  background: radial-gradient(circle at center 60%, rgba(26, 8, 48, 0.4) 0%, rgba(8, 2, 20, 0.95) 80%);
  border: 1.5px solid #ffffff;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-height: 560px;
}

.m2-class-3d-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
  z-index: 2;
}

.m2-3d-iframe-wrap {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.m2-3d-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  transition: opacity 0.3s ease;
}

.m2-3d-footer-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.m2-3d-hint-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  user-select: none;
}

.btn-class-cta {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #000000;
  border: 1.5px solid #fee055;
  padding: 9px 16px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-class-cta:hover {
  background: #fee055 !important;
  color: #000000 !important;
  border-color: #fee055;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .m2-class-showcase-grid {
    grid-template-columns: 1fr;
  }
  .m2-class-3d-stage {
    height: 480px;
  }
  .m2-class-controls-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .m2-class-showcase-section {
    padding: 48px 14px 44px;
  }
  .m2-class-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .m2-class-tab-btn {
    padding: 10px 10px;
    gap: 10px;
    min-width: 0;
  }
  .m2-class-tab-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  .m2-class-tab-icon svg {
    width: 18px;
    height: 18px;
  }
  .m2-class-tab-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m2-class-tab-sub {
    font-size: 9.5px;
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .m2-class-specs-card {
    padding: 22px 18px;
  }
  .m2-stat-row {
    grid-template-columns: 100px 1fr 32px;
    gap: 8px;
  }
  .m2-skills-list {
    grid-template-columns: 1fr;
  }
  .m2-class-3d-stage {
    height: 400px;
  }
  .m2-class-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .m2-ctrl-group {
    justify-content: center;
    width: 100%;
  }
  .m2-ctrl-btn {
    flex: 1;
    text-align: center;
  }
  .btn-class-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .m2-class-nav {
    gap: 6px;
  }
  .m2-class-tab-btn {
    padding: 8px 8px;
    gap: 8px;
  }
  .m2-class-tab-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .m2-class-tab-icon svg {
    width: 16px;
    height: 16px;
  }
  .m2-class-tab-name {
    font-size: 11.5px;
  }
  .m2-class-tab-sub {
    font-size: 8.5px;
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }
  .m2-class-specs-card {
    padding: 18px 14px;
  }
  .m2-class-3d-stage {
    height: 340px;
  }
  .m2-stat-row {
    grid-template-columns: 78px 1fr 28px;
    font-size: 11px;
  }
}

.m2-mobile-section {
  padding: 64px 24px 60px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.m2-mobile-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.m2-mobile-info-col {
  width: 100%;
  box-sizing: border-box;
}

.m2-mobile-mockup-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.m2-orientation-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 18, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 4px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.m2-orientation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.m2-orientation-btn svg {
  display: block;
  stroke: currentColor;
  transition: transform 0.22s ease;
}

.m2-orientation-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.m2-orientation-btn.active {
  background: #fee055;
  color: #000000;
  box-shadow: 0 2px 10px rgba(254, 224, 85, 0.35);
}

.m2-orientation-btn.active svg {
  stroke: #000000;
}

.m2-phone-mockup {
  position: relative;
  width: 100%;
  transition: max-width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s ease;
}

.m2-phone-mockup:hover {
  transform: translateY(-4px) scale(1.01);
}

.m2-phone-underglow {
  position: absolute;
  inset: 15% 10% 5% 10%;
  background: radial-gradient(ellipse at center, rgba(254, 224, 85, 0.25) 0%, rgba(224, 0, 224, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.m2-phone-chassis {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #0f1118;
  border: 3.5px solid #282c3f;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 0 12px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  transition: padding 0.3s ease;
}

.m2-phone-screen {
  width: 100%;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m2-phone-mockup.is-landscape {
  max-width: 620px;
}

.m2-phone-mockup.is-landscape .m2-phone-screen {
  aspect-ratio: 3120 / 1440;
}

.m2-phone-mockup.is-landscape .is-img-landscape {
  display: block;
}

.m2-phone-mockup.is-landscape .is-img-portrait {
  display: none !important;
}

.m2-phone-mockup.is-portrait {
  max-width: 275px;
}

.m2-phone-mockup.is-portrait .m2-phone-screen {
  aspect-ratio: 1440 / 3120;
}

.m2-phone-mockup.is-portrait .is-img-landscape {
  display: none !important;
}

.m2-phone-mockup.is-portrait .is-img-portrait {
  display: block;
}

.m2-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: phoneImgFadeIn 0.28s ease;
}

@keyframes phoneImgFadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

.m2-phone-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 60%);
  pointer-events: none;
  z-index: 20;
}

.m2-mobile-title {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
}

.m2-mobile-title .highlight {
  color: #fee055;
}

.m2-mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px 0;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.m2-mobile-stat-box {
  background: rgba(10, 12, 16, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  height: 100%;
}

.m2-mobile-stat-box:hover {
  border-color: #fee055;
  background: rgba(20, 22, 28, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.m2-mobile-stat-box .m2-stat-val {
  font-family: 'Cinzel', serif;
  font-size: 21px;
  font-weight: 800;
  color: #fee055;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1.15;
  white-space: nowrap;
}

.m2-stat-title {
  font-family: 'Cinzel', serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
  line-height: 1.25;
  white-space: nowrap;
}

.m2-stat-sub {
  font-size: 10.5px;
  color: var(--text-dim, #94a3b8);
  line-height: 1.25;
  white-space: nowrap;
}

.m2-mobile-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  width: 100%;
  box-sizing: border-box;
}

.m2-mobile-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fee055;
  color: #000000 !important;
  font-family: 'Press Start 2P', monospace;
  font-size: 9.5px;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.m2-mobile-play-btn:hover {
  background: #ffffff;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.m2-mobile-cta-note {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 960px) {
  .m2-mobile-section {
    padding: 48px 20px;
  }
  .m2-mobile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .m2-mobile-mockup-col {
    justify-content: center;
  }
  .m2-phone-mockup.is-landscape {
    max-width: 520px;
  }
  .m2-phone-mockup.is-portrait {
    max-width: 260px;
  }
  .m2-mobile-title {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media (max-width: 520px) {
  .m2-mobile-section {
    padding: 38px 16px;
  }
  .m2-mobile-grid {
    gap: 26px;
  }
  .m2-mobile-title {
    font-size: 20px;
    letter-spacing: 0.02em;
  }
  .m2-mobile-stats-grid {
    gap: 6px;
    margin: 16px 0 20px 0;
  }
  .m2-mobile-stat-box {
    padding: 12px 4px;
    border-radius: 10px;
  }
  .m2-mobile-stat-box .m2-stat-val {
    font-size: 15.5px;
    white-space: nowrap;
  }
  .m2-stat-title {
    font-size: 10px;
    white-space: nowrap;
  }
  .m2-stat-sub {
    font-size: 9px;
    white-space: nowrap;
  }
  .m2-mobile-play-btn {
    font-size: 8.5px;
    padding: 13px 18px;
  }
  .m2-mobile-cta-note {
    font-size: 10.5px;
    justify-content: center;
  }
  .m2-orientation-btn {
    font-size: 9.5px;
    padding: 6px 12px;
  }
  .m2-phone-chassis {
    border-radius: 16px;
    padding: 6px;
  }
  .m2-phone-screen {
    border-radius: 9px;
  }
}




/* a button that is shown but does nothing yet (the desktop download) */
.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(.4);
}
