/* ==========================================================================
   DQA.ARCH — PORTFOLIO DESIGN SYSTEM & CSS STYLES
   Aesthetic: Cyber Architectural 3D Motion & Creative Tech
   ========================================================================== */

/* --- CSS RESET & VARIABLES --- */
:root {
  --font-oxanium: 'Oxanium', sans-serif;
  --font-syncopate: var(--font-oxanium);
  --font-space: var(--font-oxanium);

  --bg-dark: #050508;
  --bg-card: rgba(18, 20, 29, 0.7);
  --bg-card-hover: rgba(28, 32, 48, 0.85);

  --text-main: #f4f5f8;
  --text-muted: #9496a8;
  --text-dim: #606275;

  --accent-gold: #ffd700;

  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-cyan: hsl(120, 100%, 64%);
  --color-accent-bright: #ccff00;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 240, 255, 0.4);

  --kiguard-blur-val: 16px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   CYBERPUNK CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 5, 8, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(204, 255, 0, 0.4) 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.4);
  border: 1px solid rgba(204, 255, 0, 0.5);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  box-shadow: 0 0 18px var(--accent-cyan);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) rgba(5, 5, 8, 0.95);
}

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-oxanium);
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: none;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#bgShaderCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   HIGH-TECH CYBER PRELOADER
   ========================================================================== */
body.is-loading {
  overflow: hidden !important;
  height: 100vh;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050508;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.8s;
  will-change: opacity, transform, filter;
}

.preloader.fade-out {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(16px);
  visibility: hidden;
  pointer-events: none;
}

.preloader__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at bottom right, rgba(204, 255, 0, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.preloader__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 90%;
  max-width: 440px;
}

.loader-wrapper {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  --fill-color: var(--accent-cyan);
  --shine-color: rgba(204, 255, 0, 0.4);
  transform: scale(0.75);
  width: 100px;
  height: 100px;
  position: relative;
  filter: drop-shadow(0 0 16px var(--shine-color));
}

.loader #pegtopone {
  position: absolute;
  animation: flowe-one 1s linear infinite;
}

.loader #pegtoptwo {
  position: absolute;
  opacity: 0;
  transform: scale(0) translateY(-200px) translateX(-100px);
  animation: flowe-two 1s linear infinite;
  animation-delay: 0.3s;
}

.loader #pegtopthree {
  position: absolute;
  opacity: 0;
  transform: scale(0) translateY(-200px) translateX(100px);
  animation: flowe-three 1s linear infinite;
  animation-delay: 0.6s;
}

.loader svg g path:first-child {
  fill: var(--fill-color);
}

@keyframes flowe-one {
  0% {
    transform: scale(0.5) translateY(-200px);
    opacity: 0;
  }

  25% {
    transform: scale(0.75) translateY(-100px);
    opacity: 1;
  }

  50% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }

  75% {
    transform: scale(0.5) translateY(50px);
    opacity: 1;
  }

  100% {
    transform: scale(0) translateY(100px);
    opacity: 0;
  }
}

@keyframes flowe-two {
  0% {
    transform: scale(0.5) rotateZ(-10deg) translateY(-200px) translateX(-100px);
    opacity: 0;
  }

  25% {
    transform: scale(1) rotateZ(-5deg) translateY(-100px) translateX(-50px);
    opacity: 1;
  }

  50% {
    transform: scale(1) rotateZ(0deg) translateY(0px) translateX(-25px);
    opacity: 1;
  }

  75% {
    transform: scale(0.5) rotateZ(5deg) translateY(50px) translateX(0px);
    opacity: 1;
  }

  100% {
    transform: scale(0) rotateZ(10deg) translateY(100px) translateX(25px);
    opacity: 0;
  }
}

