﻿/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #05050a;
  --bg2: #0a0a12;
  --bg3: #111118;
  --border: #1a1a28;
  --border2: #26263a;
  --text: #f0f0f8;
  --text-muted: #666680;
  --text-dim: #333348;
  --discord: #22c55e;
  --nav-h: 60px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Liquid Glass System ── */
  --lg-bg:          rgba(255,255,255,0.08);
  --lg-bg-hover:    rgba(255,255,255,0.13);
  --lg-border:      rgba(255,255,255,0.18);
  --lg-border-h:    rgba(255,255,255,0.30);
  --lg-shine-top:   rgba(255,255,255,0.42);
  --lg-dome:        rgba(255,255,255,0.14);
  --lg-blur:        blur(40px) saturate(1.9) brightness(1.08);
  --lg-shadow:
    inset 0 1.5px 0 var(--lg-shine-top),
    inset 0 -1px  0 rgba(0,0,0,0.22),
    inset  1px 0  0 rgba(255,255,255,0.1),
    inset -1px 0  0 rgba(255,255,255,0.05),
    0 2px  6px rgba(0,0,0,0.18),
    0 12px 40px rgba(0,0,0,0.45),
    0 0 0  1px rgba(255,255,255,0.05);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 110% 55% at 50% 0%,   rgba(34,197,94,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 70%  45% at 95% 60%,  rgba(22,163,74,0.06)  0%, transparent 55%),
    radial-gradient(ellipse 55%  35% at 0%  80%,  rgba(20,83,45,0.04)  0%, transparent 50%),
    linear-gradient(175deg, #080807 0%, #060605 25%, #050503 55%, #060604 80%, #07070a 100%);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
.hidden { display: none !important; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e1e1e; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #333; }


/* ===== CUSTOM CURSOR — mix-blend-mode: difference ===== */
body { cursor: none; }
a, button, .gallery-card, .cf-card, .process-step, .testi-card, .faq-q { cursor: none; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  border-radius: 50%;
  mix-blend-mode: difference;
}

/* ── Small dot — snaps instantly ── */
.cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
  transition: transform 0.12s cubic-bezier(0.34,1.56,0.64,1), opacity 0.15s;
}

/* ── Large blob — follows with lag ── */
.cursor-ring {
  width: 40px; height: 40px;
  background: #fff;
  opacity: 0.08;
  transition:
    width  0.45s cubic-bezier(0.34,1.56,0.64,1),
    height 0.45s cubic-bezier(0.34,1.56,0.64,1),
    opacity 0.30s ease;
}

/* ── HOVER: links / buttons ── */
body.cursor-hover .cursor-dot {
  transform: scale(2.5);
}
body.cursor-hover .cursor-ring {
  width: 80px; height: 80px;
  opacity: 0.12;
}

/* ── HOVER: cards ── */
body.cursor-view .cursor-dot {
  transform: scale(0.5);
  opacity: 0.5;
}
body.cursor-view .cursor-ring {
  width: 110px; height: 110px;
  opacity: 0.10;
}

/* ── CLICK ── */
body.cursor-click .cursor-dot {
  transform: scale(4);
  opacity: 0.7;
  transition-duration: 0.08s;
}
body.cursor-click .cursor-ring {
  width: 20px; height: 20px;
  opacity: 0.25;
  transition-duration: 0.08s;
}


/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.3));
  z-index: 100000;
  transition: width 0.06s linear;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}


/* ===== GRAIN OVERLAY ===== */
.grain-overlay {
  position: fixed; inset: 0;
  z-index: 99998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.4s steps(8) infinite;
}
@keyframes grainShift {
  0%  { transform: translate(0,0); } 12%{ transform: translate(-2px,-1px); }
  25% { transform: translate(2px,1px); } 37%{ transform: translate(-1px,2px); }
  50% { transform: translate(1px,-2px); } 62%{ transform: translate(2px,2px); }
  75% { transform: translate(-2px,1px); } 87%{ transform: translate(1px,1px); }
}


/* ===== TOP NAV ===== */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.top-nav.scrolled {
  background: linear-gradient(180deg, rgba(7,6,5,0.82) 0%, rgba(6,5,4,0.92) 100%);
  backdrop-filter: blur(50px) saturate(2) brightness(1.05);
  -webkit-backdrop-filter: blur(50px) saturate(2) brightness(1.05);
  border-bottom-color: rgba(255,255,255,0.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 8px 40px rgba(0,0,0,0.55);
}

.top-nav-inner {
  width: 100%; max-width: 1400px;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}

.nav-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo img { max-height: 34px; width: auto; }
#navLogoText {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 0.2em;
  color: #fff; line-height: 1;
}

/* ── Discord nav button ── */
.discord-header-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px 9px 11px;
  border-radius: 8px;
  background: #22c55e;
  border: none;
  color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(34,197,94,0.45);
}
.discord-header-btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34,197,94,0.60);
}
.discord-header-btn svg  { display: block; flex-shrink: 0; }
.discord-header-btn span { display: block; }


/* ── Pricing nav link ── */
.pricing-nav-link {
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.70);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.pricing-nav-link:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  transform: translateY(-1px);
}

/* Subtle glow behind Discord button */
.top-nav::after {
  content: '';
  position: absolute;
  right: 0; top: -10px;
  width: 200px; height: 90px;
  background: radial-gradient(ellipse at 80% 50%, rgba(34,197,94,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}


/* ===== HEADER ===== */
#header {
  position: relative;
  width: 100%; height: 100vh; min-height: 640px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  overflow: hidden;
  background: #03030a;
  padding-bottom: 20px;
}

/* ── Aurora layer ── */
.header-aurora {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}

.ha-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}

/* Blob 1 — large blurple, top-left */
.ha-b1 {
  width: 75vw; height: 65vh;
  background: radial-gradient(ellipse at center,
    rgba(34,197,94,0.52) 0%,
    rgba(34,197,94,0.18) 40%,
    transparent 70%);
  filter: blur(90px);
  top: -15%; left: -10%;
  animation: haMove1 28s ease-in-out infinite;
}
/* Blob 2 — deep violet, top-right */
.ha-b2 {
  width: 55vw; height: 55vh;
  background: radial-gradient(ellipse at center,
    rgba(20,83,45,0.45) 0%,
    rgba(20,83,45,0.15) 45%,
    transparent 70%);
  filter: blur(100px);
  top: 5%; right: -8%;
  animation: haMove2 34s ease-in-out infinite;
}
/* Blob 3 — midnight blue, bottom-center */
.ha-b3 {
  width: 50vw; height: 50vh;
  background: radial-gradient(ellipse at center,
    rgba(22,163,74,0.30) 0%,
    rgba(146,64,14,0.10) 50%,
    transparent 70%);
  filter: blur(110px);
  bottom: 0%; left: 15%;
  animation: haMove3 22s ease-in-out infinite;
}
/* Blob 4 — accent pink-purple, bottom-right */
.ha-b4 {
  width: 38vw; height: 38vh;
  background: radial-gradient(ellipse at center,
    rgba(34,197,94,0.28) 0%,
    rgba(22,163,74,0.10) 50%,
    transparent 70%);
  filter: blur(85px);
  bottom: 5%; right: 5%;
  animation: haMove4 38s ease-in-out infinite;
}

