﻿:root {
  --navbar-height: 92px;
  --bg: #0B0E0C;
  --bg-alt: #121613;
  --bg-card: #151A16;
  --ink: #EDEFEA;
  --ink-soft: #C6CEC4;
  --line: #262C26;

  --emerald: #4ADE80;
  --emerald-deep: #22C55E;
  --enchant: #B084F5;
  --diamond: #5FD8E0;
  --gold: #F5C24C;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: var(--font-sans);
  --body: var(--font-sans);
  --mono: var(--font-sans);
  --rank-card-h: 540px;

  /* navbar magic-apple (KlitikCraft green) */
  --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-speed-fast: 0.25s;
  --transition-speed-normal: 0.4s;
  --transition-speed-slow: 0.7s;

  --nav-bg: rgba(8, 14, 11, 0.42);
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-blur: 25px;
  --nav-glow-opacity: 0.3;
  --nav-glow-color: 46, 220, 120;
  --nav-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --nav-height: 56px;
  --nav-padding: 6px 10px;
  --nav-scale: 1;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --reflect-opacity: 0.15;

  /* page transition */
  --ease-page: cubic-bezier(0.25, 1, 0.5, 1);
}

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans) !important;
}

html {
  /* scroll-behavior: smooth intentionally removed Ã¢â‚¬â€ conflicts with JS scroll engine */
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--navbar-height, 80px) + 20px);
  /* overscroll-behavior handled per-context in JS to avoid Safari conflicts */
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  position: relative;
  overflow-x: clip;
}

input,
button,
select,
textarea,
table,
th,
td {
  font-family: var(--font-sans) !important;
}

.floating-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.floating-lines canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.cursor-splash {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  overflow: hidden;
}

.cursor-splash canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Custom Cursor Ã¢â‚¬â€ full styles (single source) di bagian bawah file */

.custom-cursor-dot.is-visible,
.custom-cursor-ring.is-visible {
  opacity: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.nav-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  transition:
    transform var(--transition-speed-normal) var(--ease-apple),
    top var(--transition-speed-normal) var(--ease-apple);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 980px;
  height: calc(var(--nav-height) * var(--nav-scale));
  padding: var(--nav-padding);
  border-radius: 35px;
  background-color: var(--nav-bg);
  border: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition:
    background-color var(--transition-speed-normal) var(--ease-apple),
    border-color var(--transition-speed-normal) var(--ease-apple),
    box-shadow var(--transition-speed-normal) var(--ease-apple),
    height var(--transition-speed-normal) var(--ease-apple),
    padding var(--transition-speed-normal) var(--ease-apple),
    transform 0.1s linear;
  will-change: padding, height, transform;
}

.nav-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      150px circle
      at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, var(--reflect-opacity)),
      transparent 85%
    );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s var(--ease-apple);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  z-index: 10;
  transition: opacity var(--transition-speed-fast) var(--ease-apple);
}

.logo:hover {
  opacity: 0.8;
}

.brand-logo {
  object-fit: contain;
}

.brand-logo--nav {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.45));
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 5;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 20px;
  color: rgba(245, 245, 247, 0.68);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
  overflow: hidden;
  transition:
    color var(--transition-speed-fast) var(--ease-apple),
    transform var(--transition-speed-fast) var(--ease-apple);
  will-change: transform;
}

.nav-link:hover {
  color: #f5f5f7;
}

.nav-link.active {
  color: #f5f5f7;
}

.nav-link:focus-visible {
  outline: 2px solid rgba(var(--nav-glow-color), 0.65);
  outline-offset: 2px;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
  transform-origin: 0 50%;
  transform: translate3d(0, 0, 0) scaleX(0) scaleY(0);
  opacity: 0;
  will-change: transform, opacity;
  background-image:
    radial-gradient(
      70px circle
      at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.1),
      transparent 70%
    );
}

.nav-indicator::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  bottom: 15%;
  background: rgb(var(--nav-glow-color));
  filter: blur(15px);
  opacity: calc(var(--nav-glow-opacity) * 0.7);
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  transition: opacity var(--transition-speed-normal) var(--ease-apple);
}

.click-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: rip 0.5s ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes rip {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.nav-controls {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.85);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background .25s var(--ease-apple), color .25s var(--ease-apple), border-color .25s var(--ease-apple), transform .25s var(--ease-apple);
}

.nav-icon-btn svg {
  width: 16px;
  height: 16px;
}

.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.nav-icon-btn:active {
  transform: scale(0.94);
}

.theme-toggle .icon-moon {
  display: none;
}

.nav-header.scrolled {
  top: 12px;
}

.nav-header.scrolled .nav-container {
  --nav-scale: 0.92;
  --nav-blur: 35px;
  background-color: rgba(8, 14, 11, 0.65);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .nav-header {
    top: 16px;
    padding: 0 16px;
  }

  .nav-container {
    padding: 6px 12px;
    border-radius: 28px;
  }

  .nav-bar {
    display: none;
  }

  .logo span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator {
    transition:
      opacity 0.25s linear,
      transform 0s !important;
  }

  .nav-link,
  .nav-container {
    transform: none !important;
    transition:
      opacity 0.2s linear,
      background 0.2s linear !important;
  }
}

