/* variables */
:root {
  --background: 0 0% 3%;
  --foreground: 0 0% 100%;
  --card: 0 0% 7%;
  --muted: 0 0% 15%;
  --border: 0 0% 20%;
  --primary: 348 89% 50%;
  --input: 0 0% 12%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 100%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* main */
.main-container {
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* main header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transition: all 300ms;
  backdrop-filter: blur(16px);
  background-color: hsl(var(--background) / 0.8);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.site-header.header-solid {
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.header-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-logo-img {
  display: flex;
}

.site-logo-img a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo-img img {
  width: 40px;
  height: auto;
}

.nav-toggle-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

/* nav */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.95);
  backdrop-filter: blur(16px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: navSlideIn 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-overlay.hidden {
  display: none !important;
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-close-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link {
  display: block;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: #FFFFFF;
  width: -webkit-fill-available;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: hsl(var(--primary));
}

/* hero */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom, transparent, rgb(0 0 0));
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: hsl(var(--primary));
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: rgb(255 255 255);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
  background-color: hsl(var(--primary) / 0.9);
}

/* work/projects */
.work-section {
  padding: 2.5rem 0;
}

.work-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.work-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.work-category {
  margin-bottom: 4rem;
}

.work-category-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.work-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.work-carousel::-webkit-scrollbar {
  display: none;
}

.work-carousel-item {
  flex: none;
  scroll-snap-align: start;
  width: min(40vw, 220px);
}

.work-poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}

.work-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-poster-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.work-poster-play-icon {
  color: white;
  flex-shrink: 0;
}

/* brands */
.brands-section {
  padding: 2.5rem 0;
  background-color: hsl(var(--muted) / 0.2);
}

.brands-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.brands-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.brands-desktop-grid {
  display: none;
}

.brands-mobile-container {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}

.brands-marquee {
  display: flex;
  gap: 3rem;
  animation: brandsMarquee linear infinite;
  align-items: center;
  will-change: transform;
}

@keyframes brandsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333333%);
  }
}

.brands-marquee-item {
  flex-shrink: 0;
  text-align: center;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 120px;
}

.brands-marquee-item:hover {
  opacity: 1;
}

.brand-item {
  text-align: center;
  opacity: 0.6;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item:hover {
  opacity: 1;
}

.brand-logo {
  margin-left: auto;
  margin-right: auto;
  width: 9rem;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
}

.brands-marquee-logo {
  width: 100%;
  height: auto;
  align-items: center;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
}

/* press */
.press-section {
  padding: 2.5rem 0;
}

.press-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.press-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.press-grid {
  display: grid;
  gap: 1.5rem;
}

.press-card {
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.2);
}

.press-card a {
  text-decoration: none;
  display: grid;
  justify-content: space-between;
  height: -webkit-fill-available;
}

.press-quote {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: white;
}

.press-citation {
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.8rem;
}

.press-source {
  color: hsl(var(--primary));
  font-weight: 600;
}

.press-date {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* socials */
.social-section {
  padding: 2.5rem 0;
  background-color: hsl(var(--muted) / 0.2);
}

.social-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.social-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.social-desktop-grid {
  display: none;
  width: 100%;
  overflow: hidden;
}

.social-desktop-marquee {
  display: flex;
  gap: 1rem;
  animation: socialDesktopMarquee linear infinite;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes socialDesktopMarquee {
  0% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-33.333%, 0, 0);
    -webkit-transform: translate3d(-33.333%, 0, 0);
  }
}

.social-clip-link {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgb(0 0 0 / 0.4);
  flex: 0 0 300px;
}

.social-mobile-container {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}

.social-marquee {
  display: flex;
  gap: 1rem;
  animation: socialMarquee linear infinite;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes socialMarquee {
  0% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-33.333%, 0, 0);
    -webkit-transform: translate3d(-33.333%, 0, 0);
  }
}

.social-marquee-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 0.5rem;
  overflow: hidden;
  flex: 0 0 160px;
  background-color: rgb(0 0 0 / 0.4);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* connect form */
.connect-section {
  padding: 2.5rem 0;
}

.connect-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.connect-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.connect-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.connect-content {
  display: grid;
  gap: 3rem;
}

.connect-info-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.connect-info-text {
  color: white;
  margin-bottom: 2rem;
}

.connect-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connect-email-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  justify-content: center;
}

.connect-social-links {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
}

.connect-social-link {
  color: white;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.connect-social-link:hover {
  color: hsl(var(--primary));
}

.connect-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 32rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: white;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-family: inherit;
  color: hsl(var(--foreground));
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: hsl(var(--primary));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: hsl(var(--primary) / 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: none;
}

.form-submit-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid hsl(var(--border));
}

.footer-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: white;
}

