/* =========================================================
   Cheap Shades ($CHEAPZ) â€” mobile-first static site
   ========================================================= */

:root {
  --bg: #0c1024;
  --bg-elevated: rgba(22, 28, 58, 0.72);
  --bg-card: rgba(18, 24, 52, 0.78);
  --bg-alt: rgba(14, 18, 42, 0.55);
  --text: #f7f2e8;
  --text-muted: #c4b8a8;
  --gold: #f0c14b;
  --gold-bright: #ffe08a;
  --gold-dim: rgba(240, 193, 75, 0.18);
  --green: #2d8f6f;
  --green-soft: #45c49a;
  --coral: #ff6347;
  --coral-hover: #ff8a72;
  --teal: #2dd4bf;
  --magenta: #c084fc;
  --sky: #38bdf8;
  --border: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(240, 193, 75, 0.42);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 64px;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: #0c1024;
  background-image:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(255, 99, 71, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(192, 132, 252, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 80% 90%, rgba(45, 212, 191, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 75%, rgba(56, 189, 248, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(240, 193, 75, 0.08) 0%, transparent 60%),
    linear-gradient(165deg, #1a1040 0%, #0c1024 35%, #0a1a2e 70%, #12103a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100dvh;
  position: relative;
}

/* Soft animated color orbs (reflection vibes) */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.55;
}

body::before {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 99, 71, 0.55) 0%, rgba(240, 193, 75, 0.25) 40%, transparent 70%);
  animation: orbDriftA 18s ease-in-out infinite alternate;
}

body::after {
  width: min(520px, 75vw);
  height: min(520px, 75vw);
  bottom: -12%;
  right: -12%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, rgba(56, 189, 248, 0.28) 35%, rgba(192, 132, 252, 0.2) 55%, transparent 70%);
  animation: orbDriftB 22s ease-in-out infinite alternate;
}

@keyframes orbDriftA {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 18vh) scale(1.15); }
}

@keyframes orbDriftB {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10vw, -14vh) scale(1.12); }
}

/* Keep content above background orbs */
.site-header,
main,
.site-footer,
.toast,
.lightbox {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-bright);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 8vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: #111;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: calc(var(--safe-top) + 0.75rem);
}

.container {
  width: min(100% - 1.5rem * 2, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 1.5rem * 2, 680px);
}

.gold { color: var(--gold-bright); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  z-index: 102;
}

.brand:hover { color: var(--gold-bright); }

.brand-logo,
.brand-footer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
  background: #000;
}

.brand-footer img {
  width: 32px;
  height: 32px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 102;
  border-radius: 8px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.nav-menu a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn):focus-visible {
  color: var(--gold-bright);
}