/* ---------- premium page transition ---------- */
.page-shell {
  will-change: opacity, filter, transform;
  transform-origin: 50% 20%;
}

@media (prefers-reduced-motion: reduce) {
  .page-shell {
    transition: none !important;
    animation: none !important;
  }
}

.hero {
  padding: calc(88px + var(--navbar-height, 80px)) 0 68px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--diamond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--diamond);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--diamond);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
  min-height: 2.2em;
  background: linear-gradient(100deg, var(--ink) 30%, var(--emerald) 45%, var(--diamond) 55%, var(--ink) 70%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: -250% 50%;
  }
}

.text-type-container {
  display: inline;
}

.text-type-content {
  display: inline;
  white-space: pre-wrap;
}

.text-type-cursor {
  display: inline-block;
  font-weight: 400;
  margin-left: 2px;
  -webkit-background-clip: initial;
  background-clip: initial;
  background-image: none;
  color: var(--emerald);
}

.hero-sub {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

@media (max-width:860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-bottom {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ip-chip {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ip-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ip-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bg);
  background: var(--diamond);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 52px;
  text-align: center;
}

.ip-chip button {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .15s ease;
  margin-left: auto;
}

.ip-chip button:hover {
  background: rgba(74, 222, 128, 0.15);
  color: var(--emerald);
}

.hero-btn {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--emerald);
  border-bottom: 2px solid var(--emerald-deep);
  padding-bottom: 2px;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.28), rgba(95, 216, 224, 0.16) 45%, transparent 70%);
  filter: blur(6px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.brand-logo--hero {
  position: relative;
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
  transform-origin: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
}

.brand-logo--hero:active {
  cursor: grabbing;
}

@media (max-width:860px) {
  .brand-logo--hero {
    max-width: 260px;
  }
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-margin-top: var(--navbar-height, 92px);
}

.section-head {
  margin-bottom: 40px;
  max-width: 56ch;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width:940px) {
  :root {
    --rank-card-h: 520px;
  }

  .ranks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  :root {
    --rank-card-h: 445px;
  }

  .ranks-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .rank-card {
    padding: 18px 16px 16px;
  }

  .slot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .rank-price {
    font-size: 1.12rem;
    margin-top: 6px;
  }

  .rank-perks {
    gap: 8px;
    margin-top: 14px;
  }

  .rank-perks li {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .rank-buy {
    padding: 10px 12px;
    margin-top: 10px;
  }
}

.tilt-wrap {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  min-width: 0;
  height: 100%;
}

.warga-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(21, 26, 22, 0.84);
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  overflow: hidden;
  isolation: isolate;
}

.warga-note::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.04));
  opacity: 0.6;
  pointer-events: none;
}

.warga-note .slot {
  margin-bottom: 0;
  flex-shrink: 0;
}

.warga-note div {
  position: relative;
  z-index: 1;
}

.warga-note div p {
  font-size: 0.88rem;
  color: rgba(237, 239, 234, 0.70);
  margin-top: 3px;
}

.warga-note div strong {
  font-family: var(--display);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.rank-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 46%),
    rgba(20, 24, 22, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
  height: var(--rank-card-h);
  flex-direction: column;
  transform: perspective(1400px) translateZ(0);
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    transform .22s cubic-bezier(.16, .8, .24, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  isolation: isolate;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.rank-card:hover,
.rank-card.is-tilting {
  will-change: transform, box-shadow;
  border-color: color-mix(in srgb, var(--rank-color, var(--emerald)) 48%, rgba(255, 255, 255, 0.32));
  box-shadow:
    0 24px 52px -30px rgba(0, 0, 0, 0.9),
    0 10px 24px -22px color-mix(in srgb, var(--rank-color, var(--emerald)) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rank-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--rank-color, var(--emerald)) 38%, white 62%) 0%, rgba(255, 255, 255, 0.14) 18%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%);
  opacity: 0.52;
  pointer-events: none;
  transition: opacity .25s ease;
}

.rank-card:hover::before,
.rank-card.is-tilting::before {
  opacity: 0.82;
}

.rank-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-182.4%) skewX(-18deg);
  animation: none;
  will-change: transform;
  opacity: 0.7;
  pointer-events: none;
}

.rank-card .tilt-glow {
  display: none;
}

@keyframes glint {
  0% {
    transform: translateX(-182.4%) skewX(-18deg);
  }

  35% {
    transform: translateX(376.5%) skewX(-18deg);
  }

  100% {
    transform: translateX(376.5%) skewX(-18deg);
  }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, .8, .24, 1), transform .7s cubic-bezier(.16, .8, .24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rank-card.reveal.is-visible.is-tilting,
.rank-card.reveal.is-visible:hover {
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--depth, -10px)) scale(1.015);
}

/* ---------- hero load-in sequence ---------- */
.hero-anim {
  opacity: 0;
  animation: hero-in .8s cubic-bezier(.16, .8, .24, 1) forwards;
  animation-delay: var(--hero-delay, 0s);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- card tilt ---------- */
.rank-card .slot,
.rank-card .rank-name,
.rank-card .rank-price,
.rank-card .rank-perks,
.rank-card .rank-buy {
  transform: translateZ(28px);
  transition: none;
}

.slot {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--rank-color, var(--emerald)) 88%, white 12%), var(--rank-color, var(--emerald)));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 22px -16px color-mix(in srgb, var(--rank-color, var(--emerald)) 58%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: #08130C;
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 38%);
  pointer-events: none;
}