@keyframes flowe-three {
  0% {
    transform: scale(0.5) rotateZ(10deg) translateY(-200px) translateX(100px);
    opacity: 0;
  }

  25% {
    transform: scale(1) rotateZ(5deg) translateY(-100px) translateX(50px);
    opacity: 1;
  }

  50% {
    transform: scale(1) rotateZ(0deg) translateY(0px) translateX(25px);
    opacity: 1;
  }

  75% {
    transform: scale(0.5) rotateZ(-5deg) translateY(50px) translateX(0px);
    opacity: 1;
  }

  100% {
    transform: scale(0) rotateZ(-10deg) translateY(100px) translateX(-25px);
    opacity: 0;
  }
}

.preloader__meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.preloader__status {
  font-family: var(--font-oxanium);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-align: center;
  height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.preloader__bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff 0%, var(--accent-cyan) 100%);
  border-radius: 4px;
  box-shadow: 0 0 14px var(--accent-cyan);
  transition: width 0.1s linear;
}

.preloader__counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-oxanium);
  font-size: 0.75rem;
}

.preloader__code {
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.preloader__percent {
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--transition-smooth), width 0.3s, height 0.3s, border-color 0.3s;
}

body.hovering-link #cursor {
  width: 14px;
  height: 14px;
  background-color: var(--accent-cyan);
}

body.hovering-link #cursor-ring {
  width: 54px;
  height: 54px;
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   ROOT FIXED VIDEO & CANVAS BACKGROUND
   ========================================================================== */
.site-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: brightness(0.8) contrast(1.1);
  transition: opacity 0.5s ease;
}

#bgShaderCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.bg-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
}

.bg-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(5, 5, 8, 0.85) 90%);
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   ROOT FIXED HERO CONTENT
   ========================================================================== */
.root-hero-content {
  position: fixed;
  bottom: 4.5rem;
  left: 4rem;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  mix-blend-mode: difference;
}

.hero__prompt,

.hero__roles,

.hero__big-title {
  opacity: 0;

  transform: translateY(20px);
  will-change: opacity, transform;
  animation: fadeUp 1s var(--ease-out) both;
}

.hero__prompt {

  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
  animation-delay: 0.2s;
}

.hero__roles {

  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  animation-delay: 0.4s;
}

