/* ============================================
   PENGADUK DODOL COMMUNITY — styles.css
   Premium dark-pink fantasy gaming
   Full animation + cherry blossom + logos
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  --bg-deep: #0a0612;
  --bg-surface: #0f0918;
  --bg-card: rgba(22, 14, 32, 0.7);
  --pink-primary: #FF4FA3;
  --pink-soft: #FF6FB5;
  --pink-muted: #C35B8F;
  --pink-glow: rgba(255, 79, 163, 0.15);
  --purple-accent: #8F67FF;
  --text-primary: #FFFFFF;
  --text-secondary: #B8A3C2;
  --text-muted: #7A6888;
  --border-subtle: rgba(195, 91, 143, 0.18);
  --border-hover: rgba(255, 79, 163, 0.35);
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --section-spacing: clamp(5rem, 10vw, 9rem);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 79, 163, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(143, 103, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 60%, rgba(195, 91, 143, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0a0612 0%, #120a1e 25%, #0e0819 50%, #140c22 75%, #0a0612 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-image 1.5s ease, background-color 1.5s ease;
}

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

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

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

/* --- Accessibility Focus --- */
:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 3px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cherry-blossom-canvas {
    display: none;
  }
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--pink-primary);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease-smooth);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   CHERRY BLOSSOM PARTICLE CANVAS
   ============================================ */
.cherry-blossom-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   ATMOSPHERIC BACKGROUND — LUXURY GAMING ENHANCED
   ============================================ */

/* Dynamic Cursor Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 79, 163, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
}

.cursor-glow.active {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 79, 163, 0.4) 30%, transparent 70%);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 50% 150%, rgba(143, 103, 255, 0.1) 0%, transparent 80%),
    radial-gradient(ellipse at 50% -50%, rgba(255, 79, 163, 0.08) 0%, transparent 80%);
}

/* Topographic Contour Lines */
.atmosphere-topo {
  position: absolute;
  inset: -50%;
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    transparent 40px,
    rgba(255, 79, 163, 0.03) 41px,
    transparent 42px
  ),
  repeating-radial-gradient(
    circle at 20% 80%,
    transparent 0,
    transparent 60px,
    rgba(143, 103, 255, 0.02) 61px,
    transparent 62px
  );
  opacity: 0.8;
  animation: topo-spin 120s linear infinite;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 10%, transparent 80%);
}

@keyframes topo-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animated pink nebula orb 1 — LUXURIOUS */
.atmosphere::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 80vw;
  height: 80vw;
  max-width: 1200px;
  max-height: 1200px;
  background: radial-gradient(circle, rgba(255, 79, 163, 0.22) 0%, rgba(195, 91, 143, 0.1) 30%, rgba(143, 103, 255, 0.05) 55%, transparent 75%);
  border-radius: 50%;
  filter: blur(80px);
  animation: nebula-drift-1 25s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* Animated purple nebula orb 2 — LUXURIOUS */
.atmosphere::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 75vw;
  height: 75vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(circle, rgba(143, 103, 255, 0.18) 0%, rgba(255, 79, 163, 0.08) 35%, rgba(195, 91, 143, 0.04) 55%, transparent 75%);
  border-radius: 50%;
  filter: blur(90px);
  animation: nebula-drift-2 30s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

/* Elegant Grid pattern */
.atmosphere-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 79, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 163, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 80%);
  animation: grid-pulse 10s ease-in-out infinite;
}

/* Floating Fantasy Crystals */
.fantasy-crystal {
  position: absolute;
  background-image: url('assets/crystal.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  filter: drop-shadow(0 0 15px rgba(255, 79, 163, 0.4));
}

.crystal-1 { top: 20%; left: 15%; width: 50px; height: 75px; animation: float-crystal 8s ease-in-out infinite, spin-crystal 15s linear infinite; }
.crystal-2 { top: 60%; left: 80%; width: 65px; height: 97px; animation: float-crystal 10s ease-in-out infinite reverse, spin-crystal 20s linear infinite reverse; filter: drop-shadow(0 0 20px rgba(143, 103, 255, 0.5)) hue-rotate(30deg); }
.crystal-3 { top: 80%; left: 25%; width: 35px; height: 52px; animation: float-crystal 6s ease-in-out infinite, spin-crystal 12s linear infinite; }
.crystal-4 { top: 30%; left: 85%; width: 45px; height: 67px; animation: float-crystal 9s ease-in-out infinite reverse, spin-crystal 18s linear infinite; filter: drop-shadow(0 0 15px rgba(195, 91, 143, 0.5)) hue-rotate(-20deg); }
.crystal-5 { top: 10%; left: 50%; width: 30px; height: 45px; animation: float-crystal 7s ease-in-out infinite, spin-crystal 10s linear infinite reverse; }

@keyframes float-crystal {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes spin-crystal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Premium Light Beams / Aurora */
.atmosphere-beam {
  position: absolute;
  width: 200%;
  height: 200px;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 163, 0.15), rgba(143, 103, 255, 0.2), transparent);
  filter: blur(40px);
  transform: rotate(-35deg) translateY(-50%);
  opacity: 0.6;
  animation: aurora-sweep 15s linear infinite;
  top: 30%;
  left: -50%;
}