.rank-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #F3F5F1;
  position: relative;
  z-index: 1;
}

.rank-price {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.28rem;
  margin-top: 8px;
  letter-spacing: -0.02em;
  color: var(--rank-color, var(--emerald));
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.rank-price span {
  font-size: 0.7rem;
  color: rgba(237, 239, 234, 0.58);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-perks {
  list-style: none;
  margin-top: 18px;
  margin-bottom: 0;
  padding-right: 8px;
  padding-bottom: 4px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  --fade-top: 18px;
  --fade-bottom: 18px;
  background:
    linear-gradient(to bottom, rgba(21, 26, 22, 0.96) 0%, rgba(21, 26, 22, 0.78) 42%, rgba(21, 26, 22, 0) 100%) top,
    linear-gradient(to top, rgba(21, 26, 22, 0.96) 0%, rgba(21, 26, 22, 0.78) 42%, rgba(21, 26, 22, 0) 100%) bottom;
  background-repeat: no-repeat;
  background-size: 100% var(--fade-top), 100% var(--fade-bottom);
  background-attachment: local, local;
}

.rank-perks li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(237, 239, 234, 0.74);
  padding-left: 18px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.96);
  filter: brightness(0.98);
  transition:
    opacity .64s cubic-bezier(.16, .84, .24, 1),
    transform .64s cubic-bezier(.16, .84, .24, 1),
    filter .34s ease;
  transition-delay: calc(var(--i, 0) * 72ms);
  backface-visibility: hidden;
  transform-origin: left center;
}

.rank-card.is-features-visible .rank-perks li,
.rank-card.is-feature-active .rank-perks li {
  opacity: 1;
  transform: translate3d(calc(var(--cursor-x, 0px) * var(--parallax-x, 0)),
      calc(var(--cursor-y, 0px) * var(--parallax-y, 0)),
      0) translateX(var(--hover-shift, 0px)) scale(1);
  filter: brightness(1.02);
}

.rank-card.is-feature-active .rank-perks li {
  will-change: transform, opacity;
}

.rank-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rank-color, var(--emerald)), rgba(255, 255, 255, 0.62));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03);
  transform: translateY(-50%) translateY(0) scale(1);
  animation: none;
  transition:
    filter .28s ease,
    box-shadow .28s ease,
    opacity .28s ease,
    transform .28s ease;
}

.rank-card.is-feature-active .rank-perks li::before,
.rank-perks li:hover::before {
  animation-play-state: paused;
  filter: brightness(1.15) saturate(1.04);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.rank-card.is-feature-active .rank-perks li:nth-child(odd)::before,
.rank-perks li:hover:nth-child(odd)::before {
  transform: translateY(-50%) scale(1.08) rotate(3deg);
}

.rank-card.is-feature-active .rank-perks li:nth-child(even)::before,
.rank-perks li:hover:nth-child(even)::before {
  transform: translateY(-50%) scale(1.08) rotate(-3deg);
}

.rank-perks[data-at-top] {
  --fade-top: 12px;
}

.rank-perks[data-at-bottom] {
  --fade-bottom: 12px;
}

.rank-buy {
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rank-color, var(--emerald)) 92%, white 8%), var(--rank-color, var(--emerald)));
  color: #08130C;
  padding: 12px 14px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 24px -18px color-mix(in srgb, var(--rank-color, var(--emerald)) 56%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
  margin-top: 14px;
  flex-shrink: 0;
}

