@charset "UTF-8";
body {
  font-family: "Montserrat", sans-serif;
  background-color: #000;
  color: #fff;
}

#main-header {
  background: rgba(0, 0, 0, 0.95);
  padding: 1.5rem 2rem;
  border-bottom: 3px solid #FFE81F;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}
#main-header #logo {
  flex-shrink: 0;
}
#main-header #logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}
#main-header #logo img:hover {
  transform: scale(1.05);
}
#main-header .hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
}
@media (min-width: 769px) {
  #main-header .hamburger {
    display: none;
  }
}
#main-header .hamburger img {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}
#main-header .hamburger:hover img {
  filter: drop-shadow(0 0 8px rgba(255, 232, 31, 0.6));
}
#main-header .hamburger.active img {
  filter: drop-shadow(0 0 10px rgba(255, 232, 31, 0.8));
}
#main-header #main-nav {
  display: none;
  align-items: center;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 2px solid #FFE81F;
  padding: 2rem 0;
  z-index: 1000;
}
@media (min-width: 769px) {
  #main-header #main-nav {
    display: flex;
    position: relative;
    top: auto;
    background: none;
    border: none;
    padding: 0;
  }
}
#main-header #main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: center;
  flex-direction: column;
}
@media (min-width: 769px) {
  #main-header #main-nav ul {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  #main-header #main-nav ul {
    gap: 1rem;
  }
}
#main-header #main-nav ul li {
  text-align: center;
}
#main-header #main-nav ul li a {
  color: #FFE81F;
  text-decoration: none;
  font-family: "StarJedi", sans-serif;
  letter-spacing: 1px;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  padding: 1.5rem;
}
@media (min-width: 769px) {
  #main-header #main-nav ul li a {
    padding: 0;
  }
}
#main-header #main-nav ul li a:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255, 232, 31, 0.5);
}
#main-header #main-nav.active {
  display: flex;
  flex-direction: column;
}

footer {
  background-color: rgba(0, 0, 0, 0.9);
  color: #FFE81F;
  text-align: center;
  padding: 2rem 0;
  border-top: 2px solid #FFE81F;
  margin-top: 3rem;
}
footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

#loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  padding: 2rem;
}

.spinner {
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#character-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  justify-items: center;
}
@media (min-width: 768px) {
  #character-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #character-list {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.character-item {
  width: 100%;
  max-width: 160px;
  perspective: 1000px;
}
.character-item .character-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-decoration: none;
  transition: transform 0.5s ease-in-out, filter 0.3s ease;
}
.character-item .character-link:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 10px 20px rgba(255, 232, 31, 0.3));
}
.character-item .character-link:hover .character-thumb {
  box-shadow: 0 10px 30px rgba(255, 232, 31, 0.5);
  transform: scale(1.05) rotateY(5deg);
}
.character-item .character-link:hover .character-name {
  color: #FFE81F;
}
.character-item .character-link:active {
  transform: translateY(-4px);
}

.character-thumb {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 3px solid #FFE81F;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
  display: block;
}

.character-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  max-width: 140px;
  padding: 0 1rem;
}

#loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  color: #FFE81F;
  font-size: 20px;
  font-family: "StarJedi", sans-serif;
  letter-spacing: 2px;
}

.hidden {
  display: none;
}

#loader.hidden {
  display: none;
}

.movie-lightbox {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  overflow-y: auto;
}
.movie-lightbox.hidden {
  display: none;
}
.movie-lightbox .lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  cursor: pointer;
  z-index: 1;
}
.movie-lightbox .lightbox-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .movie-lightbox .lightbox-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.movie-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(11, 61, 145, 0.3);
  border: 2px solid #FFE81F;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(255, 232, 31, 0.3);
  position: relative;
  opacity: 1;
}
.movie-card .close-btn {
  position: relative;
  background: none;
  border: none;
  color: #FFE81F;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-bottom: 1rem;
}
.movie-card .close-btn:hover {
  transform: scale(1.2);
  color: #fff;
}

.movie-poster {
  width: 100%;
  max-width: 200px;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.movie-info {
  color: #fff;
  width: 100%;
}

.movie-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFE81F;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.movie-crawl {
  font-size: 13px;
  line-height: 1.6;
  color: #E8E8E8;
  text-align: justify;
  font-style: italic;
  margin: 0;
}

body {
  position: relative;
  z-index: 1;
  background-image: url(../images/bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url(../images/bg.jpg) no-repeat center center fixed;
  background-size: cover;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

main {
  min-height: calc(100vh - 90px);
}

.hero-section {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.8), rgba(0, 0, 0, 0.9)), url(../images/bg.jpg) center/cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 90px;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-family: "StarJedi", sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #FFE81F;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 80px;
  }
}

.hero-paragraph {
  font-size: 18px;
  line-height: 1.8;
  color: #E8E8E8;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-paragraph {
    font-size: 20px;
  }
}

.section-container {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: "StarJedi", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #FFE81F;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
  .section-title {
    font-size: 48px;
  }
}

.section-description {
  font-size: 16px;
  color: #E8E8E8;
  text-align: center;
  margin: 0;
}
@media (min-width: 768px) {
  .section-description {
    font-size: 18px;
  }
}

.about-section {
  margin-bottom: 3rem;
}

.about-content {
  background: rgba(11, 61, 145, 0.15);
  border-left: 4px solid #FFE81F;
  padding: 2rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #E8E8E8;
  margin: 1.5rem 0;
}
@media (min-width: 768px) {
  .about-content p {
    font-size: 17px;
  }
}
.about-content strong {
  color: #FFE81F;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.features-list li {
  font-size: 16px;
  color: #E8E8E8;
  margin: 1rem 0;
  padding-left: 2rem;
  position: relative;
}
.features-list li:before {
  content: "★";
  position: absolute;
  left: 0;
  color: #FFE81F;
  font-size: 18px;
}
@media (min-width: 768px) {
  .features-list li {
    font-size: 17px;
  }
}

.movies-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .movies-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.movie-poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.5s ease-in-out;
  border: 3px solid #FFE81F;
}
.movie-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease-in-out;
}
.movie-poster-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 232, 31, 0.4);
}
.movie-poster-card:hover img {
  filter: brightness(0.8);
}

/*# sourceMappingURL=main.css.map */
