
/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg-main, #050505);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.25s ease-out;
}

.splash-content {
  text-align: center;
  font-family: "Original Surfer", cursive;
}

.splash-fade {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 20px;
  color: #ffffff;
}

.fade-word {
  opacity: 0;
  display: inline-block;
  animation: fadeInWord 0.7s forwards ease-out;
}

.fade-word:nth-child(1) { animation-delay: 0.2s; }
.fade-word:nth-child(2) { animation-delay: 0.6s; }
.fade-word:nth-child(3) { animation-delay: 1.0s; }

@keyframes fadeInWord {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.splash-type {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--orange);
  min-height: 40px;
  border-right: 3px solid transparent;
}
.splash-type.typing-active {
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--orange); }
}

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

:root {
  --orange: #f57c00;
  --orange-light: #ff9800;
  --orange-dim: rgba(245, 124, 0, 0.15);
  --blue: #29b6f6;
  --blue-dim: rgba(41, 182, 246, 0.15);
  --cyan: #00bcd4;
  --bg-dark: transparent; 
  --bg-card: rgba(13, 20, 36, 0.85); 
  --bg-card2: rgba(18, 27, 48, 0.85); 
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255,255,255,0.08);
  --nav-h: 68px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden; 
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: #030712;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =========================================
   PEACEFUL VILLAGE NIGHT VIEW BACKGROUND
   ========================================= */
.site-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: #02050f;
}

.village-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #02050f 0%, #081126 50%, #101c3d 100%);
  overflow: hidden;
}

