/* ─────────────────────────────────────────
   NEOBRUTALISM PORTFOLIO — STYLE.CSS
   Ahmet Odabaşıoğlu
───────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  --yellow: #FFBD00;
  --yellow-light: #FFF3CC;
  --blue: #3B9EFF;
  --blue-light: #D6ECFF;
  --pink: #FF3D87;
  --pink-light: #FFD6E9;
  --black: #0D0D0D;
  --white: #ffffff;
  --off-white: #ffffff;
  --yellow-white: #ffffff;
  --gray: #B8B5AD;
  --gray-light: #E8E5DF;
  --gap-gray: #E0E0E0;

  --border: 3px solid var(--black);
  --border-thin: 2px solid var(--black);
  --shadow: 5px 5px 0px var(--black);
  --shadow-lg: 8px 8px 0px var(--black);
  --shadow-sm: 3px 3px 0px var(--black);

  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-h: 72px;
  --section-pad: 100px 5vw;
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--gap-gray);
}

body {
  font-family: var(--font-sans);
  background: var(--gap-gray);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 0;
}

/* ─────────────────────────────────── */
/*  NAVIGATION                         */
/* ─────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 1000;
  transition: box-shadow .25s;
}

#main-nav.scrolled {
  border-bottom: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-bracket {
  color: var(--yellow);
}

/* ── MOBILE AVATAR (In-content on mobile) ── */
.mobile-hero-visual {
  display: none;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.nav-links a:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--white);
  border: 3px solid var(--black);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lang-switch-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--black);
  background: var(--pink-light);
}

.lang-switch-btn svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-switch-btn:hover svg {
  transform: rotate(20deg) scale(1.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width .25s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--yellow);
  border: var(--border);
  padding: 8px 20px !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-cta:hover {
  transform: translate(-3px, -3px) scale(1.05);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--black);
  color: var(--white);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 0;
  transition: all .25s;
}

/* ─────────────────────────────────── */
/*  SECTION SHARED                     */
/* ─────────────────────────────────── */
section {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

section:first-of-type {
  padding-top: calc(var(--nav-h) + 60px);
}

#gap-1,
#gap-2,
#gap-3,
#gap-4 {
  background: var(--gap-gray);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 3px;
  background: var(--black);
}

/* ─────────────────────────────────── */
/*  HERO                               */
/* ─────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto auto;
  gap: 2rem 4rem;
  align-items: center;
  padding-top: calc(var(--nav-h) + 100px);
  /* Increased to prevent overlap */
  padding-bottom: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
  position: relative;
  background: var(--white);
}

.hero-marquee-wrapper {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--white);
  padding: 20px 0;
  z-index: 10;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.hero-scroll-hint {
  grid-row: 3;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 10px;
  gap: 12px;
  color: var(--black);
  z-index: 12;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Override existing absolute positioning for hint */
.hero-scroll-hint {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

.hero-scroll-hint:hover {
  transform: translateY(5px);
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: var(--border-thin);
  border-radius: 0;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

  50% {
    opacity: .5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.highlight-yellow {
  background: var(--yellow);
  padding: 0 8px;
  display: inline-block;
  border: var(--border-thin);
  transform: rotate(-1deg);
  margin-bottom: 4px;
}

.highlight-blue {
  color: var(--blue);
}

.highlight-pink {
  color: var(--pink);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  color: var(--black);
  background: var(--blue-light);
  border: var(--border-thin);
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.hero-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3d3d3d;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ──── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: var(--border);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  gap: 10px;
}

.btn:hover {
  transform: translate(-5px, -5px) scale(1.02);
  box-shadow: 10px 10px 0 var(--black);
}

.btn:active {
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--black);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-outline {
  background: var(--white);
  color: var(--black);
}

/* ── HERO MARQUEE ── */
/* Handled in Hero section grid */
.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  min-width: 100%;
}

.marquee-track-left {
  animation: scroll-left 60s linear infinite;
}

.marquee-track-right {
  animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

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

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border: 2px solid var(--black);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotate(var(--tilt, -1deg));
  cursor: pointer;
  white-space: nowrap;
}

.pill:hover {
  transform: scale(1.1) rotate(0deg) translate(-5px, -5px);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--yellow);
  z-index: 5;
}

.pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Random tilts for the sticker look */
.pill:nth-of-type(3n) {
  --tilt: 2deg;
}

.pill:nth-of-type(3n+1) {
  --tilt: -2.5deg;
}

.pill:nth-of-type(3n+2) {
  --tilt: 1.5deg;
}

/* ── HERO VISUAL ── */
.mobile-hero-visual {
  display: none;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 330px;
  height: 380px;
  z-index: 10;
  margin: 0 40px;
}

.avatar-card {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 4px solid var(--black);
  box-shadow: 12px 12px 0 var(--black), 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 5;
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: -8px;
}

.avatar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent; /* Overlay removed for illustration clarity */
  pointer-events: none;
  z-index: 6;
}

/* Subtle Shimmer/Glow on Hover */
.avatar-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
  z-index: 7;
  transition: all 0.6s ease;
  pointer-events: none;
  transform: rotate(-45deg);
  opacity: 0;
}