@keyframes haMove1 {
  0%,100% { transform: translate(0,   0  ) scale(1);    }
  33%      { transform: translate(60px,-50px) scale(1.08); }
  66%      { transform: translate(-40px,35px) scale(0.95); }
}
@keyframes haMove2 {
  0%,100% { transform: translate(0,   0   ) scale(1);    }
  40%      { transform: translate(-70px,45px) scale(1.10); }
  80%      { transform: translate(50px,-35px) scale(0.92); }
}
@keyframes haMove3 {
  0%,100% { transform: translate(0,   0  ) scale(1);    }
  50%      { transform: translate(45px,-55px) scale(1.12); }
}
@keyframes haMove4 {
  0%,100% { transform: translate(0,   0  ) scale(1);    }
  30%      { transform: translate(-55px,30px) scale(1.06); }
  70%      { transform: translate(35px,-40px) scale(0.94); }
}

/* ── Dot grid overlay ── */
.ha-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%,
    rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%,
    rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Floating tool icons ── */
.header-tools {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none; overflow: visible;
}

.ht-icon {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.035);
  border: none;
  opacity: 0;
  /* JS takes over position via style.left / style.top after fade-in */
  transition: left 9s cubic-bezier(.45,0,.55,1), top 9s cubic-bezier(.45,0,.55,1);
  animation:
    htFadeIn 1.6s cubic-bezier(.22,1,.36,1) forwards var(--delay, 0s),
    htPulse  6s   ease-in-out calc(var(--delay,0s) + 2s) infinite;
}

/* Spinning arc — 60° arc, slow rotation */
.ht-icon::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 15px;
  padding: 1.5px;
  background: conic-gradient(
    from 0turn,
    var(--tc) 0deg,
    transparent 60deg,
    transparent 300deg,
    var(--tc) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  animation: htSpinRing var(--dur, 15s) linear var(--delay, 0s) infinite;
}

/* Inner shine — single pass every ~10s */
.ht-icon::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
    transparent 25%, rgba(255,255,255,0.10) 50%, transparent 75%);
  background-size: 280% 100%;
  background-position: -100% 0;
  animation: htShimmer 10s ease-in-out var(--delay, 0s) infinite;
  pointer-events: none;
}

.ht-letters {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--tc);
  line-height: 1;
  position: relative; z-index: 1;
}

/* Brand colors */
.ht-ps  { --tc: rgba(49,168,255,0.80);  --tg: rgba(49,168,255,0.16); }
.ht-ae  { --tc: rgba(153,153,255,0.80); --tg: rgba(153,153,255,0.16); }
.ht-ai  { --tc: rgba(255,154,0,0.80);   --tg: rgba(255,154,0,0.16); }
.ht-pr  { --tc: rgba(234,119,255,0.80); --tg: rgba(234,119,255,0.16); }
.ht-id  { --tc: rgba(255,60,100,0.80);  --tg: rgba(255,60,100,0.16); }
.ht-c4d { --tc: rgba(90,200,140,0.80);  --tg: rgba(90,200,140,0.16); }

@keyframes htFadeIn {
  from { opacity: 0; transform: scale(0.82); }
  to   { opacity: 0.55; transform: scale(1); }
}

@keyframes htPulse {
  0%, 100% { box-shadow: 0 0 12px var(--tg), inset 0 1px 0 rgba(255,255,255,0.08); }
  50%       { box-shadow: 0 0 28px var(--tg), 0 0 52px var(--tg), inset 0 1px 0 rgba(255,255,255,0.10); }
}

@keyframes htSpinRing {
  from { transform: rotate(0turn); }
  to   { transform: rotate(1turn); }
}

@keyframes htShimmer {
  0%, 60%, 100% { background-position: -100% 0; opacity: 0; }
  5%            { opacity: 1; }
  42%           { background-position: 220% 0; opacity: 0; }
}

/* ── Header scan beam — subtle guide line ── */
.header-scan {
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none; overflow: hidden;
}
.header-scan::before {
  content: '';
  position: absolute;
  left: -10%; width: 120%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,197,94,0.0) 20%,
    rgba(34,197,94,0.28) 45%,
    rgba(74,222,128,0.42) 50%,
    rgba(34,197,94,0.28) 55%,
    rgba(34,197,94,0.0) 80%,
    transparent 100%);
  top: 0; opacity: 0;
  animation: htScanLine 18s ease-in-out 4s infinite;
}
.header-scan::after {
  content: '';
  position: absolute;
  left: -10%; width: 120%; height: 90px;
  background: linear-gradient(180deg,
    rgba(34,197,94,0.04) 0%,
    transparent 100%);
  top: 0; opacity: 0;
  animation: htScanGlow 18s ease-in-out 4s infinite;
}

@keyframes htScanLine {
  0%   { top: -2px;  opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { top: 102%;  opacity: 0; }
}
@keyframes htScanGlow {
  0%   { top: -90px; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { top: 102%;  opacity: 0; }
}

@media (max-width: 768px) {
  .ht-icon      { display: none; }
  .header-scan  { display: none; }
}

.header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(4,4,3,0.22) 0%,
    rgba(4,4,3,0.04) 28%,
    rgba(4,4,3,0.08) 60%,
    rgba(4,4,3,1.00) 100%);
  z-index: 2;
}

#headerCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3; pointer-events: none;
}

/* ── Watermark ── */
.hero-watermark {
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(34,197,94,0.10);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: wmDrift 18s ease-in-out infinite;
}
@keyframes wmDrift {
  0%,100% { transform: translate(-50%, -50%) scale(1.00); }
  50%      { transform: translate(-50%, -50%) scale(1.03); }
}

/* ── Brand bar — anchored to top of #header below nav ── */
.hero-brand-bar {
  position: absolute;
  top: calc(var(--nav-h) + 18px); left: 0; right: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.5s forwards;
}
.hbb-left {
  display: flex; align-items: center; gap: 14px;
}
.hbb-name {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; color: rgba(240,240,248,0.70);
  text-transform: uppercase;
}
.hbb-sep {
  color: rgba(240,240,248,0.20); font-size: 14px;
}
.hbb-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.14em;
  color: rgba(34,197,94,0.80); text-transform: uppercase;
}
.hbb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  animation: dotPulse 2.5s ease infinite;
  flex-shrink: 0;
}
.hbb-year {
  font-size: 10px; letter-spacing: 0.14em;
  color: rgba(240,240,248,0.25); text-transform: uppercase;
}

/* ── Service tags floating around cards ── */
.hero-tags {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.htag {
  position: absolute;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,240,248,0.38);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  padding: 6px 14px; border-radius: 50px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  opacity: 0;
  animation: tagFloat 1s var(--ease-out) var(--td, 0.8s) forwards;
}
.htag-1 { top: 18%; left:  8%; --td: 0.80s; }
.htag-2 { top: 72%; left: 10%; --td: 1.05s; }
.htag-3 { top: 22%; right: 7%; --td: 0.95s; }
.htag-4 { top: 68%; right: 9%; --td: 1.20s; }
.htag-5 { bottom: 22%; left: 50%; transform: translateX(-50%); --td: 1.35s; }
@keyframes tagFloat {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* keep the subtle float alive after appear */
.htag-1 { animation: tagFloat 1s var(--ease-out) 0.80s forwards, tagBob 7s  ease-in-out 1.8s  infinite; }
.htag-2 { animation: tagFloat 1s var(--ease-out) 1.05s forwards, tagBob 9s  ease-in-out 2.1s  infinite; }
.htag-3 { animation: tagFloat 1s var(--ease-out) 0.95s forwards, tagBob 8s  ease-in-out 1.95s infinite; }
.htag-4 { animation: tagFloat 1s var(--ease-out) 1.20s forwards, tagBob 10s ease-in-out 2.2s  infinite; }
.htag-5 { animation: tagFloat 1s var(--ease-out) 1.35s forwards, tagBob 6s  ease-in-out 2.35s infinite; }
@keyframes tagBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.htag-5 { bottom: 22%; left: 50%;
  animation: tagFloat 1s var(--ease-out) 1.35s forwards, tagBobCenter 6s ease-in-out 2.35s infinite; }
@keyframes tagBobCenter {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-6px); }
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-out) 1.6s forwards;
}
.hsh-text {
  font-size: 8px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(240,240,248,0.22);
  white-space: nowrap;
}
.hsh-line {
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.10);
}