/* Mobile nav drawer */
@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: calc(var(--header-h) + var(--safe-top) + 1rem) 1.5rem 2rem;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
    z-index: 101;
  }

  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a:not(.btn) {
    font-size: 1.35rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    color: var(--text);
  }

  .nav-menu .nav-cta {
    margin-top: 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-align: center;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, #e85a3c 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 99, 71, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-hover) 0%, var(--coral) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(255, 99, 71, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: var(--gold-dim);
  color: var(--gold-bright);
  border-color: var(--gold);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-bright);
  border-color: var(--border-gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 140vw);
  height: 500px;
  background:
    radial-gradient(ellipse at center, rgba(240, 193, 75, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 60%, rgba(255, 99, 71, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero-logo {
  width: min(260px, 70vw);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--border-gold),
    0 20px 60px rgba(240, 193, 75, 0.2),
    0 0 80px rgba(240, 193, 75, 0.12);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
  html { scroll-behavior: auto; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: var(--gold-dim);
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  color: var(--gold-bright);
  margin: 0.25rem 0 1rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.ca-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}

.ca-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ca-address {
  flex: 1 1 12rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: clamp(0.7rem, 2.8vw, 0.85rem);
  word-break: break-all;
  color: var(--gold-bright);
  background: transparent;
  padding: 0.25rem 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 5rem;
  }

  .hero-inner {
    flex-direction: row;
    text-align: left;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-visual { flex-shrink: 0; }

  .hero-logo {
    width: 320px;
  }

  .lead {
    margin-inline: 0;
  }

  .ca-box {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
  max-width: 36rem;
  margin-inline: auto;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.4rem;
  color: var(--gold-bright);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tokenomics */
.token-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .token-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.token-highlight {
  background: linear-gradient(160deg, rgba(240, 193, 75, 0.12) 0%, var(--bg-card) 50%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.token-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.token-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.token-unit {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.token-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.token-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.token-list strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.token-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Roadmap */
.roadmap {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .roadmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
}

.phase-active {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px rgba(240, 193, 75, 0.1), var(--shadow);
}

.phase-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  background: var(--gold);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.phase-active .phase-badge {
  background: linear-gradient(135deg, var(--coral), #e85a3c);
  color: #fff;
}

.phase-time {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin: -0.25rem 0 0.85rem;
}

.phase ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.phase li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: zoom-in;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--border-gold);
  transform: scale(1.02);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Community */
.community-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 520px) {
  .community-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .community-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

.comm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  min-height: 120px;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.comm-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
  color: var(--text);
  transform: translateY(-3px);
}

.comm-icon {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.comm-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold-bright);
}

.comm-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Disclaimer */
.disclaimer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.disclaimer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.disclaimer-end {
  color: var(--text) !important;
  font-weight: 500;
  margin-top: 1.25rem !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 calc(1.5rem + var(--safe-bottom));
  background: #070709;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: calc(1rem + var(--safe-bottom));
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 900px);
  max-height: 85dvh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: calc(0.75rem + var(--safe-top));
  right: 0.75rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 300;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.toast[hidden] {
  display: block; /* still animate via transform */
  visibility: hidden;
}

.toast.is-visible[hidden],
.toast.is-visible {
  visibility: visible;
  display: block;
}

/* Body lock when menu open */
body.nav-open {
  overflow: hidden;
}

/* Gallery links (hardcoded images) */
a.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hero-logo {
  background: #111;
  min-height: 180px;
}
/* Fix double-logo: never show hidden fallbacks */
[hidden],
.hero-logo-file {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* One bouncing logo only */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual .hero-logo:not(:first-of-type) {
  display: none !important;
}
/* ===== Colorful polish pass ===== */
.site-header {
  background: rgba(12, 16, 36, 0.72) !important;
  border-bottom: 1px solid rgba(240, 193, 75, 0.18) !important;
  box-shadow: 0 4px 30px rgba(80, 40, 120, 0.25);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(192, 132, 252, 0.08) 0%, rgba(45, 212, 191, 0.06) 50%, rgba(255, 99, 71, 0.07) 100%) !important;
  border-block: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px);
}

.card,
.phase,
.token-list li,
.comm-card,
.ca-box {
  background: rgba(18, 24, 52, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.card:hover,
.comm-card:hover,
.phase:hover {
  border-color: rgba(240, 193, 75, 0.45) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(240, 193, 75, 0.12);
}

.token-highlight {
  background: linear-gradient(160deg, rgba(240, 193, 75, 0.22) 0%, rgba(255, 99, 71, 0.12) 40%, rgba(18, 24, 52, 0.9) 100%) !important;
  border: 1px solid rgba(240, 193, 75, 0.45) !important;
}

.phase-active {
  border-color: rgba(255, 99, 71, 0.5) !important;
  box-shadow:
    0 0 0 1px rgba(240, 193, 75, 0.15),
    0 12px 40px rgba(255, 99, 71, 0.15) !important;
}

.hero-glow {
  background:
    radial-gradient(ellipse at center, rgba(240, 193, 75, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(255, 99, 71, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 40%, rgba(45, 212, 191, 0.18) 0%, transparent 45%) !important;
}

.hero-logo {
  box-shadow:
    0 0 0 3px rgba(240, 193, 75, 0.45),
    0 20px 60px rgba(255, 99, 71, 0.25),
    0 0 80px rgba(45, 212, 191, 0.2) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6347 0%, #ff8c42 50%, #f0c14b 100%) !important;
  box-shadow: 0 4px 24px rgba(255, 99, 71, 0.45) !important;
  border: none !important;
}

.btn-outline {
  border-color: rgba(45, 212, 191, 0.5) !important;
  color: #7eefe0 !important;
}

.btn-outline:hover {
  background: rgba(45, 212, 191, 0.12) !important;
  border-color: #2dd4bf !important;
  color: #fff !important;
}

.eyebrow {
  background: linear-gradient(90deg, rgba(255, 99, 71, 0.2), rgba(240, 193, 75, 0.2)) !important;
  border-color: rgba(240, 193, 75, 0.4) !important;
}

.tagline {
  background: linear-gradient(90deg, #ffe08a, #ff8a72, #7eefe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.site-footer {
  background: linear-gradient(180deg, transparent, rgba(10, 12, 28, 0.9)) !important;
  border-top: 1px solid rgba(240, 193, 75, 0.2) !important;
}

.gallery-item {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
  border-color: rgba(240, 193, 75, 0.55) !important;
  box-shadow: 0 0 20px rgba(240, 193, 75, 0.25);
}

/* Mobile: lighter blur for performance */
@media (max-width: 640px) {
  body::before,
  body::after {
    filter: blur(40px);
    opacity: 0.45;
  }
  body {
    background-attachment: scroll;
  }
}
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-aurora .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  mix-blend-mode: screen;
}

.blob-a {
  width: 42vw;
  height: 42vw;
  min-width: 220px;
  min-height: 220px;
  top: 15%;
  left: 25%;
  background: radial-gradient(circle, rgba(240, 193, 75, 0.45), transparent 70%);
  animation: orbDriftA 20s ease-in-out infinite alternate-reverse;
}

.blob-b {
  width: 35vw;
  height: 35vw;
  min-width: 180px;
  min-height: 180px;
  top: 45%;
  right: 10%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.4), transparent 70%);
  animation: orbDriftB 16s ease-in-out infinite alternate;
}

.blob-c {
  width: 38vw;
  height: 38vw;
  min-width: 200px;
  min-height: 200px;
  bottom: 5%;
  left: 8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  animation: orbDriftA 24s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .bg-aurora .blob { animation: none; }
}
/* =========================================================
   Ferris wheel gallery
   ========================================================= */
.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 720px;
  margin-inline: auto;
}

.wheel-feature {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(240, 193, 75, 0.45);
  box-shadow:
    0 0 0 4px rgba(255, 99, 71, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(45, 212, 191, 0.15);
  background: rgba(10, 12, 28, 0.85);
  z-index: 2;
}

.wheel-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.45s var(--ease);
}

.wheel-feature img.is-swapping {
  opacity: 0.25;
  transform: scale(0.96);
}

.wheel-feature-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.ferris {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0.25rem auto 0;
}

.ferris-rim {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 3px solid rgba(240, 193, 75, 0.35);
  box-shadow:
    inset 0 0 30px rgba(45, 212, 191, 0.12),
    0 0 24px rgba(240, 193, 75, 0.15);
  pointer-events: none;
}

.ferris-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe08a, #ff6347);
  box-shadow: 0 0 16px rgba(240, 193, 75, 0.5);
  z-index: 3;
  pointer-events: none;
}

.ferris-hub::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #1a1040;
}

.ferris-wheel {
  position: absolute;
  inset: 0;
  transition: transform 1.1s cubic-bezier(0.33, 1.15, 0.4, 1);
  will-change: transform;
}

.ferris-seat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  overflow: hidden;
  background: #0a0c1c;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, box-shadow 0.25s, transform 1.1s cubic-bezier(0.33, 1.15, 0.4, 1);
  -webkit-tap-highlight-color: transparent;
}

.ferris-seat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ferris-seat.is-top {
  border-color: #f0c14b;
  box-shadow:
    0 0 0 3px rgba(240, 193, 75, 0.35),
    0 0 20px rgba(255, 99, 71, 0.45);
  z-index: 4;
}

.ferris-seat:hover,
.ferris-seat:focus-visible {
  border-color: #7eefe0;
  outline: none;
  z-index: 5;
}

.wheel-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .wheel-feature {
    width: min(100%, 400px);
  }
  .ferris {
    width: min(100%, 420px);
  }
  .ferris-seat {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
}

@media (min-width: 900px) {
  .wheel-stage {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem 2rem;
    align-items: center;
  }
  .wheel-feature {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 420px;
    justify-self: end;
  }
  .ferris {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 400px;
    justify-self: start;
  }
  .wheel-controls {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ferris-wheel,
  .ferris-seat {
    transition: none;
  }
  .wheel-feature img {
    transition: none;
  }
}
/* DexScreener embed — compact */
.chart-frame-wrap {
  width: min(100%, 720px);
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(240, 193, 75, 0.3);
  background: rgba(10, 12, 28, 0.85);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(45, 212, 191, 0.08);
  /* ~phone-friendly height; not a full-page chart */
  height: 300px;
}

@media (min-width: 640px) {
  .chart-frame-wrap {
    height: 340px;
  }
}

.chart-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0e11;
}

.chart-footnote {
  text-align: center;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.chart-footnote a {
  color: var(--gold-bright);
  font-weight: 500;
}

.chart-footnote a:hover {
  color: #fff;
}
/* Pinned video */
.video-feature {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(240, 193, 75, 0.4);
  background: #0a0c1c;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(255, 99, 71, 0.15),
    0 0 40px rgba(45, 212, 191, 0.1);
  aspect-ratio: 1;
}

.pinned-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  vertical-align: middle;
}

.video-caption {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-caption a {
  color: var(--gold-bright);
  font-weight: 600;
}

@media (min-width: 640px) {
  .video-feature {
    max-width: 480px;
  }
}
/* Multi-video grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
  }
}

.video-card {
  background: rgba(18, 24, 52, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, transform 0.2s;
}

.video-card:hover {
  border-color: rgba(240, 193, 75, 0.45);
  transform: translateY(-2px);
}

.video-card h3 {
  margin: 0.65rem 0 0.25rem;
  font-size: 1.05rem;
  color: var(--gold-bright);
  text-align: center;
}

.video-card .video-frame {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(240, 193, 75, 0.35);
  background: #0a0c1c;
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-card .video-caption {
  text-align: center;
  margin: 0.35rem 0 0.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.video-card .video-caption a {
  color: var(--gold-bright);
  font-weight: 600;
}
.video-grid-2 {
  max-width: 720px;
}
@media (min-width: 720px) {
  .video-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Six across video row */
.container-wide {
  width: min(100% - 1rem * 2, 1280px);
  margin-inline: auto;
}

.video-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: none;
}

@media (min-width: 700px) {
  .video-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .video-grid-6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
  }
}

.video-grid-6 .video-card {
  padding: 0.5rem;
}

.video-grid-6 .video-card h3 {
  font-size: 0.85rem;
  margin: 0.45rem 0 0.15rem;
}

.video-grid-6 .video-caption {
  font-size: 0.7rem;
}

.video-grid-6 .video-frame {
  border-width: 1.5px;
}
.phase-done {
  border-color: rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15), 0 8px 28px rgba(0,0,0,0.25);
}
.phase-done .phase-badge {
  background: linear-gradient(135deg, #2dd4bf, #3d7a52) !important;
  color: #fff !important;
}
.phase-complete {
  color: #7eefe0;
  font-weight: 700;
}
/* Live price chip in hero */
.price-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.35rem 0 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 24, 52, 0.85);
  border: 1px solid rgba(240, 193, 75, 0.4);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(240, 193, 75, 0.12);
  font-size: 0.9rem;
  line-height: 1.2;
}

