/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
  --color-dark-bg: #0c0f13;
  --color-light-bg: #f5f6f8;
  --color-light-card: #ffffff;
  --color-text-dark: #12151a;
  --color-text-light: #f1f3f5;
  --color-text-muted: #626e7a;
  --color-primary: #127982;
  --color-primary-hover: #1ca5b3;
  --color-accent: #ff7657;

  --font-title: 'Syne', sans-serif;
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease-out;

  --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   LAYOUT STRUCTURE (SCROLL-SNAP)
   ========================================================================== */
.slides-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 8% 60px 8%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Slide themes */
.slide.light-theme {
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
}

/* ==========================================================================
   FLOATING NAVIGATION & HEADER
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(12, 15, 19, 0.5);
  transition: var(--transition-smooth);
}

/* Dynamic header for light sections */
.main-header.header-light {
  background-color: rgba(245, 246, 248, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-text-dark);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(18, 121, 130, 0.6);
}

.logo-text {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

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

/* Light theme nav adjustments */
.main-header.header-light .nav-link {
  opacity: 0.8;
}

.main-header.header-light .nav-link.active,
.main-header.header-light .nav-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* Burger menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: currentColor;
  transition: var(--transition-fast);
}

/* Mobile drawer styling */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: rgba(12, 15, 19, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 15%;
  transition: var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav-link {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.mobile-nav-link:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: translateX(10px);
}

/* ==========================================================================
   SIDEBAR DOT NAVIGATION
   ========================================================================== */
.dot-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.dot-btn:hover,
.dot-btn.active {
  background-color: var(--color-primary);
  transform: scale(1.4);
}

/* Light dot background when on white slides */
.dot-nav.nav-light-active .dot-btn {
  background-color: rgba(0, 0, 0, 0.2);
}

.dot-nav.nav-light-active .dot-btn:hover,
.dot-nav.nav-light-active .dot-btn.active {
  background-color: var(--color-primary);
}

/* ==========================================================================
   ARTWORK CONTROLS (Top-Left floating buttons from screenshot)
   ========================================================================== */
.artwork-controls {
  position: absolute;
  top: 100px;
  left: 5%;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.control-btn {
  background: rgba(12, 15, 19, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: rgba(18, 121, 130, 0.8);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 121, 130, 0.3);
}

.control-btn .icon {
  font-size: 0.9rem;
}

/* Light theme variation of buttons if needed */
.light-theme .control-btn {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-theme .control-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   SLIDE 1: COVER PAGE
   ========================================================================== */
.cover-slide {
  justify-content: center;
  position: relative;
}

.cover-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 15, 19, 0.45) 0%, rgba(12, 15, 19, 0.85) 100%);
  z-index: 1;
}

.three-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
}

.text-center {
  text-align: center;
}