.avatar-wrapper:hover .avatar-card::before {
  top: -50%;
  left: -50%;
  opacity: 1;
}

.avatar-wrapper:hover .avatar-card {
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0 var(--black);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Realistic Torn Tape Overlay */
.avatar-tape {
  position: absolute;
  top: -10px;
  right: -30px;
  width: 160px;
  height: 44px;
  background: rgba(255, 235, 59, 0.75); /* Refined yellow */
  border: none;
  transform: rotate(6deg);
  z-index: 20;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  mix-blend-mode: multiply;
  clip-path: polygon(
    2% 8%, 15% 2%, 28% 9%, 42% 3%, 55% 8%, 68% 1%, 82% 7%, 95% 2%, 100% 10%,
    98% 35%, 100% 65%, 97% 90%, 85% 98%, 72% 92%, 58% 99%, 45% 91%, 32% 97%, 18% 93%, 5% 99%, 0% 85%,
    2% 60%, 0% 30%
  );
}

.avatar-wrapper:hover .avatar-tape {
  transform: rotate(8deg) translate(-2px, -2px);
}

.avatar-deco {
  position: absolute;
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.7);
  z-index: 15;
}

.avatar-deco:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

/* ──── PREMIUM MICRO-ANIMATIONS ──── */
@keyframes pop-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

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

.pop-pulse {
  animation: pop-pulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Decos in front of card */
.deco-blue {
  background: var(--blue-light);
  color: var(--black);
  width: 80px;
  height: 60px;
  top: 40px;
  left: -35px;
  /* Pull it slightly into the card */
  transform: rotate(-10deg);
  z-index: 15;
  /* Front */
}

.deco-yellow {
  background: var(--yellow);
  color: var(--black);
  width: 70px;
  height: 70px;
  top: 150px;
  right: -30px;
  /* Pull it slightly into the card */
  transform: rotate(8deg);
  z-index: 15;
  /* Front */
}

/* Deco behind card */
.deco-pink {
  background: var(--pink-light);
  color: var(--black);
  width: 75px;
  height: 75px;
  bottom: 50px;
  left: -40px;
  transform: rotate(-8deg);
  z-index: 1;
  /* Behind */
}

.avatar-wrapper:hover .deco-blue {
  transform: rotate(-15deg) translate(-5px, -5px);
}

.avatar-wrapper:hover .deco-yellow {
  transform: rotate(12deg) translate(5px, 0);
}

.avatar-wrapper:hover .deco-pink {
  transform: rotate(-12deg) translate(-5px, 5px);
}

/* ── SCROLL HINT ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--gray);
  animation: float-bob 2s ease-in-out infinite;
}

/* ─────────────────────────────────── */
/*  ABOUT                              */
/* ─────────────────────────────────── */
#about {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-card {
  border: var(--border);
  padding: 30px 40px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--black);
}

.about-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.about-card strong {
  background: var(--off-white);
  padding: 2px 8px;
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
  margin: 0 4px;
  display: inline-block;
}

@media (min-width: 768px) {
  .about-card:nth-child(even) {
    margin-left: 2rem;
    margin-right: -2rem;
  }

  .about-card:nth-child(odd) {
    margin-right: 2rem;
    margin-left: -2rem;
  }
}

.about-card.card-blue {
  background: var(--blue-light);
}

/* ─────────────────────────────────── */
/*  SKILLS                             */
/* ─────────────────────────────────── */
#skills {
  max-width: 100%;
  padding: 100px 5vw;
}

#skills .section-header,
#skills .skills-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

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

.skill-card {
  position: relative;
  border: var(--border);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
  box-shadow: var(--shadow);
}

.skill-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.card-pink {
  background: #fff0f6;
  border-radius: 0;
}

.card-yellow {
  background: #fff9db;
  border-radius: 0;
}

.card-blue {
  background: #e7f5ff;
  border-radius: 0;
}

.card-white {
  background: var(--white);
  border-radius: 0;
}