/* ── Hero full-width body ── */
.hero-body {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  flex: 1; width: 100%;
  padding: 0;
}
.hero-full {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex: 1;
}
/* keep aliases so any leftover refs don't break */
.header-center { display: none; }
.hero-left      { display: none; }
.hero-right     { display: none; }

/* ── shared keyframes ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%     { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}
.tag-sep        { display: none; }
.available-badge { display: none; }

/* ── Kicker ── */
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-out) 0.2s forwards;
}
.hero-kicker span:not(.hk-bar) {
  font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(34,197,94,0.85);
  white-space: nowrap;
}
.hk-bar {
  flex: 1; height: 1px; max-width: 48px;
  background: linear-gradient(90deg, rgba(34,197,94,0), rgba(34,197,94,0.65));
}
.hk-bar-r {
  background: linear-gradient(90deg, rgba(34,197,94,0.65), rgba(34,197,94,0));
}

/* ── Big title — clip-mask line reveal ── */
.hero-big {
  display: flex; flex-direction: column;
  gap: 0; margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em; line-height: 0.87;
}
.hb-wrap {
  display: block;
  overflow: hidden;        /* this is the clip mask */
  padding-bottom: 0.06em; /* prevents descender clipping */
}
.hb-inner {
  display: block;
  font-size: clamp(72px, 9vw, 128px);
  color: #ffffff;
  transform: translateY(108%);
  animation: slideUpLine 0.9s cubic-bezier(0.16,1,0.3,1) var(--d, 0.4s) both;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
/* second line: blurple tint + slightly heavier visual weight via letter-spacing */
.hb-accent {
  color: rgba(74,222,128,0.96);
  letter-spacing: 0.055em;
}
@keyframes slideUpLine {
  to { transform: translateY(0); }
}

/* ── Description ── */
.hero-desc {
  font-size: 13.5px; line-height: 1.7;
  color: rgba(255,255,255,0.42);
  font-weight: 300;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-out) 0.85s forwards;
}

/* ── Services list ── */
.hero-services {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px 0;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-out) 1.0s forwards;
}
.hero-services li {
  font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding-right: 16px;
  position: relative;
  transition: color 0.2s;
}
.hero-services li + li::before {
  content: '/';
  position: absolute; left: 0;
  color: rgba(34,197,94,0.35);
  padding-right: 8px;
}
.hero-services li + li { padding-left: 16px; }
.hero-services li:hover { color: rgba(255,255,255,0.7); }

/* ── Available status ── */
.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-out) 1.15s forwards;
}
.hero-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: dotPulse 2.2s ease-in-out infinite;
}
.hero-status span:last-child {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.40);
}

.header-stats {
  display: flex; align-items: center; gap: 0; flex-wrap: nowrap; justify-content: center;
  opacity: 0;
  animation: fadeSlideDown 0.8s var(--ease-out) 1.1s forwards;
  background: linear-gradient(145deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0.03) 100%
  );
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 12px 8px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.38),
    inset 0 -1px  0 rgba(0,0,0,0.18),
    0 8px 32px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.2);
  position: relative; overflow: hidden;
}
/* Liquid dome on stats pill */
.header-stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 52%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.08) 45%,
    transparent 100%
  );
  border-radius: 50px 50px 80% 80%;
  pointer-events: none; z-index: 1;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3.5vw, 38px);
  letter-spacing: 0.06em; color: #fff; line-height: 1; margin-bottom: 4px;
}
.stat-lbl {
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll hint — removed */
.scroll-hint { display: none; }


/* ===== CAROUSEL — Floating Stack ===== */
.coverflow-scene {
  position: relative; z-index: 5;
  width: 100%; height: 480px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: visible;
}

.coverflow-stage {
  position: relative;
  width: 290px; height: 400px;
  /* Stage is a narrow anchor; cards extend far outside via transforms */
}

.cf-card {
  position: absolute; top: 0; left: 0;
  width: 290px; height: 400px;
  border-radius: 18px; overflow: visible;
  cursor: pointer;
  border: 1px solid transparent;
  background: rgba(6,10,7,0.92);
  transition: transform 0.72s cubic-bezier(0.34,1.1,0.64,1),
              opacity   0.60s ease,
              box-shadow 0.60s ease,
              border-color 0.60s ease;
  will-change: transform, opacity;
}

/* Inner clip (replaces overflow:hidden so ring can escape) */
.cf-inner {
  position: absolute; inset: 0;
  border-radius: 19px; overflow: hidden;
}

/* Image fill */
.cf-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 0.55s ease, transform 5s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.28) saturate(0.4);
  display: block;
}

/* ── Active card ── */
.cf-card.cf-active {
  border-color: rgba(34,197,94,0.45);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.25),
    0 0 50px rgba(34,197,94,0.22),
    0 30px 80px rgba(0,0,0,0.70);
  cursor: none;
}
.cf-card.cf-active img {
  filter: brightness(0.92) saturate(1);
}

/* ── Info overlay — fades in on active ── */
.cf-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 18px 18px;
  background: linear-gradient(to top,
    rgba(4,4,3,0.92) 0%,
    rgba(4,4,3,0.55) 55%,
    transparent 100%);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 4;
}
.cf-card.cf-active .cf-info { opacity: 1; transform: translateY(0); }

.cf-info-cat {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(34,197,94,0.90); display: block; margin-bottom: 4px;
}
.cf-info-title {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.92);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}

/* ── Glow ring progress (CSS Houdini conic-gradient) ── */
@property --cf-p {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@keyframes cfRingFill {
  from { --cf-p: 0; }
  to   { --cf-p: 360; }
}

.cf-card.cf-ring-play::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(
    from -90deg,
    rgba(34, 197, 94, 0.0)   0deg,
    rgba(34, 197, 94, 0.95) 28deg,
    rgba(74, 222, 128, 1.0) calc(var(--cf-p) * 1deg),
    rgba(255, 255, 255, 0.06) calc(var(--cf-p) * 1deg),
    rgba(255, 255, 255, 0.03) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.88))
          drop-shadow(0 0 18px rgba(34, 197, 94, 0.50));
  z-index: 8;
  pointer-events: none;
  animation: cfRingFill 4.2s linear forwards;
}

/* Nav / dots — hidden */
.cf-nav, .cf-prev, .cf-next, .cf-dots, .cf-dot,
.cf-card-label, .cf-card-title, .cf-card-cat { display: none; }

