@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;800&display=swap');

:root {
  --bg-dark: #020b18;
  --bg-card: #040f1e;
  --bg-panel: #071525;
  --blue-deep: #0a1f3a;
  --blue-mid: #0d3060;
  --blue-bright: #1a6aff;
  --blue-neon: #00aaff;
  --green-neon: #00ff88;
  --green-lcd: #7fff7a;
  --gold: #c9a84c;
  --gold-bright: #f0c060;
  --white: #e8f4ff;
  --text-dim: #5a8ab0;
  --border-glow: rgba(0,170,255,0.3);
  --font-display: 'Orbitron', monospace;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Exo 2', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--blue-bright); border-radius: 3px; }

/* SCANLINE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,20,40,0.15) 2px, rgba(0,20,40,0.15) 4px);
  pointer-events: none;
  z-index: 9999;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(2,11,24,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green-neon);
  box-shadow: 0 0 12px rgba(0,255,136,0.5);
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--green-lcd);
  text-shadow: 0 0 10px rgba(0,255,136,0.6);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--blue-neon);
  background: rgba(0,170,255,0.1);
}

.nav-buy {
  background: linear-gradient(135deg, var(--green-neon), #00cc66);
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-family: var(--font-display) !important;
  font-size: 0.75rem !important;
  box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

.nav-buy:hover {
  background: #00ff99 !important;
  box-shadow: 0 0 30px rgba(0,255,136,0.7) !important;
  color: #000 !important;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue-neon);
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(10,45,100,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(0,170,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(0,255,136,0.06) 0%, transparent 60%),
    var(--bg-dark);
  z-index: 0;
}

.hero-banner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(0,170,255,0.2), 0 0 120px rgba(0,170,255,0.08);
  margin-bottom: 3rem;
}

.hero-banner img {
  width: 100%;
  display: block;
}

.hero-ticker {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-lcd);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.hero-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--blue-neon) 40%, var(--green-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 1.5rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 20px rgba(0,170,255,0.5)); }
  to { filter: drop-shadow(0 0 40px rgba(0,255,136,0.5)); }
}

.hero-sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-neon));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 30px rgba(26,106,255,0.4);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(26,106,255,0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--green-neon);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 13px 32px;
  border: 2px solid var(--green-neon);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0,255,136,0.2);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(0,255,136,0.1);
  box-shadow: 0 0 40px rgba(0,255,136,0.5);
  transform: translateY(-2px);
}

.hero-ca {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(4,15,30,0.8);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-ca span.ca-label {
  color: var(--green-neon);
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.hero-ca span.ca-addr {
  color: var(--white);
  word-break: break-all;
}

.copy-btn {
  background: rgba(0,170,255,0.15);
  border: 1px solid var(--blue-neon);
  color: var(--blue-neon);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.copy-btn:hover { background: rgba(0,170,255,0.3); }

/* TICKER TAPE */
.ticker-tape {
  width: 100%;
  background: linear-gradient(90deg, var(--bg-dark), rgba(0,170,255,0.05), var(--bg-dark));
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-inner span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-lcd);
  letter-spacing: 3px;
  padding: 0 30px;
  opacity: 0.8;
}

.ticker-inner span.sep { color: var(--blue-neon); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION BASE ===== */
section {
  padding: 100px 2rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-neon);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-title .accent { color: var(--blue-neon); }
.section-title .accent-green { color: var(--green-neon); }

/* ===== WHAT IS SECTION ===== */
#what {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 50%, var(--bg-dark) 100%);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-text p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.what-text p strong {
  color: var(--white);
  font-weight: 600;
}

.what-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.what-logo-wrap img {
  width: min(380px, 100%);
  border-radius: 50%;
  border: 3px solid var(--green-neon);
  box-shadow: 0 0 60px rgba(0,255,136,0.3), 0 0 120px rgba(0,255,136,0.1);
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 60px rgba(0,255,136,0.3); }
  50% { transform: translateY(-12px); box-shadow: 0 0 80px rgba(0,255,136,0.5); }
}

/* ===== VIDEO WATCH SECTION ===== */
#video {
  background: var(--bg-dark);
}

.watch-screen-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.watch-video-frame {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
}