.rank-buy:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px -20px color-mix(in srgb, var(--rank-color, var(--emerald)) 60%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (hover:hover) and (pointer:fine) {
  .rank-perks {
    scrollbar-width: thin;
    scrollbar-color: rgba(237, 239, 234, 0) transparent;
    transition: background-size .24s ease, background-position .24s ease;
  }

  .rank-perks:hover,
  .rank-perks.is-hovered {
    --fade-top: 24px;
    --fade-bottom: 24px;
    scrollbar-color: rgba(237, 239, 234, 0.42) transparent;
  }

  .rank-perks.is-scrolling {
    --fade-top: 28px;
    --fade-bottom: 28px;
    scrollbar-color: rgba(237, 239, 234, 0.56) transparent;
  }

  .rank-perks::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .rank-perks::-webkit-scrollbar-track {
    background: transparent;
  }

  .rank-perks::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(237, 239, 234, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
    transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
  }

  .rank-perks:hover::-webkit-scrollbar-thumb,
  .rank-perks.is-hovered::-webkit-scrollbar-thumb {
    background: rgba(237, 239, 234, 0.34);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .rank-perks.is-scrolling::-webkit-scrollbar-thumb {
    background: rgba(237, 239, 234, 0.54);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .rank-perks::-webkit-scrollbar-thumb:active {
    background: rgba(237, 239, 234, 0.62);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .rank-perks.is-dragging::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
}

@media (hover:none),
(pointer:coarse) {
  .rank-perks {
    scrollbar-width: none;
  }

  .rank-perks::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

.rank-card.is-feature-active .rank-perks {
  --fade-top: 28px;
  --fade-bottom: 28px;
}

.rank-card.is-features-visible .rank-perks li:nth-child(1) {
  transition-delay: 0ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(2) {
  transition-delay: 72ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(3) {
  transition-delay: 144ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(4) {
  transition-delay: 216ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(5) {
  transition-delay: 288ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(6) {
  transition-delay: 360ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(7) {
  transition-delay: 432ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(8) {
  transition-delay: 504ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(9) {
  transition-delay: 576ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(10) {
  transition-delay: 648ms;
}

.rank-card.is-features-visible .rank-perks li:nth-child(11) {
  transition-delay: 720ms;
}

@keyframes perk-bullet-float {

  0%,
  100% {
    transform: translateY(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateY(-50%) translateY(-1.5px) scale(1.03);
  }
}

.rank-card.is-features-visible .rank-perks li::before {
  animation: perk-bullet-float 5.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 110ms);
}

.rank-card.is-features-visible::after {
  animation: glint 3.4s ease-in-out infinite;
  animation-delay: var(--glint-delay, 0s);
}

@media (hover:hover) and (pointer:fine) {
  .rank-card.is-feature-active .rank-perks {
    scrollbar-color: rgba(237, 239, 234, 0.56) transparent;
  }
}

.table-wrap {
  position: relative;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 12px;
}

.table-scroll::-webkit-scrollbar {
  display: none;
}

.swipe-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--diamond);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.swipe-hint svg {
  width: 14px;
  height: 14px;
  animation: swipe-x 1.4s ease-in-out infinite;
}

@keyframes swipe-x {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-weight: 600;
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center;
}

td:first-child,
th:first-child {
  color: var(--ink-soft);
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg);
  box-shadow: 4px 0 8px -4px rgba(0, 0, 0, 0.35);
}

th:first-child {
  background: var(--bg);
}

.yes {
  color: var(--emerald);
  font-weight: 700;
}

.no {
  color: var(--line);
}

@media (max-width:760px) {
  .swipe-hint {
    display: flex;
  }

  table {
    font-size: 0.82rem;
    min-width: 600px;
  }

  th,
  td {
    padding: 11px 10px;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width:760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  padding-top: 18px;
  border-top: 2px solid var(--emerald);
}

.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.step h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-top: 8px;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

@media (max-width:760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(21, 26, 22, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  overflow: hidden;
  isolation: isolate;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  opacity: 0.7;
  pointer-events: none;
}

.contact-card:hover {
  border-color: rgba(95, 216, 224, 0.28);
  transform: translateY(-4px);
  box-shadow:
    0 24px 54px -34px rgba(0, 0, 0, 0.88),
    0 10px 22px -18px rgba(95, 216, 224, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-card .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(237, 239, 234, 0.58);
  letter-spacing: 0.08em;
}

.contact-card .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.contact-card .arrow {
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--diamond);
}

footer {
  padding: 36px 0;
  position: relative;
  z-index: 1;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-row p {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.foot-ip {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- buy modal ---------- */
.buy-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 8, 7, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.buy-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.buy-modal {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 24px;
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform .25s cubic-bezier(.16, .8, .24, 1);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.buy-overlay.is-open .buy-modal {
  transform: translateY(0) scale(1);
}

.buy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}

.buy-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.buy-modal-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--diamond);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.buy-modal h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.buy-modal-rank {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.buy-modal-rank span {
  color: var(--rank-color, var(--emerald));
  font-weight: 700;
}

.buy-field {
  margin-top: 20px;
}

.buy-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.buy-field input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.buy-field input::placeholder {
  color: #5b625c;
}

.buy-field input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.buy-field input.is-invalid {
  border-color: #f26a6a;
  box-shadow: 0 0 0 3px rgba(242, 106, 106, 0.15);
}

.buy-error {
  font-size: 0.78rem;
  color: #f28a8a;
  margin-top: 7px;
  min-height: 1em;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.pay-btn {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 10px;
  text-align: center;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.pay-btn:hover {
  border-color: var(--diamond);
  color: var(--ink);
}

.pay-btn.is-selected {
  border-color: var(--emerald);
  color: var(--emerald);
  background: rgba(74, 222, 128, 0.08);
}

.buy-submit {
  width: 100%;
  margin-top: 24px;
  border: none;
  cursor: pointer;
  background: var(--emerald);
  color: #08130C;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px;
  border-radius: 9px;
  transition: filter .15s ease, transform .15s ease;
}

.buy-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.buy-modal-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* ---------- loading screen ---------- */
html {
  overflow: hidden;
}

html.is-loaded {
  overflow: auto;
}

#loadScreen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: radial-gradient(120% 120% at 50% 20%, #0F231A 0%, var(--bg) 55%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity .5s ease, visibility .5s ease;
}

#loadScreen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loadScreen .load-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  animation: load-pulse 1.6s ease-in-out infinite;
}

@keyframes load-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}

#loadScreen .load-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(74, 222, 128, 0.18);
  border-top-color: var(--emerald);
  animation: load-spin 0.9s linear infinite;
}

@keyframes load-spin {
  to {
    transform: rotate(360deg);
  }
}

#loadScreen .load-text {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

#loadScreen .load-text strong {
  color: var(--emerald);
}

#loadScreen .load-bar {
  width: 220px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(74, 222, 128, 0.14);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

#loadScreen .load-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.16) 0 6px, transparent 6px 12px),
    linear-gradient(90deg, var(--emerald), var(--diamond) 55%, #A3E635);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.55), 0 0 26px rgba(74, 222, 128, 0.22);
  position: relative;
  transition: width .15s ease-out;
}

#loadScreen .load-bar-fill::before {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(74, 222, 128, 0.7);
}

#loadScreen .load-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-150%);
  animation: load-shimmer 1.2s ease-in-out infinite;
}

@keyframes load-shimmer {

  0% {
    transform: translateX(-150%);
  }

  55%,
  100% {
    transform: translateX(250%);
  }
}

/* ============================
   GALLERY Ã¢â‚¬â€ Premium Edition
   ============================ */

#gallery {
  --g-gap: 18px;
  --g-radius: 20px;
  --g-speed: 0.55s;
  --g-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--g-gap);
  align-items: start;
}

/* Featured: first card spans 2 cols */
.gallery-card:nth-child(1) {
  grid-column: span 2;
}

/* Featured: card 6 spans 2 cols */
.gallery-card:nth-child(6) {
  grid-column: span 2;
}

/* Featured: card 11 spans 2 cols */
.gallery-card:nth-child(11) {
  grid-column: span 2;
}

/* Staggered reveal via CSS delay */
.gallery-card {
  --card-delay: calc(var(--i, 0) * 60ms);
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--g-radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(16, 20, 17, 0.9);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 12px 40px -16px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition:
    transform var(--g-speed) var(--g-ease),
    box-shadow var(--g-speed) var(--g-ease),
    border-color var(--g-speed) ease;
  isolation: isolate;
}

/* Light glint sweep */
.gallery-card::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: linear-gradient(110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 48%,
      transparent 60%);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.9s var(--g-ease);
  pointer-events: none;
  z-index: 3;
}

/* Cinematic hover overlay */
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg,
      rgba(74, 222, 128, 0.06) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  will-change: transform, box-shadow;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 24px 64px -20px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(74, 222, 128, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery-card:hover::before,
.gallery-card:focus-visible::before {
  transform: translateX(160%) skewX(-18deg);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 1;
}

/* Image styles Ã¢â‚¬â€ cover with natural aspect */
.gallery-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  background: rgba(16, 20, 17, 0.6);
  transform: scale(1.0);
  transition:
    transform var(--g-speed) var(--g-ease),
    filter var(--g-speed) ease;
  filter: brightness(0.94) contrast(1.03) saturate(1.0);
  display: block;
}

.gallery-card:nth-child(1) img,
.gallery-card:nth-child(6) img,
.gallery-card:nth-child(11) img {
  height: 320px;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.04) saturate(1.06);
}

/* Elegant meta overlay */
.gallery-card .gallery-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top,
      rgba(6, 10, 8, 0.88) 0%,
      rgba(6, 10, 8, 0.5) 60%,
      transparent 100%);
  color: var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  z-index: 4;
  transform: translateY(4px);
  opacity: 0;
  transition:
    opacity 0.4s var(--g-ease),
    transform 0.4s var(--g-ease);
  border-radius: 0 0 var(--g-radius) var(--g-radius);
}

.gallery-card:hover .gallery-meta,
.gallery-card:focus-visible .gallery-meta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card .gallery-meta strong {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.gallery-card .gallery-meta span {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  background: rgba(74, 222, 128, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Cute Animated Corner Emojis for Gallery Cards */
.gallery-card .emoji-badge {
  position: absolute;
  z-index: 5;
  font-size: 1.25rem;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
  opacity: 0.75;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
  animation: none;
}

.gallery-card.reveal.is-visible .emoji-badge {
  animation: floatEmoji 3.8s ease-in-out infinite;
  animation-delay: var(--emoji-delay, 0s);
}

.gallery-card .emoji-badge--tl {
  top: 10px;
  left: 12px;
  transform: rotate(-10deg) scale(0.9);
}

.gallery-card .emoji-badge--tr {
  top: 10px;
  right: 12px;
  transform: rotate(12deg) scale(0.9);
}

.gallery-card:hover .emoji-badge--tl {
  opacity: 1;
  transform: translate3d(-3px, -5px, 0) rotate(-20deg) scale(1.25);
  filter: drop-shadow(0 6px 14px rgba(74, 222, 128, 0.45)) brightness(1.15);
}

.gallery-card:hover .emoji-badge--tr {
  opacity: 1;
  transform: translate3d(3px, -5px, 0) rotate(22deg) scale(1.25);
  filter: drop-shadow(0 6px 14px rgba(95, 216, 224, 0.45)) brightness(1.15);
}

@keyframes floatEmoji {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ============================
   LIGHTBOX Ã¢â‚¬â€ Premium Edition
   ============================ */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  /* top padding reserves space for buttons */
  background: rgba(3, 6, 4, 0.9);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Panel wraps ONLY the image Ã¢â‚¬â€ buttons are outside/above */
.gallery-lightbox__panel {
  position: relative;
  width: min(94vw, 1000px);
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 12px;
  background: rgba(10, 14, 11, 0.88);
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.95),
    0 0 60px -20px rgba(74, 222, 128, 0.15);
  transform: translateY(28px) scale(0.92);
  transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.gallery-lightbox.is-open .gallery-lightbox__panel {
  transform: translateY(0) scale(1);
}

/* Image fills panel without overflow */
.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(10, 14, 11, 0.5);
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.85);
}

/* All buttons float ABOVE the panel, never over image */
.gallery-lightbox__btn {
  position: fixed;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 14, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.gallery-lightbox__btn:hover {
  background: rgba(74, 222, 128, 0.22);
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--emerald);
  transform: translateY(-2px) scale(1.08);
}

/* Close Ã¢â‚¬â€ top right of viewport */
.gallery-lightbox__close {
  top: 16px;
  right: 16px;
}

/* Prev Ã¢â‚¬â€ vertically centred on left edge */
.gallery-lightbox__prev {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.gallery-lightbox__prev:hover {
  transform: translateY(-50%) translateY(-2px) scale(1.08);
}

/* Next Ã¢â‚¬â€ vertically centred on right edge */
.gallery-lightbox__next {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.gallery-lightbox__next:hover {
  transform: translateY(-50%) translateY(-2px) scale(1.08);
}

/* Counter Ã¢â‚¬â€ bottom of viewport */
.gallery-lightbox__counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 14, 11, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(237, 239, 234, 0.85);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6),
  .gallery-card:nth-child(11) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6),
  .gallery-card:nth-child(11) {
    grid-column: span 2;
  }

  .gallery-card img {
    height: 180px;
  }

  .gallery-card:nth-child(1) img,
  .gallery-card:nth-child(6) img,
  .gallery-card:nth-child(11) img {
    height: 220px;
  }

  .gallery-lightbox__prev {
    left: 8px;
  }

  .gallery-lightbox__next {
    right: 8px;
  }

  .gallery-lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6),
  .gallery-card:nth-child(11) {
    grid-column: span 2;
  }

  .gallery-card img {
    height: 140px;
  }

  .gallery-card:nth-child(1) img,
  .gallery-card:nth-child(6) img,
  .gallery-card:nth-child(11) img {
    height: 180px;
  }

  .gallery-lightbox {
    padding: 56px 8px 8px;
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 160px);
  }
}

/* ============================
   CUSTOM CURSOR Ã¢â‚¬â€ Custom Dot & Smooth Trailing Circle
   ============================ */
@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea, [role="button"], label {
    cursor: none !important;
  }
}

.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  z-index: 999999;
  will-change: transform;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  background: var(--emerald, #4ADE80);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.9), 0 0 4px rgba(255, 255, 255, 0.8);
}

.custom-cursor-ring {
  width: 38px;
  height: 38px;
  margin-top: -19px;
  margin-left: -19px;
  border: 1.5px solid rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.04);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 999998;
}

.custom-cursor-dot.is-visible,
.custom-cursor-ring.is-visible {
  opacity: 1;
  visibility: visible;
}

.custom-cursor-dot.is-hovered {
  transform: scale(0.5);
  background: #5FD8E0;
  box-shadow: 0 0 14px rgba(95, 216, 224, 0.9);
}

.custom-cursor-ring.is-hovered {
  transform: scale(1.65);
  border-color: rgba(95, 216, 224, 0.65);
  background: rgba(95, 216, 224, 0.08);
  box-shadow: 0 0 26px rgba(95, 216, 224, 0.25);
}

.custom-cursor-dot.is-active {
  transform: scale(0.3);
}

.custom-cursor-ring.is-active {
  transform: scale(1.15);
  border-color: var(--emerald, #4ADE80);
  background: rgba(74, 222, 128, 0.18);
}

/* ============================
   DUKUNG KLITIKCRAFT SECTION
   ============================ */

.donation-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 940px) {
  .donation-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Donation Card - 100% Identical to Kontak Card visual style */
.donation-main-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(21, 26, 22, 0.84) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px 24px !important;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease !important;
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.donation-main-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  opacity: 0.7;
  pointer-events: none;
}

.spotlight-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .3s ease;
}

.donation-main-card:hover {
  border-color: rgba(74, 222, 128, 0.32) !important;
  transform: translateY(-4px) !important;
  box-shadow:
    0 24px 54px -34px rgba(0, 0, 0, 0.88),
    0 10px 22px -18px rgba(34, 197, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.donation-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.donation-card-header h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 4px;
  margin-bottom: 8px;
}

.donation-card-header p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.donation-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 8px;
  font-weight: 600;
}

.donation-perks-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin: 16px 0 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 560px) {
  .donation-perks-list {
    grid-template-columns: 1fr;
  }
}

.donation-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}