.skill-card {
  background: var(--white);
  border: var(--border);
  padding: 20px;
  box-shadow: 6px 6px 0 var(--black);
  border-radius: 0;
  transition: all 0.3s ease;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.skill-icon {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.skill-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tile {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 0;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 var(--black);
  cursor: default;
}

.skill-tile img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.skill-tile span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--black);
  white-space: nowrap;
}

.skill-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--black);
}

/* ─────────────────────────────────── */
/*  EXPERIENCE / TIMELINE              */
/* ─────────────────────────────────── */
#experience {
  padding: var(--section-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 1.5rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 36px;
}

.marker-dot {
  width: 20px;
  height: 20px;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 2px 0 var(--black);
  transition: transform .2s;
}

.marker-dot:hover {
  transform: scale(1.3);
}

.marker-blue {
  background: var(--blue);
}

.marker-pink {
  background: var(--pink);
}

.marker-white {
  background: var(--white);
}

.marker-line {
  flex: 1;
  width: 3px;
  background: var(--black);
  margin-top: 4px;
  min-height: 40px;
}

.timeline-card {
  border: var(--border);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: transform .6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.timeline-card:hover {
  box-shadow: 10px 10px 0 var(--black);
}

.tl-yellow {
  background: var(--yellow-light);
}

.tl-blue {
  background: var(--blue-light);
}

.tl-pink {
  background: var(--pink-light);
}

.tl-white {
  background: var(--white);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.tl-company {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tl-role {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #555;
  display: block;
  margin-top: 3px;
}

.tl-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.tl-location {
  color: #555;
}

.tl-duration {
  background: var(--black);
  color: var(--white);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tl-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cyber-badge {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 5px 12px;
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
}

.cyber-badge {
  background: var(--pink);
}

.badge-ai {
  background: var(--blue);
}

.badge-gov {
  background: var(--yellow);
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tl-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border: 2px solid var(--black);
  background: var(--white);
  transform: translateZ(30px);
  box-shadow: 2px 2px 0 var(--black);
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.2s ease;
}

.tl-tag:hover {
  transform: translateZ(45px) scale(1.1);
  background: var(--yellow);
  z-index: 10;
}

.tl-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 2px;
}

.tl-points li {
  font-size: 0.93rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.tl-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--black);
}

/* ─────────────────────────────────── */
/*  PROJECTS                           */
/* ─────────────────────────────────── */
#projects {
  background: var(--white);
  max-width: 100%;
  padding: 100px 5vw;
}

#projects .section-header,
.projects-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 4px solid var(--black);
  padding: 36px 36px 40px 36px;
  box-shadow: 10px 10px 0 var(--black);
  transition: transform .6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  box-shadow: 20px 20px 0 var(--black);
}

.project-card-featured {
  grid-column: 1 / -1;
  background: var(--black);
  color: var(--white);
  flex-direction: row;
  gap: 40px;
}

.project-card-featured .project-title {
  color: var(--yellow);
}

.project-card-featured .project-org {
  color: var(--gray);
}

.project-card-featured .project-desc {
  color: #ccc;
}

.project-card-featured .highlight-item {
  color: #ddd;
}

.project-card-featured .highlight-item svg {
  stroke: var(--yellow);
}

.project-card-featured .tech-chip {
  background: #222;
  color: var(--white);
  border-color: #555;
}

.featured-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 5px 40px;
  transform: rotate(35deg);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-number {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  color: #e4e4e4;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-left: -5px;
}

.project-card-featured .project-number {
  color: #333;
}

.project-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 3px solid var(--black);
  color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.project-link-btn:hover {
  transform: translate(-5px, -5px) scale(1.1);
  box-shadow: 10px 10px 0 var(--black);
  background: var(--yellow);
}

.project-card-featured .project-link-btn {
  background: #222;
  color: var(--white);
  border-color: #555;
}

.project-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
  width: fit-content;
}

.project-badge-yellow {
  background: var(--yellow);
}

.project-badge-pink {
  background: var(--pink);
  color: var(--white);
}

.project-badge-blue {
  background: var(--blue);
  color: var(--white);
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.project-org {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #666;
}

.project-desc {
  font-size: 0.93rem;
  line-height: 1.65;
  color: #444;
}

.project-card-featured .project-left {
  flex: 1.2;
}

.project-card-featured .project-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #333;
}

.highlight-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.project-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 3px solid var(--black);
  background: var(--white);
  font-weight: 800;
  color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

/* Featured card layout fix */
.project-card-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.proj-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─────────────────────────────────── */
/*  CONTACT                            */
/* ─────────────────────────────────── */
#contact {
  background: var(--white);
  padding: var(--section-pad);
  max-width: 100%;
}