@media (max-width: 640px) {
  .coverflow-scene { height: 360px !important; }
  .coverflow-stage { width: 240px; height: 340px; }
  .cf-card { width: 240px; height: 340px; }
}


/* ===== GALLERY SECTION ===== */
#gallery {
  padding: 100px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Full-width aurora gradient behind gallery */
#gallery::before {
  content: '';
  position: absolute;
  top: -60px; bottom: -40px;
  left: 50%; transform: translateX(-50%);
  width: 100vw;
  /* Aurora / nebula multi-layer gradient */
  background:
    radial-gradient(ellipse 65% 45% at 12% 25%,  rgba(34,197,94,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 88% 65%,  rgba(22,163,74,0.11) 0%, transparent 55%),
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(146,64,14,0.1)  0%, transparent 55%),
    radial-gradient(ellipse 90% 30% at 50% 0%,   rgba(146,64,14,0.08)  0%, transparent 50%),
    linear-gradient(180deg,
      transparent 0%,
      rgba(20,10,5,0.35) 30%,
      rgba(15,8,3,0.55) 65%,
      rgba(12,6,2,0.4)  100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Secondary shimmer line across the top of gallery */
#gallery::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34,197,94,0.0) 15%,
    rgba(34,197,94,0.25) 35%,
    rgba(74,222,128,0.4) 50%,
    rgba(34,197,94,0.25) 65%,
    rgba(34,197,94,0.0) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

#gallery > * { position: relative; z-index: 2; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 14px;
  font-size: 10px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--text-muted);
}
.eyebrow-line {
  display: block; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-dim));
}
.eyebrow-line:last-child { background: linear-gradient(90deg, var(--text-dim), transparent); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 9vw, 120px);
  letter-spacing: 0.1em; color: var(--text);
  line-height: 0.9; margin-bottom: 10px;
  display: inline-block;
  position: relative;
}
/* Glitch */
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  font-family: inherit; font-size: inherit;
  letter-spacing: inherit; color: var(--text);
  opacity: 0; pointer-events: none;
}
.glitch-text.glitching::before {
  opacity: 0.7; clip-path: polygon(0 15%,100% 15%,100% 40%,0 40%);
  transform: translate(-3px,0); animation: glitchA 0.18s steps(2) forwards;
}
.glitch-text.glitching::after {
  opacity: 0.5; clip-path: polygon(0 60%,100% 60%,100% 80%,0 80%);
  transform: translate(3px,0); color: rgba(254,243,199,0.5);
  animation: glitchB 0.18s steps(2) forwards;
}
@keyframes glitchA {
  0%  { clip-path:polygon(0 10%,100% 10%,100% 35%,0 35%); transform:translate(-4px,0); }
  50% { clip-path:polygon(0 5%,100% 5%,100% 20%,0 20%); transform:translate(4px,0); }
  100%{ opacity:0; }
}
@keyframes glitchB {
  0%  { clip-path:polygon(0 65%,100% 65%,100% 85%,0 85%); transform:translate(3px,0); }
  50% { clip-path:polygon(0 75%,100% 75%,100% 95%,0 95%); transform:translate(-3px,0); }
  100%{ opacity:0; }
}

.section-sub {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 300;
}


/* ===== SCROLL REVEAL ===== */
.reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up.revealed { opacity: 1; transform: none; }


/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 52px;
}
.filter-btn {
  position: relative; overflow: hidden;
  padding: 8px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(254,240,180,0.75);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  transition: all 0.32s var(--ease-out);
  /* Liquid glass */
  background: linear-gradient(145deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.04) 55%,
    rgba(255,255,255,0.02) 100%
  );
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.32),
    inset 0 -1px  0 rgba(0,0,0,0.15),
    0 2px 8px rgba(0,0,0,0.28);
  -webkit-tap-highlight-color: transparent;
}
/* Liquid dome */
.filter-btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 52%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.07) 45%,
    transparent 100%
  );
  border-radius: 50px 50px 80% 80%;
  pointer-events: none; z-index: 3;
}
/* Hover light sweep */
.filter-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.16) 50%, transparent 75%);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 0.6s var(--ease-out);
  border-radius: 50px; z-index: 2;
}
.filter-btn > * { position: relative; z-index: 4; }
.filter-btn:hover {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,248,220,0.95);
  background: linear-gradient(145deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.07) 55%,
    rgba(255,255,255,0.04) 100%
  );
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.42),
    inset 0 -1px  0 rgba(0,0,0,0.15),
    0 4px 20px rgba(0,0,0,0.35),
    0 0 24px rgba(34,197,94,0.12);
  transform: translateY(-1px);
}
.filter-btn:hover::after { transform: translateX(120%) skewX(-18deg); }
.filter-btn.active {
  background: linear-gradient(145deg,
    rgba(255,255,255,0.96) 0%,
    rgba(255,248,220,0.96) 100%
  );
  color: #08080a; border-color: rgba(255,255,255,0.9); font-weight: 600;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px  0 rgba(0,0,0,0.08),
    0 4px 20px rgba(255,255,255,0.18),
    0 0 40px rgba(34,197,94,0.20);
}
.filter-btn.active::before { background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%); }
.filter-btn.active::after { display: none; }
.filter-btn:active { transform: scale(0.95); }

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(1); opacity: 0; }
}


/* ===== GALLERY GRID — UNIFORM ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-loading {
  grid-column: 1 / -1;
  display: flex; justify-content: center; padding: 80px 0;
}
.loading-spinner {
  width: 30px; height: 30px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 80px 0; color: var(--text-muted);
}


/* ===== GALLERY CARD — Liquid Glass border ===== */
.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: none;
  background: rgba(8,8,7,0.6);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.28),
    inset 0 -1px  0 rgba(0,0,0,0.3),
    inset  1px 0  0 rgba(255,255,255,0.08),
    inset -1px 0  0 rgba(255,255,255,0.04),
    0 2px  6px rgba(0,0,0,0.2),
    0 12px 40px rgba(0,0,0,0.5),
    0 0 0  1px rgba(34,197,94,0.06);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Reveal animation */
.gallery-card.reveal-card {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out),
              box-shadow 0.4s ease, border-color 0.35s ease;
}
.gallery-card.reveal-card.revealed {
  opacity: 1; transform: none;
}

/* Spotlight follow cursor */
.gallery-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3; pointer-events: none;
}
.gallery-card:hover::before { opacity: 1; }

/* Shimmer sweep */
.gallery-card::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.055), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  z-index: 3; pointer-events: none;
}
.gallery-card:hover::after { left: 160%; }

.gallery-card:hover {
  border-color: rgba(255,255,255,0.26);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.42),
    inset 0 -1px  0 rgba(0,0,0,0.3),
    inset  1px 0  0 rgba(255,255,255,0.12),
    inset -1px 0  0 rgba(255,255,255,0.06),
    0 2px  6px rgba(0,0,0,0.22),
    0 28px 80px rgba(0,0,0,0.65),
    0 0 0  1px rgba(34,197,94,0.10),
    0 0 50px rgba(34,197,94,0.08);
}
.gallery-card:active { transform: scale(0.97) !important; }

/* Image — 16:9 to match 1920×1080 uploads */
.card-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  filter: grayscale(100%) brightness(0.72);
  transition: filter 0.6s ease, transform 0.75s var(--ease-out);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery-card:hover .card-img-wrap img {
  filter: grayscale(0%) brightness(1.06);
  transform: scale(1.10);
}