.atmosphere-beam:nth-of-type(2) {
  top: 70%;
  background: linear-gradient(90deg, transparent, rgba(143, 103, 255, 0.12), rgba(255, 79, 163, 0.18), transparent);
  animation-duration: 22s;
  animation-direction: reverse;
  transform: rotate(-25deg) translateY(-50%);
}

.atmosphere-beam:nth-of-type(3) {
  top: 10%;
  background: linear-gradient(90deg, transparent, rgba(255, 79, 163, 0.1), rgba(195, 91, 143, 0.2), transparent);
  animation-duration: 28s;
  transform: rotate(-45deg) translateY(-50%);
}

@keyframes aurora-sweep {
  0% { transform: rotate(-35deg) translateY(-50%) translateX(-50%); }
  100% { transform: rotate(-35deg) translateY(-50%) translateX(50%); }
}

/* Floating light orbs — BRIGHTER */
.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: orb-float 14s ease-in-out infinite;
}

.atmosphere-orb:nth-of-type(1) {
  width: 500px;
  height: 500px;
  top: 15%;
  left: 60%;
  background: rgba(255, 79, 163, 0.18);
  animation-delay: 0s;
  animation-duration: 20s;
}

.atmosphere-orb:nth-of-type(2) {
  width: 350px;
  height: 350px;
  top: 65%;
  left: 10%;
  background: rgba(143, 103, 255, 0.12);
  animation-delay: -5s;
  animation-duration: 25s;
}

.atmosphere-orb:nth-of-type(3) {
  width: 250px;
  height: 250px;
  top: 45%;
  right: 15%;
  background: rgba(195, 91, 143, 0.15);
  animation-delay: -10s;
  animation-duration: 15s;
}

.atmosphere-orb:nth-child(4) {
  width: 300px;
  height: 300px;
  top: 8%;
  left: 35%;
  background: rgba(255, 111, 181, 0.1);
  animation-delay: 8s;
  animation-duration: 15s;
}

/* Moving light beams — MORE VISIBLE */
.atmosphere-beam {
  position: absolute;
  width: 2px;
  height: 40vh;
  background: linear-gradient(180deg, transparent, rgba(255, 79, 163, 0.1), rgba(143, 103, 255, 0.06), transparent);
  animation: beam-sweep 20s linear infinite;
  opacity: 0.6;
}

.atmosphere-beam:nth-child(5) {
  left: 15%;
  animation-delay: 0s;
  transform: rotate(15deg);
  width: 3px;
}

.atmosphere-beam:nth-child(6) {
  left: 45%;
  animation-delay: 7s;
  transform: rotate(-10deg);
  height: 50vh;
}

.atmosphere-beam:nth-child(7) {
  left: 75%;
  animation-delay: 14s;
  transform: rotate(8deg);
  height: 35vh;
  width: 3px;
}

/* Aurora wave — STRONGER, more visible pink fog */
.atmosphere-aurora {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 50%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 79, 163, 0.04) 20%,
    rgba(143, 103, 255, 0.06) 45%,
    rgba(255, 79, 163, 0.05) 70%,
    rgba(195, 91, 143, 0.03) 100%
  );
  filter: blur(30px);
  animation: aurora-wave 15s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes nebula-drift-1 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate(40px, 30px) scale(1.08) rotate(2deg); }
  100% { transform: translate(-20px, 50px) scale(1.03) rotate(-1deg); }
}

@keyframes nebula-drift-2 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate(-30px, -20px) scale(1.06) rotate(-3deg); }
  100% { transform: translate(40px, -40px) scale(0.97) rotate(2deg); }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

