/* ---------- Top nav & Mobile Menu ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(7, 5, 16, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 640px) {
  header {
    padding: 16px 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(7, 5, 16, .85);
  }
}


.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  z-index: 900;
  color: #fff;
}

.logo span { color: var(--pink); }

.nav-right { display: flex; align-items: center; gap: 30px; }

nav.desktop-nav { display: flex; align-items: center; gap: 36px; }

nav.desktop-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}

nav.desktop-nav a:hover {
  color: #fff;
}

nav.desktop-nav a.active {
  color: #ffffff;
}

nav.desktop-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2.5px;
  background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.9), 0 0 20px rgba(139, 92, 246, 0.6);
  border-radius: 4px;
}

@media (max-width: 900px) {
  nav.desktop-nav { display: none; }
}

@media (min-width: 901px) {
  .burger { display: none; }
}

/* Burger */
.burger {
  position: relative;
  width: 32px;
  height: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s ease, opacity .3s ease, background .3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); background: var(--pink); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background: var(--pink); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: radial-gradient(circle at 80% 10%, rgba(155, 107, 255, .28), transparent 55%),
              radial-gradient(circle at 10% 80%, rgba(255, 92, 138, .22), transparent 55%),
              #08080d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 34px 50px;
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  visibility: hidden;
}

.mobile-menu.open { transform: translateY(0); visibility: visible; }

.menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
  font-size: 20px;
  color: #fff;
  z-index: 901;
}

.menu-close:hover { border-color: var(--pink); color: var(--pink); }

.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }

.mobile-menu nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 38px;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu nav a:nth-child(1) { color: var(--cyan); }
.mobile-menu nav a:nth-child(2) { color: var(--purple); }
.mobile-menu nav a:nth-child(3) { color: var(--pink); }
.mobile-menu nav a:nth-child(4) { color: var(--amber); }

.mobile-menu .m-foot { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu .m-social { display: flex; gap: 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.mobile-menu .donate-btn { align-self: flex-start; font-size: 14px; padding: 14px 24px; }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  overflow: visible;
}

/* Ambient cosmic floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: starGlow 4s ease-in-out infinite alternate;
}

.hero-dot.dot-1 {
  top: 18%;
  left: 45%;
  width: 4px;
  height: 4px;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation-delay: 0.2s;
}

.hero-dot.dot-2 {
  top: 32%;
  left: 48%;
  width: 3px;
  height: 3px;
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
  animation-delay: 1.2s;
}

.hero-dot.dot-3 {
  top: 55%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
  animation-delay: 2.1s;
}

.hero-dot.dot-4 {
  top: 22%;
  right: 8%;
  width: 4px;
  height: 4px;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
  animation-delay: 0.8s;
}

.hero-dot.dot-5 {
  top: 68%;
  right: 4%;
  width: 4px;
  height: 4px;
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
  animation-delay: 1.7s;
}

@keyframes starGlow {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.4); }
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-bottom: 45px;
}

/* Hero Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Status Pill Badge */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 40px;
  background: rgba(14, 12, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* Hero Main Title */
.hero-main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title-top {
  display: block;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, #60a5fa 0%, #a855f7 35%, #ec4899 75%, #ff2a7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 7s ease infinite;
  filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.3));
}

/* Bio & Tagline */
.hero-bio {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.7;
  color: #94a3b8;
  max-width: 500px;
  margin-bottom: 12px;
}

.hero-bio b {
  color: #f8fafc;
  font-weight: 600;
}

.hero-tagline {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.passion-text {
  color: #ec4899;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-donate-neon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg, #9333ea 0%, #d946ef 35%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.55), 0 0 10px rgba(147, 51, 234, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.btn-donate-neon:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 45px rgba(244, 63, 94, 0.8), 0 0 20px rgba(147, 51, 234, 0.6);
}

.btn-donate-neon .heart-icon {
  font-size: 14px;
  color: #ffffff;
}

.btn-tournament-neon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.5), 0 0 10px rgba(59, 130, 246, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.btn-tournament-neon:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 45px rgba(6, 182, 212, 0.8), 0 0 20px rgba(139, 92, 246, 0.6);
  color: #ffffff;
}

.btn-tournament-neon .trophy-icon {
  font-size: 14px;
}

.btn-project-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-project-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-project-ghost .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-project-ghost:hover .arrow-icon {
  transform: translateX(4px);
}

/* Social Strip */
.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
}

.hero-social-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.6);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

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

.hero-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(236, 72, 153, 0.25) 45%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: ambientGlowPulse 6s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