.donation-bullet {
  color: var(--emerald);
  font-size: 1.1rem;
}

/* Donation Progress Bar */
.donation-progress-wrap {
  margin: 16px 0 22px;
}

.donation-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.donation-progress-title {
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(237, 239, 234, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.donation-achieved-badge {
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.donation-progress-amounts {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.donation-current {
  color: var(--emerald);
}

.donation-slash {
  color: var(--ink-soft);
  opacity: 0.5;
}

.donation-target {
  color: var(--ink-soft);
}

.donation-bar-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.donation-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10B981 0%, #4ADE80 100%);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

.donation-bar-fill.is-achieved {
  background: linear-gradient(90deg, #34D399, #F5C24C);
  box-shadow: 0 0 16px rgba(245, 194, 76, 0.6);
}

.donation-progress-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.78rem;
}

.donation-percent-text {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--emerald);
  font-size: 0.85rem;
}

.donation-reset-note {
  color: var(--ink-soft);
  opacity: 0.7;
  font-size: 0.74rem;
}

/* CTA Button */
.donation-action-wrap {
  margin-top: 8px;
}

.donation-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
  color: #041007;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px -10px rgba(34, 197, 94, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
  outline: none;
}

.donation-cta-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px -10px rgba(34, 197, 94, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  filter: brightness(1.06);
}

.donation-cta-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.5);
}