.watch-bezel {
  background: linear-gradient(145deg, #1a2a3a, #0d1a28, #1a2a3a);
  border-radius: 28px;
  padding: 20px;
  border: 3px solid #2a4060;
  box-shadow:
    0 0 0 6px #0d1a28,
    0 0 0 8px #1a3050,
    0 0 60px rgba(0,170,255,0.3),
    inset 0 2px 4px rgba(255,255,255,0.1);
  position: relative;
}

.watch-bezel::before {
  content: 'CASIOFICATION';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--green-lcd);
  background: var(--bg-dark);
  padding: 2px 10px;
}

.watch-screen-inner {
  background: #050f18;
  border-radius: 16px;
  border: 2px solid #0a3060;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}

.watch-screen-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.watch-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,11,24,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 5;
}

.watch-play-overlay:hover { background: rgba(2,11,24,0.4); }

.watch-play-overlay .play-btn {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--green-neon), #00cc66);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0,255,136,0.6);
  transition: transform 0.3s;
}

.watch-play-overlay:hover .play-btn { transform: scale(1.1); }

.play-btn svg { fill: #000; width: 28px; height: 28px; margin-left: 5px; }

.watch-side-btns {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-btn {
  width: 14px;
  height: 28px;
  background: linear-gradient(90deg, #1a3050, #2a4060);
  border-radius: 3px;
  border: 1px solid #3a5070;
}

.watch-bottom-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  letter-spacing: 2px;
}

/* ===== CHART WATCH SECTION ===== */
#chart {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-panel));
}

.chart-watch-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.chart-watch-frame {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
}

.chart-bezel {
  background: linear-gradient(145deg, #0f1a28, #08121e, #0f1a28);
  border-radius: 32px;
  padding: 24px;
  border: 4px solid #1a3050;
  box-shadow:
    0 0 0 8px #08121e,
    0 0 0 10px #162030,
    0 0 80px rgba(0,170,255,0.25),
    inset 0 2px 4px rgba(255,255,255,0.05);
  position: relative;
}

.chart-bezel::before {
  content: 'G-SHOCK · DEXSCREENER · LIVE';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 3px;
  color: var(--blue-neon);
  background: var(--bg-dark);
  padding: 2px 12px;
  border: 1px solid var(--border-glow);
  border-radius: 4px;
}

.chart-screen {
  background: #020b14;
  border-radius: 20px;
  border: 2px solid #0a2040;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/7;
  min-height: 300px;
}

.chart-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.chart-bezel-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 10px;
}

.bezel-btn-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SOCIAL LINKS ===== */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--blue-neon);
  box-shadow: 0 0 20px rgba(0,170,255,0.3);
  transform: translateY(-3px);
}

.social-link img { width: 28px; height: 28px; object-fit: contain; }

/* X/Twitter SVG icon */
.x-icon {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

/* ===== WATCH COLLECTION ===== */
#collection {
  background: var(--bg-dark);
}

.collection-shelf {
  margin-bottom: 3rem;
}

.shelf-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(180deg, rgba(10,25,45,0.6) 0%, rgba(5,15,30,0.9) 100%);
  border: 1px solid rgba(0,170,255,0.15);
  border-radius: 16px;
  position: relative;
}

.shelf-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, #0a2040, #1a4070, #0a2040);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 20px rgba(0,100,200,0.3);
}

.watch-card {
  background: linear-gradient(145deg, rgba(10,30,55,0.8), rgba(4,12,24,0.9));
  border: 1px solid rgba(0,170,255,0.2);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.watch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,170,255,0.05), transparent 70%);
}

.watch-card:hover {
  border-color: var(--blue-neon);
  box-shadow: 0 0 30px rgba(0,170,255,0.2);
  transform: translateY(-6px);
}

.watch-card img {
  width: 100%;
  max-width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,100,200,0.3));
  transition: filter 0.3s;
}

.watch-card:hover img {
  filter: drop-shadow(0 8px 30px rgba(0,170,255,0.5));
}

.watch-card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

/* ===== TWEETS SECTION ===== */
#community {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-dark));
}