@keyframes ambientGlowPulse {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.7; }
  100% { transform: translate3d(0, 0, 0) scale(1.15); opacity: 1; }
}

.hero-code-neon-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #ec4899;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.85);
  letter-spacing: 2px;
  z-index: 2;
  animation: floatAccent 4s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@keyframes floatAccent {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

.hero-img-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-profile-img {
  max-width: 100%;
  width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: heroImageFloat 6s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-profile-img:hover {
  transform: translate3d(0, -6px, 0) scale(1.02);
}

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

/* Integrated Hero Stats Card */
.hero-stats-card {
  background: rgba(14, 12, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
  transform: translate3d(0, 0, 0);
}

.hero-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 8px 16px;
}

.hero-stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-stat-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-stat-box:hover .hero-stat-icon {
  transform: scale(1.18) translateY(-2px);
}

.hero-stat-icon.icon-code svg {
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
}

.hero-stat-icon.icon-stream svg {
  filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.8));
}

.hero-stat-icon.icon-followers svg {
  filter: drop-shadow(0 0 12px rgba(244, 114, 182, 0.8));
}

.hero-stat-icon.icon-passion svg {
  filter: drop-shadow(0 0 12px rgba(251, 113, 133, 0.8));
}

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.hero-stat-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-bio {
    max-width: 100%;
  }
  .hero-cta-buttons {
    justify-content: center;
  }
  .hero-socials {
    justify-content: center;
  }
  .hero-profile-img {
    width: 380px;
  }
  .hero-ambient-glow {
    filter: none;
    opacity: 0.85;
    animation: none;
    width: 300px;
    height: 300px;
  }
  .hero-particles {
    display: none;
  }
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: rgba(14, 12, 28, 0.88);
  }
  .hero-stat-box:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .hero-main-title {
    font-size: 42px;
  }
  .hero-profile-img {
    width: 290px;
  }
  .hero-ambient-glow {
    width: 260px;
    height: 260px;
  }
  .hero-stats-card {
    padding: 20px 16px;
  }
  .hero-stat-num {
    font-size: 24px;
  }
  .hero-stat-title {
    font-size: 12px;
  }
}



/* ---------- Section heading ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  padding: 100px 0 50px;
}

.sec-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.sec-head p { max-width: 340px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 640px) { .sec-head { padding: 72px 0 36px; } }

/* ---------- About / duality ---------- */
.about { padding-bottom: 90px; }
.duality { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 760px) { .duality { grid-template-columns: 1fr; } }
.duality .cell { padding: 48px 40px; position: relative; overflow: hidden; background: var(--bg-soft); }
.duality .cell .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
}
.duality .cell.dev .tag { color: var(--cyan); border: 1px solid rgba(69, 232, 212, .35); background: rgba(69, 232, 212, .06); }
.duality .cell.live .tag { color: var(--pink); border: 1px solid rgba(255, 92, 138, .35); background: rgba(255, 92, 138, .06); }
.duality .cell h3 { font-family: 'Space Grotesk', sans-serif; font-size: 27px; font-weight: 600; margin-bottom: 16px; line-height: 1.25; }
.duality .cell p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.duality .cell .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(90px); opacity: .25; right: -90px; bottom: -90px; pointer-events: none; }
.duality .cell.dev .glow { background: var(--cyan); }
.duality .cell.live .glow { background: var(--pink); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: none; border-radius: 0 0 14px 14px; overflow: hidden; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-row .stat { padding: 28px 26px; background: var(--bg-soft); }
.stat-row .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 36px; }
.stat-row .stat:nth-child(1) .num span { color: var(--cyan); }
.stat-row .stat:nth-child(2) .num span { color: var(--purple); }
.stat-row .stat:nth-child(3) .num span { color: var(--pink); }
.stat-row .stat:nth-child(4) .num span { color: var(--amber); }
.stat-row .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ---------- Work ---------- */
.work { padding-bottom: 60px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }

.proj-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}
.proj-card:hover { transform: translateY(-8px); }

.proj-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0px, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 26px);
  z-index: 2;
  pointer-events: none;
}
.proj-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.proj-card:hover .proj-img {
  transform: scale(1.06);
}
.proj-media .glyph { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .05em; color: rgba(255, 255, 255, .55); text-transform: uppercase; position: relative; z-index: 1; transition: transform .5s ease; }
.proj-card:hover .glyph { transform: scale(1.08); }

