* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #080808;
  --text-color: #ffffff;
  --main-color: #ea580c;
}

html {
  font-size: 60%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 2.5rem 10%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  transition: 0.25s ease;
}
.logo:hover {
  transform: scale(1.05);
}

span {
  background: linear-gradient(270deg, #df8908 10%, #ff1d15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#menu-icon {
  display: none;
  font-size: 3.5rem;
  color: var(--main-color);
  cursor: pointer;
}

.navbar a {
  font-size: 1.7rem;
  margin-left: 3.2rem;
  color: var(--text-color);
  font-weight: 500;
  transition: 0.25s ease;
  border-bottom: 3px solid transparent;
}

.navbar a:hover {
  border-bottom: 3px solid var(--main-color);
}

.gradient-btn {
  font-size: 1.6rem;
  padding: 1rem 2.2rem;
  border-radius: 3rem;
  background: linear-gradient(270deg, #df8908 10%, #ff1d15 100%);
  cursor: pointer;
  transition: 0.25s ease;
  color: white;
  border: none;
  white-space: nowrap;
}
.gradient-btn:hover {
  transform: scale(1.05);
}

/* SECTION */
section {
  min-height: 100vh;
  padding: 12rem 10% 6rem;
}

/* HOME */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.home-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-content h1 {
  font-size: 7rem;
  font-weight: 800;
  line-height: 1.05;
}

.home-content h3 {
  margin-top: 1.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.95;
  max-width: 52rem;
}

.home-content p {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 55rem;
}

/* IMAGE */
.home-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38rem;
  height: 38rem;
  margin-left: -5rem;;
}

.home-img img {
  width: 40rem;
  height: 40rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.35s ease-in-out;
}

.home-img img:hover {
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.2rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.6rem;
  height: 4.6rem;
  font-size: 2.6rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  transition: 0.25s ease;
}

.social-icons a:hover {
  color: var(--text-color);
  background-color: var(--main-color);
  transform: translateY(-4px);
  box-shadow: 0 0 25px var(--main-color);
}

/* BUTTONS */
.btn-group {
  margin-top: 2.8rem;
  display: flex;
  gap: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 1.1rem 3.2rem;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.7rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--main-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--main-color);
  color: black;
  box-shadow: 0 0 25px var(--main-color);
}

.type-wrap {
  margin-top: 1.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.95;
  max-width: 52rem;
}

/* The "I" cursor */
.cursor {
  display: inline-block;
  width: 2px;
  height: 1.8rem;
  background: var(--text-color);
  margin-left: 6px;
  transform: translateY(3px);
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ABOUT SECTION */
.about {
  padding: 12rem 10% 8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

/* Left animation container */
.about-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make left placeholder/animation VERTICAL poster-like */
.phone-anim {
  width: 260px;
  height: 460px;
  object-fit: cover;

  border: none;           /* removes the box */
  background: #080808;
  mix-blend-mode: screen;;
  box-shadow: none;       /* removes rectangular glow */

  /* Optional: subtle phone glow only */
  filter: none;
}

.about-title-img {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}

.about-title-img img {
  height: 200px;        /* ⬅ control size here */
  width: auto;         /* ⬅ preserve aspect ratio */
  max-width: 100%;
}


/* Optional: glow if your design needs it */
.about-title-img img {
  filter: drop-shadow(0 0 18px rgba(229, 9, 20, 0.35));
}

@media (max-width: 768px) {
  .about-title-img img {
    height: 42px;
  }
}


/* Right text */
.about-title {
  margin-bottom: 4rem;
  font-size: 5.2rem;
  font-weight: 900;
  letter-spacing: 1px;

  /* Netflix red */
  color: #e50914;

  /* subtle glow so it feels premium */
  text-shadow:
    0 0 12px rgba(229, 9, 20, 0.45),
    0 0 28px rgba(229, 9, 20, 0.25);
  text-align: center;
}


.about-subtitle {
  font-size: 1.6rem;
  opacity: 0.85;
  margin-bottom: 2.4rem;
  max-width: 55rem;
}

/* NETFLIX-STYLE ROW */
.netflix-row {
  width: 100%;
  margin-top: 1.8rem;
}

/* viewport with edge fade like Netflix */
.row-viewport {
  position: relative;
  overflow: hidden;
  padding: 0.8rem 2rem; /* no side arrows now, so less padding needed */
}

/* subtle fading on both sides */
.row-viewport::before,
.row-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.row-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0));
}

.row-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0));
}