.tweets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tweet-watch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tweet-bezel {
  background: linear-gradient(145deg, #0f1e30, #08131f, #0f1e30);
  border-radius: 20px;
  padding: 16px;
  border: 3px solid #1a3050;
  box-shadow:
    0 0 0 5px #08131f,
    0 0 0 6px #162030,
    0 0 40px rgba(0,170,255,0.2);
  width: 100%;
}

.tweet-screen {
  background: #f7f9fa;
  border-radius: 12px;
  border: 2px solid #0a2040;
  overflow: hidden;
  min-height: 220px;
  position: relative;
}

.tweet-embed-container {
  width: 100%;
}

/* Override Twitter widget styles inside our frame */
.tweet-screen .twitter-tweet {
  margin: 0 !important;
}

.tweet-bezel-bottom {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px 0;
}

.bezel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a3050;
  border: 1px solid #2a4060;
}

.bezel-dot.green { background: var(--green-neon); box-shadow: 0 0 6px var(--green-neon); }

/* ===== HOW TO BUY ===== */
#howtobuy {
  background: var(--bg-dark);
}

.htb-watches {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.htb-watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(260px, 100%);
}

.htb-bezel {
  background: linear-gradient(145deg, #0f1e30, #08131f, #0f1e30);
  border-radius: 22px;
  padding: 14px;
  border: 3px solid #1a3050;
  box-shadow:
    0 0 0 5px #08131f,
    0 0 0 7px #162030,
    0 0 40px rgba(0,170,255,0.2);
  width: 100%;
  position: relative;
}

.htb-step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-neon);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 12px;
  border-radius: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.htb-screen {
  background: #050e18;
  border-radius: 14px;
  border: 2px solid #0a2040;
  padding: 1.5rem 1rem;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.htb-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.htb-screen h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--green-neon);
  letter-spacing: 2px;
}

.htb-screen p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.htb-screen a {
  color: var(--blue-neon);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 1px;
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.htb-screen a:hover {
  background: rgba(0,170,255,0.15);
  border-color: var(--blue-neon);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glow);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-logo img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green-neon); }
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--green-lcd);
  letter-spacing: 3px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue-neon); }

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(90,138,176,0.5);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,11,24,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 3px;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--blue-neon); }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,170,255,0.1);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .what-grid { grid-template-columns: 1fr; }
  .what-logo-wrap { order: -1; }
  .shelf-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .chart-bezel {
    padding: 14px;
    border-radius: 20px;
    border-width: 3px;
    box-shadow: 0 0 0 5px #08121e, 0 0 0 7px #162030, 0 0 40px rgba(0,170,255,0.2);
  }
  .chart-screen { aspect-ratio: 4/3; min-height: 260px; border-radius: 12px; }
  .chart-screen iframe { width: 100%; height: 100%; min-height: 260px; }
  .watch-bezel { padding: 14px; }
  .section-inner { width: 100%; }
  .social-bar { flex-direction: column; align-items: center; }
  .social-link { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 600px) {
  html, body { width: 100%; overflow-x: hidden; }
  section { padding: 60px 1rem; }

  .chart-bezel {
    padding: 10px;
    border-radius: 16px;
    border-width: 2px;
    box-shadow: 0 0 0 4px #08121e, 0 0 0 5px #162030, 0 0 30px rgba(0,170,255,0.15);
  }
  .chart-bezel::before { font-size: 0.48rem; letter-spacing: 1px; padding: 2px 8px; }
  .chart-screen { aspect-ratio: unset; height: 280px; min-height: unset; border-radius: 10px; }
  .chart-screen iframe { height: 280px; min-height: unset; }
  .chart-bezel-btns { padding: 0 4px; margin-top: 10px; }

  .watch-bezel { padding: 10px; border-radius: 20px; }
  .watch-screen-inner { border-radius: 12px; }

  .shelf-row { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; padding: 1.2rem 0.8rem 0.8rem; }
  .watch-card { padding: 0.8rem 0.5rem; }
  .watch-card img { max-width: 90px; height: 90px; }

  .htb-watches { flex-direction: column; align-items: center; gap: 1.5rem; }
  .htb-watch { width: 100%; max-width: 320px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-ca { padding: 10px 14px; }
  .hero-ca span.ca-addr { font-size: 0.68rem; }

  nav { padding: 0 1rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* glow pulse animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-neon);
  margin-right: 8px;
  box-shadow: 0 0 6px var(--green-neon);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== AI PFP GENERATOR ===== */
#ai-pfp {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-dark));
}

.ai-pfp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}

/* LEFT: controls panel */
.ai-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 1.5rem;
}

.ai-panel h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--blue-neon);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Upload drop zone */
.upload-zone {
  border: 2px dashed rgba(0,170,255,0.35);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: rgba(0,30,60,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--blue-neon);
  background: rgba(0,170,255,0.07);
}