.subtitle-art {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 8px;
  opacity: 0.9;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-title {
  font-family: var(--font-title);
  font-size: 6.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 25px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  animation: scaleUp 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  color: #ffffff;
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s backwards;
}

.author-name {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 4px;
}

.meta-separator {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.year-stamp {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 4px;
  color: var(--color-primary-hover);
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: currentColor;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.8s infinite;
}

.arrow-down {
  width: 12px;
  height: 12px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounceArrow 1.8s infinite;
}



/* ==========================================================================
   SLIDE 2: ABOUT ME PAGE
   ========================================================================== */
.about-slide {
  background-color: #f2f2f2 !important;
  /* Minimalist off-white background matching the image */
  color: #20242f;
  padding-top: 110px !important;
  padding-bottom: 90px !important;
}

.grid-layout-minimal {
  display: grid;
  grid-template-columns: 29% 44% 27%;
  gap: 55px;
  /* Spaced out columns */
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin-top: 15px;
}

/* Left Column: Image & Metadata */
.minimal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.avatar-minimal {
  width: 100%;
  height: auto;
  max-height: 310px;
  /* Constrain vertical height to ensure clean layout on standard viewports */
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  border-radius: 40px;
  /* Very rounded corners like the image */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-color: #eaeaea;
}

.profile-meta-minimal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #555555;
  font-weight: 700;
}

.dot-separator {
  color: #bbb;
  font-weight: bold;
}

/* Middle Column: Hello, Bio & Education */
.minimal-middle {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.greeting-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.minimal-greeting {
  font-family: var(--font-header);
  font-size: 4.8rem;
  font-weight: 800;
  color: #20242f;
  margin: 0;
  line-height: 1;
  letter-spacing: -1.5px;
}

.minimal-bio {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4e5564;
}

.minimal-bio p {
  margin-bottom: 12px;
}

.minimal-bio strong {
  font-weight: 700;
  color: #20242f;
}

.minimal-education {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.minimal-section-title {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: #20242f;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.minimal-edu-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.minimal-edu-year {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 800;
  color: #20242f;
}

.minimal-edu-school {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 800;
  color: #20242f;
  margin: 0;
}

.minimal-edu-degree {
  font-size: 0.9rem;
  color: #555555;
  font-weight: 500;
}

.minimal-edu-major {
  font-size: 0.85rem;
  color: #777777;
  margin-top: 2px;
}

/* Right Column: Skills & Certifications */
.minimal-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.minimal-skills-section {
  display: flex;
  flex-direction: column;
}

.skills-grid-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 250px;
}

.skill-box-minimal {
  background: #20242f;
  color: #ffffff;
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.skill-box-minimal:hover {
  transform: translateY(-3px);
  background: var(--color-primary);
  box-shadow: 0 6px 15px rgba(18, 121, 130, 0.2);
}

.minimal-timeline-section {
  display: flex;
  flex-direction: column;
}

.timeline-minimal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.timeline-item-minimal {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-year-minimal {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 800;
  color: #20242f;
}

.timeline-desc-minimal {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.35;
  font-weight: 500;
}

/* Minimal Slide Footer Contacts */
.footer-minimal {
  position: relative;
  margin-top: 45px;
  /* Create solid vertical separation in grid flow */
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.contacts-bar-minimal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  padding: 0 5%;
}

.contact-link-minimal {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #555555;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.contact-link-minimal:hover {
  color: var(--color-primary);
}

.contact-link-minimal:not(:last-child)::after {
  content: '•';
  margin-left: 20px;
  color: #bbb;
  pointer-events: none;
  font-weight: bold;
}


/* ==========================================================================
   SLIDE 3: CONTENTS INDEX PAGE
   ========================================================================== */
.contents-slide {
  justify-content: center;
}

.big-stroke {
  font-size: 6rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: transparent;
  -webkit-text-stroke: 2px var(--color-text-dark);
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.contents-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.content-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--color-light-card);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.content-item:hover {
  transform: translateX(15px);
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(18, 121, 130, 0.2);
}

.content-item .num {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.content-item:hover .num {
  color: #fff;
}

.content-item .desc h3 {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
}

.content-item .desc p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* Image preview on hover */
.hover-preview {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 140px;
  height: 80px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.content-item:hover .hover-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* ==========================================================================
   SLIDE 4 & 6: PROJECT COVERS (SENMU, METAMORPHOSIS)
   ========================================================================== */
.project-cover-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 15, 19, 0.3) 0%, rgba(12, 15, 19, 0.7) 100%);
  z-index: 1;
}

.tracking-wide {
  letter-spacing: 5px;
}

.project-title {
  font-family: var(--font-title);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 10px;
  margin-bottom: 10px;
}

.senmu-title {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(28, 165, 179, 0.4);
}

.metamorphosis-title {
  color: #f7ca65;
  text-shadow: 0 0 20px rgba(247, 202, 101, 0.3);
}

.project-subtitle {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 35px;
}

.project-author-meta {
  font-family: var(--font-header);
  font-size: 1rem;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* Metamorphosis Movie spec box */
.movie-meta-box {
  background: rgba(12, 15, 19, 0.6);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  max-width: 650px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  text-align: left;
  line-height: 1.6;
}

.movie-meta-box p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.movie-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  color: #f7ca65;
}

/* ==========================================================================
   SLIDE 5: SENMU CHARACTER DETAIL PAGE
   ========================================================================== */
.flex-column-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.concept-banner-wrapper {
  position: relative;
  width: 100%;
  height: 48vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.concept-banner-wrapper:hover .banner-img {
  transform: scale(1.03);
}

.banner-label-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px 50px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.banner-main-title {
  font-family: var(--font-header);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ab7a5e;
  line-height: 1;
}

.banner-sub-title {
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 8px;
  color: #12151a;
  margin-top: 5px;
}

.grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.specs-intro {
  color: var(--color-text-dark);
  font-family: var(--font-body);
}

.specs-intro h2 {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.specs-intro p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specs-pills span {
  background-color: rgba(18, 121, 130, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(18, 121, 130, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.specs-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.thumb-card {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.6 / 1;
  position: relative;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

.thumb-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 121, 130, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.thumb-card:hover .thumb-hover {
  opacity: 1;
}

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

.zoom-icon {
  font-size: 1.5rem;
  color: #fff;
}

/* ==========================================================================
   SLIDE 7: PERSONAL GALLERY PAGE
   ========================================================================== */
.gallery-header {
  margin-bottom: 20px;
}

.section-subtitle-dark {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.gallery-img-container {
  position: relative;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img-container img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 15, 19, 0) 40%, rgba(12, 15, 19, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h3 {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-item-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ==========================================================================
   PORTFOLIO LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(12, 15, 19, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1010;
}

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

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
  z-index: 1010;
  outline: none;
}

.lightbox-arrow:hover {
  background: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-arrow.prev {
  left: 40px;
}

.lightbox-arrow.next {
  right: 40px;
}

.lightbox-content-wrapper {
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-caption {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-align: center;
}

/* ==========================================================================
   ANIMATIONS & ENTRANCE EFFECTS
   ========================================================================== */
@keyframes scrollMouse {
  0% {
    top: 8px;
    opacity: 1;
  }

  50% {
    top: 18px;
    opacity: 0.3;
  }

  100% {
    top: 8px;
    opacity: 1;
  }
}

@keyframes bounceArrow {

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

  50% {
    transform: translateY(8px) rotate(45deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

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

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

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

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

/* Visual reveal hooks triggered by JS scroll detection */
.animate-on-visible {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-visible.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers */
.animate-on-visible:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-on-visible:nth-child(2) {
  transition-delay: 0.25s;
}

.animate-on-visible:nth-child(3) {
  transition-delay: 0.4s;
}

/* Custom Scrollbar for timeline container */
.timeline-container::-webkit-scrollbar {
  width: 5px;
}

.timeline-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}

.timeline-container::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

/* ==========================================================================
   AI & RESEARCH SLIDES (SLIDES 6, 6b, 6c)
   ========================================================================== */
.your-voice-layout {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  align-items: start;
}

.your-voice-col {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.your-voice-func-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.func-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

.func-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 142, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.func-img-container {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.func-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.func-card:hover .func-img-container img {
  transform: scale(1.025);
}

.func-title {
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.func-card:hover .func-title {
  color: #fff;
}

.badges-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.achievement-badge-card {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.achievement-badge-card:hover {
  transform: translateX(4px);
  border-color: rgba(177, 142, 255, 0.3);
}

.badge-tag-pill {
  padding: 14px 20px;
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  min-width: 165px;
  color: #fff;
  letter-spacing: 0.5px;
}

.tag-global {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tag-silver {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-body-box {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  text-align: left;
}

.badge-partner {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-family: var(--font-body);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.badge-title {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.ceremony-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.ceremony-photo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  cursor: pointer;
  aspect-ratio: 1.6 / 1;
  background-color: #000;
}

.ceremony-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.9;
}

.ceremony-photo-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 15px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: left;
}

/* Slide 6b: RESEARCH ACHIEVEMENTS & AWARDS */
.achievements-layout {
  display: grid;
  grid-template-columns: 53% 47%;
  gap: 35px;
  width: 100%;
  max-width: 1200px;
  align-items: start;
}

.awards-gallery-col,
.awards-list-col {
  width: 100%;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.award-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.6 / 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background-color: #eaeaea;
}

.award-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.award-badge-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-header);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.label-winner {
  background: #1e3a8a;
}

.label-silver {
  background: #1d4ed8;
}

.label-second {
  background: #2563eb;
}

.label-encouragement {
  background: #3b82f6;
}

.label-first {
  background: #1e40af;
}

.achievement-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.stat-number {
  display: block;
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.awards-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  max-height: 330px;
  overflow-y: auto;
}

.bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.bullet-dot {
  font-size: 1.1rem;
  line-height: 1.4;
}

.bullet-item p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #374151;
  margin: 0;
}

/* Slide 6c: SOCIAL MEDIA & PRESS */
.media-collage-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
}

.media-collage-header {
  width: 100%;
}

.media-title-capsule {
  display: inline-block;
  background: #150f2b;
  color: #b18eff;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 4px;
  padding: 10px 35px;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(21, 15, 43, 0.15);
  border: 1px solid rgba(177, 142, 255, 0.15);
}

.media-collage-container {
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  background: #fff;
  aspect-ratio: 1.7 / 1;
}

.collage-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.media-collage-container:hover .collage-main-img {
  transform: scale(1.02);
}

.zoom-overlay-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(21, 15, 43, 0.92);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.media-collage-container:hover .zoom-overlay-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* ==========================================================================
   GAME DESIGN SLIDES (SLIDE 4 & 5)
   ========================================================================== */
.game-design-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(12, 15, 19, 0.95) 0%, rgba(12, 15, 19, 0.65) 45%, rgba(12, 15, 19, 0.1) 100%);
  z-index: 1;
}

.game-split-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
}

.game-video-wrapper {
  flex: 1;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.video-player-bezel {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.video-screen {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-play {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 15, 19, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.video-player-bezel:hover .video-overlay-play {
  background: rgba(12, 15, 19, 0.2);
}

.video-player-bezel:hover .play-btn-ring {
  transform: scale(1.1);
  background-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(18, 121, 130, 0.6);
}

.play-btn-ring {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(18, 121, 130, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.play-triangle {
  color: #fff;
  font-size: 1.6rem;
  margin-left: 4px;
}

.video-play-text {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.game-info-wrapper {
  max-width: 600px;
  z-index: 2;
  text-align: left;
}

.game-design-num {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.game-design-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.game-design-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-header);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.meta-dot {
  color: var(--color-primary-hover);
  font-weight: 700;
}

.horizontal-line {
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

.game-scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.game-scope-list p {
  position: relative;
  padding-left: 15px;
}

.game-scope-list p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--color-primary-hover);
}

.game-achievement-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #ffca65;
  font-weight: 600;
  line-height: 1.5;
}

.game-pills-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-body);
}

/* ==========================================================================
   GAMEPLAY SCREENSHOTS SHOWCASE (SLIDES 4b & 5b)
   ========================================================================== */
.gameplay-slide {
  background-color: #ededed !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 85px 8% 40px 8%;
  gap: 15px;
}

.gameplay-banner {
  width: 100%;
  height: 26vh;
  min-height: 160px;
  max-height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.gameplay-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gameplay-banner:hover img {
  transform: scale(1.02);
}

.gameplay-bottom {
  display: grid;
  grid-template-columns: 28% 72%;
  width: 100%;
  gap: 35px;
  align-items: center;
  margin-top: 5px;
}

/* Left Column Logo Block */
.gameplay-left-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.gameplay-logo-block {
  width: 100%;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  margin: 5px 0;
}

.ornament-line {
  height: 1.5px;
  flex-grow: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(18, 121, 130, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

.ornament-diamond {
  font-size: 0.8rem;
  color: var(--color-primary);
  line-height: 1;
  text-shadow: 0 0 5px rgba(18, 121, 130, 0.2);
}

.gameplay-logo-prefix {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.gameplay-logo-title {
  font-family: var(--font-header);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 2px 0;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.gameplay-logo-subtitle {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 0;
}

/* Right Column Rows Grid */
.gameplay-right-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.gameplay-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.row-header {
  display: flex;
  justify-content: flex-start;
  margin-left: 2px;
}

.row-label {
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gameplay-card {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.6 / 1;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.gameplay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

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

.gameplay-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.95;
  text-align: left;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE STYLES (MOBILE & TABLET COLLAPSE)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-layout {
    grid-template-columns: 35% 65%;
  }

  .skills-exp-column {
    grid-column: span 2;
    margin-top: 20px;
  }

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

  .main-title {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {

  /* Disable slide snap for better vertical reading flow on mobile */
  body {
    overflow-y: auto;
    height: auto;
  }

  .slides-container {
    height: auto;
    width: 100%;
    overflow-y: visible;
    scroll-snap-type: none;
  }

  .slide {
    height: auto;
    min-height: 100vh;
    padding: 100px 5% 60px 5%;
    scroll-snap-align: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .dot-nav {
    display: none;
  }

  .grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-card,
  .skills-exp-column {
    grid-column: span 1;
  }

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

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

  .subtitle-art {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  .big-stroke {
    font-size: 3.5rem;
    margin-bottom: 30px;
  }

  .contents-menu {
    gap: 15px;
  }

  .content-item {
    padding: 15px 20px;
    gap: 15px;
  }

  .hover-preview {
    display: none;
    /* Hide hover image previews on mobile */
  }

  .project-title {
    font-size: 3.5rem;
  }

  .grid-two-cols {
    grid-template-columns: 1fr;
  }

  .concept-banner-wrapper {
    height: 30vh;
  }

  .banner-main-title {
    font-size: 2rem;
  }

  .banner-sub-title {
    font-size: 1rem;
    letter-spacing: 4px;
  }

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

  .lightbox-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .lightbox-arrow.prev {
    left: 10px;
  }

  .lightbox-arrow.next {
    right: 10px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
  }

  .contacts-bar {
    justify-content: center;
  }

  .slide-footer {
    position: relative;
    padding: 20px 5%;
    margin-top: 40px;
  }

  /* Slide 6 Mobile Overrides */
  .your-voice-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .your-voice-col {
    padding: 25px 20px;
  }

  .your-voice-func-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ceremony-photos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Slide 6b Mobile Overrides */
  .achievements-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .award-card {
    aspect-ratio: 1.5 / 1;
  }

  .achievement-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .awards-bullet-list {
    max-height: 280px;
    padding: 20px;
  }

  /* Slide 6c Mobile Overrides */
  .media-collage-container {
    max-width: 100%;
    aspect-ratio: 1.4 / 1;
  }

  .zoom-overlay-hint {
    opacity: 1;
    bottom: 12px;
    font-size: 0.65rem;
    padding: 6px 15px;
  }

  /* Game Design Mobile Overrides */
  .game-split-layout {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 0;
  }

  .game-info-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .game-video-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .game-design-title {
    font-size: 2.2rem;
  }

  .game-design-num {
    font-size: 1rem;
  }

  .game-design-slide::before {
    background: linear-gradient(180deg, rgba(12, 15, 19, 0.95) 0%, rgba(12, 15, 19, 0.8) 100%);
  }

  /* Gameplay Showcase Mobile Overrides */
  .gameplay-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gameplay-left-col {
    width: 100%;
  }

  .gameplay-right-col {
    width: 100%;
    gap: 25px;
  }

  .gameplay-row .row-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gameplay-banner {
    height: 22vh;
    min-height: 140px;
  }
}

/* ==========================================================================
   SLIDE 7: MY CV STYLE
   ========================================================================== */
.cv-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cv-header {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.cv-subtitle {
  font-family: var(--font-header);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

.cv-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.cv-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.cv-image-card {
  position: relative;
  background-color: var(--color-light-card);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1.414;
  transition: var(--transition-smooth);
}

.cv-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.cv-image-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.cv-image-card:hover img {
  transform: scale(1.03);
}

.cv-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 121, 130, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  color: var(--color-text-light);
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 600;
  gap: 8px;
  backdrop-filter: blur(2px);
  transition: var(--transition-fast);
}

.cv-image-card:hover .cv-zoom-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.8rem;
}

.cv-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: var(--transition-fast);
}

.cv-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cv-btn:active {
  transform: translateY(-1px);
}

.cv-btn.primary-btn {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.cv-btn.primary-btn:hover {
  background-color: var(--color-primary-hover);
}

.cv-btn.secondary-btn {
  background-color: var(--color-light-card);
  color: var(--color-text-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-btn.secondary-btn:hover {
  background-color: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-icon {
  font-size: 1.1rem;
}

/* CV slide responsive mobile styles */
@media (max-width: 768px) {
  .cv-images-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 380px;
  }
  
  .cv-zoom-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5) 100%);
    justify-content: flex-end;
    padding: 10px;
    font-size: 0.8rem;
    backdrop-filter: none;
  }
  
  .cv-zoom-overlay .zoom-icon {
    font-size: 1.2rem;
  }

  .cv-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .cv-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   SKILLS PILLS ABOUT ME
   ========================================================================== */
.skills-tags-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 280px;
  margin-top: 10px;
}

.skill-tag {
  background-color: #20242f;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 16px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.skill-tag:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}