/**
 * JESSE HIELEMA - FULLSCREEN DOOMSCROLL FEED SYSTEM
 * Instagram-style vertical feed with project showcases
 */

/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://use.typekit.net/rgu3iav.css');

.feed-intro-title,
.feed-card-title,
.overlay-title,
.modal-header h2 {
  font-family: "massilia", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* === NAVBAR LIKE-TELLER === */
.like-counter-navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding: 10px 16px;
  background: rgba(232, 106, 51, 0.1);
  border-radius: 30px;
  border: 1px solid rgba(232, 106, 51, 0.3);
  cursor: pointer;
  order: -1;
  margin-left: auto;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.navbar.navbar-scrolled .like-counter-navbar {
  padding: 6px 12px;
  gap: 6px;
}

.navbar.navbar-scrolled .like-counter-navbar .heart-icon {
  font-size: 12px;
}

.navbar.navbar-scrolled .like-counter-navbar .like-count {
  font-size: 11px;
}

.like-counter-navbar:hover {
  background: rgba(232, 106, 51, 0.15);
  border-color: rgba(232, 106, 51, 0.5);
  transform: scale(1.05);
}

.like-counter-navbar .heart-icon {
  color: #E85D04;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.like-counter-navbar .like-count {
  font-weight: 600;
  color: #E85D04;
  font-size: 14px;
  min-width: 20px;
}

.like-counter-navbar .like-feedback {
  font-size: 12px;
  color: #9A3B14;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  filter: blur(2px);
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.34s cubic-bezier(0.22, 1, 0.36, 1), filter 0.34s ease;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  will-change: opacity, transform, max-width;
}

.like-counter-navbar .like-feedback.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  max-width: 220px;
}

.navbar.navbar-scrolled .like-counter-navbar .like-feedback {
  font-size: 10px;
}

.navbar.navbar-scrolled .like-counter-navbar .like-feedback.show {
  max-width: 140px;
}

.like-counter-navbar.pulse .heart-icon,
.like-counter-navbar.pulse .like-count {
  animation: counterPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* === FEED WRAPPER === */
.feed-wrapper {
  position: relative;
  width: 100%;
  background: #0F0F10;
  min-height: auto;
  scroll-behavior: smooth;
}

.feed-intro {
  width: 100%;
  background: #0F0F10;
  position: relative;
  overflow: visible;
}

.feed-intro-inner {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 60px 40px 60px;
}

.feed-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.feed-intro-title {
  font-size: 64px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-80px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.feed-intro.is-visible .feed-intro-title {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-intro-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  word-spacing: 0.05em;
}

.feed-intro-description .desc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: none;
}

.feed-intro-description .desc-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.feed-intro-description .like-highlight {
  color: #E85D04;
  font-weight: 700;
  cursor: default;
  position: relative;
}

/* Floating hearts container */
.floating-hearts {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10;
}

.floating-heart {
  position: absolute;
  font-size: 18px;
  animation: floatHeart 1.4s ease-out forwards;
  opacity: 0;
}

@keyframes floatHeart {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  15% {
    opacity: 1;
    transform: translate(var(--float-x, 0px), -10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--float-x, 0px), -80px) scale(0.7);
  }
}

/* === FILTER BAR === */
.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 30px;
  background: transparent;
  height: 62px;
  min-height: 62px;
  will-change: transform;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-btn {
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  color: #1A1A1A;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
  opacity: 1 !important;
}

.filter-btn:hover {
  color: #E85D04;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background: #E85D04;
  border-color: #E85D04;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}

/* Mobile filter dropdown - hidden on desktop */
.filter-select {
  display: none;
}

.feed-card.filter-hidden {
  display: none !important;
}

.feed-container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 60px 60px 60px;
  min-height: auto;
  background: transparent;
}

/* === FEED CARD (PROJECT) === */
.feed-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #000;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  will-change: transform, opacity;
  backface-visibility: hidden;
  /* Individual card: position relative like brandcreatives */
  /* GSAP controls transform & opacity directly */
}

/* === FEATURED CARD (Uitgelicht) === */
.feed-card--featured {
  outline: 2px solid #E85D04;
  outline-offset: -2px;
}