.price-chip-label {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.price-chip-value {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.price-chip-change {
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.price-chip-change.up {
  color: #0d3b2e;
  background: rgba(45, 212, 191, 0.85);
}

.price-chip-change.down {
  color: #fff;
  background: rgba(255, 99, 71, 0.9);
}

.price-chip-change.flat {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
}

.price-chip-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7eefe0;
  margin-left: 0.15rem;
}

.price-chip-link:hover {
  color: #fff;
}

.price-chip.is-loading .price-chip-value {
  opacity: 0.5;
}

.price-chip.is-error .price-chip-value {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .hero-copy .price-chip {
    margin-bottom: 1.15rem;
  }
}
/* How to buy */
.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}

.buy-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(18, 24, 52, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(10px);
}

.buy-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  background: linear-gradient(135deg, #ffd666, #ff6347);
}

.buy-step h3 {
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
  font-size: 1.1rem;
}

.buy-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.buy-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.buy-note {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sticky buy bar */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 28, 0.92);
  border-top: 1px solid rgba(240, 193, 75, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-buy.is-visible {
  transform: translateY(0);
}

.sticky-buy-inner {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sticky-buy-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sticky-buy-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 0.95rem;
}

.sticky-buy-price {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-buy-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.sticky-cta {
  min-height: 42px;
  box-shadow: 0 4px 16px rgba(255, 99, 71, 0.4);
}

/* Room so sticky bar does not cover footer content */
body {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 640px) {
  .sticky-buy-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
  .sticky-buy-price {
    font-size: 0.85rem;
  }
}
/* Shade Studio homepage CTA  between hero and videos */
.studio-cta-section {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.studio-cta-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 193, 75, 0.4);
  background: linear-gradient(135deg, rgba(255, 99, 71, 0.18), rgba(240, 193, 75, 0.12));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.studio-cta-copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: var(--gold-bright);
}
.studio-cta-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
  font-size: 0.95rem;
}
.studio-cta-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(255, 99, 71, 0.35);
}
@media (min-width: 640px) {
  .studio-cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
  }
  .studio-cta-btn {
    width: auto;
    flex-shrink: 0;
    padding-inline: 1.5rem;
  }
}