.village-moon {
  position: absolute;
  top: clamp(40px, 8vh, 90px);
  right: clamp(24px, 8vw, 130px);
  width: clamp(65px, 9vw, 95px);
  height: clamp(65px, 9vw, 95px);
  background: #fdfdad;
  border-radius: 50%;
  box-shadow: 0 0 40px #fefec9, 0 0 100px rgba(254, 254, 201, 0.45);
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 2.5s infinite ease-in-out;
}
.star:nth-child(1) { top: 12%; left: 18%; width: 2px; height: 2px; animation-delay: 0.4s; }
.star:nth-child(2) { top: 22%; left: 38%; width: 3px; height: 3px; animation-delay: 1.1s; }
.star:nth-child(3) { top: 9%;  left: 62%; width: 2px; height: 2px; animation-delay: 0.7s; }
.star:nth-child(4) { top: 32%; left: 12%; width: 2px; height: 2px; animation-delay: 1.5s; }
.star:nth-child(5) { top: 18%; left: 82%; width: 3px; height: 3px; animation-delay: 0.2s; }
.star:nth-child(6) { top: 38%; left: 52%; width: 2px; height: 2px; animation-delay: 1.0s; }
.star:nth-child(7) { top: 28%; left: 72%; width: 2px; height: 2px; animation-delay: 1.8s; }
.star:nth-child(8) { top: 14%; left: 92%; width: 2px; height: 2px; animation-delay: 0.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.village-ground-back {
  position: absolute;
  bottom: 0; left: -20%; width: 140%; height: 28vh;
  background: #060c18;
  border-radius: 50% 50% 0 0 / 25% 25% 0 0;
  z-index: 1;
}

.village-ground {
  position: absolute;
  bottom: 0; left: -15%; width: 130%; height: 22vh;
  background: #090f1d;
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  z-index: 2;
}

.village-trees {
  position: absolute; bottom: 18vh; left: 6%; display: flex; align-items: flex-end; gap: -15px; z-index: 1;
}

.v-tree { width: 0; height: 0; position: relative; }
.v-tree.tree-1 { border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 110px solid #0d1527; }
.v-tree.tree-1::after { content: ''; position: absolute; bottom: -130px; left: -8px; width: 16px; height: 30px; background: #0d1527; }
.v-tree.tree-2 { border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 85px solid #080d19; margin-left: -16px; }
.v-tree.tree-2::after { content: ''; position: absolute; bottom: -100px; left: -6px; width: 12px; height: 22px; background: #080d19; }
.v-tree.tree-3 { border-left: 28px solid transparent; border-right: 28px solid transparent; border-bottom: 125px solid #070c17; margin-left: -18px; }
.v-tree.tree-3::after { content: ''; position: absolute; bottom: -140px; left: -8px; width: 16px; height: 25px; background: #070c17; }
.village-tree-right { position: absolute; bottom: 16vh; right: 8%; border-left: 32px solid transparent; border-right: 32px solid transparent; border-bottom: 135px solid #080d19; z-index: 1; }
.village-tree-right::after { content: ''; position: absolute; bottom: -155px; left: -9px; width: 18px; height: 30px; background: #080d19; }

.village-cottage {
  position: absolute; bottom: 18vh; left: clamp(38%, 46%, 60%); width: clamp(120px, 14vw, 160px); height: clamp(75px, 8.5vh, 95px); background: #0d1424; z-index: 3;
}
.cottage-roof {
  position: absolute; top: -42px; left: -10px; width: calc(100% + 20px); height: 0; border-left: 90px solid transparent; border-right: 90px solid transparent; border-bottom: 42px solid #070b14;
}
.cottage-chimney { position: absolute; top: -30px; right: 18px; width: 18px; height: 24px; background: #060911; z-index: -1; }
.cottage-smoke {
  position: absolute; top: -46px; right: 21px; width: 8px; height: 8px; background: rgba(255, 255, 255, 0.25); border-radius: 50%; filter: blur(2px); animation: float-smoke 4s infinite linear;
}

@keyframes float-smoke {
  0% { transform: translateY(0) scale(0.8); opacity: 0.6; }
  100% { transform: translateY(-30px) scale(2.2); opacity: 0; }
}

.cottage-window {
  position: absolute; top: 22px; left: 22%; width: 32px; height: 36px; background: #ffb703; border: 3px solid #070b14; box-shadow: 0 0 16px #ffb703, 0 0 35px rgba(255, 183, 3, 0.6);
}
.cottage-door {
  position: absolute; bottom: 0; right: 20%; width: 26px; height: 48px; background: #080d19; border-radius: 3px 3px 0 0; border-top: 2px solid #050811;
}

@media (max-width: 768px) {
  .village-moon { width: 60px; height: 60px; top: 50px; right: 20px; }
  .village-ground { height: 26vh; }
  .village-ground-back { height: 32vh; }
  .village-trees { bottom: 22vh; left: 2%; transform: scale(0.85); transform-origin: bottom left; }
  .village-tree-right { bottom: 20vh; right: 4%; transform: scale(0.85); transform-origin: bottom right; }
  .village-cottage { left: 50%; transform: translateX(-50%) scale(0.85); bottom: 21vh; }
}

.liquid-glass {
  position: absolute; inset: 0; z-index: 10;
  backdrop-filter: blur(12px) saturate(125%); -webkit-backdrop-filter: blur(12px) saturate(125%);
  background: linear-gradient(180deg, rgba(4, 7, 16, 0.55) 0%, rgba(5, 9, 20, 0.72) 45%, rgba(4, 7, 16, 0.88) 100%), radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.03), transparent 60%);
}
.liquid-glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.04) 0%, transparent 35%); mix-blend-mode: screen; pointer-events: none; }
.liquid-glass::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); pointer-events: none; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  background-color: rgba(255, 255, 255, 0.04); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0px 2px 10px rgba(255, 255, 255, 0.08), 0 4px 30px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.navbar::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 150px; height: 100%; background: rgba(255, 255, 255, 0.35); transform: skewX(-45deg); filter: blur(25px); animation: liquidShine 6s ease-in-out infinite; z-index: -1; 
}
@keyframes liquidShine { 0% { left: -100%; } 30%, 100% { left: 200%; } }
.nav-container { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 14px; font-weight: 700; }
.logo-subtitle { font-size: 11px; color: var(--text-dim); }
.nav-links { display: flex; flex-direction: row; align-items: center; gap: 10px; margin-left: auto; }
.nav-link { display: inline-block; font-family: 'Black Ops One', system-ui, sans-serif; font-size: 13.5px; font-weight: 400; letter-spacing: 0.04em; color: var(--text-secondary); padding: 8px 14px; border-radius: 8px; transform: translateX(var(--dock-x, 0px)) scale(var(--dock-scale, 1)); transform-origin: center center; will-change: transform; transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color var(--transition), background var(--transition); } /* --dock-x / --dock-scale are set by script.js (macOS Dock-style magnification) */
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
#checkbox2 { display: none; }
.toggle2 { position: relative; width: 44px; height: 44px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; transition-duration: .5s; margin-left: 20px; }
.bars { width: 100%; height: 4px; background-color: rgb(92, 176, 255); border-radius: 4px; }
#bar5 { transition-duration: .8s; }
#bar4, #bar6 { width: 80%; }
#checkbox2:checked + .toggle2 .bars { position: absolute; transition-duration: .5s; }
#checkbox2:checked + .toggle2 #bar5 { transform: scaleX(0); transition-duration: .5s; }
#checkbox2:checked + .toggle2 #bar4 { width: 100%; transform: rotate(45deg); transition-duration: .5s; }
#checkbox2:checked + .toggle2 #bar6 { width: 100%; transform: rotate(-45deg); transition-duration: .5s; }
#checkbox2:checked + .toggle2 { transition-duration: .5s; transform: rotate(180deg); }
.glass-radio-group {
  --bg: rgba(18, 25, 45, 0.85); --text: #e5e5e5; position: fixed; top: 90px; right: 20px; display: flex; flex-direction: column; background: var(--bg); border-radius: 1rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); width: 170px; transform: translateY(-20px) scale(0.95); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.37, 1.95, 0.66, 0.56); z-index: 999;
}
.glass-radio-group.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.glass-nav-link { padding: 1rem 1.6rem; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.glass-nav-link:last-child { border-bottom: none; }
.glass-nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Reel Carousel (Native integration) */
#reel-carousel {
  position: relative; width: 100%; height: 460px; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; overflow: visible;
}
#reel-deck {
  position: relative; flex: 1 1 auto; width: 100%; perspective: 1200px; pointer-events: auto;
}
.reel-item {
  position: absolute; top: 50%; left: 50%;
  width: 384px; height: 216px; margin: -108px 0 0 -192px;
  border-radius: 12px; background: #dda0dd; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; will-change: transform, opacity; box-shadow: 0 4px 12px rgba(0,0,0,0.4); user-select: none; cursor: pointer; border: 1px solid rgba(255,255,255,0.2);
}
.reel-item iframe {
  width: 100%; height: 100%; border: none; pointer-events: none; background: #000;
}
.reel-item.is-active { 
  cursor: default; 
  box-shadow: 0 12px 35px rgba(0,0,0,0.8), 0 0 30px rgba(245, 124, 0, 0.4); 
  border-color: rgba(245, 124, 0, 0.8); 
}
.reel-item.is-active iframe { pointer-events: auto; }

.controls {
  flex: 0 0 auto; display: flex; gap: 16px; justify-content: center; align-items: center; padding: 10px 12px 20px; pointer-events: auto; z-index: 100;
}
.controls .btn {
  display: none;
}
.btn-wrapper {
  --rad: 32px;
  --color-wrapper-border: #fff;
  --color-btn-bg: #f00;
  --color-btn-text: #000;
  --color-btn-text-shadow: #fff;
  --color-btn-inset-shadow: #558;
  --color-layer-a: #fff;
  --color-layer-b: #00f;
  --color-overlay-text: #000;
  --color-overlay-glow: #fff;
  --color-overlay-shadow: #0004;
  --color-overlay-highlight: #fff5;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  overflow-clip-margin: 4px;

  border: 2px solid var(--color-wrapper-border);
  border-radius: var(--rad);

  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;

  filter: saturate(0.65) brightness(1.8);
  transform: scale(0.6);
  margin: 0 -10px;
}

.gradient-btn {
  position: relative;
  z-index: -1;

  padding: 12px 36px;
  border: none;
  border-radius: var(--rad);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.15rem;

  color: var(--color-btn-text);
  background-color: var(--color-btn-bg);
  background-size: 200% 200%;
  box-shadow: inset 0 0 10px 9px var(--color-btn-inset-shadow);
  text-shadow: 0 1px 3px var(--color-btn-text-shadow);

  cursor: pointer;
  mix-blend-mode: color-dodge;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.gradient-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;

  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  border-radius: var(--rad);
  background-size: 200% 200%;
  mix-blend-mode: difference;
  z-index: 1;
}

.gradient-layer {
  position: absolute;
  pointer-events: none;

  left: -160px;
  width: 500%;
  aspect-ratio: 1;

  background: radial-gradient(
    ellipse at 65% 180%,
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-a)
  );

  mix-blend-mode: difference;
  animation: rotate 8s linear infinite;
}

.gradient-layer:last-child {
  mix-blend-mode: color-dodge;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.text-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 2;

  padding: 12px 36px;
  border-radius: var(--rad);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.15rem;

  color: var(--color-overlay-text);
  text-shadow: 0 0 4px var(--color-overlay-glow);
  box-shadow:
    inset 0 -4px 4px 0 var(--color-overlay-shadow),
    inset 0 4px 4px 0 var(--color-overlay-highlight);

  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
  animation: opacityPulse 5s ease infinite;
}

.btn-wrapper:hover .text-overlay {
  transform: scale(1.1);
}
.btn-wrapper:hover .gradient-btn {
  color: #0000;
  text-shadow: 0 0 0 #0000;
}

.btn-wrapper:active .text-overlay {
  transform: scale(0.95);
}
.btn-wrapper:active .gradient-btn {
  color: #0000;
  text-shadow: 0 0 0 #0000;
}

.light {
  position: absolute;

  pointer-events: none;
  z-index: 1;
  border-radius: 50px;
  width: 80%;
  height: 1.9rem;
  aspect-ratio: 1;
  background-color: #fff5;
  filter: blur(5px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
}

@keyframes opacityPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 900px) { #reel-carousel { height: 440px; } .reel-item { width: 320px; height: 180px; margin: -90px 0 0 -160px; } }
@media (max-width: 700px) { #reel-carousel { height: 400px; } .reel-item { width: 288px; height: 162px; margin: -81px 0 0 -144px; } }
@media (max-width: 400px) { #reel-carousel { height: 380px; } .reel-item { width: 240px; height: 135px; margin: -67px 0 0 -120px; } }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: var(--nav-h) 0 0; background: transparent; width: 100%; }
.hero-content { max-width: 1280px; margin: 0 auto; padding: 80px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: 100%; }
.hero-name { font-size: clamp(40px, 7vw, 88px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; word-wrap: break-word; }
.name-first { color: var(--blue); }
.hero-role { font-size: 18px; color: var(--orange); margin: 10px 0; }
.hero-description { color: var(--text-secondary); max-width: 460px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.toggle {
  display: inline-flex;
  position: relative;
  height: 56px;
  min-width: 140px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 30px;
  padding: 0 20px;
  margin: 5px;
}
.toggle:before {
  content: "";
  box-shadow: 0;
  border-radius: 30px;
  background: #fff;
  position: absolute;
  opacity: 0.2;
  inset: -4px;
  pointer-events: none;
  z-index: 2;
}
.toggle input {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  z-index: 3;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}
.toggle .button {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 3px 4px -1px rgba(255, 255, 255, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.8), inset 0 20px 30px 0 rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  position: absolute;
  background: #eaeaea;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
}
.toggle .label {
  transition: color 300ms ease-out, font-size 300ms ease-out;
  position: relative;
  font-weight: 700;
  font-size: 14px;
  display: block;
  opacity: 0.9;
  color: rgba(0, 0, 0, 0.9);
  z-index: 1;
  pointer-events: none;
}
.toggle:active .button, .toggle input:active ~ .button {
  filter: blur(0.5px);
  box-shadow: 0 12px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 30px 1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 25px 0 rgba(0, 0, 0, 0.4), inset 0 0 10px 1px rgba(255, 255, 255, 0.6);
}
.toggle:active .label, .toggle input:active ~ .label {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}
.toggle input:checked ~ .button {
  filter: blur(0.5px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 25px -1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 20px 0 rgba(0, 0, 0, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.6);
}
.toggle input:checked ~ .label {
  color: rgba(0, 0, 0, 0.8);
}

.toggle.filter-btn.active .button {
  filter: blur(0.5px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 25px -1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 20px 0 rgba(0, 0, 0, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.6);
}
.toggle.filter-btn.active .label {
  color: rgba(245, 124, 0, 1);
}

.hero-visual { display: flex; align-items: center; justify-content: center; gap: 40px; position: relative; }
.profile-ring { width: 250px; height: 250px; border-radius: 50%; border: 3px solid rgba(41,182,246,0.3); overflow: hidden; flex-shrink: 0; }
.profile-img { width: 100%; height: 100%; object-fit: cover; }

/* Common Sections */
.section { padding: 100px 0; background: transparent; width: 100%; }
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { color: var(--orange); background: var(--orange-dim); padding: 6px 16px; border-radius: 100px; font-size: 11px; }
.section-title { font-size: 40px; font-weight: 800; word-wrap: break-word; }
.accent { color: var(--orange); }

.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.glass-photo-wrap {
  width: 100%; max-width: 340px; aspect-ratio: 3 / 4; margin: 0 auto 30px;
  position: relative;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.03);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.glass-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--orange), transparent, #ff4081, transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: spin-ring 8s linear infinite;
}
.glass-photo-wrap:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 40px rgba(245, 124, 0, 0.2);
  border-color: rgba(245, 124, 0, 0.5);
}
.glass-photo-wrap:hover::after {
  opacity: 1;
}
.glass-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50%; display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
@keyframes spin-ring {
  100% { transform: rotate(360deg); }
}
.stat-card { padding: 20px; border-radius: 12px; text-align: center; margin-top: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.12), inset -1px -1px 6px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.25); transition: all var(--transition); }
.stat-card:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(245, 124, 0, 0.4); transform: translateY(-3px); }
.stat-number { font-size: 24px; color: var(--orange); font-weight: bold; }
.about-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.skill-card { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); transition: all var(--transition); }
.skill-card:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(245, 124, 0, 0.4); transform: translateY(-3px); }
.skill-bar-wrap { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.skill-bar { height: 100%; width: var(--pct); background: var(--orange); }
.tools-list { 
  display: flex; 
  gap: 14px; 
  justify-content: center; 
  flex-wrap: wrap; 
}
.tool-badge { 
  width: 295px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 18px; 
  border-radius: 100px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: flex-start;
  gap: 12px; 
  color: var(--text-secondary); 
  font-size: 13.5px;
  font-weight: 500; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(255, 255, 255, 0.12); 
  backdrop-filter: blur(14px); 
  -webkit-backdrop-filter: blur(14px); 
  transition: all var(--transition); 
}
.tool-badge:hover { 
  color: var(--text-primary); 
  background: rgba(255, 255, 255, 0.1); 
  border-color: rgba(245, 124, 0, 0.4); 
  transform: translateY(-3px); 
}
.tool-icon { 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0; 
  border-radius: 4px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); 
}