.grad-a { background: linear-gradient(135deg, #1a3d3a, var(--cyan) 140%); }
.grad-b { background: linear-gradient(135deg, #2c2350, var(--purple) 140%); }
.grad-c { background: linear-gradient(135deg, #401f34, var(--pink) 140%); }
.grad-d { background: linear-gradient(135deg, #22345c, var(--purple) 140%); }
.grad-e { background: linear-gradient(135deg, #3d2c16, var(--amber) 140%); }

.proj-browser { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; z-index: 2; }
.proj-browser span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

.proj-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.proj-play {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease;
}
.proj-card:hover .proj-play { opacity: 1; transform: scale(1); }

.proj-info { padding: 22px 22px 24px; }
.proj-top { display: flex; justify-content: space-between; margin-bottom: 10px; }
.proj-top .p-index { font-family: 'JetBrains Mono', monospace; color: var(--muted-2); font-size: 13px; }
.proj-top .p-year { font-family: 'JetBrains Mono', monospace; color: var(--muted-2); font-size: 13px; }
.proj-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color .3s ease;
}
.work-grid a:nth-child(5n+1):hover .proj-title { color: var(--cyan); }
.work-grid a:nth-child(5n+2):hover .proj-title { color: var(--purple); }
.work-grid a:nth-child(5n+3):hover .proj-title { color: var(--pink); }
.work-grid a:nth-child(5n+4):hover .proj-title { color: var(--purple); }
.work-grid a:nth-child(5n+5):hover .proj-title { color: var(--amber); }
.proj-stack { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .03em; }

/* Show More Projects Controls */
.work-more-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-more-projects {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 20, 31, 0.75);
  border: 1px solid rgba(69, 232, 212, 0.35);
  border-radius: 50px;
  padding: 14px 32px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(69, 232, 212, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-more-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(69, 232, 212, 0.15), rgba(155, 107, 255, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-more-projects:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(69, 232, 212, 0.25), 0 0 25px rgba(69, 232, 212, 0.2);
  color: var(--cyan);
}

.btn-more-projects:hover::before {
  opacity: 1;
}

.btn-more-projects:active {
  transform: translateY(0);
}

.btn-more-icon {
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.btn-more-text {
  position: relative;
  z-index: 1;
}

.btn-more-arrow {
  display: inline-block;
  font-size: 14px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-more-projects:hover .btn-more-arrow {
  transform: translateY(2px);
}

.btn-more-projects[aria-expanded="true"]:hover .btn-more-arrow {
  transform: translateY(-2px);
}

.proj-card.proj-hidden {
  display: none !important;
}

.proj-card.proj-visible {
  display: block !important;
  animation: fadeInProjCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInProjCard {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Support / Saweria section ---------- */
.support { padding-bottom: 100px; }

.saweria-hero-card {
  position: relative;
  border-radius: 20px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(250, 173, 20, 0.08) 0%, rgba(20, 20, 25, 0.9) 100%);
  border: 1px solid rgba(250, 173, 20, 0.3);
  backdrop-filter: blur(16px);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 10px 40px -15px rgba(250, 173, 20, 0.25);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.saweria-hero-card:hover {
  border-color: rgba(250, 173, 20, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 15px 50px -10px rgba(250, 173, 20, 0.35);
}

.saweria-hero-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(250, 173, 20, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.saweria-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(250, 173, 20, 0.15);
  border: 1px solid rgba(250, 173, 20, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #faad14;
  margin-bottom: 16px;
}

.saweria-hero-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.saweria-hero-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 24px;
}

.saweria-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.saweria-main-btn {
  background: linear-gradient(135deg, #faad14 0%, #ff8a00 100%);
  color: #000000 !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(250, 173, 20, 0.4);
  transition: transform .25s ease, box-shadow .25s ease;
}

.saweria-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(250, 173, 20, 0.6);
}

.saweria-payment-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Widgets Grid: QR Code & Leaderboard */
.saweria-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .saweria-widgets-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .saweria-hero-card {
    padding: 24px 18px;
  }

  .saweria-hero-content h3 {
    font-size: 22px;
  }

  .saweria-hero-content p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .saweria-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .saweria-main-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
    font-size: 12px;
    padding: 12px 16px;
  }

  .saweria-payment-note {
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
  }
}

.widget-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.widget-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.5);
}

.qr-card:hover {
  border-color: rgba(69, 232, 212, 0.4);
  box-shadow: 0 12px 35px -10px rgba(69, 232, 212, 0.25);
}

.leaderboard-card:hover {
  border-color: rgba(255, 92, 138, 0.4);
  box-shadow: 0 12px 35px -10px rgba(255, 92, 138, 0.25);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.widget-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.widget-icon {
  font-size: 24px;
  line-height: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.widget-title-wrap h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--text);
}

.widget-title-wrap p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.widget-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.widget-badge.neon-green {
  background: rgba(69, 232, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(69, 232, 212, 0.3);
}

.widget-badge.neon-pink {
  background: rgba(255, 92, 138, 0.15);
  color: var(--pink);
  border: 1px solid rgba(255, 92, 138, 0.3);
}

.widget-frame-container {
  position: relative;
  width: 100%;
  border-radius: 14px;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-frame-wrap {
  min-height: 380px;
  padding: 16px;
}

.leaderboard-frame-wrap {
  min-height: 380px;
  padding: 12px;
}

.saweria-iframe {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
}

.qr-iframe {
  height: 350px;
}

.leaderboard-iframe {
  height: 350px;
}

/* Scanner effect corners for QR card */
.scanner-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.scanner-corner.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.scanner-corner.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.scanner-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.scanner-corner.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.qr-img-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(69, 232, 212, 0.2);
}

.qr-display-img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 243, 255, 0.2);
  transition: transform .3s ease;
}

.widget-card:hover .qr-display-img {
  transform: scale(1.03);
}

.qr-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.leaderboard-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  gap: 12px;
}

.lb-icon-crown {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255, 92, 138, 0.5));
  animation: pulse 2.5s ease-in-out infinite;
}

.leaderboard-preview-box h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.leaderboard-preview-box p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.lb-btn {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(255, 92, 138, 0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}

.lb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 92, 138, 0.5);
}

/* ---------- Leaderboard List Widget Styles ---------- */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 16px;
}

.lb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lb-item:hover {
  transform: translateX(4px);
}

.lb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.rank-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  min-width: 32px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rank-1-badge { color: #ffd700; }
.rank-2-badge { color: var(--cyan); }
.rank-3-badge { color: var(--pink); }
.rank-4-badge { color: var(--muted); }

.lb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-1-avatar {
  background: linear-gradient(135deg, #faad14, #ff8a00);
  color: #000;
  box-shadow: 0 0 12px rgba(250, 173, 20, 0.4);
}

.rank-2-avatar {
  background: linear-gradient(135deg, #45e8d4, #1890ff);
  color: #000;
  box-shadow: 0 0 10px rgba(69, 232, 212, 0.3);
}

.rank-3-avatar {
  background: linear-gradient(135deg, #ff5c8a, #9b6bff);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 92, 138, 0.3);
}

.rank-4-avatar {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lb-user-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.lb-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-crown-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: #faad14;
  background: rgba(250, 173, 20, 0.15);
  border: 1px solid rgba(250, 173, 20, 0.3);
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
  width: fit-content;
}

.lb-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  margin-left: 8px;
}

.rank-1-amount { color: #faad14; }
.rank-2-amount { color: var(--cyan); }
.rank-3-amount { color: var(--pink); }
.rank-4-amount { color: var(--text); opacity: 0.85; }

.lb-item.rank-1 {
  background: linear-gradient(135deg, rgba(250, 173, 20, 0.12) 0%, rgba(20, 20, 25, 0.6) 100%);
  border: 1px solid rgba(250, 173, 20, 0.35);
  box-shadow: 0 4px 18px -4px rgba(250, 173, 20, 0.2);
}

.lb-item.rank-2 {
  background: linear-gradient(135deg, rgba(69, 232, 212, 0.08) 0%, rgba(20, 20, 25, 0.6) 100%);
  border: 1px solid rgba(69, 232, 212, 0.25);
}

.lb-item.rank-3 {
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.08) 0%, rgba(20, 20, 25, 0.6) 100%);
  border: 1px solid rgba(255, 92, 138, 0.25);
}

.lb-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(255, 92, 138, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lb-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 92, 138, 0.5);
}

@media (max-width: 480px) {
  .lb-item {
    padding: 10px 10px;
    gap: 6px;
  }
  .lb-left {
    gap: 8px;
  }
  .lb-name {
    font-size: 13px;
  }
  .lb-amount {
    font-size: 12px;
  }
  .lb-avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .rank-badge {
    min-width: 24px;
    font-size: 11px;
  }
}

.widget-footer-link {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.saweria-link-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease;
}

.saweria-link-btn.primary {
  color: var(--cyan);
}

.widget-card:hover .saweria-link-btn {
  color: var(--cyan);
}

/* ---------- Stream ---------- */
.stream { padding-bottom: 110px; }
.stream-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 860px) { .stream-grid { grid-template-columns: 1fr; } }
.stream-panel { background: var(--bg-soft); padding: 40px; }
@media (max-width: 640px) {
  .stream-panel { padding: 20px 16px; }
  .platform-list a { padding: 12px 14px; font-size: 13px; word-break: break-word; }
}

.schedule h3, .platforms h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.schedule ul { border-top: 1px solid var(--line); margin-bottom: 36px; }
.schedule li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; gap: 6px; }
.schedule li b { color: var(--text); font-weight: 500; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.schedule li .tag-live { font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.schedule li:nth-child(1) .tag-live { color: var(--cyan); }
.schedule li:nth-child(2) .tag-live { color: var(--purple); }
.schedule li:nth-child(3) .tag-live { color: var(--pink); }
.schedule li:nth-child(4) .tag-live { color: var(--amber); }

.platform-list { display: flex; flex-direction: column; gap: 12px; }
.platform-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.platform-list a:hover { transform: translateX(4px); }
.platform-list a:nth-child(1):hover { border-color: var(--purple); background: rgba(155, 107, 255, .06); }
.platform-list a:nth-child(2):hover { border-color: var(--pink); background: rgba(255, 92, 138, .06); }
.platform-list a:nth-child(3):hover { border-color: var(--cyan); background: rgba(69, 232, 212, .06); }
.platform-list a .arrow { font-family: 'JetBrains Mono', monospace; color: var(--muted-2); transition: transform .3s ease; }
.platform-list a:hover .arrow { transform: translateX(4px); }

/* ---------- Quotes ---------- */
.quotes { padding-bottom: 110px; }
.quote-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .quote-track { grid-template-columns: 1fr; } }
.quote-card { padding: 32px 28px; border-radius: 12px; background: var(--bg-soft); border-left: 3px solid var(--line); }
.quote-card:nth-child(1) { border-left-color: var(--cyan); }
.quote-card:nth-child(2) { border-left-color: var(--purple); }
.quote-card:nth-child(3) { border-left-color: var(--pink); }
.quote-card p.q { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 20px; }
.quote-card .who { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.quote-card:nth-child(1) .who span { color: var(--cyan); }
.quote-card:nth-child(2) .who span { color: var(--purple); }
.quote-card:nth-child(3) .who span { color: var(--pink); }

/* ---------- Contact ---------- */
.contact { padding: 60px 0 0; }
.contact-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.contact-box .glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(69, 232, 212, .14), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(155, 107, 255, .14), transparent 45%),
              radial-gradient(circle at 50% 90%, rgba(255, 92, 138, .14), transparent 50%);
  pointer-events: none;
}
.contact-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.contact-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 40px 20px;
  }
  .contact-form {
    padding: 22px 18px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-2);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(69, 232, 212, 0.04);
  box-shadow: 0 0 16px rgba(69, 232, 212, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.form-submit-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #08080d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(69, 232, 212, 0.3);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(69, 232, 212, 0.5);
}

.contact-direct-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
}

.contact-toast {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  display: none;
  margin-top: 16px;
}

.contact-toast.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.contact-toast.success {
  background: rgba(69, 232, 212, 0.15);
  border: 1px solid rgba(69, 232, 212, 0.4);
  color: var(--cyan);
}

.contact-toast.warning {
  background: rgba(255, 184, 77, 0.15);
  border: 1px solid rgba(255, 184, 77, 0.4);
  color: var(--amber);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-box .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }


/* ---------- Modern Site Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 60px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 420px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(69, 232, 212, 0.08);
  border: 1px solid rgba(69, 232, 212, 0.25);
  padding: 7px 14px;
  border-radius: 20px;
  width: fit-content;
  margin-top: 4px;
  max-width: 100%;
}

.footer-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.5s infinite;
  flex-shrink: 0;
}

.footer-nav-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
  padding: 2px 0;
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .credit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}

.footer-bottom .credit b {
  color: var(--text);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.footer-social-links a:hover {
  color: var(--pink);
}

/* Comprehensive Mobile & Tablet Responsive Styles */
@media (max-width: 768px) {
  footer.site-footer {
    margin-top: 50px;
    padding: 40px 0 110px; /* Extra bottom padding so floating donate button never obstructs text */
    gap: 32px;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-desc {
    text-align: center;
    margin: 0 auto;
  }

  .footer-status {
    margin: 4px auto 0;
  }

  .footer-nav-group {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-col h4 {
    font-size: 13px;
    text-align: center;
  }

  .footer-col a {
    font-size: 12px;
    padding: 4px 0;
  }

  .footer-col a:hover {
    transform: translateY(-2px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 24px;
  }

  .footer-social-links {
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-nav-group {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .footer-brand {
    gap: 10px;
  }

  .footer-desc {
    font-size: 13px;
  }

  .footer-status {
    font-size: 11px;
    padding: 6px 12px;
  }

  .footer-col a {
    font-size: 12px;
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
