/* --- CSS Colors & Theme Variables --- */
:root {
  --bg-dark: #000000;
  --text-primary-dark: #ffffff;
  --text-secondary-dark: #8e8e93;

  /* White theme below the cards */
  --bg-light: #ffffff;
  --text-primary-light: #1c1c1e;
  --text-secondary-light: #636366;

  --border-subtle-dark: rgba(255, 255, 255, 0.08);
  --border-subtle-light: rgba(0, 0, 0, 0.08);
  --card-bg-dark: #121214;
  --accent-green: #30d158;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* --- Global Navigation Bar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle-dark);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-primary-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.say-hi {
  color: var(--text-primary-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary-dark);
  transition: fill 0.25s ease;
}

.social-icons a:hover svg {
  fill: var(--text-primary-dark);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-primary-dark);
  padding-top: 60px;
  padding-bottom: 120px;
}

.hero-intro {
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary-dark);
  margin-bottom: 24px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}

h1.hero-title {
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary-dark);
  max-width: 780px;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  text-align: center;
}

/* --- Replicated Cards Deck --- */
.cards-deck {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.deck-card {
  width: 320px;
  height: 380px;
  background-color: #0b0b0c;
  border: 1px solid var(--border-subtle-dark);
  border-radius: 28px;
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

/* Custom exact tilts and stack orders */
.card-left {
  transform: rotate(-5deg) translateY(15px);
  z-index: 3;
}

.card-center {
  transform: rotate(2deg) translateY(-10px);
  z-index: 4;
}

.card-right {
  transform: rotate(-4deg) translateY(20px);
  z-index: 3;
}

/* Hover transitions to reset rotation and push on top */
.deck-card:hover {
  transform: scale(1.05) rotate(0deg) translateY(-20px) !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7);
  z-index: 15 !important;
}

.card-header h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary-dark);
  letter-spacing: -0.01em;
}

.card-illustration {
  flex-grow: 1;
  position: relative;
  margin-top: 16px;
  width: 100%;
  height: 100%;
}

/* --- Card 1: Replicated 3D Pill Shapes --- */
.pill-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.pill-shape {
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  width: 160px;
}

.pill-green {
  background-color: #a3e635;
  color: #1a2e05;
  transform: rotate(-6deg) translateX(-15px);
  box-shadow: -4px 6px 0px #65a30d, 0 8px 16px rgba(0,0,0,0.4);
}

.pill-teal {
  background-color: #38bdf8;
  color: #0369a1;
  transform: rotate(4deg) translateX(15px);
  box-shadow: -4px 6px 0px #0284c7, 0 8px 16px rgba(0,0,0,0.4);
}

.pill-blue {
  background-color: #3b82f6;
  color: #ffffff;
  transform: rotate(-4deg) translateX(-10px);
  box-shadow: -4px 6px 0px #1d4ed8, 0 8px 16px rgba(0,0,0,0.4);
}


/* --- Card 2: Two 16:9 Landscape Videos Setup --- */
.landscape-videos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  padding-bottom: 20px; /* Centers the stacking area vertically */
}

.landscape-video-wrapper {
  width: 200px;                 /* Restricts width so both 16:9 videos fit comfortably */
  aspect-ratio: 16 / 9;         /* Enforces standard widescreen aspect ratio */
  border-radius: 14px;          /* Clean, modern rounded corners */
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65); /* Drop shadow for visual depth */
  border: 1px solid rgba(255, 255, 255, 0.12); /* Glossy bezel highlight */
  position: absolute;
}

/* Dynamic offset stacking layout */
.landscape-video-wrapper.video-one {
  transform: rotate(-6deg) translate(-15px, -20px);
  z-index: 1;
}

.landscape-video-wrapper.video-two {
  transform: rotate(5deg) translate(15px, 20px);
  z-index: 2;
}

/* --- Card 3: Two Pure Videos Setup --- */
.pure-videos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  padding-bottom: 20px; /* Offset to center vertically within the card space */
}

.pure-video-wrapper {
  width: 110px;                /* Controls width of each vertical video inside the card */
  aspect-ratio: 9 / 16;
  border-radius: 16px;         /* Sleek, highly rounded corners */
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65); /* Rich dark shadow for depth */
  border: 1px solid rgba(255, 255, 255, 0.12); /* Subtle glossy rim */
}

/* Elegant overlapping floating tilt */
.pure-video-wrapper.video-one {
  transform: rotate(-6deg) translateY(10px);
  z-index: 1;
}

.pure-video-wrapper.video-two {
  transform: rotate(6deg) translateY(-10px);
  margin-left: -20px;          /* Clean overlapping overlap */
  z-index: 2;
}

/* --- Ultra-Tight Green-to-Blue Transition (Moved Down) --- */
.theme-transition {
  position: relative;
  width: 100%;
  height: 160px;
  margin-top: 40px;
  z-index: 5;

  /* Vivid crimson left → deep maroon right */
  background: linear-gradient(
    to right,
    #c8001a 0%,
    #a00016 45%,
    #680014 100%
  );
}