.hero__big-title {
  font-size: clamp(4.5rem, 20vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 0.9;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HEADER BLUR OVERLAY & HEADER
   ========================================================================== */
.header-blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  backdrop-filter: blur(var(--kiguard-blur-val, 16px));
  -webkit-backdrop-filter: blur(var(--kiguard-blur-val, 16px));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0));
  z-index: 90;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  will-change: opacity, transform;
  animation: fadeUp 0.6s var(--ease-out) 0.05s both;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__logo {

  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.logo-top {
  color: #ffffff;
}

.logo-arch {
  color: var(--accent-cyan);
}

.header-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.header-bar {
  width: 3px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  animation: soundBar 1.2s infinite ease-in-out alternate;
}

.header-bar:nth-child(1) {
  height: 60%;
  animation-delay: 0.1s;
}

.header-bar:nth-child(2) {
  height: 100%;
  animation-delay: 0.3s;
}

.header-bar:nth-child(3) {
  height: 40%;
  animation-delay: 0.5s;
}

@keyframes soundBar {
  0% {
    transform: scaleY(0.3);
  }

  100% {
    transform: scaleY(1);
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.3rem 0.6rem;
  backdrop-filter: blur(10px);
}

.lang-btn {

  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

.lang-switcher__divider {
  width: 1px;
  height: 12px;
  background: var(--border-subtle);
  margin: 0 0.2rem;
}

/* Menu Dropdown */
.menu-dropdown {
  position: relative;
}

.menu-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  background: rgba(18, 20, 29, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.menu-dropdown__trigger:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.menu-dropdown__caret {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.menu-dropdown.open .menu-dropdown__caret {
  transform: rotate(90deg);
}

.menu-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: 220px;
  background: rgba(12, 14, 22, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.8rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s var(--transition-smooth);
}

.menu-dropdown.open .menu-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;

  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.menu-dropdown__item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.nav-arrow {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(4px);
  transition: all 0.2s ease;
}

.menu-dropdown__item:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */
main {
  position: relative;
  z-index: 10;
}

.section-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 5;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.scroll-text {

  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* --- ABOUT SECTION --- */
.about {
  background: #050508;
  padding: 200px 0 120px;
  position: relative;
  z-index: 11;
}

.about__inner {
  max-width: 1750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about__title {

  font-size: 1.1rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.about__desc {
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 1600px;
}

.about__para {
  margin-bottom: 1.8rem;
}

.about__desc .hl {
  color: #ffffff;
  font-weight: 700;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About Stats Grid */
.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.3s var(--transition-smooth);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.stat-card__number {

  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.stat-card__label {

  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Skills */
.about__skills {
  margin-top: 1rem;
}

.skills-title {

  font-size: 0.9rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==========================================================================
   ABOUT SECTION ENHANCEMENTS: TECH ICONS, TIMELINE & SHOWCASE
   ========================================================================== */
.about__tech-stack,
.about__timeline-container,
.about__project-showcase {
  margin-top: 2rem;
}

/* 1. Borderless Floating Jar Showcase Stage */
.about__tech-stack {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.tech-jar-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 580px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

#techJarCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.jar-svg-wrapper {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.45));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.tech-jar-stage:hover .jar-svg-wrapper {
  transform: translateY(-10px) scale(1.08);
  filter: drop-shadow(0 0 55px rgba(204, 255, 0, 0.65));
}

.tech-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.tech-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(18, 22, 34, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.tech-card__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-color, var(--accent-cyan));
  opacity: 0.35;
  transition: all 0.35s ease;
}

.tech-card:hover {
  background: rgba(22, 28, 44, 0.85);
  border-color: var(--brand-color, var(--accent-cyan));
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}

.tech-card:hover .tech-card__bar {
  opacity: 1;
  height: 3px;
  box-shadow: 0 0 12px var(--brand-color, var(--accent-cyan));
}

.tech-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.tech-card:hover .tech-card__icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-color, var(--accent-cyan));
  transform: scale(1.1) rotate(4deg);
}

.tech-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.tech-level {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-color, var(--accent-cyan));
  letter-spacing: 0.1em;
}

/* 2. Cyber Timeline */
.cyber-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  padding-left: 0.5rem;
}

.timeline-item {
  display: flex;
  gap: 1.8rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  z-index: 2;
}

.timeline-item:hover .marker-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 20px #ffffff;
}

.marker-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.5) 0%, rgba(255, 255, 255, 0.05) 100%);
  margin-top: 0.4rem;
}

.timeline-item:last-child .marker-line {
  display: none;
}

.timeline-content {
  background: rgba(10, 14, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content:hover {
  border-color: rgba(204, 255, 0, 0.6);
  background: rgba(16, 22, 34, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
}

.timeline-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #050508;
  background: var(--accent-cyan);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  letter-spacing: 0.08em;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3. Project Showcase Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(14, 18, 30, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(20, 28, 44, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.showcase-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
}

.showcase-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 0.3rem 0.7rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  letter-spacing: 0.1em;
}

.showcase-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.showcase-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-tech span {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--text-main);
}

.skill-tag {

  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

/* --- WORK HORIZONTAL PINNED SCROLL SECTION --- */
.work {
  position: relative;
  padding: 6rem 0 8rem 0;
  background: #050508;
  overflow: hidden;
}

.work__inner {
  width: 100%;
  max-width: 100%;
  padding: 0 4rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.horizontal-scroll-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-oxanium);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.horizontal-progress-bar {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.horizontal-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff 0%, var(--accent-cyan) 100%);
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: width 0.1s linear;
}

.work-horizontal-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem 0;
}

.work-horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.work-horizontal-track .work-item {
  width: clamp(380px, 45vw, 680px);
  flex-shrink: 0;
}

.work-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--transition-smooth);
  cursor: pointer;
}

.work-item.hidden {
  display: none !important;
}

.work-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
}

.work-item__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.work-item__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth), opacity 0.4s ease;
}

