:root {
  --accent: #E8B84B;
  /* 🎨 CHANGE THEME COLOR HERE */
  --bg: #0a0a0c;
  --bg-card: #111115;
  --bg-surface: #1c1c22;
  --bg-light: #0a0a0aca;
  --border: rgba(255, 255, 255, 0.07);
  --border-a: rgba(232, 184, 75, 0.25);
  --text: #ffffff;
  --text-muted: #a0a0a8;
  --text-dim: #55555f;
  --glow: rgba(232, 184, 75, 0.15);
  --glow-s: rgba(232, 184, 75, 0.30);
  --font-d: 'Bebas Neue', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --r: 12px;
  --rs: 8px;
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-b);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #0a0a0c;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

/* ── TYPE ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  margin-bottom: 2.2rem;
}

.accent-text {
  color: var(--accent);
}

.body-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 1.1rem;
}

.body-text em {
  color: var(--text);
  font-style: normal;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  background: var(--accent);
  color: #0a0a0c;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--rs);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-s);
  background: #f0c55e;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  background: transparent;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-a);
  border-radius: var(--rs);
  transition: background .2s, color .2s, transform .2s;
}

.btn-outline:hover {
  background: var(--accent);
  color: #0a0a0c;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════
   PRELOADER — spinning rings around logo
═══════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

#preloader.slide-up {
  transform: translateY(-100%);
}

/* Outer spinning ring */
.preloader-ring-outer {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 184, 75, 0.12);
  border-top-color: var(--accent);
  border-right-color: rgba(232, 184, 75, 0.4);
  animation: spinCW 1.8s linear infinite;
}

/* Inner counter-spinning ring */
.preloader-ring-inner {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 75, 0.08);
  border-bottom-color: var(--accent);
  border-left-color: rgba(232, 184, 75, 0.3);
  animation: spinCCW 2.4s linear infinite;
}

@keyframes spinCW {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinCCW {
  to {
    transform: rotate(-360deg);
  }
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  padding-top: 15px;
  z-index: 1;
}

.preloader-zh {
  font-family: var(--font-d);
  font-size: 5.5rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.06em;
  opacity: 0;
  text-shadow: 0 0 50px var(--glow-s);
  animation: fadeInUp 0.7s ease 0.3s forwards;
}

.preloader-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.5s ease 0.7s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar below */
.preloader-bar {
  position: absolute;
  bottom: 14%;
  width: 100px;
  height: 1px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.4s ease 0.9s forwards;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: fillBar 1.5s ease 0.9s forwards;
}

@keyframes fillBar {
  to {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════
   HERO REVEAL STAGGER
═══════════════════════════════════════════ */
.hero-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.hero-reveal.animate {
  animation: heroIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
#back-top {
  position: fixed;
  bottom: 24px;
  right: 5rem;
  z-index: 300;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-a);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
}

#back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--glow);
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background .3s, border-color .3s;
}

#navbar.scrolled {
  background: rgba(10, 10, 12, 0.98);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.logo-zh {
  font-family: var(--font-d);
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: .05em;
  line-height: 1;
}

.logo-dot {
  font-family: var(--font-d);
  font-size: 2rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-hire {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-a);
  padding: 0.48rem 1.2rem;
  border-radius: var(--rs);
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.btn-hire:hover {
  background: var(--accent);
  color: #0a0a0c;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .3s, opacity .3s, background .2s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--accent);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--accent);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0a0a0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color .2s, border-color .2s;
}

.mobile-close:hover {
  color: var(--accent);
  border-color: var(--border-a);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mobile-link {
  font-family: var(--font-d);
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color .2s;
}

.mobile-link:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Vignette */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
  gap: 2rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translate(-50%, -50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 75, 0.07);
  box-shadow: inset 0 0 60px rgba(232, 184, 75, 0.04);
  pointer-events: none;
  z-index: 0;
  animation: ringRotate 18s linear infinite;
}

.hero-ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 75, 0.04);
  animation: ringRotate 28s linear infinite reverse;
}

.hero-ring::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 50%;
  border-top: 1.5px solid rgba(232, 184, 75, 0.18);
  border-right: 1.5px solid transparent;
  border-bottom: 1.5px solid transparent;
  border-left: 1.5px solid transparent;
}