/* Watermark */
.card-img-wrap::before {
  content: 'UNQ DESIGN';
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  z-index: 4; pointer-events: none;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}

/* Overlay — hover vignette only, no text */
.card-overlay { display: none; }
.card-overlay-content { display: none; }
.card-accent { display: none; }
.card-info { display: none; }
.card-title { display: none; }
.card-category { display: none; }

/* Subtle hover vignette on image */
.card-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.50) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-card:hover .card-img-wrap::after { opacity: 1; }

/* Protect lightbox image */
#lightboxImage {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Image count — hidden */
.card-image-count { display: none; }


/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,4,3,0.96);
  backdrop-filter: blur(40px) saturate(0.3) brightness(0.8);
  -webkit-backdrop-filter: blur(40px) saturate(0.3) brightness(0.8);
}

.lightbox-container {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 70px 90px 20px; gap: 14px;
}

.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 4px 16px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.3s, transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  z-index: 10;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px rgba(0,0,0,0.6);
}

.lightbox-image-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 0; width: 100%;
  position: relative;
}
/* Watermark over lightbox image */
.lightbox-image-wrap::after {
  content: 'UNQ DESIGN';
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  pointer-events: none; user-select: none; z-index: 10;
  text-shadow: 0 1px 4px rgba(0,0,0,0.70);
}
#lightboxImage {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.05);
  transform: scale(0.88) translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.4s ease;
}
.lightbox.active #lightboxImage { transform: scale(1) translateY(0); opacity: 1; }
.lightbox-switching #lightboxImage { transform: scale(0.93); opacity: 0; transition-duration: 0.14s; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 4px 20px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: all 0.3s var(--ease-out);
  z-index: 5;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 28px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.06);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav.hidden { opacity: 0; pointer-events: none; }

.lightbox-info { text-align: center; flex-shrink: 0; }
.lightbox-info h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.lightbox-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.lightbox-counter {
  font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.counter-sep { color: var(--text-dim); }

.lightbox-thumbs {
  display: flex; gap: 7px; justify-content: center;
  overflow-x: auto; max-width: 560px;
  padding: 4px 0 8px; flex-shrink: 0; scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 4px; overflow: hidden;
  cursor: none; border: 2px solid transparent;
  opacity: 0.4;
  transition: opacity 0.25s, border-color 0.25s, transform 0.3s var(--ease-spring);
}
.lightbox-thumb:hover { opacity: 0.8; transform: scale(1.1); }
.lightbox-thumb.active { border-color: rgba(255,255,255,0.8); opacity: 1; }
.lightbox-thumb img { width:100%;height:100%;object-fit:cover; }


/* ===== LIGHTBOX DISCORD CTA ===== */
.lb-discord-cta {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  max-width: 560px;
  background: rgba(10, 8, 20, 0.85);
  border: 1px solid rgba(34,197,94,0.25);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: lbdcEntry 0.5s 0.25s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes lbdcEntry {
  from { opacity:0; transform:translateY(14px) scale(0.96); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* Shifting aurora glow */
.lbdc-aurora {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% 50%, rgba(34,197,94,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 70% 45% at 85% 50%, rgba(22,163,74,0.09) 0%, transparent 65%);
  animation: lbdcAurora 5s ease-in-out infinite alternate;
}
@keyframes lbdcAurora {
  from { background: radial-gradient(ellipse 90% 55% at 15% 50%, rgba(34,197,94,0.14) 0%, transparent 65%), radial-gradient(ellipse 70% 45% at 85% 50%, rgba(22,163,74,0.09) 0%, transparent 65%); }
  to   { background: radial-gradient(ellipse 90% 55% at 80% 50%, rgba(34,197,94,0.18) 0%, transparent 65%), radial-gradient(ellipse 70% 45% at 20% 50%, rgba(22,163,74,0.12) 0%, transparent 65%); }
}

/* Floating orbs */
.lbdc-orb { position:absolute; border-radius:50%; filter:blur(22px); pointer-events:none; }
.lbdc-orb-1 { width:110px;height:110px; background:rgba(34,197,94,0.22); top:-45px; left:8%; animation:lbdcOrb1 6s ease-in-out infinite; }
.lbdc-orb-2 { width:80px;height:80px; background:rgba(22,163,74,0.18); bottom:-30px; right:12%; animation:lbdcOrb2 4.5s ease-in-out infinite; }
@keyframes lbdcOrb1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(18px,6px) scale(1.18)} }
@keyframes lbdcOrb2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-12px,-5px) scale(1.12)} }

/* Main inner link */
.lbdc-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px;
  text-decoration: none; color: inherit;
  overflow: hidden; transition: background 0.3s;
}
.lbdc-inner:hover { background: rgba(34,197,94,0.07); }

/* Shimmer sweep */
.lbdc-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.07) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform 0s;
}
.lbdc-inner:hover .lbdc-shimmer { transform: translateX(130%); transition: transform 0.65s ease; }

/* Discord icon wrap */
.lbdc-icon {
  position: relative; width: 44px; height: 44px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,0.22); border-radius: 12px;
  border: 1px solid rgba(34,197,94,0.38);
  box-shadow: 0 0 18px rgba(34,197,94,0.18);
}
.lbdc-icon svg { width:20px; height:20px; color:rgba(74,222,128,0.95); position:relative; z-index:1; }

/* Pulsing ring */
.lbdc-ring {
  position: absolute; inset: -2px;
  border-radius: 14px; border: 1px solid rgba(34,197,94,0.55);
  animation: lbdcRing 2.2s ease-out infinite;
}
@keyframes lbdcRing { 0%{transform:scale(1);opacity:0.7} 100%{transform:scale(1.6);opacity:0} }

/* Text */
.lbdc-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.lbdc-headline { font-size:13px; font-weight:600; color:rgba(255,255,255,0.92); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lbdc-sub { font-size:11px; color:rgba(74,222,128,0.65); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* CTA pill */
.lbdc-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  background: rgba(34,197,94,0.22); border: 1px solid rgba(34,197,94,0.42);
  border-radius: 8px; font-size: 12px; font-weight: 600;
  color: rgba(74,222,128,0.95); white-space: nowrap; flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-spring), box-shadow 0.25s;
}
.lbdc-inner:hover .lbdc-btn {
  background: rgba(34,197,94,0.40); border-color: rgba(34,197,94,0.72);
  transform: translateX(4px);
  box-shadow: 0 0 24px rgba(34,197,94,0.38);
}

@media (max-width: 500px) {
  .lbdc-headline { font-size:12px; }
  .lbdc-btn span { display:none; }
  .lbdc-inner { gap:10px; padding:11px 13px; }
}


/* ===== NAV LOGO ONLY ===== */
.nav-logo-only {
  justify-content: center !important;
}

/* ===== LOADING SCREEN ===== */
.load-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #03030a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
.load-screen.ls-hide { opacity: 0; visibility: hidden; pointer-events: none; }

.ls-body {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  animation: lsEntrance 0.7s var(--ease-out) both;
}
@keyframes lsEntrance {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ls-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: 0.18em;
  color: #f0f0f8;
}
.ls-logo span { color: rgba(34,197,94,0.95); }

.ls-tag {
  font-size: 10px; letter-spacing: 0.30em;
  text-transform: uppercase; font-weight: 500;
  color: rgba(34,197,94,0.55);
}

