/* ========== $CATGIRL — minimal ========== */
:root {
  --bg: #06050c;
  --bg-card: rgba(18, 14, 32, 0.55);
  --cyan: #00f0ff;
  --pink: #ff4fd8;
  --pink-soft: #ff8ae8;
  --purple: #a855f7;
  --text: #f6f2ff;
  --text-muted: #9b90b5;
  --border: rgba(168, 85, 247, 0.22);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --nav-h: 64px;
  --container: min(1080px, calc(100% - 2.5rem));
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 79, 216, 0.35);
  color: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.08), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

body:hover .cursor-glow { opacity: 1; }

/* ========== NAV ========== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(6, 5, 12, 0.4);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.nav.scrolled {
  background: rgba(6, 5, 12, 0.88);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

.nav-title {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.88rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta { z-index: 2; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible,
.social-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-ghost {
  background: rgba(8, 6, 16, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.18) brightness(1.32) contrast(1.04);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 45% at 50% 48%, rgba(6, 5, 12, 0.28) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6, 5, 12, 0.25) 0%, transparent 30%, transparent 70%, rgba(6, 5, 12, 0.55) 100%);
}

.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float {
  position: absolute;
  object-fit: cover;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  animation: floatY 7s ease-in-out infinite;
  opacity: 0.92;
}

.float-1 {
  width: clamp(90px, 11vw, 140px);
  aspect-ratio: 3/4;
  left: max(3%, calc(50% - 380px));
  top: 22%;
  rotate: -5deg;
}

.float-2 {
  width: clamp(72px, 9vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  left: max(5%, calc(50% - 340px));
  bottom: 20%;
  rotate: 4deg;
  animation-delay: -1.5s;
  border-color: rgba(255, 79, 216, 0.4);
}

.float-3 {
  width: clamp(90px, 11vw, 140px);
  aspect-ratio: 3/4;
  right: max(3%, calc(50% - 360px));
  top: 20%;
  rotate: 6deg;
  animation-delay: -2.2s;
}

.float-4 {
  width: clamp(72px, 9vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  right: max(5%, calc(50% - 320px));
  bottom: 22%;
  rotate: -4deg;
  animation-delay: -0.8s;
  border-color: rgba(168, 85, 247, 0.45);
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.1rem;
  border: 2.5px solid var(--cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 9.5vw, 5.2rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.glow-text {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 0 2px #fff,
    0 0 14px rgba(0, 240, 255, 0.95),
    0 0 32px rgba(0, 240, 255, 0.65),
    0 0 52px rgba(255, 79, 216, 0.4),
    0 4px 20px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
  opacity: 0.95;
}

.hero-socials {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 0 0.9rem;
}

.hero-socials .social-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  justify-content: center;
  background: rgba(8, 6, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.hero-ca {
  background: rgba(8, 6, 16, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.hero-ca:hover { background: rgba(14, 10, 28, 0.96); }

.ca-label {
  opacity: 0.5;
  font-size: 0.8em;
  margin-right: 0.3rem;
}

.ca-short {
  font-family: ui-monospace, monospace;
  font-size: 0.86em;
}

/* Social */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.88rem;
  transition: 0.2s;
}

.social-btn:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-1px);
}

/* Dex */
.dex-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.2s;
}

.dex-link.nav-cta {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dex-link.nav-cta:hover {
  transform: scale(1.06);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.3);
}

.dex-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.dex-link.nav-cta .dex-logo {
  width: 26px;
  height: 26px;
}

.hero-socials .dex-logo {
  width: 22px;
  height: 22px;
}

/* ========== MARQUEE ========== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255, 79, 216, 0.04);
  padding: 0.7rem 0;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--pink-soft);
  white-space: nowrap;
  opacity: 0.85;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.center { text-align: center; }

.accent {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

/* ========== ABOUT ========== */
.about {
  background: radial-gradient(ellipse 70% 50% at 15% 30%, rgba(168, 85, 247, 0.07), transparent 55%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.about-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(255, 79, 216, 0.15);
}

.about-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.about-copy .section-title {
  margin-bottom: 1.1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 32em;
  margin-bottom: 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* ========== GALLERY ========== */
.gallery {
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 240, 255, 0.05), transparent 55%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, 13vw);
  gap: 0.75rem;
}

.gal-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.gal-item:hover {
  transform: scale(1.02);
  border-color: rgba(255, 79, 216, 0.5);
  box-shadow: 0 0 28px rgba(255, 79, 216, 0.25);
  z-index: 2;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gal-item:hover img { transform: scale(1.06); }

.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }

/* ========== JOIN ========== */
.community {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.join-card {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 240, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 79, 216, 0.08), transparent 50%),
    rgba(12, 10, 22, 0.7);
  backdrop-filter: blur(10px);
}

.join-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.15rem;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

.join-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  text-align: center;
}

.copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  opacity: 0.75;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-frame {
    max-width: 360px;
    margin-inline: auto;
  }

  .float-1, .float-3 {
    width: clamp(70px, 13vw, 100px);
  }

  .float-2, .float-4 {
    width: clamp(60px, 11vw, 84px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(6, 5, 12, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: flex; }

  .nav-cta {
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .hero-floats { display: none; }

  .hero {
    padding: calc(var(--nav-h) + 1.5rem) 1rem 2.5rem;
  }

  .section { padding: 3.5rem 0; }

  .gallery-grid {
    grid-auto-rows: 140px;
    gap: 0.55rem;
  }

  .gal-item.tall { grid-row: span 1; }
  .gal-item.wide { grid-column: span 2; }

  .join-card { padding: 2.5rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