.footer-representation {
  color: white;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-link {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: text-decoration 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  text-decoration: underline;
}

.brand-logo-footer {
  margin-left: auto;
  margin-right: auto;
  width: 9rem;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
  transition: all ease 0.3s;
}
.brand-logo-footer:hover {
  transform: scale(1.125);
}

/* modal */
.project-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.9);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.project-modal.hidden {
  display: none !important;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  max-width: 56rem;
  width: 100%;
  height: 95vh;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.modal-close-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.modal-video-container {
  background-color: rgb(0 0 0);
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  overflow: hidden;
}

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

.modal-body {
  padding: 1rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.modal-header {
  display: flex;
  align-items: center;
}

.modal-title-section {
  flex: 1 1 0%;
  margin: auto 0;
}

.modal-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  margin-bottom: 0.5rem;
}

.modal-runtime.hidden {
  display: none;
}

.modal-roles {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-role-tag {
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  padding: 0.25rem 0.5rem;
  border-radius: 0.13rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.modal-role-spec {
  color: hsl(var(--primary));
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.modal-poster {
  flex-shrink: 0;
  width: 4rem;
}

.modal-poster-img {
  width: 4rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

.modal-synopsis {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.625;
}

.modal-synopsis.hidden {
  display: none !important;
}

.modal-sidebar {
  width: 100%;
}

.modal-credits-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0;
}

.modal-credits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.modal-credit {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0.5rem 0;
}

.modal-credit-role {
  color: white;
  font-weight: 500;
}

.modal-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-watch-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.modal-discuss-btn {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.hidden {
  display: none !important;
}

/* focus states */
:root {
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}

svg {
  flex-shrink: 0;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-video {
    object-fit: contain !important;
  }  
  .hero-title {
    font-size: 3.75rem;
    line-height: 1;
  }
  .hero-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .nav-close-btn {
    top: 1rem;
    right: 3rem;
  }

  .work-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .work-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .work-carousel {
    gap: 3rem;
  }
  .work-carousel-item {
    width: min(280px, 500px);
  }

  .brands-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .brands-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .brands-desktop-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5rem 8rem;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
  }
  .brands-mobile-container {
    display: none;
  }

  .press-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .press-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .press-citation {
    font-size: 1rem;
  }
  
  .social-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .social-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .social-desktop-grid {
    display: flex;
    gap: 1rem;
  }
  .social-mobile-container {
    display: none;
  }
  .social-marquee-item {
    width: min(160px, 40vw);
    height: auto;
  }
  
  .connect-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .connect-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .connect-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .footer-content {
    flex-direction: row;
  }

  .modal-content {
    height: 90vh;
  }
  .modal-video-container {
    aspect-ratio: 8 / 9;
  }
  .modal-video {
    object-fit: contain !important;
  }
  .modal-body {
    padding: 1.5rem;
  }  
  .modal-info {
    flex-direction: row;
    gap: 5rem;
  }
  .modal-main-info {
    width: 50%;
  }
  .modal-header {
    gap: 0;
  }
  .modal-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .modal-poster-img {
    width: 5rem;
    height: 7.5rem;
  }
  .modal-role-tag {
    font-size: 0.875rem;
  }
  .modal-synopsis {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .modal-sidebar {
    width: 20rem;
    margin: auto 0;
  }
  .modal-credit {
    gap: 0.75rem;
  }
}

/* FAB (Floating Action Button) */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  cursor: pointer;
  z-index: 9990;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  font-family: inherit;
}

.fab:hover {
  transform: translateY(-3px);
}

.fab i {
  color: hsl(var(--primary));
  font-size: 1.15rem;
  display: inline-block;
  line-height: 1;
}

/* Expanded stack menu above FAB (hidden by default) */
.fab-menu {
  position: fixed;
  right: 16px;
  bottom: calc(16px + 56px + 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9989;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transition: all 200ms cubic-bezier(.2,.9,.3,1);
}

.fab-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 9999px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(180deg, hsl(var(--primary) / 0.20), hsl(var(--primary) / 0.12));
  border: 1px solid hsl(var(--primary) / 0.30);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 150ms ease, box-shadow 150ms ease;
  white-space: nowrap;
}

.fab-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.fab-action i {
  color: white;
  font-size: 0.95rem;
}


/* From Uiverse.io by Smit-Prajapati */ 
.parent {
  width: 290px;
  height: 300px;
  perspective: 1000px;
  margin: 0 auto;
}

.card {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, black 0%, red 40%, black 100%);
  transition: all 0.5s ease-in-out;
  transform-style: preserve-3d;
  box-shadow: rgba(5, 71, 17, 0) 40px 50px 25px -40px, rgba(5, 71, 17, 0.2) 0px 25px 25px -5px;
}

.glass {
  transform-style: preserve-3d;
  position: absolute;
  inset: 8px;
  border-radius: 55px;
  border-top-right-radius: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.349) 0%, rgba(255, 255, 255, 0.815) 100%);
  /* -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px); */
  transform: translate3d(0px, 0px, 25px);
  border-left: 1px solid white;
  border-bottom: 1px solid white;
  transition: all 0.5s ease-in-out;
}

.content {
  padding: 95px 60px 0px 30px;
  transform: translate3d(0, 0, 26px);
}

.content .title {
  display: block;
  color: black;
  font-weight: 900;
  font-size: 20px;
}

.content .text {
  display: block;
  color: black;
  font-size: 15px;
  margin-top: 10px;
}

.bottom {
  padding: 10px 12px;
  transform-style: preserve-3d;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate3d(0, 0, 26px);
}

.bottom .view-more {
  display: flex;
  align-items: center;
  width: 40%;
  justify-content: flex-end;
  transition: all 0.2s ease-in-out;
}

.bottom .view-more:hover {
  transform: translate3d(0, 0, 10px);
}

.bottom .view-more .view-more-button {
  background: none;
  border: none;
  color: black;
  font-weight: bolder;
  font-size: 12px;
  cursor: pointer;
}

.bottom .view-more .svg {
  fill: none;
  stroke: black;
  stroke-width: 3px;
  max-height: 15px;
  cursor: pointer;
}

.bottom .social-buttons-container {
  display: flex;
  gap: 10px;
  transform-style: preserve-3d;
}

.bottom .social-buttons-container .social-button {
  width: 30px;
  aspect-ratio: 1;
  padding: 5px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  border: none;
  display: grid;
  place-content: center;
  box-shadow: rgba(5, 71, 17, 0.5) 0px 7px 5px -5px;
  cursor: pointer;
}

.bottom .social-buttons-container .social-button:first-child {
  transition: transform 0.2s ease-in-out 0.4s, box-shadow 0.2s ease-in-out 0.4s;
}

.bottom .social-buttons-container .social-button:nth-child(2) {
  transition: transform 0.2s ease-in-out 0.6s, box-shadow 0.2s ease-in-out 0.6s;
}

.bottom .social-buttons-container .social-button:nth-child(3) {
  transition: transform 0.2s ease-in-out 0.8s, box-shadow 0.2s ease-in-out 0.8s;
}

.bottom .social-buttons-container .social-button .svg {
  width: 15px;
  fill: black;
}

.bottom .social-buttons-container .social-button:hover {
  background: black;
}

.bottom .social-buttons-container .social-button:hover .svg {
  fill: white;
}

.bottom .social-buttons-container .social-button:active {
  background: red;
}

.bottom .social-buttons-container .social-button:active .svg {
  fill: black;
}

.bottom .social-buttons-container .social-button:active i {
  color: black;
}
.bottom .social-buttons-container .social-button:hover i {
  color: white;
}

.logo {
  position: absolute;
  right: 0;
  top: 0;
  transform-style: preserve-3d;
}

.logo .circle {
  display: block;
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 0;
  right: 0;
  box-shadow: rgba(100, 100, 111, 0.2) -10px 10px 20px 0px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.233);
  transition: all 0.5s ease-in-out;
}