@keyframes ringRotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 1rem;
  background: rgba(232, 184, 75, 0.07);
  border: 1px solid var(--border-a);
  border-radius: 99px;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  width: fit-content;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 75, .55);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(232, 184, 75, 0);
  }
}

/* Heading */
.hero-heading {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.hero-line {
  font-family: var(--font-d);
  font-size: clamp(3.8rem, 7.2vw, 8rem);
  letter-spacing: 0.04em;
  color: var(--text);
  display: block;
}

.hero-line.accent {
  color: var(--accent);
}

/* ── Accent shimmer — golden gradient sweep on key word ── */
.accent-shimmer {
  display: inline-block;
  background: linear-gradient(120deg,
      var(--accent) 0%,
      var(--accent) 30%,
      #fff5d4 50%,
      var(--accent) 70%,
      var(--accent) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-reveal.animate .accent-shimmer {
  animation: accentShimmer 3.5s ease 1.8s infinite;
}

@keyframes accentShimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* ── Animated accent underline ── */
.hero-accent-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(232, 184, 75, 0.05));
  transform: scaleX(0);
  transform-origin: left;
  margin-bottom: 7px;
}

.hero-reveal.animate .hero-accent-line {
  animation: accentLineReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

@keyframes accentLineReveal {
  to {
    transform: scaleX(1);
  }
}

/* Typed wrap — sits directly under heading */
.hero-typed-wrap {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: var(--accent);
  min-height: 1.6em;
  font-weight: 400;
  gap: 0;
}

.typed-dash {
  color: var(--text-dim);
  margin-right: 0.3rem;
}

.typed-cursor {
  color: var(--accent);
}

.hero-bio {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.82;
  max-width: 510px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-socials {
  display: flex;
  gap: 0.7rem;
}

.social-icon {
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color .2s, border-color .2s, transform .2s;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--border-a);
  transform: translateY(-2px);
}

/* ── Hero Visual ── */
.hero-right {
  position: relative;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
}

/* Film frames base */
.film-frame {
  position: absolute;
  border: 1px solid rgba(232, 184, 75, 0.22);
  background: rgba(14, 14, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(232, 184, 75, 0.07);
  transition: box-shadow .3s;
}

.film-frame:hover {
  box-shadow: 0 0 50px rgba(232, 184, 75, 0.18);
}

/* Frame thumbnail — fills top portion */
.frame-thumb {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.film-frame img {
  width: 100%;
}

/* Frame footer */
.frame-foot {
  padding: 0.55rem 0.75rem 0.6rem;
  background: rgba(10, 10, 14, 0.95);
  border-top: 1px solid rgba(232, 184, 75, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-shrink: 0;
}

.frame-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.frame-platform-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.frame-type-label {
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-prog {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
}

.frame-prog-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: width .3s;
}

/* Frame positions */
.frame-1 {
  width: 230px;
  height: 170px;
  top: 30px;
  left: 50px;
  z-index: 4;
  animation: float1 4s ease-in-out infinite;
}

.frame-2 {
  width: 165px;
  height: 175px;
  top: 5px;
  right: 25px;
  z-index: 3;
  animation: float2 3.6s ease-in-out infinite 0.7s;
}

.frame-3 {
  width: 195px;
  height: 150px;
  bottom: 145px;
  left: 10px;
  z-index: 2;
  animation: float3 4.4s ease-in-out infinite 0.3s;
}

.frame-4 {
  width: 170px;
  height: 145px;
  bottom: 60px;
  right: 50px;
  z-index: 3;
  animation: float4 3.9s ease-in-out infinite 1.1s;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-16px) rotate(0.5deg)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(1.5deg)
  }

  50% {
    transform: translateY(-20px) rotate(-0.5deg)
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg)
  }

  50% {
    transform: translateY(-12px) rotate(1deg)
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translateY(0) rotate(2deg)
  }

  50% {
    transform: translateY(-18px) rotate(0deg)
  }
}

/* Stat chips */
.stat-chip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-a);
  border-radius: 99px;
  padding: 0.38rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.chip-1 {
  top: 210px;
  left: 0;
  animation: float3 3.6s ease-in-out infinite 0.3s;
}

.chip-2 {
  top: 265px;
  right: 10px;
  animation: float2 4.2s ease-in-out infinite 0.9s;
}

.chip-3 {
  bottom: 50px;
  left: 95px;
  animation: float1 3.9s ease-in-out infinite 1.5s;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2rem;
  color: var(--text-dim);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  position: relative;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.hero-section {
  position: relative;
  background: url(Assets/Pics/heropreview.png) no-repeat center center / cover;
  border-radius: 8px;
  padding: 3rem 2.5rem;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.99) 0%, rgba(10, 10, 15, 0.6) 100%);
  pointer-events: none;
  z-index: -1;
}