/* track slides via transform (not scrollbars) */
.row-track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform 420ms ease;
  padding: 0.6rem 0;
}

/* POSTER cards: tall + sharp corners + white glow border */
.n-card {
  flex: 0 0 170px;
  height: 260px;
  border-radius: 0; /* sharp corners */
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.55); /* bright white glow */
  padding: 1.2rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  opacity: 0.35; /* JS controls fading */
}

.n-card h4 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.n-card p {
  font-size: 1.35rem;
  opacity: 0.9;
  line-height: 1.35;
}

/* Active poster "pops" */
.n-card.is-active {
  opacity: 1 !important;
  transform: scale(1.06);
  box-shadow:
    0 0 22px rgba(255,255,255,0.75),
    0 0 46px rgba(255,255,255,0.25);
}

/* Hover pop */
.n-card:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ARROWS BELOW ROW */
.row-controls {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* Glowing white arrow buttons */
.nav-arrow.below {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.35);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;

  box-shadow:
    0 0 14px rgba(255,255,255,0.45),
    0 0 30px rgba(255,255,255,0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-arrow.below i {
  font-size: 38px;
}

.nav-arrow.below:hover {
  background: rgba(0,0,0,0.55);
  transform: scale(1.08);
  box-shadow:
    0 0 18px rgba(255,255,255,0.7),
    0 0 40px rgba(255,255,255,0.25);
}

.nav-arrow.below:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .phone-anim {
    width: 280px;
    height: 500px;
  }
}

.section-divider{
  position: relative;
  width: 100%;
  padding: 2.5rem 0;
}

.divider-line{
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff1d15 0%, #df8908 60%, transparent 100%);
  box-shadow: 0 0 18px rgba(255, 29, 21, 0.5);
  border-radius: 999px;
  transform-origin: left center;
}


/* becomes visible when activated */
.divider-line.is-visible{
  width: 75%;
}

/* Right → Left divider */
.right-divider{
  display: flex;
  justify-content: flex-end;
}

.right-line{
  box-shadow:
    0 0 18px rgba(234, 67, 53, 0.45),
    0 0 32px rgba(66, 133, 244, 0.25);
}



/* =========================
   SKILLS (Google Theme)
========================= */
.skills{
  min-height: 100vh;
  padding: 12rem 10% 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-skill-wrap{
  width: min(920px, 100%);
  text-align: center;
}

.google-logo{
  font-size: clamp(5rem, 6vw, 8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2.5rem;
  user-select: none;
}

.g-blue{ color:#4285F4; }
.g-red{ color:#EA4335; }
.g-yellow{ color:#FBBC05; }
.g-green{ color:#34A853; }

.google-search{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.google-searchbar{
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 18px rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.google-searchbar i{
  font-size: 2.2rem;
  opacity: 0.85;
}

.google-searchbar input{
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.7rem;
  padding: 0.3rem 0;
}

.google-searchbar input::placeholder{
  color: rgba(255,255,255,0.45);
}

.google-buttons{
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.google-btn{
  padding: 1.1rem 2.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease;
}

.google-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.google-btn.ghost{
  background: transparent;
}

.google-results{
  width: min(760px, 100%);
  margin: 3rem auto 0;
  text-align: left;
  display: none; /* hidden until search */
}

.google-results.show{
  display: block;
  animation: fadeUp 300ms ease;
}

.result-meta{
  font-size: 1.3rem;
  opacity: 0.65;
  margin-bottom: 1.6rem;
}

.result-card{
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  margin-bottom: 1.2rem;

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
    border-color: 0.25s ease;
}

.result-title{
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.result-snippet{
  font-size: 1.45rem;
  opacity: 0.9;
  line-height: 1.6;
}

@keyframes fadeUp{
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile tweaks */
@media (max-width: 768px){
  .google-searchbar{
    padding: 1.2rem 1.3rem;
  }
}

/* GOOGLE COLOR HOVER GLOWS */
.result-card:hover {
  transform: translateY(-4px);
}

/* 1st card – Google Blue */
.result-card:nth-of-type(1):hover {
  border-color: #4285F4;
  box-shadow:
    0 0 18px rgba(66, 133, 244, 0.55),
    0 0 36px rgba(66, 133, 244, 0.25);
}

/* 2nd card – Google Red */
.result-card:nth-of-type(2):hover {
  border-color: #EA4335;
  box-shadow:
    0 0 18px rgba(234, 67, 53, 0.55),
    0 0 36px rgba(234, 67, 53, 0.25);
}

/* 3rd card – Google Yellow */
.result-card:nth-of-type(3):hover {
  border-color: #FBBC05;
  box-shadow:
    0 0 18px rgba(251, 188, 5, 0.55),
    0 0 36px rgba(251, 188, 5, 0.25);
}

/* 4th card – Google Green */
.result-card:nth-of-type(4):hover {
  border-color: #34A853;
  box-shadow:
    0 0 18px rgba(52, 168, 83, 0.55),
    0 0 36px rgba(52, 168, 83, 0.25);
}

/* 5th card – Cycle back to Blue */
.result-card:nth-of-type(5):hover {
  border-color: #4285F4;
  box-shadow:
    0 0 18px rgba(66, 133, 244, 0.55),
    0 0 36px rgba(66, 133, 244, 0.25);
}

/* 5th card – Cycle back to Blue */
.result-card:nth-of-type(6):hover {
  border-color: #ffffff;
  box-shadow:
    0 0 18px rgba(255, 255, 255 , 1),
    0 0 36px rgba(66, 133, 244, 0.25);
}


/* Google smoke cursor canvas (behind UI) */
.skills,
.scene-skills {
  position: relative;
  overflow: hidden;
}

.google-smoke-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* doesn't block clicks */
  z-index: 0;           /* stays behind */
  opacity: 1;
}

/* Ensure the UI stays above the smoke */
.google-skill-wrap{
  position: relative;
  z-index: 2;
}

/* If you keep pixie layer, keep it above smoke but below UI */
.pixie-layer{
  z-index: 1;
}

/* Canvas overlay inside Experience */
/* Canvas overlay inside Experience */
.experience{
  position: relative;
  overflow: hidden;
}

.xp-pixel-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;          /* behind content */
  pointer-events: none;
}

/* content stays above */
.experience-inner{
  position: relative;
  z-index: 2;
}

:root{
  --pixel-size: 10;
  --curtain-max-alpha: 1;
  --content-fade-start: 0.55;
  --content-fade-end: 0.85;
}

/* SECTION */
#experience{
  position: relative;
  height: 520vh;           /* controls scroll duration */
  background: #000;
  overflow: clip;
}

/* STICKY STAGE */
#experience .stage{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
}

/* CONTENT */
#experience .content{
  position: relative;
  width: min(1100px, 92vw);
  padding: 48px 24px;
  z-index: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 120ms linear, transform 120ms linear;
  color: #fff;
}

#experience h2{
  font-size: clamp(28px, 4vw, 54px);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

#experience p{
  max-width: 72ch;
  line-height: 1.55;
  opacity: 0.9;
}

/* EXPERIENCE CARDS */
.cards{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card{
  grid-column: span 12;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

@media (min-width: 820px){
  .card{ grid-column: span 6; }
}

.card h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.meta{
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.bullets{
  padding-left: 18px;
  line-height: 1.45;
}

/* PIXEL CANVAS */
#pixelCurtain{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* VIGNETTE */
.vignette{
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0.55) 72%,
      rgba(0,0,0,0.8) 100%
    );
}

/* =========================
   EXPERIENCE: YouTube UI (namespaced) + Pixel Curtain compatibility
   Add at BOTTOM of style.css
========================= */

/* Your site header is fixed; reserve space when jumping to #experience */
#experience{
  scroll-margin-top: 110px; /* prevents the fixed navbar from covering the top of the section */
}

/* Experience section itself */
.experience{
  position: relative;
  overflow: hidden;
  background: #0f0f0f;
}

/* Keep your long scroll timing */
#experience{
  position: relative;
  height: 520vh;
  background: #000;
  overflow: clip;
}

/* Sticky stage must stretch, not center */
#experience .stage{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: block;           /* IMPORTANT: remove centering grid behavior */
}

/* Under-curtain wrapper fills stage */
#experience #experienceContent{
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 2; /* under canvas */
  opacity: 0; /* your pixel JS will fade this in */
  transform: translateY(12px);
}

/* Pixel canvas stays on top */
#experience #pixelCurtain{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* always on top */
  pointer-events: none;
}

/* Optional vignette behind everything */
#experience .vignette{
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0.55) 72%,
      rgba(0,0,0,0.8) 100%);
}