@media (max-width: 768px) {
  .tools-list {
    gap: 7px;
  }
  .tool-badge {
    width: 148px;
    height: 24px;
    padding: 0 8px;
    gap: 6px;
    font-size: 8px;
    border-radius: 50px;
  }
  .tool-icon {
    width: 10px;
    height: 10px;
  }
}
.portfolio-filter { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px;}
.portfolio-card { 
  background: var(--bg-card); 
  border-radius: 20px; 
  overflow: hidden; 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 124, 0, 0.25);
  border-color: rgba(245, 124, 0, 0.5);
  z-index: 10;
}
.portfolio-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(245, 124, 0, 0.1) 100%); pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}
.portfolio-card:hover::before { opacity: 1; }
.reel-container, .video-container { position: relative; background: #000; overflow: hidden; padding-bottom: 56.25%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.reel-container iframe, .video-container iframe { position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
.port-info { padding: 20px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { border-radius: var(--radius-lg); padding: 32px 24px; position: relative; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: all var(--transition); }
.service-card:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(245, 124, 0, 0.4); transform: translateY(-3px); }
.service-icon-wrap { font-size: 24px; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; word-break: break-all;}
.contact-icon { font-size: 24px; color: var(--orange); flex-shrink: 0;}
.social-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 12px; text-transform: uppercase; }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-btn { width: 48px; height: 48px; background: var(--bg-card2); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.social-btn:hover { border-color: var(--orange); transform: translateY(-4px); }
.social-icon { width: 24px; height: 24px; object-fit: contain; }
.form-group { margin-bottom: 16px; }
.form-input { width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); color: #fff; border-radius: 8px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .toggle2 { margin-left: auto; }
  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 100px 20px 40px; width: 100%; }
  .hero-name { font-size: clamp(32px, 10vw, 48px); }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; margin-bottom: 30px; }
  .btn-primary, .btn-secondary { width: 100%; font-size: 12px; }
  .hero-visual { flex-direction: column; gap: 24px; width: 100%; overflow: hidden; }
  .profile-ring { width: 180px; height: 180px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .glass-photo-wrap { max-width: 196px; padding: 8px; }
  .skills-grid, .portfolio-grid, .services-grid { grid-template-columns: 1fr; }
  .portfolio-filter { gap: 6px; }
  .toggle.filter-btn { height: 28px; min-width: 70px; padding: 0 10px; margin: 3px; border-radius: 15px; }
  .toggle.filter-btn:before { inset: -2px; border-radius: 15px; }
  .toggle.filter-btn .button { border-radius: 15px; box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.5), inset 0 -1px 2px -1px rgba(0, 0, 0, 0.2), 0 -5px 8px -1px rgba(255, 255, 255, 0.6), inset 0 1px 2px -1px rgba(255, 255, 255, 0.2), inset 0 0 2px 0 rgba(255, 255, 255, 0.8), inset 0 10px 15px 0 rgba(255, 255, 255, 0.2); }
  .toggle.filter-btn .label { font-size: 10px; }
  .toggle.filter-btn:active .button { box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.4), inset 0 -4px 15px 1px rgba(255, 255, 255, 0.9), 0 -5px 8px -1px rgba(255, 255, 255, 0.6), inset 0 4px 12px 0 rgba(0, 0, 0, 0.4), inset 0 0 5px 1px rgba(255, 255, 255, 0.6); }
  .toggle.filter-btn:active .label { font-size: 9px; }

  .toggle.filter-btn.active .button { box-shadow: 0 5px 12px -2px rgba(0, 0, 0, 0.4), inset 0 -4px 12px -1px rgba(255, 255, 255, 0.9), 0 -5px 8px -1px rgba(255, 255, 255, 0.6), inset 0 4px 10px 0 rgba(0, 0, 0, 0.2), inset 0 0 3px 1px rgba(255, 255, 255, 0.6); }
  .toggle.filter-btn.active .label { color: rgba(245, 124, 0, 1); font-size: 10px; }
  
  .section { padding: 60px 0; }
  .section-title { font-size: 32px; }
  .section-container { padding: 0 20px; }
}
@media (max-width: 400px) {
  .hero-name { font-size: 34px; }
}