.work-item:hover .work-item__thumb {
  transform: scale(1.06);
  opacity: 0.8;
}

.work-item__canvas-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.work-item:hover .work-item__canvas-preview {
  opacity: 1;
}

.work-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 2rem;
  background: linear-gradient(to top, rgba(7, 8, 12, 0.95) 0%, rgba(7, 8, 12, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.work-item__overlay-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.work-item__overlay-title {

  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.work-item__overlay-sub {

  font-size: 0.8rem;
  color: var(--text-muted);
}

.work-item__overlay-cat {

  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 0.4rem 0.8rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  letter-spacing: 0.1em;
}

/* --- KKCLASS SECTION --- */
.kkclass {
  position: relative;
  padding: 8rem 4rem;
  background: #050508;
}

.kkclass__inner {
  max-width: 1750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kkclass__badge {
  display: inline-block;

  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-purple);
  padding: 0.4rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.kkclass__title {

  font-size: 1.1rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.kkclass__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 1200px;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.kkclass__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.kkcard {
  background: rgba(22, 19, 40, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s var(--transition-smooth);
}

.kkcard:hover {
  background: rgba(32, 28, 60, 0.8);
  border-color: var(--accent-purple);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2);
}

.kkcard__icon {

  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-purple);
}

.kkcard__title {

  font-size: 1.2rem;
  color: #ffffff;

}

.kkcard__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.kkclass__cta {
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #050508;
  background: var(--accent-cyan);
  border-radius: 40px;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transition: all 0.3s var(--transition-smooth);
  cursor: pointer;
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.02);
}

/* --- DEVAPPS SECTION --- */
.devapps {
  position: relative;
  padding: 8rem 4rem;
  background: var(--bg-dark);
}

.devapps__inner {
  max-width: 1750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.devapps__title {

  font-size: 1.1rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.devapps__sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

.lab-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lab-viewport {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: #08090f;
}

#labCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lab-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(12, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.lab-control-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  font-size: 0.8rem;
  color: var(--text-muted);
}

.lab-control-group input[type="range"] {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.lab-control-group select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  color: #ffffff;
  cursor: pointer;
}

/* --- REGISTER SECTION --- */
.register {
  position: relative;
  padding: 100px 0 0 0;
  background: #050508;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.register__inner {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto 3rem;
  padding: 0 4rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.register__box {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.register__title {

  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;

}

.register__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

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

.form-group label {

  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group select option {
  background: #0d0e15;
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-submit {
  padding: 1.2rem;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, #0088ff 100%);
  color: #050508;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  margin-top: 1rem;
}

.btn-submit:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

/* --- FOOTER --- */
.site-footer {
  padding: 4rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {

  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-copy {

  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.social-link {

  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

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

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(20px);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 88vh;
  background: rgba(18, 22, 34, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3rem;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 240, 255, 0.25);
  z-index: 2;
  transform: scale(0.92);
  transition: transform 0.4s var(--transition-smooth);
}

.modal.active .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.8rem;
  background: rgba(0, 240, 255, 0.9);
  color: #050508;

  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.5rem 2rem;
  }

  .root-hero-content {
    left: 2rem;
    bottom: 3rem;
  }

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

  .about,
  .work,
  .kkclass,
  .devapps,
  .register {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .root-hero-content {
    left: 1.5rem;
    bottom: 2rem;
  }

  .hero__big-title {
    font-size: 3.2rem;
  }

  .site-header {
    padding: 1.2rem 1.5rem;
  }

  .about__desc {
    font-size: 1.2rem;
  }

  .lab-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .register__box {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   INTERACTIVE LANYARD & ACCESS CONTROL CARD
   ========================================================================== */
.badge-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

#lanyardCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

.access-badge {
  position: absolute;
  top: 240px;
  right: 120px;
  width: 340px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 2.2rem 1.1rem 1.1rem 1.1rem;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  z-index: 10;
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(204, 255, 0, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transform-origin: top center;
  will-change: transform, left, top;
  touch-action: none;
}

.access-badge:active,
.access-badge.dragging {
  cursor: grabbing;
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(204, 255, 0, 0.4);
}

/* Metallic Swivel Hook Clip */
.carabiner-hook {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 32px;
  z-index: 15;
  pointer-events: none;
}

.swivel-base {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ddddee 0%, #666677 50%, #222233 100%);
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), inset 0 1px 1px #fff;
  border: 1px solid #111;
}

.metal-latch {
  width: 18px;
  height: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #888899 50%, #333344 100%);
  border-radius: 4px;
  margin: -4px auto 0 auto;
  border: 1px solid #222;
  box-shadow: inset 0 1px 2px #fff;
}

/* Vinyl Pouch Header Seal Line & Oval Hole */
.pouch-header {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 12;
}

.pouch-hole {
  width: 52px;
  height: 12px;
  background: rgba(0, 0, 0, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pouch-weld-line {
  width: 92%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin-top: 12px;
}

/* Inner Matte Pass Insert */
.badge-card-inner {
  position: relative;
  width: 100%;
  background: linear-gradient(145deg, #181d2a 0%, #0d101a 100%);
  border: 1.5px solid rgba(204, 255, 0, 0.4);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7);
}

/* Holographic Rainbow Overlay Sheen */
.hologram-sheen {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(255, 0, 150, 0.12) 38%,
      rgba(0, 240, 255, 0.16) 48%,
      rgba(204, 255, 0, 0.12) 58%,
      transparent 80%);
  pointer-events: none;
  opacity: 0.75;
  transform: rotate(25deg);
  transition: opacity 0.3s ease;
}

.access-badge:hover .hologram-sheen {
  opacity: 1;
  animation: holoShift 2.2s infinite linear;
}

@keyframes holoShift {
  0% {
    transform: translateY(-25%) rotate(25deg);
  }

  100% {
    transform: translateY(25%) rotate(25deg);
  }
}

/* Background Cyber Mesh */
.card-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(204, 255, 0, 0.08) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}

/* Top Row */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Gold EMV Security Chip */
.emv-chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #e6b800 0%, #ffd700 45%, #b38f00 100%);
  border-radius: 6px;
  border: 1px solid #997a00;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.7), 0 3px 6px rgba(0, 0, 0, 0.5);
}

.chip-grid {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 45%, #886600 45%, #886600 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #886600 45%, #886600 55%, transparent 55%);
}

.card-brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
}

.holo-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  background: rgba(204, 255, 0, 0.15);
  border: 1px solid var(--accent-cyan);
  border-radius: 6px;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.25);
}

/* Profile Section */
.card-main {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 16px rgba(204, 255, 0, 0.3);
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 4px 0 0 0;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.card-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.card-tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.tag-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: rgba(204, 255, 0, 0.12);
  border: 1px solid rgba(204, 255, 0, 0.35);
  border-radius: 5px;
  color: var(--accent-cyan);
}

/* Specs Row */
.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-item label {
  font-size: 0.52rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.meta-item span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.status-active {
  color: var(--accent-cyan) !important;
}

/* Bottom Barcode & NFC */
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 2;
}

.nfc-chip-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.card-barcode {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.card-barcode .bars {
  display: flex;
  gap: 2.5px;
  height: 20px;
  align-items: center;
}

.card-barcode .bars span {
  width: 2.5px;
  height: 100%;
  background: #ffffff;
  opacity: 0.85;
}

.card-barcode .bars span:nth-child(even) {
  width: 1.5px;
}

.card-barcode .bars span:nth-child(3n) {
  width: 3.5px;
}

.barcode-num {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ==========================================================================
   DOWNLOAD CV BUTTON STYLES
   ========================================================================== */
.btn-download-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(204, 255, 0, 0.08);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.15);
}

.btn-download-cv:hover {
  background: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.6);
  transform: translateY(-2px) scale(1.04);
}

.hero__cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

.btn-cv-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  background: rgba(204, 255, 0, 0.08);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 30px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
  pointer-events: auto;
  cursor: pointer;
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.btn-cv-hero:hover {
  background: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.65);
  transform: translateY(-3px) scale(1.04);
}

.about__actions {
  margin-top: 2.5rem;
  display: flex;
}

.btn-about-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000000;
  background: var(--accent-cyan);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-about-cv:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.7);
  transform: translateY(-3px) scale(1.04);
}

@media (max-width: 768px) {
  .access-badge {
    right: 20px;
    top: 100px;
    width: 230px;
  }
}

/* Cyber Glitch Flash Overlay */
/* ==========================================================================
   NORMAL CONTINUOUS SMOOTH SCROLL SECTIONS
   ========================================================================== */
main {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero,
.about,
.work,
.kkclass {
  position: relative;
  width: 100%;
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  filter: none;
}

/* ==========================================================================
   CYBERPUNK FOOTER STYLES
   ========================================================================== */
/* ==========================================================================
   MINIMAL ELEGANT FOOTER STYLES
   ========================================================================== */
/* ==========================================================================
   BORDERLESS SEAMLESS CYBERPUNK FOOTER
   ========================================================================== */
.cyber-footer {
  width: 100%;
  background: #050508;
  position: relative;
  z-index: 5;
  padding: 5rem 2rem 3rem 2rem;
  border: none !important;
  box-shadow: none !important;
}

.footer-container {
  max-width: 1750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
  gap: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.status-indicator {
  font-size: 0.65rem;
  color: var(--accent-cyan);
  animation: pulseDot 1.5s infinite alternate;
}

.status-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.info-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-val:hover {
  color: var(--accent-cyan);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-socials a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.footer-bottom {
  padding-top: 2rem;
  border: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: none !important;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   INTERSECTING RED CROSSED MARQUEE RIBBONS BANNER
   ========================================================================== */
.crossed-ribbon-banner {
  position: relative;
  width: 100%;
  padding: 7rem 0;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
}

.ribbon-track {
  position: absolute;
  width: 160%;
  left: -30%;
  display: flex;
  overflow: hidden;
  user-select: none;
}

/* Top Ribbon (angled -3.5 deg) */
.ribbon-top {
  top: 50%;
  transform: translateY(-50%) rotate(-3.5deg);
  background: linear-gradient(90deg, #990000 0%, #d32f2f 40%, #ef5350 70%, #990000 100%);
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.5);
  z-index: 2;
}

/* Bottom Ribbon (angled 3.5 deg, crossing Ribbon 1) */
.ribbon-bottom {
  top: 50%;
  transform: translateY(-50%) rotate(3.5deg);
  background: linear-gradient(90deg, #7b1fa2 0%, #c2185b 40%, #e91e63 70%, #880e4f 100%);
  padding: 1rem 0;
  box-shadow: 0 12px 35px rgba(194, 24, 91, 0.5);
  z-index: 1;
}

.ribbon-content {
  display: flex;
  white-space: nowrap;
  gap: 2.5rem;
}

.ribbon-content span {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.ribbon-content .star {
  color: #ffffff;
  font-size: 1rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

/* Infinite Marquee Animations */
.marquee-left {
  animation: scrollRibbonLeft 20s linear infinite;
}

.marquee-right {
  animation: scrollRibbonRight 24s linear infinite;
}

@keyframes scrollRibbonLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRibbonRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .crossed-ribbon-banner {
    padding: 3.5rem 0;
  }

  .ribbon-track {
    width: 180%;
    left: -40%;
  }

  .ribbon-content span {
    font-size: 0.92rem;
    gap: 1.2rem;
  }
}