.ls-bar-wrap {
  width: 160px; height: 1.5px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
  margin-top: 6px;
}
.ls-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, rgba(34,197,94,0.7), rgba(74,222,128,1), rgba(34,197,94,0.7));
  border-radius: 2px;
  animation: lsProgress 1.1s cubic-bezier(.4,0,.2,1) 0.2s both;
}
@keyframes lsProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* corner brackets */
.ls-corners { position: absolute; inset: 24px; pointer-events: none; }
.ls-c {
  position: absolute; width: 20px; height: 20px;
  border-color: rgba(34,197,94,0.28); border-style: solid;
}
.ls-tl { top: 0; left: 0;  border-width: 1.5px 0 0 1.5px; }
.ls-tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.ls-bl { bottom: 0; left: 0;  border-width: 0 0 1.5px 1.5px; }
.ls-br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed; inset: 0; z-index: 9998;
  background: #03030a;
  opacity: 1; pointer-events: none;
  transition: opacity 0.38s ease;
}
.page-transition.pt-done   { opacity: 0; }
.page-transition.pt-active { opacity: 1; pointer-events: all; }

/* ===== TYPEWRITER CURSOR ===== */
.tw-cursor {
  display: inline-block;
  width: 2px; margin-left: 2px;
  color: rgba(34,197,94,0.9);
  animation: twBlink 1s step-end infinite;
  font-weight: 300;
}
@keyframes twBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== GALLERY CARD HOVER OVERLAY ===== */
.card-img-wrap { position: relative; overflow: hidden; }

.card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 20px 18px;
  background: linear-gradient(0deg,
    rgba(3,3,10,0.88) 0%,
    rgba(3,3,10,0.45) 50%,
    transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  gap: 6px;
}
.gallery-card:hover .card-overlay {
  opacity: 1; transform: translateY(0);
}
.card-overlay-cat {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(34,197,94,0.85);
}
.card-overlay-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem; letter-spacing: 0.05em;
  color: #f0f0f8; line-height: 1.2;
}
.card-overlay-btn {
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(34,197,94,0.9);
  margin-top: 2px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 110px 6% 100px;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% 55%, rgba(34,197,94,0.035) 0%, transparent 70%);
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8,8,16,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Animated top accent line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,197,94,0.18) 12%,
    rgba(74,222,128,0.55) 38%,
    rgba(134,239,172,0.65) 50%,
    rgba(74,222,128,0.55) 62%,
    rgba(34,197,94,0.18) 88%,
    transparent 100%);
}

.process-step {
  position: relative;
  padding: 44px 30px 40px;
  overflow: hidden;
  transition: background 0.45s ease;
  cursor: default;
}
.process-step:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.05);
}

/* Shimmer sweep on hover */
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: auto; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(74,222,128,0.06) 50%,
    transparent 100%);
  transition: left 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none;
}
.process-step:hover::before { left: 100%; }

/* Green glow top border per step on hover */
.process-step::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,0.7), transparent);
  opacity: 0;
  transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
  border-radius: 0 0 4px 4px;
}
.process-step:hover::after {
  opacity: 1; left: 5%; right: 5%;
}

/* Ghost number (background watermark) */
.ps-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6.5rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(34,197,94,0.07);
  letter-spacing: -0.03em;
  position: absolute;
  bottom: 12px; right: 18px;
  transition: -webkit-text-stroke-color 0.45s ease;
  user-select: none; pointer-events: none;
}
.process-step:hover .ps-num {
  -webkit-text-stroke-color: rgba(34,197,94,0.20);
}

/* Step badge pill */
.ps-badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(34,197,94,0.65);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 50px;
  padding: 3px 10px;
  background: rgba(34,197,94,0.05);
  margin-bottom: 22px;
  position: relative; z-index: 1;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.process-step:hover .ps-badge {
  color: rgba(74,222,128,0.95);
  border-color: rgba(74,222,128,0.38);
  background: rgba(34,197,94,0.09);
  box-shadow: 0 0 12px rgba(34,197,94,0.14);
}

/* Icon box */
.ps-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.16);
  color: rgba(34,197,94,0.80);
  margin-bottom: 22px;
  position: relative; z-index: 1;
  transition: background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.process-step:hover .ps-icon-wrap {
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.40);
  color: #4ade80;
  box-shadow: 0 0 28px rgba(34,197,94,0.22), 0 0 0 4px rgba(34,197,94,0.06);
}

.ps-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.06em;
  color: #f0f0f8; margin-bottom: 12px;
  position: relative; z-index: 1;
  transition: color 0.3s;
}
.process-step:hover .ps-title { color: #fff; }

.ps-desc {
  font-size: 13px; line-height: 1.78;
  color: rgba(240,240,248,0.45);
  position: relative; z-index: 1;
  transition: color 0.3s;
}
.process-step:hover .ps-desc { color: rgba(240,240,248,0.62); }

/* Connector — hidden, replaced by border design */
.ps-connector { display: none; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .process-step:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.05); }
  .process-step:nth-child(even) { border-right: none; }
  .process-step:nth-child(3),
  .process-step:nth-child(4)    { border-top: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; border-radius: 14px; }
  .process-step { border-right: none !important; }
  .process-step:not(:first-child) { border-top: 1px solid rgba(255,255,255,0.05); }
  .ps-num { font-size: 5rem; }
}

/* ===== TESTIMONIALS ===== */
.testi-section {
  padding: 100px 6% 110px;
  background: linear-gradient(180deg, transparent 0%, rgba(34,197,94,0.02) 50%, transparent 100%);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.testi-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  opacity: 0; transform: translateY(20px);
}
.testi-card.revealed { opacity: 1; transform: translateY(0); }
.testi-card:hover {
  border-color: rgba(34,197,94,0.18);
  background: rgba(34,197,94,0.04);
  transform: translateY(-4px);
}

.testi-stars {
  font-size: 14px; letter-spacing: 2px;
  color: rgba(34,197,94,0.85);
}

.testi-text {
  font-size: 14px; line-height: 1.75;
  color: rgba(240,240,248,0.65);
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(20,83,45,0.35));
  border: 1px solid rgba(34,197,94,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; color: rgba(34,197,94,0.9);
  flex-shrink: 0;
}

.testi-info { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-size: 13px; font-weight: 600; color: #f0f0f8; }
.testi-role { font-size: 11px; color: rgba(240,240,248,0.40); letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ===== FOOTER ===== */
#footer { padding: 0; }

/* ── Background layer ── */
.ft-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.ft-blob {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.ft-blob-1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.16) 0%, transparent 70%);
  top: -160px; left: -80px;
  animation: ftBlob1 22s ease-in-out infinite;
}
.ft-blob-2 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.11) 0%, transparent 70%);
  bottom: -80px; right: 5%;
  animation: ftBlob2 28s ease-in-out infinite;
}
@keyframes ftBlob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(80px,40px) scale(1.1); }
}
@keyframes ftBlob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-60px,-30px) scale(1.08); }
}
.ft-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}
/* particles (JS-populated) */
.discord-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.discord-particle {
  position: absolute; border-radius: 50%;
  background: rgba(34,197,94,0.55);
  animation: dpFloat linear infinite; pointer-events: none;
}
@keyframes dpFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-300px) scale(0.6); opacity: 0; }
}
/* Moving scan highlight */
.ft-scan {
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.04), transparent);
  animation: ftScan 9s linear infinite;
}
@keyframes ftScan {
  to { left: 150%; }
}