@keyframes orb-float {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.8); }
  25%  { opacity: 1; }
  50%  { opacity: 0.8; transform: translate(40px, -30px) scale(1.1); }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes beam-sweep {
  0%   { top: -40vh; opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { top: 120vh; opacity: 0; }
}

@keyframes aurora-wave {
  0%   { transform: scaleY(1) translateX(0); }
  33%  { transform: scaleY(1.15) translateX(3%); }
  66%  { transform: scaleY(0.9) translateX(-2%); }
  100% { transform: scaleY(1.1) translateX(1%); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), padding 0.3s;
}

.nav-header.scrolled {
  background: rgba(7, 5, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 30px rgba(255, 79, 163, 0.03);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-brand:hover {
  transform: scale(1.03);
}

.nav-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-subtle);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav-brand:hover .nav-brand-logo {
  border-color: var(--pink-primary);
  box-shadow: 0 0 12px rgba(255, 79, 163, 0.3);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-smooth), transform 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-primary), var(--purple-accent));
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary) !important;
  background: linear-gradient(135deg, var(--pink-primary), #e0449a);
  border-radius: 8px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.nav-cta:hover::before {
  transform: translateX(100%);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(255, 79, 163, 0.4);
}

.nav-cta:active {
  transform: translateY(0);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

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

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  z-index: 3;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--pink-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

/* ============================================
   HERO — ENHANCED
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  position: relative;
}

/* Smooth section transition — no hard cutoff */

.hero .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pink-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--pink-primary), transparent);
  animation: line-expand 1.2s var(--ease-out) 0.5s both;
}

@keyframes line-expand {
  from { width: 0; opacity: 0; }
  to   { width: 24px; opacity: 1; }
}

/* Logo-based hero title */
.hero-logo {
  max-width: clamp(280px, 45vw, 480px);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 30px rgba(255, 79, 163, 0.2));
  animation: logo-glow 4s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0%   { filter: drop-shadow(0 0 20px rgba(255, 79, 163, 0.15)); }
  100% { filter: drop-shadow(0 0 40px rgba(255, 79, 163, 0.3)) drop-shadow(0 0 80px rgba(143, 103, 255, 0.1)); }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 0.3rem;
}

.hero-title .title-mount {
  display: block;
  color: var(--text-secondary);
  font-size: 0.45em;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.hero-title .title-kirana {
  display: block;
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-soft), var(--purple-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 0 80px rgba(255, 79, 163, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 60px rgba(255, 79, 163, 0.05);
  animation: frame-float 6s ease-in-out infinite;
}

@keyframes frame-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(0.5deg); }
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 5, 8, 0.4) 100%);
  pointer-events: none;
}

/* Animated shimmer on hero image */
.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 79, 163, 0.08) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(143, 103, 255, 0.08) 55%,
    transparent 60%
  );
  animation: shimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}

.hero-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background: radial-gradient(ellipse at center, rgba(255, 79, 163, 0.08) 0%, rgba(143, 103, 255, 0.03) 40%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* ============================================
   BUTTONS — ENHANCED
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 8px;
  transition: transform 0.1s linear, box-shadow 0.3s var(--ease-out), background 0.3s;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  border-radius: inherit;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--pink-primary), #e0449a);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--pink-soft), var(--pink-primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 79, 163, 0.4), 0 0 60px rgba(255, 79, 163, 0.1);
}

.btn-secondary {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 79, 163, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 79, 163, 0.12);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   FEATURES SECTION — ENHANCED
   ============================================ */
.features {
  padding: var(--section-spacing) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.35s var(--ease-smooth), transform 0.3s var(--ease-out), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

/* Card hover glow effect */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 79, 163, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 79, 163, 0.08), 0 0 0 1px rgba(255, 79, 163, 0.05);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink-primary), var(--purple-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
}

.feature-card-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 79, 163, 0.08);
  color: var(--pink-primary);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover .feature-icon {
  background: rgba(255, 79, 163, 0.15);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 79, 163, 0.15);
}

.features-cta {
  margin-top: 2.5rem;
}

/* ============================================
   STREAMER SUPPORT SECTION
   ============================================ */
.streamers {
  padding: var(--section-spacing) 0;
}

.streamers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.streamers-content .section-desc strong {
  color: var(--pink-soft);
}

.streamer-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.streamer-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.streamer-feature-item svg {
  color: var(--pink-primary);
  flex-shrink: 0;
}

.streamer-cta-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

/* Streamer Panel Card — visual mockup */
.streamer-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 79, 163, 0.05);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  animation: panel-float 5s ease-in-out infinite;
}

@keyframes panel-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(0.3deg); }
}

.streamer-panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 79, 163, 0.08);
}