.feed-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #E85D04;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 6px;
  pointer-events: none;
}

.feed-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


.feed-card-image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Carousel styles */
.image-scroll-container {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #FFFFFF;
  width: 24px;
  border-radius: 4px;
}

.feed-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 2;
}


.feed-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 24px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}


@media (max-width: 900px) {
  .like-counter-navbar .like-feedback {
    font-size: 10px;
  }

  .like-counter-navbar .like-feedback.show {
    max-width: 110px;
  }
}

.feed-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feed-card-year {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.feed-card-title {
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.feed-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.tag-pill:hover {
  background: rgba(232, 106, 51, 0.3);
  border-color: rgba(232, 106, 51, 0.6);
}

.view-project-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #E85D04;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}

.view-project-btn:hover {
  background: #F5A623;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 106, 51, 0.4);
}

/* Feed card right side - like section */
.feed-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}

.like-btn-feed {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.like-btn-feed:focus,
.like-btn-feed:focus-visible,
.like-btn-feed:active,
.heart-btn:focus,
.heart-btn:focus-visible,
.heart-btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.heart-btn {
  font-size: 44px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  padding: 0;
  color: #E85D04;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transform: scale(1);
}

.heart-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.heart-btn.liked {
  animation: heartBeat 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 8px rgba(255, 107, 107, 0.3));
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  20% { transform: scale(1.15); }
  40% { transform: scale(1); }
  100% { transform: scale(1); }
}

.like-count-feed {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  min-width: 40px;
}

/* === BURST PARTICLE ANIMATION === */
.burst-particle {
  position: fixed;
  pointer-events: none;
  font-size: 30px;
  z-index: 9999;
  animation: burstOut 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes burstOut {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
}

/* === FLYING HEART === */
.flying-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  animation: floatToCounter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes floatToCounter {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.5);
  }
}

/* === DETAIL OVERLAY === */
.detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.detail-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-close:hover {
  background: white;
  transform: scale(1.1);
}

.overlay-content {
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  background: white;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.overlay-image-side {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

.overlay-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* === INSTAGRAM-STYLE CAROUSEL === */
.insta-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.insta-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.insta-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.insta-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease;
  z-index: 5;
}

.insta-arrow:hover {
  background: #FFFFFF;
}

.insta-arrow-left {
  left: 12px;
}

.insta-arrow-right {
  right: 12px;
}

.insta-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.insta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.insta-dot.active {
  background: #FFFFFF;
  transform: scale(1.2);
}

.insta-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .feed-intro-title,
  .feed-intro-description,
  .feed-card,
  .feed-card-image,
  .feed-card-overlay,
  .feed-card-content {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.overlay-info-side {
  width: 100%;
  height: 100%;
  background: #F5F5F5;
  overflow-y: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overlay-info-content {
  flex: 1;
}

.overlay-year {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.5);
  margin: 0 0 8px 0;
}

.overlay-title {
  font-size: 48px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 24px 0;
  color: #1A1A1A;
  letter-spacing: -1px;
}

.overlay-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
}

.techniques-section,
.input-section {
  margin-bottom: 32px;
}

.techniques-section h3,
.input-section h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.5);
  margin: 0 0 12px 0;
}

.techniques-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chip {
  background: #EFEFEF;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tech-chip.highlight {
  background: #E85D04;
  color: white;
  border-color: #E85D04;
}

.tech-chip:hover {
  background: #E0E0E0;
}

.tech-chip.highlight:hover {
  background: #F5A623;
}

.input-section p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.75);
  margin: 0;
}

.overlay-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
  margin-top: 24px;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.cta-button {
  width: 100%;
  padding: 16px;
  background: #E85D04;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-button:hover {
  background: #F5A623;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 106, 51, 0.3);
}

.read-more-button {
  width: 100%;
  padding: 16px;
  background: none;
  color: #E85D04;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
}

.read-more-button:hover {
  color: #C44D03;
  background: none;
  transform: none;
  box-shadow: none;
}