/* ── Animated top border ── */
.ft-top-line {
  position: relative; z-index: 3; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,197,94,0.8) 20%,
    rgba(74,222,128,1.0) 50%,
    rgba(34,197,94,0.8) 80%,
    transparent 100%);
  background-size: 200% 100%;
  animation: ftLine 4s linear infinite;
}
@keyframes ftLine {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── Wrapper ── */
.ft-wrap {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 64px 48px 0;
}

/* ── Centered brand block ── */
.ft-center {
  text-align: center;
  padding: 56px 0 48px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ft-logo {
  font-size: 26px; font-weight: 800; letter-spacing: 0.06em;
  color: #fff; text-transform: uppercase;
}
.ft-logo span {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ft-tagline {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.38);
  max-width: 480px;
}
.ft-avail {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 11px;
  border-radius: 50px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  font-size: 12px; font-weight: 500;
  color: rgba(100,220,130,0.85);
}
.ft-avail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  flex-shrink: 0;
  animation: ftDotPulse 2s ease-in-out infinite;
}
@keyframes ftDotPulse {
  0%,100% { box-shadow: 0 0 5px rgba(34,197,94,0.8); transform: scale(1); }
  50%      { box-shadow: 0 0 14px rgba(34,197,94,1); transform: scale(1.25); }
}

/* ── Discord banner ── */
.ft-banner {
  position: relative;
  border-radius: 28px;
  padding: 2px;                          /* animated gradient "border" */
  margin-bottom: 0;
  background: linear-gradient(130deg,
    rgba(34,197,94,0.9),
    rgba(74,222,128,0.95),
    rgba(20,83,45,0.7),
    rgba(254,243,199,0.85),
    rgba(34,197,94,0.9));
  background-size: 300% 300%;
  animation: ftBannerBorder 5s ease infinite;
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.15),
    0 8px 60px rgba(34,197,94,0.28),
    0 0 120px rgba(34,197,94,0.12);
  transition: box-shadow 0.3s ease;
}
.ft-banner:hover {
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.25),
    0 12px 80px rgba(34,197,94,0.45),
    0 0 160px rgba(34,197,94,0.20);
}
@keyframes ftBannerBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glow orb inside banner */
.ft-banner-glow {
  position: absolute; inset: 0; border-radius: 28px;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
    rgba(34,197,94,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: ftBannerGlowPulse 4s ease-in-out infinite;
}
@keyframes ftBannerGlowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* Sweep shine on hover */
.ft-banner-shine {
  position: absolute; inset: 0; border-radius: 26px;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.ft-banner-shine::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.055),
    transparent);
  animation: ftBannerShine 4s ease-in-out infinite;
}
@keyframes ftBannerShine {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

/* Inner dark surface */
.ft-banner-inner {
  position: relative; z-index: 2;
  background: rgba(8, 8, 20, 0.90);
  border-radius: 26px;
  padding: 36px 48px;
  display: flex; align-items: center; gap: 36px;
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  overflow: hidden;
}
/* subtle noise texture */
.ft-banner-inner::before {
  content: '';
  position: absolute; inset: 0; border-radius: 26px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.025; pointer-events: none;
}

/* Discord icon circle */
.ft-banner-icon {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(34,197,94,0.10), 0 4px 24px rgba(34,197,94,0.50);
  animation: ftIconPulse 3s ease-in-out infinite;
}
.ft-banner-icon svg { width: 38px; height: 38px; color: #fff; }
@keyframes ftIconPulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(34,197,94,0.10), 0 4px 24px rgba(34,197,94,0.50); }
  50%      { box-shadow: 0 0 0 14px rgba(34,197,94,0.06), 0 4px 36px rgba(34,197,94,0.70); }
}

/* Text block */
.ft-banner-text { flex: 1; min-width: 0; }
.ft-banner-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 8px; line-height: 1.2;
}
.ft-banner-desc {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.42);
}

/* CTA right */
.ft-banner-cta {
  flex-shrink: 0;
  display: flex; align-items: center;
}
.ft-discord-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.03em; white-space: nowrap;
  transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
  box-shadow: 0 4px 28px rgba(34,197,94,0.60), 0 0 0 1px rgba(255,255,255,0.08);
}
.ft-discord-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 44px rgba(34,197,94,0.82), 0 0 0 1px rgba(255,255,255,0.14);
  filter: brightness(1.14);
}

/* ── Watermark ── */
.ft-watermark {
  position: relative;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.045);
  text-align: center; line-height: 1;
  padding: 16px 0 0;
  user-select: none; pointer-events: none; overflow: hidden;
}

/* ── Bottom bar ── */
.ft-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 32px; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0;
}
.ft-copy { font-size: 11px; color: rgba(255,255,255,0.22); letter-spacing: 0.06em; }
.ft-bottom-links { font-size: 11px; color: rgba(255,255,255,0.18); letter-spacing: 0.05em; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ft-banner-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 24px; }
  .ft-banner-cta { align-items: flex-start; }
  .ft-discord-user { text-align: left; }
}
@media (max-width: 640px) {
  .ft-wrap { padding: 0 16px; }
  .ft-center { padding: 40px 0 36px; }
  .ft-bottom { flex-direction: column; align-items: center; text-align: center; }
  .ft-watermark { font-size: 18vw; }
}

/* ===== FLOATING DISCORD WIDGET ===== */
.discord-float-widget {
  position: fixed;
  left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  pointer-events: auto;
}
.dfw-link {
  position: relative;
  display: flex; align-items: center;
  border-radius: 0 14px 14px 0;
  background: rgba(20,22,50,0.72);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(34,197,94,0.40);
  border-left: none;
  color: #fff;
  overflow: hidden;
  transition: background 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), border-color 0.3s;
  box-shadow:
    inset 0 1px 0 rgba(254,243,199,0.18),
    0 4px 28px rgba(34,197,94,0.28),
    0 1px 8px rgba(0,0,0,0.40);
  text-decoration: none;
}
.dfw-link:hover {
  background: rgba(34,197,94,0.22);
  border-color: rgba(34,197,94,0.65);
  box-shadow:
    inset 0 1px 0 rgba(254,243,199,0.26),
    0 6px 36px rgba(34,197,94,0.46),
    0 2px 12px rgba(0,0,0,0.45);
}
.dfw-icon {
  width: 48px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(254,243,199,0.88);
  transition: color 0.25s;
}
.dfw-link:hover .dfw-icon { color: #fff; }
.dfw-icon svg { width: 22px; height: 22px; }
.dfw-content {
  display: flex; flex-direction: column; gap: 1px;
  max-width: 0; overflow: hidden;
  transition: max-width 0.38s var(--ease-out), padding-right 0.38s var(--ease-out), opacity 0.28s;
  opacity: 0;
  white-space: nowrap;
}
.dfw-link:hover .dfw-content {
  max-width: 130px;
  padding-right: 18px;
  opacity: 1;
}
.dfw-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.10em;
  color: rgba(254,243,199,0.50); text-transform: uppercase;
}
.dfw-name {
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff;
}
.dfw-dot {
  position: absolute; top: 11px; right: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ba55c;
  box-shadow: 0 0 6px rgba(59,165,92,0.85);
  animation: dfwPulse 2.2s ease-in-out infinite;
}
@keyframes dfwPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.80); }
}