.full-width-video { width: 100vw; max-width: 100%; margin: 0; padding: 0; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background: #000; }
.video-responsive-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-responsive-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-neon-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; pointer-events: none; border: 3px solid #ffde00; box-shadow: inset 0 0 15px rgba(255, 222, 0, 0.7), 0 0 15px rgba(255, 222, 0, 0.7); animation: neonPulsate 1.5s infinite alternate; }
@keyframes neonPulsate { 0% { box-shadow: inset 0 0 10px rgba(255, 222, 0, 0.4), 0 0 10px rgba(255, 222, 0, 0.4); border-color: rgba(255, 222, 0, 0.6); } 100% { box-shadow: inset 0 0 25px rgba(255, 222, 0, 1), inset 0 0 10px rgba(255, 222, 0, 0.8), 0 0 25px rgba(255, 222, 0, 1), 0 0 10px rgba(255, 222, 0, 0.8); border-color: #ffde00; } }

.site-footer { text-align: center; padding: 40px 20px 30px; border-top: 1px solid var(--border); background: transparent; position: relative; z-index: 5; }
.footer-container p { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.developer-credit { font-size: 13px !important; color: var(--text-dim) !important; display: flex; align-items: center; justify-content: center; gap: 6px; }
.glow-dot { display: inline-block; width: 6px; height: 6px; background-color: var(--blue); border-radius: 50%; box-shadow: 0 0 8px var(--blue); animation: pulseDot 2s infinite alternate; }
.dev-name { color: var(--orange); font-weight: 700; letter-spacing: 0.5px; transition: color var(--transition); }
.dev-name:hover { color: var(--blue); }
@keyframes pulseDot { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 1; } }

/* Home Intro Word Animation */
.home-intro { height: 100vh; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 0 24px 60px; position: relative; background: transparent; overflow: hidden; }
.light-text-animation { position: absolute; left: 0; right: 0; bottom: 22%; width: 100%; max-width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; text-align: center; pointer-events: none; background: transparent; overflow: hidden; z-index: 4; }
.light-text-word { margin: 0; padding: 0; font-family: 'Anton', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.9; font-size: clamp(2.2rem, 7vw, 6.8rem); color: transparent; -webkit-text-stroke: 1.4px #d7ff3f; position: relative; display: block; width: max-content; max-width: 100%; white-space: nowrap; text-align: center; background: transparent; box-sizing: border-box; }
.light-text-sweep { position: absolute; inset: 0; -webkit-text-stroke: 1.4px transparent; background: linear-gradient(100deg, transparent 30%, #ffffff 48%, #d7ff3f 52%, transparent 70%); background-size: 260% 100%; background-position: 130% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: asadullahTextSweep 4.5s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(215, 255, 63, 0.53)); }
@keyframes asadullahTextSweep { 0% { background-position: 160% 0; } 45% { background-position: -60% 0; } 100% { background-position: -60% 0; } }
.light-text-glow { position: absolute; inset: 0; -webkit-text-stroke: 1.4px #d7ff3f; color: transparent; filter: blur(7px); opacity: 0.55; animation: asadullahTextFlicker 3.2s ease-in-out infinite; }
@keyframes asadullahTextFlicker { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.75; } 52% { opacity: 0.3; } 54% { opacity: 0.7; } }
@keyframes bounce-scroll { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.scroll-explore { position: relative; z-index: 5; width: 100%; text-align: center; animation: bounce-scroll 2s infinite; margin-top: auto; }
.scroll-explore span { display: block; color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.scroll-explore svg { display: block; margin: 0 auto; }

@media (max-width: 700px) {
  .home-intro { padding: 0 16px 42px; }
  .light-text-animation { bottom: 23%; padding: 0 10px; }
  .light-text-word { font-size: clamp(2rem, 8.2vw, 4.8rem); letter-spacing: 0; -webkit-text-stroke-width: 1px; }
  .light-text-sweep, .light-text-glow { -webkit-text-stroke-width: 1px; }
}
@media (max-width: 400px) {
  .home-intro { padding-bottom: 38px; }
  .light-text-animation { bottom: 24%; padding: 0 6px; }
  .light-text-word { font-size: clamp(1.8rem, 8vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .light-text-sweep, .light-text-glow, .star, .cottage-smoke { animation: none; }
}




.hanging-btn {
  position: relative;
  display: inline-flex;
  padding: 10px 30px;
  background: #fec195;
  font-size: 15px;
  font-weight: 500;
  color: #181818;
  cursor: pointer;
  border: 1px solid #fec195;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
  text-decoration: none;
  margin-top: 5px;
  word-break: break-all;
}

.hanging-btn:hover {
  border: 1px solid #f3b182;
  background: linear-gradient(
    85deg,
    #fec195,
    #fcc196,
    #fabd92,
    #fac097,
    #fac39c
  );
  background-size: 200% 200%;
  animation: wind 2s ease-in-out infinite;
  color: #181818;
}

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

.hanging-btn .icon-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  transform-origin: 0 0;
  transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.hanging-btn:hover .icon-1 {
  animation: slay-1 3s cubic-bezier(0.52, 0, 0.58, 1) infinite;
  transform: rotate(10deg);
}

@keyframes slay-1 {
  0% { transform: rotate(10deg); }
  50% { transform: rotate(-5deg); }
  100% { transform: rotate(10deg); }
}

.hanging-btn .icon-2 {
  position: absolute;
  top: 0;
  left: 20px;
  width: 12px;
  transform-origin: 50% 0;
  transform: rotate(10deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.hanging-btn:hover .icon-2 {
  animation: slay-2 3s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-2 {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
  100% { transform: rotate(0); }
}

.hanging-btn .icon-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  transform-origin: 50% 0;
  transform: rotate(-5deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.hanging-btn:hover .icon-3 {
  animation: slay-3 2s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-3 {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}



.hanging-btn .fil0 { fill: #181818; }

/* ---- Performance: GPU layer hints ---- */
.reel-item,
.portfolio-card,
.glass-photo-wrap {
  will-change: transform;
}

.btn-wrapper {
  will-change: filter;
}

.hanging-btn .icon-1,
.hanging-btn .icon-2,
.hanging-btn .icon-3 {
  will-change: transform;
}

.gradient-layer {
  will-change: transform;
  transform: translateZ(0);
}

/* ---- Reduced motion accessibility + perf ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .splash-screen {
    display: none !important;
  }
}

/* ---- Assets Page Styles ---- */
.assets-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.asset-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.asset-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 124, 0, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 124, 0, 0.15);
}

.asset-preview {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #020617;
}

.asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.asset-card:hover .asset-preview img {
  transform: scale(1.05);
}

.asset-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.asset-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(245, 124, 0, 0.25);
  margin-bottom: 12px;
}

.asset-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.asset-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.asset-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.like-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}

.like-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.like-btn .filled {
  display: none;
  fill: #ef4444;
}

.like-btn.liked {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

.like-btn.liked .empty { display: none; }
.like-btn.liked .filled { display: inline-block; }

.btn-download {
  background: linear-gradient(135deg, var(--orange), #ff9800);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.3);
}

.btn-download:hover {
  background: linear-gradient(135deg, #ff9800, #ffa726);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 124, 0, 0.45);
}

@media (max-width: 992px) {
  .assets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .assets-grid {
    grid-template-columns: 1fr;
  }
  .assets-section {
    padding: 100px 16px 60px;
  }
}