.logo .circle1 {
  width: 170px;
  transform: translate3d(0, 0, 20px);
  top: 8px;
  right: 8px;
}

.logo .circle2 {
  width: 140px;
  transform: translate3d(0, 0, 40px);
  top: 10px;
  right: 10px;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  transition-delay: 0.4s;
}

.logo .circle3 {
  width: 110px;
  transform: translate3d(0, 0, 60px);
  top: 17px;
  right: 17px;
  transition-delay: 0.8s;
}

.logo .circle4 {
  width: 80px;
  transform: translate3d(0, 0, 80px);
  top: 23px;
  right: 23px;
  transition-delay: 1.2s;
}

.logo .circle5 {
  width: 50px;
  transform: translate3d(0, 0, 100px);
  top: 30px;
  right: 30px;
  display: grid;
  place-content: center;
  transition-delay: 1.6s;
}

.logo .circle5 .svg {
  width: 20px;
  fill: black;
}

.parent:hover .card {
  transform: rotate3d(1, 1, 0, 30deg);
  box-shadow: rgba(5, 71, 17, 0.3) 30px 50px 25px -40px, rgba(5, 71, 17, 0.1) 0px 25px 30px 0px;
}

.parent:hover .card .bottom .social-buttons-container .social-button {
  transform: translate3d(0, 0, 50px);
  box-shadow: rgba(5, 71, 17, 0.2) -5px 20px 10px 0px;
}

.parent:hover .card .logo .circle2 {
  transform: translate3d(0, 0, 60px);
}

.parent:hover .card .logo .circle3 {
  transform: translate3d(0, 0, 80px);
}

.parent:hover .card .logo .circle4 {
  transform: translate3d(0, 0, 100px);
}

.parent:hover .card .logo .circle5 {
  transform: translate3d(0, 0, 120px);
}




/* Keep small icon-only style for narrow screens if needed */
@media (max-width: 420px) {
  .fab-action {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .fab {
    right: 12px;
    bottom: 12px;
  }
  .fab-menu {
    right: 12px;
    bottom: calc(12px + 56px + 8px);
  }
}

@media (max-width: 768px) {
  .work-carousel-item {
    width: min(40vw, 180px);
  }
  .connect-social-links {
    align-items: center;
    justify-content: center;
  }
  
  .modal-video-container {
    aspect-ratio: 6 / 9;
  }
  .modal-main-info {
    width: 100%;
  }
  .modal-header {
    justify-content: space-between;
  }
}