* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none !important;
}

body,
div,
span,
p,
a,
button {
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
}

input,
textarea {
  user-select: text;
  caret-color: auto;
}



/* Full Screen Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f171e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-weight: bold;
  font-size: 48px;
  user-select: none;
  animation: logoFade 1.5s ease-in-out infinite;
}

@keyframes logoFade {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f171e;
  color: #fff;
}

.navbar {
  background: #1a242f;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo {
  height: 35px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
}

.search-container {
  width: 320px;
  margin-left: 2rem;
  position: relative;
}

.search-input {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgb(1 165 210);
  background: #101821;
  width: 100%;
  color: #f5f8ff;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  caret-color: #6de2ff;
}

.search-input:focus {
  outline: none;
  border-color: #6de2ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0d141c;
  border-radius: 16px;
  margin-top: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0;
}

.search-result-item {
  display: flex;
  padding: 0.85rem 1rem;
  gap: 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.search-result-thumb {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #f7fbff;
}

.search-result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-result-rating {
  color: #ffcf5c;
  font-weight: 600;
  font-size: 0.9rem;
}

.movie-rating {
  color: #ffcf5c;
  font-weight: 600;
}

.search-result-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-genre-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.8);
}

.main-content {
  padding-top: 80px;
}

.hero {
  height: auto;
  padding-top: 80px;
}

.trending-hero {
  position: relative;
  height: min(70vh, 700px);
  margin-bottom: 2.5rem;
  cursor: pointer;
  overflow: hidden;
  background-color: #111926;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  isolation: isolate;
}

.trending-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 30, 0.95), rgba(15, 23, 30, 0.35) 55%, transparent);
  z-index: 0;
}

.trending-hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 0;
  background: transparent;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #6de2ff;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-kicker::before {
  content: '';
  width: 36px;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.trending-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.trending-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
  max-width: 55ch;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.hero-button.primary {
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  color: #0f171e;
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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



.row {
  padding: 2rem;
  position: relative;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.row-title {
  font-size: 1.5rem;
  margin: 0;
}

.row-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.carousel-container {
  position: relative;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.carousel-arrow:focus-visible {
  outline: 2px solid #6de2ff;
  outline-offset: 2px;
}

.movie-card {
  min-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.movie-card:hover {
  transform: scale(1.05);
}

.movie-poster {
  width: 100%;
  object-fit: cover;
}

.movie-title {
  padding: 0.5rem;
  font-size: 0.9rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  align-content: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  margin: 5vh auto;
  background: #1a242f;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 0;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  flex: 1;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(109, 226, 255, 0.1);
  border: 1px solid rgba(109, 226, 255, 0.3);
  border-radius: 8px;
  color: #6de2ff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.share-btn:hover {
  background: rgba(109, 226, 255, 0.2);
  border-color: rgba(109, 226, 255, 0.5);
  transform: translateY(-1px);
}

.share-btn:active {
  transform: translateY(0);
}

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

.movie-genres {
  margin: 16px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 12px;
}

.genre-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.genre-pill--empty {
  opacity: 0.6;
  border-style: dashed;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
}

.iframe-container {
  height: 100%;
  position: relative;
}

.movie-details {
  padding: 1rem;
  overflow-y: auto;
}

.movie-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #aaa;
}

.movie-overview {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 16px;
}

.cast-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.cast-photo {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.cast-info {
  padding: 0.5rem;
}

.cast-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.cast-character {
  font-size: 0.9rem;
  color: #aaa;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #00a8e1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.3s;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(26, 36, 47, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.season-episode-selector {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 1rem;
}

.season-episode-selector select {
  padding: 0.5rem;
  background: #1a242f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  min-width: 100%;
}

.season-episode-selector select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .search-container {
    width: 200px;
  }

  .trending-hero {
    height: auto;
    min-height: 65vh;
    padding: 1.25rem;
  }

  .trending-hero-content {
    text-align: center;
  }

  .trending-hero-content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .trending-hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kicker {
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.25em;
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-button {
    width: min(260px, 100%);
  }

  .modal-content {
    grid-template-columns: 1fr;
    height: 90vh;
    width: 95%;
  }

  .iframe-container {
    height: 300px;
  }

  .movie-details {
    height: calc(90vh - 300px);
  }

  .modal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-btn {
    align-self: flex-start;
  }

  .cast-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .row {
    padding: 1rem;
  }

  .carousel-arrow {
    display: inline-flex;
  }

  .movie-card {
    min-width: 150px;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    align-items: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .search-container {
    width: 100%;
    margin-left: 0;
  }

  .search-results {
    left: 0;
    right: 0;
  }
}

/* SEO Footer Styles */
.seo-footer {
  background: #0a0f14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #6de2ff;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 100%;
  margin-bottom: 2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.link-column h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.link-column nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-column a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.link-column a:hover {
  color: #6de2ff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #6de2ff;
}

@media (max-width: 768px) {
  .seo-footer {
    padding: 2rem 1rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* Premium SEO Content Tabs */
.seo-content-tabs {
  background: linear-gradient(180deg, #0f171e 0%, #0d1218 100%);
  padding: 4rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #6de2ff;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1.1rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: #6de2ff;
  box-shadow: 0 -2px 10px rgba(109, 226, 255, 0.5);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(109, 226, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(109, 226, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(109, 226, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(109, 226, 255, 0.2);
}

.feature-icon {
  font-size: 1.75rem;
}

.feature-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #6de2ff;
  transition: transform 0.3s ease;
}

.faq-item[open] summary:after {
  transform: rotate(45deg);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(109, 226, 255, 0.2);
}

.faq-item[open] summary {
  color: #6de2ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-body {
  padding: 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}