.magnetic { display: inline-block; }


/* ===== RESPONSIVE — MOBILE FIRST ===== */

/* Large desktop */
@media (min-width: 1280px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* Medium — tablet landscape */
@media (max-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  #gallery { padding: 80px 24px 60px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lightbox-container { padding: 54px 16px 16px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* Tablet — hero adjustments */
@media (max-width: 900px) {
  .hero-body { padding: 0; }
  .hero-brand-bar { padding: 0 20px; }
  .htag-1 { top: 13%; left: 4%; }
  .htag-2 { top: 72%; left: 4%; }
  .htag-3 { top: 13%; right: 4%; }
  .htag-4 { top: 70%; right: 4%; }
  .htag-5 { bottom: 18%; }
  .hero-watermark { font-size: clamp(100px, 20vw, 220px); }
}

/* Mobile — hero & new elements */
@media (max-width: 640px) {
  .hero-brand-bar { padding: 0 16px; top: calc(var(--nav-h) + 10px); }
  .hbb-year { display: none; }
  .hbb-name { font-size: 10px; letter-spacing: 0.16em; }
  .hero-watermark { font-size: 28vw; }
  .hero-scroll-hint { bottom: 16px; }
  /* On mobile show only 3 tags */
  .htag-4, .htag-5 { display: none; }
  .htag-1 { top: 10%; left: 3%; font-size: 8px; padding: 5px 10px; }
  .htag-2 { top: 76%; left: 3%; font-size: 8px; padding: 5px 10px; }
  .htag-3 { top: 10%; right: 3%; font-size: 8px; padding: 5px 10px; }
}

/* Mobile */
@media (max-width: 640px) {
  #gallery { padding: 60px 16px 50px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-title { font-size: 52px; }
  .discord-content { gap: 28px; }
  .discord-text h3 { font-size: 28px; }
  .discord-banner { padding: 50px 16px 36px; }
  .discord-glass-card { padding: 36px 24px; border-radius: 20px; margin-bottom: 28px; }
  body, a, button, .gallery-card, .cf-card, .process-step, .testi-card, .faq-q { cursor: auto; }
  a, button { cursor: pointer; }
  .cursor-ring, .cursor-dot { display: none; }
  .top-nav-inner { padding: 0 16px; }
  .discord-header-btn span { display: none; }
  .discord-header-btn { padding: 8px 12px; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 10px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-container { padding: 52px 8px 14px; }
  .hb-inner { font-size: clamp(64px, 18vw, 96px); }
  .hero-desc { font-size: 12.5px; }
  .hero-right .coverflow-scene { height: 260px !important; }
}

/* Very small */
@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  #navLogoText { font-size: 20px; }
  .hb-inner { font-size: 58px; }
}


/* ===================================================================
   LANGUAGE WIDGET
=================================================================== */
.lang-widget {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 10001;
  font-family: 'Inter', sans-serif;
}

/* ── Current language button ── */
.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px 5px 7px;
  background: rgba(10,10,18,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  cursor: pointer;
  color: #e0e0f0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.lang-current:hover {
  border-color: rgba(34,197,94,0.55);
  background: rgba(34,197,94,0.12);
  box-shadow: 0 0 16px rgba(34,197,94,0.20);
}
.lang-flag  { font-size: 15px; line-height: 1; }
.lang-code  { display: none; }
.lang-chevron {
  opacity: 0.55;
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}
.lang-chevron.rotated { transform: rotate(180deg); opacity: 0.9; }

/* ── Dropdown ── */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 152px;
  background: rgba(10,10,20,0.88);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(34,197,94,0.08);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  transform-origin: top right;
  transform: scale(0.88) translateY(-8px);
  opacity: 0;
  transition: transform 0.22s var(--ease-spring), opacity 0.18s ease;
  overflow: hidden;
}
.lang-dropdown.open {
  display: flex;
  animation: langDropIn 0.22s var(--ease-spring) forwards;
}
@keyframes langDropIn {
  from { transform: scale(0.88) translateY(-8px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  color: rgba(255,248,220,0.80);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  text-align: left;
}
.lang-option:hover {
  background: rgba(34,197,94,0.14);
  color: #e8e8ff;
}
.lang-option.active {
  color: #a8b0ff;
  font-weight: 600;
  background: rgba(34,197,94,0.10);
}
.lang-opt-flag { font-size: 16px; flex-shrink: 0; }
.lang-opt-name { flex: 1; }
.lang-opt-check {
  color: #22c55e;
  flex-shrink: 0;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .lang-widget { top: 10px; right: 10px; }
  .lang-current { padding: 5px 8px 5px 7px; }
  .lang-code { display: none; }
}


/* ===================================================================
   PRICING INFO POPUP
=================================================================== */
.pricing-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
  pointer-events: none;
}
.pricing-popup-overlay.visible {
  background: rgba(0,0,8,0.72);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  pointer-events: all;
}

/* card */
.pp-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(12,12,22,0.95);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 0 0 1px rgba(34,197,94,0.12),
    inset 0 1px 0 rgba(255,255,255,0.10);
  transform: scale(0.88) translateY(24px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1), opacity 0.32s ease;
}
.pricing-popup-overlay.visible .pp-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* glowing orbs inside card */
.pp-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}
.pp-orb-1 {
  width: 200px; height: 200px;
  background: rgba(34,197,94,0.22);
  top: -60px; right: -40px;
}
.pp-orb-2 {
  width: 150px; height: 150px;
  background: rgba(22,163,74,0.14);
  bottom: -40px; left: -30px;
}

.pp-inner {
  position: relative;
  z-index: 1;
  padding: 28px 28px 24px;
}

/* header row */
.pp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.pp-icon-wrap {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.30);
  display: flex; align-items: center; justify-content: center;
  color: #86efac;
}
.pp-title {
  font-size: 17px;
  font-weight: 700;
  color: #eeeeff;
  letter-spacing: -0.02em;
}

/* info rows */
.pp-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pp-row {
  display: flex;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.pp-row-package {
  background: rgba(34,197,94,0.07);
  border-color: rgba(34,197,94,0.18);
}
.pp-row-individual {
  background: rgba(255,160,50,0.07);
  border-color: rgba(255,160,50,0.18);
}
.pp-row-payment {
  background: rgba(148,163,184,0.07);
  border-color: rgba(148,163,184,0.20);
}

.pp-row-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.pp-row-package .pp-row-icon  { color: #5cb85c; }
.pp-row-individual .pp-row-icon { color: #22c55e; }
.pp-row-payment .pp-row-icon { color: #94a3b8; }

.pp-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pp-row-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #d8d8f0;
  letter-spacing: 0.01em;
}
.pp-row-package .pp-row-text strong  { color: #88d888; }
.pp-row-individual .pp-row-text strong { color: #f5b860; }
.pp-row-payment .pp-row-text strong { color: #94a3b8; }

.pp-row-text span {
  font-size: 13px;
  color: rgba(180,180,210,0.82);
  line-height: 1.55;
}

/* close button */
.pp-close-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #22c55e 0%, #7857ff 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(34,197,94,0.40);
}
.pp-close-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(34,197,94,0.55);
}
.pp-close-btn:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 500px) {
  .pp-inner { padding: 22px 18px 20px; }
  .pp-title  { font-size: 15px; }
}