/* 3 Small Stat Cards Grid - 100% Identical to Kontak Card */
.donation-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.donation-stat-card {
  position: relative !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(21, 26, 22, 0.84) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 20px 22px !important;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease !important;
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.donation-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  opacity: 0.7;
  pointer-events: none;
}

.donation-stat-card:hover {
  border-color: rgba(95, 216, 224, 0.28) !important;
  transform: translateY(-4px) !important;
  box-shadow:
    0 24px 54px -34px rgba(0, 0, 0, 0.88),
    0 10px 22px -18px rgba(95, 216, 224, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.donation-stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donation-stat-icon {
  font-size: 1.1rem;
}

.donation-stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(237, 239, 234, 0.58);
  letter-spacing: 0.08em;
}

.donation-stat-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 6px;
  color: var(--ink);
}

/* ============================
   DONATION POPUP MODAL & QRIS LIGHTBOX
   ============================ */

.donation-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 8, 6, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalOverlayFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.donation-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(120% 120% at 0% 0%, rgba(34, 197, 94, 0.08), transparent 50%),
    rgba(14, 18, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.donation-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

.donation-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.donation-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.donation-modal-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 6px;
}

.donation-modal-header h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.donation-modal-subtitle {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* QRIS Section in Modal */
.donation-qris-container {
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 20px;
}

.donation-qris-instruction {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-weight: 500;
}

.donation-qris-card {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  max-width: 240px;
  width: 100%;
}

.donation-qris-card:hover {
  transform: scale(1.03);
  border-color: var(--emerald);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.3);
}