.theme-transition::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    rgba(0, 0, 0, 0.97)  8%,
    rgba(0, 0, 0, 0.85) 18%,
    rgba(0, 0, 0, 0.60) 28%,
    rgba(0, 0, 0, 0.35) 37%,
    rgba(0, 0, 0, 0.12) 44%,
    transparent         49%,
    transparent         51%,
    rgba(255, 255, 255, 0.12) 56%,
    rgba(255, 255, 255, 0.35) 63%,
    rgba(255, 255, 255, 0.60) 72%,
    rgba(255, 255, 255, 0.85) 82%,
    rgba(255, 255, 255, 0.97) 92%,
    #ffffff            100%
  );
  pointer-events: none;
}
/* Fix for the white section below */
.white-theme-wrapper {
  background-color: #ffffff;
  margin-top: -1px;
}

.hero {
  background-color: #000;
  padding-bottom: 0;
}

.white-theme-wrapper {
  background-color: #fff;
  margin-top: -1px;
}

/* Remove your old .aura-glow-container and .aura-glow-left/right styles completely */


/* --- Portfolio Sections (White & below theme) --- */
.white-theme-wrapper {
  background-color: var(--bg-light);
  color: var(--text-primary-light);
  padding-bottom: 80px;
  position: relative;
  z-index: 11;
}

.portfolio-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle-light);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--text-primary-light);
}

/* Projects Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--card-bg-light);
  border: 1px solid var(--border-subtle-light);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary-light);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-thumbnail {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.project-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-primary-light);
}

.project-tag {
  font-size: 0.85rem;
  color: var(--text-secondary-light);
}


/* --- Footer --- */
footer {
  padding: 80px 0;
}

.footer-cta {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.footer-cta a {
  color: var(--text-primary-light);
  text-decoration: none;
  border-bottom: 2px solid var(--border-subtle-light);
  transition: border-color 0.2s ease;
}

.footer-cta a:hover {
  border-color: var(--text-primary-light);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary-light);
  font-size: 0.85rem;
  margin-top: 60px;
}

/* --- Responsive rules --- */
@media (max-width: 1024px) {
  h1.hero-title {
    font-size: 4rem;
  }
  .cards-deck {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .deck-card {
    transform: none !important;
    margin: 0 !important;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .aura-glow-container {
    display: none;
  }
}

@media (max-width: 768px) {
  h1.hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .container {
    padding: 0 20px;
  }
  .navbar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    gap: 20px;
  }
}
/* 1. Global Safety Rule: Forces ALL video tags to respect their parent container boundaries */
video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* 2. Constrained Portrait Card Wrapper */
.video-thumbnail-9-16 {
  width: 100%;
  max-width: 220px;            /* Restricts the width of the vertical video on desktop */
  aspect-ratio: 9 / 16;        /* Maintains the perfect 9:16 crop */
  background-color: #000000;
  border: 1px solid var(--border-subtle-light);
  border-radius: 18px;
  margin: 0 auto 20px auto;    /* Centers the card within its grid column */
  overflow: hidden;            /* Strictly clips any video overflow */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* 3. Keep Hover Transitions aligned */
.project-card:hover .video-thumbnail-9-16 {
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 4. Ensure Hero Deck Polaroid frame video respects boundaries */
.polaroid-image-replicated {
  width: 100%;
  height: 90px;
  background: #111;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* Ensures rounded corners clip the video */
}

.polaroid-image-replicated video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Section Header Styling */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #666;
  margin-top: -10px;
}

.section-subtitle span {
  font-family: 'Caveat', cursive;
  color: #000;
  font-size: 1.4rem;
  margin-left: 8px;
}

.carousel-wrapper {
  user-select: none;
  -webkit-user-select: none;
}

/* --- 1. Full-Bleed Carousel Container --- */
.carousel-container {
  display: flex;
  overflow-x: hidden;
  cursor: grab;
  padding: 40px 0;
  touch-action: pan-y;
  will-change: transform;
  gap: 24px;

  /* Full-bleed breakout to match screen margins */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: calc(50vw - min(1200px, 100vw)/2 + 40px);
  padding-right: calc(50vw - min(1200px, 100vw)/2 + 40px);
}

/* --- 2. Carousel Slide Base (Removed overflow: hidden to prevent bottom clipping) --- */
.carousel-slide {
  flex: 0 0 80%; /* Mobile width */
  position: relative; 
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 45%; /* Desktop width */
  }
}

/* --- 3. Image Layout (Rounded corners applied directly here) --- */
.carousel-slide img {
  width: 100%;
  height: auto; /* Natural height to prevent clipping */
  display: block;
  border-radius: 16px; /* Beautiful rounded corners applied directly to the image */
}

/* --- 4. Remove the White Box on Top Right --- */
.slide-overlay {
  display: none !important;
}

/* --- 3. Uncropped Image Layout --- */
.carousel-slide img {
  width: 100%;
  height: auto; /* Changing from 100% to auto preserves the original layout of the design */
  display: block;
}

.slide-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Interaction Hint */
.carousel-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Meta Data Footer */
.project-info-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.info-block h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
/* Show the user they can grab the items */
.carousel-container {
  cursor: grab;
  user-select: none; /* Prevents highlighting text/images while dragging */
}

.carousel-container.active {
  cursor: grabbing;
  scroll-snap-type: none; /* Disables snapping ONLY while dragging for smoothness */
}

/* Ensure images don't get "ghosted" by the browser when dragging */
.carousel-slide img {
  pointer-events: none;
}
/* Prevent text selection while dragging */
/* --- Premium Portfolio Video & Controls Design Foundation --- */
:root {
  --control-panel-bg: rgba(10, 10, 10, 0.75);
  --glass-stroke: rgba(255, 255, 255, 0.15);
  --accent-color: #f3f4f6;
  --accent-active: #ffffff;
}

/* Redesigned AI Ads Layout - Cinematic, Wider Screen Space */
.ai-ads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  margin-top: 40px;
  margin-bottom: 80px;
}

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