.about-section * {
  position: relative;
  z-index: 1;
}

.about-section {
  background: url(Assets/Svgs/about-svg.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-left .section-title {
  margin-bottom: 1.6rem;
}

.about-left {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 3rem 2.5rem;
}

.about-right {
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.stat-card:hover {
  border-color: var(--border-a);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.tools-inline {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}

.tool-badge:hover {
  border-color: var(--border-a);
  color: var(--text);
}

.tool-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 900;
}

.tool-icon.pr {
  background: #2a0a4a;
  color: #a07fff;
}

.tool-icon.ae {
  background: #0a0a3a;
  color: #7fbfff;
}

.tool-icon.ps {
  background: #0a0a3a;
  color: #7fbfff;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: border-color .3s, transform .2s;
}

.stat-card:hover {
  border-color: var(--border-a);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-d);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
.skills-section {
  background: url(Assets/Svgs/skills-circles.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.skill-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-a);
  box-shadow: 0 12px 40px var(--glow);
}

.skill-icon {
  color: var(--accent);
  margin-bottom: 1.1rem;
  opacity: 0.9;
}

.skill-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.skill-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.76;
}

.skill-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .4s;
}

.skill-card:hover .skill-line {
  width: 100%;
}

/* ═══════════════════════════════════════════
   TOOLS
═══════════════════════════════════════════ */
.tools-section {
  background: url(Assets/Svgs/Tools-circles.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}

.tool-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  transition: border-color .3s, transform .2s;
}

.tool-card:hover {
  border-color: var(--border-a);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--glow);
}

.tool-app-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.pr-icon {
  background: #2a0a4a;
  color: #a07fff;
}

.ae-icon {
  background: #0a0a3a;
  color: #7fbfff;
}

.ps-icon {
  background: #0a1a3a;
  color: #31a8ff;
}