.donation-qris-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.donation-qris-hover-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 14, 12, 0.85);
  color: var(--ink);
  font-size: 0.74rem;
  font-family: var(--mono);
  padding: 6px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(4px);
}

.donation-qris-card:hover .donation-qris-hover-hint {
  opacity: 1;
}

.donation-qris-mobile-zoom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.donation-qris-mobile-zoom:hover {
  background: rgba(255, 255, 255, 0.15);
}

.donation-free-amount-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 600;
}

/* Modal Form Fields */
.donation-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.donation-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.donation-field label {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.donation-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.donation-field input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.25);
}

.donation-confirm-btn {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #041007;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px -8px rgba(34, 197, 94, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.donation-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(34, 197, 94, 0.65);
  filter: brightness(1.06);
}

.donation-confirm-btn:active {
  transform: translateY(0) scale(0.98);
}

.donation-modal-foot-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: center;
  opacity: 0.75;
}

/* Lightbox Fullscreen for QRIS */
.qris-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100005;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalOverlayFadeIn 0.25s ease;
}

.qris-lightbox-container {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: rgba(20, 24, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.95);
  text-align: center;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qris-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.qris-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.qris-lightbox-image-wrap {
  background: #ffffff;
  padding: 12px;
  border-radius: 18px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.qris-lightbox-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.qris-lightbox-caption {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ============================================================
   Background mobile: STATIC CSS GRADIENT (super ringan)
   - Tanpa WebGL, tanpa canvas, tanpa rAF, tanpa animasi
   - Tanpa particle, parallax, mouse-follow, glow/shadow berat
   - Dipicu JS (class .is-mobile-bg) ATAU otomatis <=768px
   - Visual: dark premium + wash hijau + garis halus (statis)
   ============================================================ */
.floating-lines.is-mobile-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 10, 8, 0) 45%),
    linear-gradient(20deg, rgba(132, 204, 22, 0.07) 0%, rgba(6, 10, 8, 0) 50%),
    repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.045) 0 1px, transparent 1px 34px);
}

.floating-lines.is-mobile-bg canvas {
  display: none;
}

.floating-lines.is-mobile-bg::before,
.floating-lines.is-mobile-bg::after {
  content: none;
  display: none;
}

.floating-lines.is-mobile-bg,
.floating-lines.is-mobile-bg * {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  .floating-lines {
    background-color: var(--bg);
    background-image:
      linear-gradient(160deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 10, 8, 0) 45%),
      linear-gradient(20deg, rgba(132, 204, 22, 0.07) 0%, rgba(6, 10, 8, 0) 50%),
      repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.045) 0 1px, transparent 1px 34px);
  }

  .floating-lines canvas {
    display: none;
  }

  .floating-lines::before,
  .floating-lines::after {
    content: none;
    display: none;
  }

  .floating-lines,
  .floating-lines * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .hero-logo-glow {
    filter: blur(0);
  }
}
/* ---------- donation marquee (running text donatur) ---------- */
.donation-marquee {
  position: relative;
  z-index: 10;
  overflow: visible;
  margin: 46px 0 34px;
  padding: 34px 0;
}