.streamer-panel-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 79, 163, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.streamer-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.streamer-panel-badge {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 79, 163, 0.2);
  border: 1px solid rgba(255, 79, 163, 0.3);
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pink-soft);
}

.streamer-panel-grid {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: background 0.2s;
}

.sp-item:hover {
  background: rgba(255, 79, 163, 0.06);
}

.sp-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sp-key {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 79, 163, 0.12);
  border: 1px solid rgba(255, 79, 163, 0.2);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pink-soft);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .streamers-layout {
    grid-template-columns: 1fr;
  }
  .streamers-visual {
    order: -1;
  }
}

/* ============================================
   QUOTE / STORY SECTION — ENHANCED
   ============================================ */
.story {
  padding: var(--section-spacing) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Atmospheric glow behind quote */
.story::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 79, 163, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: story-glow 6s ease-in-out infinite alternate;
}

@keyframes story-glow {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}

.story-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--pink-soft) 50%, var(--purple-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 8s ease-in-out infinite;
}

.story-line {
  display: block;
}

.story-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-primary), var(--purple-accent));
  margin: 2rem auto;
  border-radius: 2px;
  animation: divider-glow 3s ease-in-out infinite alternate;
}

@keyframes divider-glow {
  0%   { box-shadow: 0 0 6px rgba(255, 79, 163, 0.2); width: 50px; }
  100% { box-shadow: 0 0 16px rgba(255, 79, 163, 0.4); width: 70px; }
}

.story-sub {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   COMMUNITY SECTION — ENHANCED
   ============================================ */
.community {
  padding: var(--section-spacing) 0;
}

.community .section-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community .section-desc {
  margin: 0 auto 2.25rem;
  text-align: center;
}

.community-logo {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 2px solid var(--border-subtle);
  box-shadow: 0 0 40px rgba(255, 79, 163, 0.12);
  animation: logo-rotate-glow 8s ease-in-out infinite;
}

@keyframes logo-rotate-glow {
  0%   { box-shadow: 0 0 20px rgba(255, 79, 163, 0.1); border-color: var(--border-subtle); }
  50%  { box-shadow: 0 0 50px rgba(255, 79, 163, 0.2), 0 0 80px rgba(143, 103, 255, 0.08); border-color: var(--border-hover); }
  100% { box-shadow: 0 0 20px rgba(255, 79, 163, 0.1); border-color: var(--border-subtle); }
}

.discord-btn {
  padding: 0.9rem 2.5rem;
}

.discord-btn svg {
  width: 20px;
  height: 20px;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Mouse-tracking glow on feature cards */
.feature-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.feature-card::before {
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 79, 163, 0.06) 0%,
    transparent 60%
  );
}

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

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  transition: color 0.25s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--pink-soft);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(195, 91, 143, 0.08);
}

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

.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ============================================
   SCROLL REVEAL — ENHANCED
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance - staggered */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 0.9s var(--ease-out) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.55s; }
.hero-content > *:nth-child(4) { animation-delay: 0.65s; }
.hero-content > *:nth-child(5) { animation-delay: 0.75s; }
.hero-content > *:nth-child(6) { animation-delay: 0.85s; }

.hero-visual {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: hero-visual-enter 1.2s var(--ease-out) 0.5s forwards;
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .section-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding-top: clamp(3rem, 8vw, 5rem);
    order: 1;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: 2;
    margin: 0 auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet small */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(7, 5, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
    animation: menu-fade-in 0.3s var(--ease-out);
  }

  @keyframes menu-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand-block {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-logo {
    max-width: 85%;
  }

  .hero-image-frame {
    max-width: 100%;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .story-quote {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.82rem;
  }

  .nav-brand-text {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .hero .section-inner {
    gap: 5rem;
  }
}

/* ============================================
   HORROR THEME (Upcoming Project Section)
   ============================================ */
body.horror-theme {
  background-color: #030000 !important;
  background-image: 
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(150, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(80, 0, 0, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #050000 0%, #0a0000 50%, #030000 100%) !important;
}

body.horror-theme .cursor-glow {
  background: radial-gradient(circle, rgba(200, 0, 0, 0.15) 0%, transparent 70%);
}

body.horror-theme .atmosphere-topo {
  filter: sepia(1) hue-rotate(330deg) saturate(4) brightness(0.4) opacity(0.2);
}

body.horror-theme .fantasy-crystal {
  filter: hue-rotate(300deg) saturate(5) brightness(0.3);
  opacity: 0.5;
}

body.horror-theme .cherry-blossom-canvas {
  opacity: 0;
  transition: opacity 1s ease;
}