.upload-zone input[type=file] {
  display: none;
}

.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

.upload-zone p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.upload-zone p strong { color: var(--blue-neon); }

.upload-preview {
  display: none;
  margin-top: 1rem;
  position: relative;
}

.upload-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border-glow);
}

.upload-preview .remove-img {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(2,11,24,0.85);
  border: 1px solid rgba(255,80,80,0.5);
  color: #ff6060;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.upload-preview .remove-img:hover { background: rgba(255,60,60,0.2); }

/* Watch type selector */
.watch-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.watch-type-btn {
  background: rgba(10,30,55,0.8);
  border: 2px solid rgba(0,170,255,0.15);
  border-radius: 10px;
  padding: 0.7rem 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.watch-type-btn:hover { border-color: var(--blue-neon); background: rgba(0,170,255,0.08); }
.watch-type-btn.active {
  border-color: var(--green-neon);
  background: rgba(0,255,136,0.08);
  box-shadow: 0 0 14px rgba(0,255,136,0.2);
}

.watch-type-btn .wt-icon { font-size: 1.4rem; line-height: 1; }
.watch-type-btn .wt-name {
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}
.watch-type-btn.active .wt-name { color: var(--green-neon); }

/* Generate button */
.btn-generate {
  width: 100%;
  background: linear-gradient(135deg, #0a4aff, var(--green-neon));
  color: #000;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 3px;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0,255,136,0.3);
  position: relative;
  overflow: hidden;
}

.btn-generate:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,255,136,0.5);
}

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

.btn-generate .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-generate.loading .btn-spinner { display: inline-block; }
.btn-generate.loading .btn-text { opacity: 0.7; }

/* RIGHT: output panel */
.ai-output {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-result-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.ai-result-bezel {
  background: linear-gradient(145deg, #0f1e30, #08131f, #0f1e30);
  padding: 16px;
  border: 3px solid #1a3050;
  border-radius: 20px;
  box-shadow: 0 0 0 5px #08131f, 0 0 0 7px #162030, 0 0 50px rgba(0,170,255,0.2);
  position: relative;
}

.ai-result-bezel::before {
  content: 'AI · CASIOFIED · OUTPUT';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--green-neon);
  background: var(--bg-dark);
  padding: 2px 10px;
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 4px;
}

.ai-result-screen {
  background: #030d18;
  border-radius: 12px;
  border: 2px solid #0a2040;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  width: 100%;
}

.ai-result-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.ai-result-screen img.visible { display: block; }

.ai-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.ai-placeholder .ph-icon { font-size: 3rem; opacity: 0.3; }

.ai-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  line-height: 1.6;
}

/* Loading state inside screen */
.ai-loading-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(2,11,24,0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  z-index: 10;
}

.ai-loading-overlay.active { display: flex; }

.ai-loading-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(0,170,255,0.15);
  border-top-color: var(--green-neon);
  border-right-color: var(--blue-neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.ai-loading-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--green-neon);
  letter-spacing: 2px;
  text-align: center;
}

.ai-loading-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-align: center;
}

/* Error message */
.ai-error {
  display: none;
  background: rgba(255,60,60,0.1);
  border: 1px solid rgba(255,60,60,0.3);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ff8080;
  letter-spacing: 1px;
  line-height: 1.5;
}

.ai-error.visible { display: block; }

/* Download + share row */
.ai-actions-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.ai-actions-row .btn-primary,
.ai-actions-row .btn-secondary {
  flex: 1;
  font-size: 0.72rem;
  padding: 10px 14px;
  text-align: center;
  justify-content: center;
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.3s;
}

.ai-actions-row.active .btn-primary,
.ai-actions-row.active .btn-secondary {
  opacity: 1;
  pointer-events: auto;
}

/* Disclaimer */
.ai-disclaimer {
  background: rgba(0,170,255,0.04);
  border: 1px solid rgba(0,170,255,0.1);
  border-radius: 10px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(90,138,176,0.6);
  letter-spacing: 1px;
  line-height: 1.6;
  text-align: center;
}

/* Mobile */
@media (max-width: 760px) {
  .ai-pfp-grid { grid-template-columns: 1fr; }
  .watch-type-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-result-screen { min-height: 260px; }
}
