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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0a0f1c;
  color: #e2e8f0;
  line-height: 1.5;
}

button, input, textarea { font: inherit; }

a { color: inherit; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-top-bar {
  background: #1a1f2e;
  color: #f4a261;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.8rem;
  border-bottom: 1px solid #2a2f3e;
}

.site-header {
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f2a3e;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0;
  gap: 16px;
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #E50914, #f4a261);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo p {
  font-size: 0.7rem;
  color: #94a3b8;
}

.search-box {
  display: flex;
  background: #1e293b;
  border-radius: 40px;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid #2d3a4e;
}

.search-box input {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  width: 220px;
  outline: none;
}

.search-box button {
  background: none;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #cbd5e6;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: #E50914; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #0a0f1c 100%);
  border-radius: 28px;
  margin: 32px 0;
  padding: 60px 48px;
  border: 1px solid #1f2a3e;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  color: #a0b3d9;
  margin-bottom: 28px;
  max-width: 820px;
}

.btn-primary {
  background: #E50914;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: filter 0.2s;
}

.btn-primary:hover { filter: brightness(1.1); }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 48px 0 24px 0;
  border-left: 5px solid #E50914;
  padding-left: 20px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 32px;
  justify-content: center;
}

.cat-tab {
  background: #1e293b;
  border: none;
  color: #94a3b8;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-tab:hover, .cat-tab.active {
  background: #E50914;
  color: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#resultCount { color:#94a3b8; }

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.movie-card {
  background: #111827;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #1f2a3e;
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 30px -12px rgba(0,0,0,0.6);
  border-color: #E50914;
}

.card-img {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #ffd700;
}

.card-content { padding: 18px 16px 22px; }

.card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.stars {
  color: #ffd700;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.btn-where {
  background: none;
  border: 1px solid #E50914;
  color: #E50914;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
}

.where-box, .info-card, .contact-section, .detail-page, .content-box, .blog-card {
  background: #111827;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #1f2a3e;
}

.where-box {
  margin: 32px 0;
  text-align: center;
}

.platform-badges, .platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.badge, .platform-item {
  background: #1e293b;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
}

.cards-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.info-card {
  transition: transform 0.2s;
}

.info-card:hover, .blog-card:hover {
  transform: translateY(-4px);
  border-color: #E50914;
}

.info-card i {
  font-size: 2rem;
  color: #E50914;
  margin-bottom: 16px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.step {
  background: #111827;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid #1f2a3e;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #E50914;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 auto 16px;
}

.contact-section {
  padding: 48px;
  margin: 48px 0;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin: 12px 0;
  background: #1e293b;
  border: 1px solid #2d3a4e;
  border-radius: 16px;
  color: white;
  outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: #E50914;
}

.contact-form button {
  background: #E50914;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
}

.form-message {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #f4a261;
}

.data-notice {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 16px;
  padding: 12px;
  background: #1a1f2e;
  border-radius: 12px;
}

.detail-page {
  background: #0f172a;
  border-radius: 32px;
  margin: 32px 0;
}

.detail-header {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.detail-poster {
  width: 280px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  flex-shrink: 0;
}

.back-btn {
  background:#1e293b;
  border:none;
  color:white;
  padding:8px 20px;
  border-radius:40px;
  margin-bottom:24px;
  cursor:pointer;
}

.empty-state {
  background: #111827;
  border: 1px solid #1f2a3e;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  color: #94a3b8;
  grid-column: 1 / -1;
}

.content-box {
  margin: 40px 0;
}

.content-box p, .content-box li {
  color: #cbd5e1;
  margin: 12px 0;
}

.content-box ul {
  padding-left: 22px;
}

.blog-card {
  transition: transform .2s;
}

.blog-card p {
  color: #94a3b8;
  margin: 10px 0 18px;
}

.blog-card a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 700;
}

footer {
  background: #070b14;
  margin-top: 64px;
  padding: 48px 0 28px;
  border-top: 1px solid #1f2a3e;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin: 8px 0;
}

.legal-footer {
  background: #0f172a;
  padding: 16px;
  border-radius: 16px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

.copyright {
  text-align:center;
  padding-top:24px;
  font-size:0.75rem;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #0f172a;
    padding: 20px;
    border-radius: 20px;
  }

  .nav-links.show { display: flex; }

  .search-box {
    width: 100%;
    order: 3;
  }

  .search-box input {
    width: 100%;
  }

  .hero { padding: 40px 24px; }
  .detail-header { flex-direction: column; }
  .detail-poster { width: 100%; height: 320px; }
  .contact-section { padding: 32px 24px; }
}


/* Google Ads optimization */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 26px 0 44px;
}

.trust-item {
  background: #111827;
  border: 1px solid #1f2a3e;
  border-radius: 20px;
  padding: 20px;
}

.trust-item strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.disclaimer-box {
  background: #0f172a;
  border: 1px solid #2d3a4e;
  border-left: 5px solid #f4a261;
  border-radius: 18px;
  padding: 20px;
  margin: 24px 0;
  color: #cbd5e1;
}

.cta-card {
  background: linear-gradient(135deg, #111827, #0f172a);
  border: 1px solid #1f2a3e;
  border-radius: 28px;
  padding: 38px;
  margin: 42px 0;
  text-align: center;
}

.cta-card p {
  color: #94a3b8;
  margin: 12px auto 22px;
  max-width: 720px;
}

.faq-item {
  background: #111827;
  border: 1px solid #1f2a3e;
  border-radius: 18px;
  padding: 22px;
  margin: 16px 0;
}

.faq-item h2, .faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.small-muted {
  color: #94a3b8;
  font-size: .9rem;
}

.legal-list li {
  margin-bottom: 10px;
}