.like-count-text {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin: 0;
  display: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .overlay-content {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 95vh;
  }

  .overlay-image-side {
    height: 300px;
  }

  .overlay-title {
    font-size: 36px;
  }

  .feed-container {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .feed-intro {
    padding: 60px 40px;
  }

  .feed-intro-title {
    font-size: 40px;
  }

  .feed-intro-description {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .feed-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .feed-card-title {
    font-size: 32px;
  }

  .feed-card-content {
    padding: 16px;
    gap: 12px;
  }

  .feed-card-right {
    flex-direction: row;
    gap: 12px;
  }

  .overlay-info-side {
    padding: 20px;
  }

  .overlay-title {
    font-size: 28px;
  }

  .like-counter-navbar {
    margin-right: 12px;
    padding: 8px 12px;
  }

  .like-counter-navbar .heart-icon {
    width: 16px;
    height: 16px;
  }

  .like-counter-navbar .like-count {
    font-size: 12px;
  }

  .feed-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 20px 40px 20px;
  }

  .feed-card {
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .feed-intro {
    padding: 40px 20px 30px 20px;
  }

  .feed-intro-title {
    font-size: 32px;
  }

  .feed-intro-description {
    font-size: 14px;
  }

  .filter-bar {
    padding: 12px 16px;
    top: 70px;
  }

  /* Hide button filters, show dropdown on mobile */
  .filter-container {
    display: none;
  }

  .filter-select {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 12px 40px 12px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1A1A1A;
    background: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E85D04' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .filter-select:focus {
    outline: none;
    border-color: #E85D04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.2);
  }

  /* Hide tag pills on feed cards */
  .feed-card-tags {
    display: none;
  }
}

@media (max-width: 480px) {
  .feed-card-title {
    font-size: 24px;
  }

  .feed-card-content {
    padding: 12px;
  }

  .overlay-info-side {
    padding: 16px;
  }

  .overlay-title {
    font-size: 20px;
  }

  .heart-btn {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .cta-button {
    padding: 12px;
    font-size: 14px;
  }

  .feed-intro {
    padding: 30px 16px;
  }

  .feed-container {
    padding: 0 16px 30px 16px;
  }

  .feed-intro-title {
    font-size: 28px;
  }

  .feed-intro-description {
    font-size: 13px;
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }
}

/* === SCROLLBAR HIDE === */
.feed-wrapper::-webkit-scrollbar {
  width: 0;
}

.feed-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.overlay-info-side::-webkit-scrollbar {
  width: 6px;
}

.overlay-info-side::-webkit-scrollbar-track {
  background: transparent;
}

.overlay-info-side::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.overlay-info-side::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* === DOUBLE-TAP TO LIKE HEART === */
.double-tap-heart {
  position: fixed;
  font-size: 100px;
  opacity: 1;
  pointer-events: none;
  z-index: 1000;
  animation: doubleTapHeart 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes doubleTapHeart {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

/* === LIKED PROJECTS MODAL === */
.liked-projects-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 20px;
}

.liked-projects-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin: 0;
  color: #1A1A1A;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #1A1A1A;
  transform: scale(1.2);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

.modal-project-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-project-item:hover {
  background: rgba(232, 106, 51, 0.05);
}

.modal-project-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.modal-project-info {
  flex: 1;
}

.modal-project-info h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.modal-project-info p {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.modal-project-arrow {
  font-size: 18px;
  color: #E85D04;
  transition: all 0.3s ease;
}

.modal-project-item:hover .modal-project-arrow {
  transform: translateX(4px);
}

.liked-contact-cta-wrap {
  padding: 18px 24px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(232, 106, 51, 0.03), rgba(232, 106, 51, 0.08));
}

.liked-contact-note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #5B5B5B;
}

.liked-contact-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #E85D04, #F5A623);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.liked-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.3);
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-header h2 {
    font-size: 18px;
  }

  .modal-body {
    padding: 12px 0;
  }

  .modal-project-item {
    padding: 12px 16px;
    gap: 12px;
  }

  .modal-project-image {
    width: 50px;
    height: 50px;
  }

  .modal-project-info h3 {
    font-size: 13px;
  }

  .modal-project-info p {
    font-size: 11px;
  }

  .liked-contact-cta-wrap {
    padding: 14px 16px 8px;
  }

  .liked-contact-note {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .liked-contact-btn {
    font-size: 12px;
    padding: 10px 12px;
  }
}