.donation-marquee-wrapper {
  position: relative;
  z-index: 10;

  width: 110%;
  margin-left: -5%;

  padding: 22px 0;

  background: #B8FF00;

  transform: rotate(-2.5deg);
}

.donation-marquee-track {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  width: max-content;
  min-height: 32px;

  gap: 80px;

  white-space: nowrap;
  will-change: transform;
}

.donation-marquee-item {
  position: relative;
  z-index: 3;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 12px;

  color: #080808;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;

  white-space: nowrap;
}

.donation-marquee-item .dm-sep {
  opacity: 0.72;
}

@media (max-width: 1024px) {
  .donation-marquee-track {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .donation-marquee {
    margin: 32px 0 22px;
    padding: 28px 0;
  }

  .donation-marquee-track {
    gap: 50px;
  }

  .donation-marquee-item {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .donation-marquee-track {
    gap: 40px;
  }
}

/* ---------- server live section (status + chat in-game realtime) ---------- */
.section-live {
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(74, 222, 128, 0.06), transparent 60%),
    radial-gradient(900px 380px at 90% 100%, rgba(95, 216, 224, 0.05), transparent 60%);
}

.server-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 34px;
}

.server-card,
.server-chat-card {
  background: linear-gradient(160deg, rgba(20, 26, 21, 0.92), rgba(13, 17, 14, 0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.server-card {
  padding: 22px;
}

.server-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.sl-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6B7280;
}

.sl-dot.is-online {
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: ss-pulse 2s infinite;
}

.sl-dot.is-offline {
  background: #F87171;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.5);
}

@keyframes ss-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.sl-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.sl-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.sl-metric-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.sl-metric-top strong {
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.sl-metric-top strong.is-good { color: var(--emerald); }
.sl-metric-top strong.is-mid { color: #FACC15; }
.sl-metric-top strong.is-bad { color: #F87171; }

.sl-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sl-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), #A3E635);
  transition: width .6s cubic-bezier(0.16, 1, 0.3, 1), background .3s ease;
}

.sl-bar i.is-mid { background: linear-gradient(90deg, #FACC15, #FDE047); }
.sl-bar i.is-bad { background: linear-gradient(90deg, #F87171, #FCA5A5); }

.sl-updated {
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.85;
  margin-bottom: 18px;
  font-family: var(--mono);
}

.sl-players {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.sl-players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.sl-players-head em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--emerald);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 999px;
  padding: 2px 10px;
}

.sl-player-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 208px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 222, 128, 0.3) transparent;
}

.sl-player-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  color: var(--ink);
}

.sl-player-list li .sl-ping {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.sl-ping.is-good { color: var(--emerald); background: rgba(74, 222, 128, 0.1); }
.sl-ping.is-mid { color: #FACC15; background: rgba(250, 204, 21, 0.1); }
.sl-ping.is-bad { color: #F87171; background: rgba(248, 113, 113, 0.1); }

.sl-player-list .sl-empty {
  justify-content: center;
  color: var(--ink-soft);
  opacity: 0.8;
  font-size: 0.8rem;
}

.server-chat-card {
  padding: 0;
}

.server-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.sl-live-pill {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #08130C;
  background: var(--emerald);
  border-radius: 999px;
  padding: 3px 10px;
  animation: ss-pulse 2s infinite;
}

.server-chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  max-height: 470px;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 222, 128, 0.3) transparent;
}

.sc-msg {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: sc-in .3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sc-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sc-msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.sc-msg-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.sc-msg-time {
  font-size: 0.66rem;
  color: var(--ink-soft);
  opacity: 0.8;
  flex: 0 0 auto;
}

.sc-msg-body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.server-chat-foot {
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.8;
  text-align: center;
}

.server-chat-user {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
}

.sc-login {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(114, 137, 218, 0.4);
  background: rgba(114, 137, 218, 0.12);
  color: #B9C4F0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.sc-login:hover {
  background: rgba(114, 137, 218, 0.22);
  box-shadow: 0 0 0 4px rgba(114, 137, 218, 0.12);
  transform: translateY(-1px);
}

.sc-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--diamond);
  object-fit: cover;
  flex: 0 0 auto;
}

.sc-username {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.sc-logout {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.sc-logout:hover {
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.4);
}

.sc-composer {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
  align-items: center;
  position: relative;
}

.sc-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.sc-input:focus {
  border-color: var(--diamond);
  box-shadow: 0 0 0 3px rgba(185, 28, 224, 0.12);
}

.sc-send {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--diamond);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.sc-send:hover { transform: translateY(-1px); }
.sc-send:disabled { opacity: 0.5; cursor: default; transform: none; }

.sc-error {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 20px;
  right: 20px;
  font-size: 0.72rem;
  color: #F87171;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  text-align: center;
}

.sc-error.is-visible { opacity: 1; }

.sc-msg.is-web {
  background: rgba(185, 28, 224, 0.08);
  border-color: rgba(185, 28, 224, 0.22);
}

.sc-tag {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--diamond);
  border-radius: 4px;
  padding: 1px 5px;
  flex: 0 0 auto;
}

.sc-msg.is-web .sc-msg-name { color: var(--diamond); }

@media (max-width: 900px) {
  .server-live-grid {
    grid-template-columns: 1fr;
  }

  .server-chat-list {
    min-height: 260px;
    max-height: 360px;
  }
}

/* ============================================================