/* ---- YouTube UI styles (namespaced) ---- */
.xp-yt-app{
  --bg:#0f0f0f;
  --panel:#181818;
  --panel2:#202020;
  --text:#f1f1f1;
  --muted:#aaaaaa;
  --chip:#2a2a2a;
  --chipOn:#ffffff;
  --chipOnText:#111111;
  --border:#2b2b2b;
  --accent:#3ea6ff;
  --danger:#ff4e45;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --radius2: 18px;
  --sidebarW: 240px;
  --topH: 60px;

  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-rows: var(--topH) 1fr;
  grid-template-columns: var(--sidebarW) 1fr;
  grid-template-areas:
    "top top"
    "side main";
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

/* Top bar */
.xp-yt-top{
  grid-area: top;
  position: sticky;
  top: 0;
  z-index: 60; /* above chips */
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Hamburger */
.xp-yt-hamburger{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.xp-yt-hamburger:hover{ background:#222; }

/* Brand */
.xp-yt-brand{
  display:flex;
  align-items:center;
  gap: 0px;
  min-width: unset;
}
.xp-yt-logo-img{
  width: auto;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}
.xp-yt-brand-text strong{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
}
.xp-yt-brand-text small{
  display:block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

/* Search */
.xp-yt-searchWrap{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-width: 200px;
}
.xp-yt-search{
  width: min(760px, 100%);
  display:flex;
  align-items:center;
  border: 1px solid var(--border);
  background: #121212;
  border-radius: 999px;
  overflow:hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.xp-yt-search:focus-within{
  border-color:#3a3a3a;
  box-shadow: 0 0 0 3px rgba(62,166,255,.15);
}
.xp-yt-search input{
  flex:1;
  padding: 12px 14px;
  font-size: 14px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
}
.xp-yt-search button{
  width: 58px;
  height: 44px;
  border: 0;
  background: #222;
  color: var(--text);
  cursor:pointer;
}
.xp-yt-search button:hover{ background:#2a2a2a; }

.xp-yt-iconBtn{
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display:grid;
  place-items:center;
}
.xp-yt-iconBtn:hover{ background:#222; }

/* Actions */
.xp-yt-actions{
  display:flex;
  align-items:center;
  gap: 8px;
  justify-content:flex-end;
  min-width: 170px;
}
.xp-yt-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd29f, #c971ff);
  border: 1px solid rgba(255,255,255,.12);
}

/* Sidebar */
.xp-yt-side{
  grid-area: side;
  position: sticky;
  top: var(--topH);
  height: calc(100vh - var(--topH));
  overflow:auto;
  border-right: 1px solid var(--border);
  background: rgba(15,15,15,.86);
  backdrop-filter: blur(10px);
  padding: 10px 10px 18px;
  transition: transform .2s ease;
}
.xp-yt-sideSection{ padding: 8px; border-radius: var(--radius); }

.xp-yt-navItem{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  user-select:none;
  color: var(--text);
}
.xp-yt-navItem:hover{ background:#1f1f1f; }
.xp-yt-navItem.active{ background:#272727; }

.xp-yt-navIcon{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #2b2b2b;
  display:grid;
  place-items:center;
  font-size: 12px;
  color: #d9d9d9;
}
.xp-yt-navLabel{ font-size: 14px; }

.xp-yt-divider{
  margin: 10px 6px;
  height: 1px;
  background: var(--border);
  border: 0;
}
.xp-yt-i{ font-style: normal; font-weight:700; font-size: 14px; opacity:.95; }

/* Main */
.xp-yt-main{ grid-area: main; overflow:auto; }

.xp-yt-chips{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15,15,15,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display:flex;
  gap: 10px;
  overflow:auto;
  white-space: nowrap;
}
.xp-yt-chip{
  border: 1px solid var(--border);
  background: var(--chip);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor:pointer;
  user-select:none;
}
.xp-yt-chip:hover{ border-color:#3a3a3a; }
.xp-yt-chip.active{
  background: var(--chipOn);
  color: var(--chipOnText);
  border-color: transparent;
}

.xp-yt-content{
  padding: 18px 16px 30px;
  max-width: 1300px;
  margin: 0 auto;
}
.xp-yt-grid{
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xp-yt-card{
  border-radius: var(--radius2);
  overflow:hidden;
  background: transparent;
  cursor:pointer;
  transition: transform .15s ease;
}
.xp-yt-card:hover{ transform: translateY(-2px); }

.xp-yt-thumb{
  aspect-ratio: 16 / 9;
  border-radius: var(--radius2);
  background:
    radial-gradient(1200px 400px at 70% 20%, rgba(62,166,255,.25), transparent 50%),
    radial-gradient(800px 500px at 20% 80%, rgba(255,78,69,.18), transparent 55%),
    linear-gradient(135deg, #2c2c2c, #141414);
  position: relative;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.xp-yt-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
  opacity:.8;
  pointer-events:none;
}
.xp-yt-duration{
  position:absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.08);
}
.xp-yt-meta{
  display:flex;
  gap: 12px;
  padding: 12px 4px 6px;
  align-items:flex-start;
}
.xp-yt-pfp{
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3ea6ff, #8b5cff);
  border: 1px solid rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.xp-yt-text{ min-width:0; flex:1; }
.xp-yt-title{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
}
.xp-yt-sub{
  font-size: 12.5px;
  color: var(--muted);
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items:center;
}
.xp-yt-dot{
  width: 3px; height: 3px;
  background: #6b6b6b;
  border-radius: 99px;
  display:inline-block;
  margin: 0 2px;
}
.xp-yt-kebab{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: var(--muted);
}
.xp-yt-kebab:hover{ background:#222; color: var(--text); }

/* Modal */
.xp-yt-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 22px;
  z-index: 5000; /* above site header */
}
.xp-yt-modal.open{ display:flex; }

.xp-yt-player{
  width: min(1000px, 100%);
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.xp-yt-playerTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  background: #121212;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.xp-yt-playerLeft{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.xp-yt-pill{
  padding: 6px 10px;
  border-radius: 999px;
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,.08);
  color: #eaeaea;
  font-size: 12px;
  white-space: nowrap;
}
.xp-yt-playerTitle{
  font-size: 13px;
  color: #dcdcdc;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  max-width: 580px;
}
.xp-yt-close{
  border:0;
  background: transparent;
  color: #eaeaea;
  cursor:pointer;
  width: 38px; height: 38px;
  border-radius: 999px;
}
.xp-yt-close:hover{ background:#222; }

.xp-yt-videoArea{
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(1200px 500px at 40% 40%, rgba(62,166,255,.25), transparent 55%),
    radial-gradient(900px 600px at 80% 80%, rgba(255,78,69,.18), transparent 60%),
    linear-gradient(135deg, #2b2b2b, #0f0f0f);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.xp-yt-playBig{
  width: 88px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff4e45, #d81f1f);
  display:grid;
  place-items:center;
  box-shadow: 0 18px 40px rgba(255,78,69,.22);
  border: 1px solid rgba(255,255,255,.12);
}
.xp-yt-playTri{
  width:0; height:0;
  border-left: 18px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.xp-yt-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #111;
}
.xp-yt-bar{
  flex: 1;
  height: 8px;
  background: #2a2a2a;
  border-radius: 999px;
  position: relative;
  overflow:hidden;
  cursor:pointer;
}
.xp-yt-fill{
  height:100%;
  width: 22%;
  background: linear-gradient(90deg, #3ea6ff, #8b5cff);
  border-radius: 999px;
}
.xp-yt-time{
  font-size: 12px;
  color: #cfcfcf;
  white-space: nowrap;
}
.xp-yt-btnRow{ display:flex; gap:6px; align-items:center; }
.xp-yt-miniBtn{
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: #181818;
  color: #eaeaea;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.xp-yt-miniBtn:hover{ background:#202020; }

/* Responsive */
@media (max-width: 1100px){
  .xp-yt-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .xp-yt-app{
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "main";
  }
  .xp-yt-side{
    position: fixed;
    top: 60px;
    left: 0;
    width: 240px;
    transform: translateX(-110%);
    z-index: 120;
    box-shadow: var(--shadow);
  }
  .xp-yt-side.open{ transform: translateX(0); }
  .xp-yt-grid{ grid-template-columns: 1fr; }
}

/* --- Reader Panel (premium look) --- */
.xp-yt-reader{
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  padding: 18px;
  overflow: auto;
}

.xp-reader-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.xp-reader-kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.xp-yt-reader h3{
  margin: 0;
  font-size: 20px;
  color: #fff;
  line-height: 1.15;
}

.xp-reader-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.xp-meta-pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.xp-reader-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 10px 0 14px;
}

.xp-tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255, 0, 0, 0.10);
  color: rgba(255,255,255,0.92);
}

/* bullet “cards” */
.xp-reader-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 900px){
  .xp-reader-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.xp-point{
  position: relative;
  display:flex;
  gap:12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
  transform: translateY(6px);
  opacity: 0;
  animation: xpIn 420ms ease forwards;
}

.xp-point:hover{
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}

.xp-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: rgba(255,0,0,0.90);
  box-shadow: 0 0 18px rgba(255,0,0,0.35);
  flex: 0 0 auto;
}

.xp-text{
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.55;
}

@keyframes xpIn{
  to { transform: translateY(0); opacity: 1; }
}

.xp-yt-thumbImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;       /* 👈 SHOW FULL IMAGE */
  object-position: center;
  background: #000;
}

.xp-yt-thumb{
  position: relative;
  overflow: hidden;
}

/* duration pill */
.xp-yt-duration{
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  letter-spacing: 0.2px;
  z-index: 3;
  pointer-events: none;
}


:root{
  --siteHeaderH: 92px; /* fallback */
}
#experience .stage{
  top: var(--siteHeaderH);
  height: calc(100vh - var(--siteHeaderH));
}
#experience #experienceContent{
  height: calc(100vh - var(--siteHeaderH));
}
#experience #pixelCurtain{
  height: calc(100vh - var(--siteHeaderH));
}


/* =========================
   PROJECTS (Amazon Theme)
========================= */

.projects{
  position: relative;
  min-height: 300vh;
  padding: 12rem 10% 10rem;

  /* helps prevent your fixed navbar from covering the section when jumping */
  scroll-margin-top: 110px;

  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(255, 122, 0, 0.08), transparent 60%),
    radial-gradient(900px 500px at 10% 60%, rgba(255, 60, 0, 0.06), transparent 55%),
    #080808;
}

/* Title image centered */
.projects-title{
  display: flex;
  justify-content: center;
  margin-bottom: 4.5rem;
}
.projects-title img{
  width: min(520px, 85vw);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 90, 0, 0.22));
}

/* Wrap holds cards + the arrow svg overlay */
.projects-wrap{
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

/* SVG overlay sits above background but below cards clicks */
.projects-arrows{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Card layout */
.proj-card{
  position: relative;
  z-index: 2; /* above arrow svg */
  width: min(920px, 100%);
  margin: 0 auto 5rem;

  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2.2rem;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  overflow: hidden;

  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

/* Media */
.proj-media{
  height: 100%;
  min-height: 220px;
  background: rgba(0,0,0,0.45);
}
.proj-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}

/* Text */
.proj-body{
  padding: 2.2rem 2.2rem 2.0rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proj-body h3{
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.proj-body p{
  font-size: 1.5rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* Tags */
.proj-tags{
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.proj-tags span{
  font-size: 1.2rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* Fiery hover glow (matches your main theme) */
.proj-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 120, 0, 0.28);
  box-shadow:
    0 0 18px rgba(255, 90, 0, 0.28),
    0 0 36px rgba(255, 30, 0, 0.18),
    0 18px 55px rgba(0,0,0,0.55);
}

/* Slight “Amazon” polish: warm edge highlight */
.proj-card::after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events:none;
  background: linear-gradient(120deg, rgba(255,140,0,0.10), transparent 35%, transparent 65%, rgba(255,60,0,0.08));
  opacity: 0.0;
  transition: opacity 220ms ease;
}
.proj-card:hover::after{ opacity: 1; }

/* Responsive */
@media (max-width: 900px){
  .proj-card{
    grid-template-columns: 1fr;
  }
  .proj-media{ min-height: 200px; }
}


/* =========================
   CONTACT: "Message Assembles Itself"
========================= */

.contact{
  min-height: 100vh;
  padding: 12rem 10% 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-wrap{
  width: min(980px, 100%);
}

.contact-stage{
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

/* Cursor */
.type-cursor{
  position: absolute;
  left: 38px;
  top: 34px;
  width: 2px;
  height: 18px;
  background: rgba(255,255,255,0.95);
  opacity: 0;
  transform: translateY(4px);
  animation: cursorBlink 0.85s steps(1) infinite;
  z-index: 5;
  display: none;
}

@keyframes cursorBlink{
  50% { opacity: 0.15; }
}

/* Heading typed */
.contact-heading{
  margin: 0;
  font-size: clamp(3.2rem, 4.2vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 1.1em;
}

.blink-caret{
  width: 2px;
  height: 0.9em;
  background: rgba(255,255,255,0.85);
  display: inline-block;
  transform: translateY(4px);
  animation: caretBlink 0.8s steps(1) infinite;
  opacity: 0;
}

@keyframes caretBlink{
  50%{ opacity: 0; }
}

/* Info pills (email + phone) */
.contact-info{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.contact-info.show{
  opacity: 1;
  transform: translateY(0);
}

.info-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
}

.info-pill i{
  font-size: 20px;
  color: var(--main-color);
}

.info-pill span{
  font-size: 1.35rem;
  opacity: 0.85;
  background: none;
  -webkit-background-clip: initial;
  color: rgba(255,255,255,0.85);
}

.info-pill a{
  font-size: 1.35rem;
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.info-pill a:hover{
  border-bottom-color: var(--main-color);
}

/* Assembly area */
.assemble{
  position: relative;
  margin-top: 28px;
  padding-top: 20px;
}



/* Form */
.contact-form{
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.field{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  padding: 16px 16px 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
}

.field::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.field:focus-within{
  border-color: rgba(234,88,12,0.65);
}

.field:focus-within::after{
  box-shadow:
    0 0 18px rgba(234,88,12,0.35),
    0 0 40px rgba(234,88,12,0.18);
}

.field-label{
  display: block;
  font-size: 1.25rem;
  opacity: 0.65;
  margin-bottom: 8px;
  transform: translateY(-2px);
  color: #ffffff;
}

.field input,
.field textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  resize: vertical;
}

.field-msg textarea{
  min-height: 130px;
}

/* Reveal classes */
.field.reveal{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms ease, transform 450ms ease;
}

/* Send button */
.send-btn{
  position: relative;
  width: fit-content;
  min-width: 200px;
  height: 56px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
}

.send-btn.reveal{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 450ms ease, transform 450ms ease;
}

.btn-stroke{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(234,88,12,0.35));
}

.btn-stroke rect{
  fill: rgba(0,0,0,0.22);
  stroke: rgba(234,88,12,0.95);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.send-btn.draw rect{
  animation: drawStroke 900ms ease forwards;
}

@keyframes drawStroke{
  to { stroke-dashoffset: 0; }
}

.btn-text{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 56px;
  padding: 0 28px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
  opacity: 0;
  transform: translateY(2px);
}

.send-btn.text-in .btn-text{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease, transform 350ms ease;
}

/* little completion pulse */
.send-btn.pulse{
  animation: btnPulse 850ms ease-in-out 1;
}
@keyframes btnPulse{
  0%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(0) scale(1.03); }
  100%{ transform: translateY(0) scale(1); }
}

/* Cursor click ripple */
.click-ripple{
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(234,88,12,0.9);
  box-shadow: 0 0 22px rgba(234,88,12,0.45);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

.click-ripple.pop{
  animation: ripplePop 520ms ease forwards;
}
@keyframes ripplePop{
  0%{ opacity: 0; transform: scale(0.7); }
  35%{ opacity: 1; transform: scale(1); }
  100%{ opacity: 0; transform: scale(1.8); }
}


/* finish: enable form feel */
.contact-stage.ready .blink-caret{
  opacity: 0; /* caret stops once finished */
  display: none;
}

/* Mobile */
@media (max-width: 700px){
  .type-cursor{ left: 26px; }
  .send-btn{ min-width: 180px; }
}


/* =========================
   FOOTER
========================= */

.site-footer{
  background:
    radial-gradient(
      1200px 400px at 50% -20%,
      rgba(255,140,0,.18),
      transparent 60%
    ),
    #0a0a0a;
  border-top: 1px solid rgba(255,140,0,.25);
  padding: 5rem 10% 2.5rem;
  color: rgba(255,255,255,.85);
}

.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Brand */
.footer-brand h3{
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-brand h3 span{
  color: #ff8c00;
}

.footer-brand p{
  margin-top: .8rem;
  max-width: 38ch;
  font-size: 1.4rem;
  opacity: .8;
}

/* Nav */
.footer-nav{
  display: grid;
  gap: .9rem;
}

.footer-nav a{
  font-size: 1.4rem;
  color: rgba(255,255,255,.75);
  transition: color .2s ease, transform .2s ease;
}

.footer-nav a:hover{
  color: #ff8c00;
  transform: translateX(2px);
}

/* Contact */
.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact a{
  font-size: 1.4rem;
  color: rgba(255,255,255,.8);
}

.footer-socials{
  display: flex;
  gap: 1rem;
}

.footer-socials a{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,140,0,.35);
  color: #ff8c00;
  font-weight: 700;
  transition: 
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.footer-socials a:hover{
  background: rgba(255,140,0,.12);
  box-shadow: 0 0 16px rgba(255,140,0,.35);
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom{
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  opacity: .7;
}

.footer-tagline{
  color: rgba(255,140,0,.9);
}

/* Responsive */
@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom{
    flex-direction: column;
    gap: .8rem;
    text-align: center;
  }
}

.n-card {
  padding: 0;                  /* IMPORTANT */
  border-radius: 14px;
  background: #0e0e0e;
  max-width: 260px;
  overflow: hidden;            /* CRITICAL */
}



.card-img {
  width: 64px;          /* controls image size */
  height: 64px;         /* keeps it square */
  object-fit: contain;  /* prevents distortion */
  margin: 0 auto 0.75rem;
  display: block;
}

.card-media {
  height: 160px;        /* controls image height */
  width: 100%;
  overflow: hidden;
  border-radius: 12px;  /* optional, matches card style */
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* fills card like your examples */
  display: block;
}

.card-content {
  padding: 1.25rem;
}

/* =========================
   RESPONSIVE: iPad + tablets
========================= */
@media (max-width: 1024px) {
  section { padding: 11rem 6% 6rem; }

  /* Home: reduce spacing */
  .home { gap: 3rem; }

  /* Home image: stop hard fixed sizing from overflowing */
  .home-img {
    width: 30rem;
    height: 30rem;
    margin-left: 0; /* you currently push it left (-5rem) */
  }
  .home-img img {
    width: 30rem;
    height: 30rem;
  }

  /* Experience YouTube layout: narrower sidebar */
  .xp-yt-app { --sidebarW: 200px; }
}

/* =========================
   RESPONSIVE: iPhone / small screens
========================= */
@media (max-width: 768px) {

  /* Header: tighter padding */
  .header { padding: 1.6rem 6%; }

  /* Turn the desktop nav into a dropdown */
  #menu-icon { display: block; } /* you currently hide it */
  .navbar {
    position: absolute;
    top: 100%;
    right: 6%;
    left: 6%;
    background: rgba(0,0,0,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
  }
  .navbar a { margin-left: 0; font-size: 1.7rem; }

  .navbar.active { display: flex; }

  /* Home: stack content */
  .home {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .home-content { align-items: center; text-align: center; }
  .btn-group { justify-content: center; flex-wrap: wrap; }

  /* Profile image responsive */
  .home-img { width: 24rem; height: 24rem; }
  .home-img img { width: 24rem; height: 24rem; }

  /* ABOUT: stack grid (you already do some at 900px, this ensures at 768 too) */
  .about-grid { grid-template-columns: 1fr; gap: 3.2rem; }

  /* ---------- EXPERIENCE (YouTube UI) ---------- */

  /* Remove sidebar column on phones */
  .xp-yt-app{
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "main";
  }

  .xp-yt-side{ display: none; } /* hide sidebar on mobile */

  /* Chips should horizontally scroll on phones */
  .xp-yt-chips{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
  }
  .xp-yt-chips::-webkit-scrollbar { height: 8px; }
  .xp-yt-chips::-webkit-scrollbar-thumb { background: #000; border-radius: 999px; }

  /* Grid becomes 1-column naturally */
  .xp-yt-grid{
    grid-template-columns: 1fr !important;
  }

  /* Modal: full-screen on phone */
  .xp-yt-player{
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

/* =========================
   MOBILE FIX: YouTube section not oversized on iPhone/iPad
   Add at the VERY BOTTOM of your CSS
========================= */

/* Your global section padding can make the sticky 100vh stage feel oversized on mobile */
@media (max-width: 820px) {
  #experience {
    padding: 0 !important;            /* remove the big section padding just for Experience */
  }

  /* iOS-safe viewport sizing */
  #experience .stage,
  #experience #experienceContent,
  .xp-yt-app {
    height: 100svh;                   /* small viewport height (best for iOS Safari) */
    height: 100dvh;                   /* dynamic viewport height (newer browsers) */
    max-height: 100svh;
    max-height: 100dvh;
  }

  /* Make the scrolling happen inside the YouTube main panel (smooth iOS scrolling) */
  .xp-yt-main {
    min-height: 0;                    /* IMPORTANT for grid children to be scrollable */
  }

  .xp-yt-content {
    height: calc(100svh - var(--topH));
    height: calc(100dvh - var(--topH));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.glow-link {
  color: #FFA500; /* ← replace with your color */
  text-decoration: none;
  font-weight: 600;

  text-shadow:
    0 0 6px rgba(255, 165, 0, 0.6),
    0 0 12px rgba(255, 165, 0, 0.4);

  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.glow-link:hover {
  text-shadow:
    0 0 10px rgba(255, 165, 0, 0.9),
    0 0 20px rgba(255, 165, 0, 0.7),
    0 0 30px rgba(255, 165, 0, 0.5);
}