.tool-name {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.tool-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.76;
  margin-bottom: 0.9rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tool-tags span {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(232, 184, 75, 0.07);
  border: 1px solid rgba(232, 184, 75, 0.18);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}

.tab-btn {
  padding: 0.52rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  cursor: pointer;
  transition: all .2s;
}

.tab-btn:hover {
  color: var(--accent);
  border-color: var(--border-a);
}

.tab-btn.active {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-a);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

/* CSS-only placeholder thumbnails */
.thumb-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

.tp-yt {
  background: linear-gradient(135deg, #1a0800 0%, #3d1500 50%, #1a0000 100%);
}

.tp-tt {
  background: linear-gradient(135deg, #120038 0%, #2d0050 55%, #4a0020 100%);
}

.tp-pod {
  background: linear-gradient(135deg, #00122a 0%, #001e40 60%, #001228 100%);
}

.tp-mo {
  background: linear-gradient(135deg, #0a0020 0%, #1a0035 55%, #0a0020 100%);
}

/* Thumbnail shimmer overlay */
.thumb-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

/* Decorative lines on placeholders */
.thumb-placeholder::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg,
      var(--bg) 0, var(--bg) 7px,
      transparent 7px, transparent 11px);
  opacity: 0.25;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  z-index: 2;
}

.play-btn::before {
  content: '';
  position: absolute;
  width: 46px;
  height: 46px;
  background: rgba(232, 184, 75, 0.1);
  border: 1px solid rgba(232, 184, 75, 0.35);
  border-radius: 50%;
  transition: background .2s, transform .2s;
}

.play-btn svg {
  position: relative;
  z-index: 1;
  margin-left: 3px;
}

.project-card:hover .play-btn::before {
  background: rgba(232, 184, 75, 0.22);
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--border-a);
  border-radius: 4px;
  padding: 0.18rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  z-index: 3;
}

.project-info {
  padding: 1.3rem;
}

.project-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.project-desc {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.project-tags span {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.16rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-section {
  background: var(--bg);
}

.testimonials-swiper {
  padding-bottom: 3rem !important;
  overflow: visible !important;
}

.swiper-slide {
  height: auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.2rem 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color .3s;
}

.testimonial-card:hover {
  border-color: var(--border-a);
}

.quote-mark {
  font-family: var(--font-d);
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 0.6;
  opacity: 0.35;
  user-select: none;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.18), rgba(232, 184, 75, 0.04));
  border: 1px solid var(--border-a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 1.05rem;
  color: var(--accent);
}

.author-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.platform-badge {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0.8;
}

.swiper-pagination-bullet {
  background: var(--border) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 20px !important;
  border-radius: 3px !important;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section {
  background: #111115;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left .section-title {
  margin-bottom: 1rem;
}

.contact-left .body-text {
  max-width: 400px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.6rem 0 1.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color .2s;
}

.contact-item:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: 0.6rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 0.82rem 1rem;
  font-family: var(--font-b);
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355555f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  color: var(--text-dim);
  cursor: pointer;
}

.contact-form select option {
  background: var(--bg-card);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--border-a);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.07);
}

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

#form-status {
  font-size: 0.82rem;
  font-weight: 500;
  min-height: 1.4em;
  margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

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

.footer-links a {
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════ */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 3.5rem 2rem 3rem;
  }

  .hero-right {
    display: none;
  }

  .hero-line {
    font-size: clamp(3.2rem, 9.5vw, 5.5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links,
  .btn-hire {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .hero-grid {
    padding: 3rem 1.2rem 2.5rem;
  }

  .hero-line {
    font-size: clamp(2.8rem, 13.5vw, 4.5rem);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    justify-content: center;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1.3rem 1rem;
  }

  .stat-number {
    font-size: 2.3rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    display: none;
  }

  .tab-bar {
    gap: 0.35rem;
  }

  .tab-btn {
    font-size: 0.68rem;
    padding: 0.42rem 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  #back-top {
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

/* ═══════════════════════════════════════════
   PROJECT CARD — YOUTUBE THUMBNAIL IMAGE
   Replaces the old .thumb-placeholder divs.
   Cards are now built by JS from PROJECTS[].
═══════════════════════════════════════════ */
.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb-img {
  transform: scale(1.05);
}

/* 1:1 aspect ratio variant — for Instagram/TikTok square videos */
.project-thumb.ratio-1x1 {
  aspect-ratio: 1 / 1;
}


/* ═══════════════════════════════════════════
   PROJECT VIDEO MODAL
═══════════════════════════════════════════ */
#project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* Dark blurred backdrop */
#modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Modal content panel */
.modal-body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-a);
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#project-modal.open .modal-body {
  transform: scale(1) translateY(0);
}

/* Custom scrollbar inside modal */
.modal-body::-webkit-scrollbar {
  width: 3px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* Close button — top-right corner */
#modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.80);
  border: 1px solid var(--border-a);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#modal-close:hover {
  color: var(--accent);
  background: rgba(232, 184, 75, 0.12);
  border-color: var(--accent);
}

/* ── Video iframe wrapper ── */
.modal-video-wrap {
  width: 100%;
  position: relative;
  background: #000;
  flex-shrink: 0;
}

/* 16:9 landscape — YouTube, podcasts */
.modal-video-wrap.ar-16-9 {
  aspect-ratio: 16 / 9;
}

/* 1:1 square — Reels, TikTok reposts  */
.modal-video-wrap.ar-1-1 {
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
}

/* iframe fills its container perfectly */
.modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Project detail panel below the video ── */
.modal-details {
  padding: 1.5rem 1.7rem 1.9rem;
}

.modal-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Badge in modal detail area (no absolute positioning) */
.modal-badge-inline {
  flex-shrink: 0;
  background: rgba(232, 184, 75, 0.08);
  border: 1px solid var(--border-a);
  border-radius: 4px;
  padding: 0.22rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.modal-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1rem;
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MODAL
═══════════════════════════════════════════ */
@media (max-width: 968px) {
  .modal-body {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  #project-modal {
    padding: 0.8rem;
    align-items: flex-end;
  }

  .modal-body {
    border-radius: 14px 14px 0 0;
    max-height: 92vh;
  }

  .modal-video-wrap.ar-1-1 {
    max-width: 100%;
  }

  .modal-details {
    padding: 1.1rem 1.1rem 1.5rem;
  }

  .modal-title {
    font-size: 1rem;
  }
}