.contact-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.contact-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border: var(--border-thin);
  padding: 12px 16px;
  background: var(--off-white);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
}

.contact-info-item:hover {
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border: var(--border-thin);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SOCIAL BUTTONS ── */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform .1s, box-shadow .1s;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s;
}

.social-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.social-btn span {
  display: block;
}

.social-btn span:first-of-type {
  font-size: 1rem;
  font-weight: 800;
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #666;
  font-weight: 400;
}

.social-github {
  background: var(--black);
  color: var(--white);
}

.social-github .social-handle {
  color: var(--gray);
}

.social-linkedin {
  background: var(--blue-light);
}

.social-linkedin svg {
  color: #0A66C2;
}

.social-medium {
  background: var(--off-white);
}

/* ─────────────────────────────────── */
/*  FOOTER                             */
/* ─────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 0;
  border-top: var(--border);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--gray);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* Paper texture effect */
.footer-texture {
  height: 40px;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.03) 3px,
      rgba(255, 255, 255, 0.03) 6px);
  border-top: 1px solid #222;
}

/* ─────────────────────────────────── */
/*  ANIMATIONS                         */
/* ─────────────────────────────────── */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s cubic-bezier(0.19, 1, 0.22, 1), transform .3s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────── */
/*  RESPONSIVE                         */
/* ─────────────────────────────────── */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 60px);
  }

  .hero-visual {
    display: none;
  }

  .mobile-hero-visual {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
    width: 100%;
  }

  .mobile-avatar-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    border: 3px solid var(--black);
    box-shadow: 10px 10px 0 var(--black);
    background: var(--white);
    overflow: hidden;
  }

  .mobile-avatar-wrapper .avatar-card {
    width: 100%;
    height: 100%;
    box-shadow: none;
    border: none;
    outline: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-tech-pills {
    justify-content: center;
  }

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

  .project-card-featured {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 5vw;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--black);
    display: block;
    padding: 10px;
  }

  .hamburger {
    display: flex;
    z-index: 2001;
    position: relative;
    padding: 10px;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-top: calc(var(--nav-h) + 20px);
  }

  .hero-visual {
    display: none;
  }

  .mobile-hero-visual {
    display: flex;
    justify-content: center;
    margin: 1.5rem auto;
  }

  .mobile-avatar-wrapper {
    width: 170px;
    height: 170px;
  }

  .hero-intro {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .timeline-item {
    grid-template-columns: 34px 1fr;
  }

  .timeline-card {
    padding: 20px;
  }

  .tl-header {
    flex-direction: column;
  }

  .tl-meta {
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    white-space: normal;
    font-size: 2.2rem;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .section-line {
    width: 60px;
    flex: none;
  }

  /* Featured Project Mobile Stacking - VIDEO FULL WIDTH */
  .project-card-featured {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .project-video-container {
    width: 100% !important;
    margin: 10px 0 0 !important;
  }

  .project-video-container video {
    aspect-ratio: 16 / 9;
  }
}

/* ─────────────────────────────────── */
/*  FEATURED CARD INNER LAYOUT FIX     */
/* ─────────────────────────────────── */
/* Base Featured Card Grid */
.project-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ─────────────────────────────────── */
/*  TORN PAPER MERGE ANIMATION         */
/* ─────────────────────────────────── */
.merge-tape {
  position: absolute;
  top: 20px;
  width: 140px;
  height: 40px;
  background: linear-gradient(90deg,
      rgba(255, 230, 0, 0.6) 0%,
      rgba(255, 240, 100, 0.7) 50%,
      rgba(255, 230, 0, 0.6) 100%);
  transform: translateY(-50%) rotate(var(--tape-rot, -4deg)) scale(0.95);
  opacity: 0;
  visibility: hidden;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.2);
  transition:
    opacity 0.2s ease,
    visibility 0.2s,
    clip-path 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  z-index: 20;
  mix-blend-mode: multiply;
  overflow: hidden;
}

/* Left side tape: Rollout Left -> Right */
.tape-left {
  clip-path: inset(0 100% 0 0);
}

.tape-left.taped {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) rotate(var(--tape-rot, -4deg)) scale(1);
}

/* Right side tape: Rollout Right -> Left */
.tape-right {
  clip-path: inset(0 0 0 100%);
}

.tape-right.taped {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) rotate(var(--tape-rot, -4deg)) scale(1);
}

/* Gloss swipe effect common */
.merge-tape::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  pointer-events: none;
}

/* Left Side Gloss: Swipe L -> R */
.tape-left::after {
  left: -150%;
  transition: left 0.8s ease-in-out;
}

