html {
  scroll-behavior: smooth;
}

body {
  background-color: #111216;
  color: #f3f2ef;
}

.film-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.vignette-effect {
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.frame-border::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(230, 184, 77, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.crew-card {
  transition: all 0.3s ease;
}

.crew-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(230, 184, 77, 0.15);
}

.reel-card {
  transition: all 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(230, 184, 77, 0.15);
}

.film-perforation-left,
.film-perforation-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 8px,
    rgba(230, 184, 77, 0.3) 8px,
    rgba(230, 184, 77, 0.3) 12px
  );
  z-index: 20;
}

.film-perforation-left {
  left: 0;
}

.film-perforation-right {
  right: 0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111216;
}

::-webkit-scrollbar-thumb {
  background: #e6b84d;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c43d3d;
}

.error-message {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

button,
a {
  transition: all 0.3s ease;
}

#mobileMenu {
  transition: all 0.3s ease-in-out;
}

#cookieNotice {
  transition: transform 0.3s ease-in-out;
}

img {
  transition: opacity 0.3s ease;
}

img:not([src]) {
  opacity: 0;
}

input,
textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

iframe {
  border-radius: 1rem;
}

:focus-visible {
  outline: 2px solid #e6b84d;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  .grid {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
}

@media print {
  header,
  footer,
  #cookieNotice,
  button {
    display: none;
  }

  section {
    page-break-inside: avoid;
  }
}