/* --- Portrait Grid Styling --- */
.portrait-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 40px; /* Generous row gap */
  margin-top: 40px;
}

/* Base style for standard portrait cards */
.portrait-grid .portrait-card {
  width: 100%;
  max-width: 340px;
  justify-self: center; /* Centers each card within its grid track */
}

/* Custom featured card overrides (noticeably larger) */
.portrait-grid .featured-card {
  max-width: 460px; /* Noticeably larger than the 340px standard */
}

@media (min-width: 768px) {
  .portrait-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Forces the InPost featured card to span both columns and center itself */
  .portrait-grid .featured-card {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* Note: Ensure any previous '@media (min-width: 1200px) { .portrait-grid { grid-template-columns: repeat(3, 1fr); } }' rule is deleted or commented out to maintain the 2-column bottom layout. */


/* Premium Video Container Setup */
.premium-video-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-video-card:hover {
  transform: translateY(-4px);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #09090b;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portrait-wrapper {
  aspect-ratio: 9 / 16;
}

.custom-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Dark Ambient Gradient Shield for Controls Visibility */
.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 35%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover::after {
  opacity: 1;
}

/* Play State Center Icon Indicator */
.video-center-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}

.video-center-indicator.fade-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.indicator-icon {
  width: 24px;
  height: 24px;
}

/* Premium Controls Panel overlay */
.custom-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-wrapper:hover .custom-video-controls {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphic Control Buttons */
.control-btn {
  background: var(--control-panel-bg);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.control-btn:hover {
  color: var(--accent-active);
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.control-btn svg {
  width: 18px;
  height: 18px;
}

/* Advanced Video Interactive Timeline Progress bar */
.video-timeline-wrapper {
  flex-grow: 1;
  margin: 0 16px;
  padding: 10px 0;
  cursor: pointer;
}

.video-timeline-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: height 0.2s ease;
}

.video-timeline-wrapper:hover .video-timeline-bar {
  height: 6px;
}

.video-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: #ffffff;
  border-radius: 10px;
  transition: width 0.1s linear;
}

/* Sound Controller Panel - NOW PERMANENTLY EXPANDED */
.sound-control-wrapper {
  display: flex;
  align-items: center;
  background: var(--control-panel-bg);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 30px;
  padding-right: 14px; /* Permanently applied padding */
  height: 40px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sound-control-wrapper .sound-toggle {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Volume Slider Container - NOW PERMANENTLY VISIBLE */
.volume-slider-container {
  width: 76px; /* Constantly held width */
  opacity: 1; /* Completely visible */
  overflow: visible;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Premium Range styling */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Typography Details underneath Cards */
.project-info-premium {
  margin-top: 18px;
}

.info-meta {
  margin-bottom: 8px;
}

.project-tag-premium {
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b5cf6;
  font-weight: 600;
}

.project-title-premium {
  font-size: 20px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 8px;
}

.project-desc-premium {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}
/* --- Graphic Design Hero Card Overlapping Images (1.4x Enlarged with Sharpness Optimization) --- */
.graphic-images-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1000px; /* Adds physical depth to the overlapping layers */
}

.graphic-image {
  position: absolute;
  /* Exactly 1.4x the base layout dimensions (110px * 1.4 = 154px / 145px * 1.4 = 203px) */
  width: 154px;
  height: 203px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  
  /* GPU Acceleration to force composite layer rendering & prevent rotation blur */
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  image-rendering: -webkit-optimize-contrast;
  
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

/* Base layout translations adapted for the 1.4x scale */
.img-under {
  transform: translate3d(-24px, 18px, -40px) rotate(-10deg);
  z-index: 1;
}

.img-over {
  transform: translate3d(24px, -18px, 0) rotate(8deg);
  z-index: 2;
}

/* Advanced fanning hover actions using 3D depth layers */
.deck-card.card-left:hover .img-under {
  transform: translate3d(-42px, 28px, -60px) rotate(-16deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.deck-card.card-left:hover .img-over {
  transform: translate3d(42px, -28px, 40px) rotate(14deg);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6);
}