.tape-left.taped::after {
  left: 150%;
}

/* Right Side Gloss: Swipe R -> L */
.tape-right::after {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.tape-right.taped::after {
  left: -150%;
}

@media (max-width: 768px) {
  .merge-tape {
    right: 10%;
    width: 100px;
    height: 35px;
  }
}

/* ----------------------
   PROJECT SLIDER (IME)
   ---------------------- */
.brutalist-slider {
  position: relative;
  width: 100%;
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 0px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  align-items: center;
}

.slider-track img,
.slider-track video {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--gray-light);
  border-right: 3px solid var(--black);
  aspect-ratio: 16 / 9;
}

.slider-track img:last-child,
.slider-track video:last-child {
  border-right: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
  color: var(--black);
}

.slider-btn svg {
  stroke-width: 3;
}

.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black);
}

.slider-btn:active {
  transform: translateY(-50%) translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}

.prev-btn {
  left: 12px;
}

.next-btn {
  right: 12px;
}

.slider-counter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 3px solid var(--black);
  padding: 4px 12px;
  font-weight: 800;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 var(--black);
  z-index: 10;
  color: var(--black);
}

/* ----------------------
   PROJECT VIDEO DEMO
   ---------------------- */
.project-video-container {
  position: relative;
  width: 100%;
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
  /* Remove gap below video */
}

.project-video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: var(--gray-light);
  aspect-ratio: 16 / 9;
}

/* ----------------------
   LIGHTBOX MODAL
   ---------------------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 85%;
}

.lightbox-content {
  max-width: 100%;
  max-height: 80vh;
  border: 4px solid var(--black);
  box-shadow: 10px 10px 0 var(--yellow);
  object-fit: contain;
  background: var(--white);
  animation: zoomIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  color: var(--black);
  font-size: 40px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  line-height: 1;
  padding-bottom: 5px;
}

.lightbox-nav:hover {
  background: var(--white);
  transform: translateY(-50%) translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.lightbox-nav:active {
  transform: translateY(-50%) translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-counter {
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-content {
    box-shadow: 6px 6px 0 var(--yellow);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  color: var(--yellow);
  transform: scale(1.1);
}

/* ─────────────────────────────────── */
/*  NEOBRUTALIST LOADER (PRELOADER)    */
/* ─────────────────────────────────── */
#preloader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--yellow);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--black) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 20;
}

.loader-logo-card {
  background: var(--white);
  border: 6px solid var(--black);
  padding: 10px 30px;
  box-shadow: 10px 10px 0 var(--black);
  transform: rotate(-2deg);
  margin-bottom: 10px;
}

.loader-nav-logo {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loader-nav-logo .logo-bracket {
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--black);
}

.loader-progress-container {
  width: 280px;
  height: 16px;
  background-color: var(--white);
  border: 4px solid var(--black);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--yellow);
  transition: width 0.1s linear;
}

.loader-percentage {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--black);
  margin-top: 8px;
}

/* Floating Background Elements */
.loader-icon {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.8;
  z-index: 10;
  padding: 12px;
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  animation: loader-float 4s ease-in-out infinite alternate;
}

.icon-1 {
  top: 15%;
  left: 10%;
  --y: -15px;
  transform: rotate(-15deg);
}

.icon-2 {
  bottom: 20%;
  left: 8%;
  --y: 20px;
  transform: rotate(10deg);
  background: var(--blue-light);
}

.icon-3 {
  top: 20%;
  right: 12%;
  --y: -18px;
  transform: rotate(20deg);
  background: var(--yellow-light);
}

.icon-4 {
  bottom: 15%;
  right: 10%;
  --y: 15px;
  transform: rotate(-5deg);
  background: var(--pink-light);
}

.icon-5 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%) rotate(5deg);
  --y: -10px;
}

.icon-6 {
  bottom: 10%;
  left: 45%;
  transform: rotate(-12deg);
  --y: 18px;
  background: var(--gray-light);
}

/* ─────────────────────────────────── */
/*  RESPONSIVE (MOBILE & TABLET)       */
/* ─────────────────────────────────── */

@media (max-width: 992px) {
  :root {
    --section-pad: 60px 5vw;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .loader-content {
    transform: scale(0.85);
  }

  .loader-progress-container {
    width: 240px;
  }

  .loader-percentage {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: row;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    flex: 1;
    width: auto;
    padding: 12px 10px;
    font-size: 0.75rem;
    margin-bottom: 0;
  }

  .hero-tech-pills {
    justify-content: center;
  }
}

#preloader-overlay.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}