/* ==========================================================================
   Movies4u - Pure White / Light Theme Stylesheet
   Clean, modern, high-contrast white design inspired by Google Search
   and HDHub4u & Filmyfly portal structure.
   ========================================================================== */

:root {
  color-scheme: light;
  
  /* Core White & Light Backgrounds */
  --page-bg: #f8fafc;
  --header-bg: #ffffff;
  --panel-bg: #ffffff;
  --card-bg: #f8fafc;
  --card-bg-hover: #ffffff;
  
  /* Typography Colors */
  --text-color: #0f172a;
  --text-heading: #0f172a;
  --muted-text: #475569;
  --dim-text: #64748b;
  
  /* Borders & Shadows */
  --panel-border: #e2e8f0;
  --panel-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
  
  /* Golden & Warm Accents */
  --accent: #d97706;
  --accent-strong: #b45309;
  --accent-light: #fffbeb;
  --accent-border: #fde68a;
  --button-bg: #ffd700;
  --button-bg-hover: #ffdf24;
  --button-text: #111827;
  
  /* Google Search Snippet Card Styling (Authentic Light Mode) */
  --result-bg: #ffffff;
  --result-border: #dadce0;
  --result-text: #202124;
  --result-muted: #4d5156;
  --result-link: #1a0dab;
  --result-link-hover: #174ea6;
  
  --footer-bg: #ffffff;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--page-bg);
  color: var(--text-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Logo (Pure White Theme)
   ========================================================================== */
header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--panel-border);
  padding: 16px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.header-logo-button {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.header-logo-button:hover {
  transform: scale(1.02);
}

.logo-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  padding: 8px 28px;
  border-radius: 50px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.logo-brand {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0f172a;
  line-height: 1;
}

.logo-highlight {
  color: var(--accent);
}

/* ==========================================================================
   Google Search Result Snippet Card (Authentic Google Light Look)
   ========================================================================== */
.search-result-card {
  background: var(--result-bg);
  color: var(--result-text);
  margin: 24px 0 24px 0;
  padding: 22px 26px;
  border-radius: 12px;
  border: 1px solid var(--result-border);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.1);
  font-family: Arial, Helvetica, sans-serif;
}

.result-source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.result-favicon-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.result-site-name {
  color: var(--result-text);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.result-path {
  display: block;
  color: var(--result-muted);
  font-size: 12px;
}

.result-heading {
  margin: 4px 0 8px 0;
}

.result-title {
  display: inline-block;
  color: var(--result-link);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.result-title:hover {
  text-decoration: underline;
  color: var(--result-link-hover);
}

.snippet {
  color: var(--result-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 0;
}

.snippet strong {
  color: #202124;
}

/* Sitelinks Grid */
.sitelinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 18px;
  max-width: 760px;
  border-top: 1px solid #f1f3f4;
  padding-top: 16px;
}

.sitelink-heading {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  line-height: 1.35;
}

.sitelink-title,
.sitelink-btn {
  color: var(--result-link);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: inline-block;
}

.sitelink-title:hover,
.sitelink-btn:hover {
  text-decoration: underline;
  color: var(--result-link-hover);
}

.sitelink p {
  color: var(--result-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 3px 0 0;
}

/* ==========================================================================
   Hero Section & Big Action CTA Button
   ========================================================================== */
.hero {
  text-align: center;
  padding: 44px 28px;
  background: var(--panel-bg);
  margin: 24px 0;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
}

.hero-main-title {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-heading);
  font-weight: 700;
}

.hero p {
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--muted-text);
}

.action-buttons-wrap {
  max-width: 650px;
  margin: 0 auto;
}

/* Signature Golden Action Button */
#action-button {
  margin: 0 0 16px 0;
  background: var(--button-bg);
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45);
  transition: all 0.3s ease;
}

#action-button:hover {
  background: var(--button-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 215, 0, 0.6);
}

.btn-main-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  background: none;
  color: var(--button-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.btn-main-cta svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-main-cta:hover svg {
  transform: translateX(4px);
}

/* Fallback Link */
.new-tab-help {
  font-size: 16px;
  line-height: 1.5;
  margin: 12px 0 20px 0;
  color: var(--muted-text);
}

.new-tab-help a {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
}

.new-tab-help a:hover {
  text-decoration: underline;
}

/* Share Panel (Clean White / Light Style) */
.share-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 16px 20px;
  background: #f8fafc;
  color: #334155;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--accent);
  text-align: left;
}

.share-title {
  padding: 2px 0 2px 8px;
  flex-shrink: 0;
}

.share-title strong {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  display: block;
}

.share-title p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  padding: 0;
}

.share-widget {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.custom-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.st-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-share-telegram { background: #0088cc; }
.btn-share-whatsapp { background: #25d366; }
.btn-share-twitter { background: #0f172a; }
.btn-share-facebook { background: #1877f2; }
.btn-share-copy { background: #475569; }

/* ==========================================================================
   Content Sections (Cards & Grids on Pure White)
   ========================================================================== */
section {
  margin: 32px 0;
  padding: 34px;
  background: var(--panel-bg);
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
}

h2 {
  font-size: 1.75rem;
  color: var(--text-heading);
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  color: var(--accent-strong);
  margin: 24px 0 12px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--muted-text);
  line-height: 1.7;
}

p strong {
  color: #0f172a;
}

/* Feature Cards Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  padding: 24px;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--card-bg-hover);
  box-shadow: var(--hover-shadow);
  border-color: #cbd5e1;
}

.feature-card h3 {
  color: var(--accent);
  margin-top: 0;
  font-size: 1.2rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Keyword Cloud List */
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-list span {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: 30px;
  color: #854d0e;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.keyword-list span:hover {
  background: #fef08a;
  border-color: #eab308;
  transform: translateY(-2px);
}

/* Content Categories Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--panel-border);
  padding: 24px;
  border-radius: 12px;
  text-align: left;
  transition: all 0.2s ease;
}

.content-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--accent-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.content-card h3 {
  color: var(--accent);
  margin-top: 0;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.content-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Lists */
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--muted-text);
  line-height: 1.6;
}

li strong {
  color: #0f172a;
}

/* Warning Tip Box */
.warning {
  background: #fffbeb;
  border-left: 5px solid #f59e0b;
  padding: 18px 20px;
  margin: 24px 0;
  border-radius: 8px;
  color: #92400e;
  border-top: 1px solid #fef3c7;
  border-right: 1px solid #fef3c7;
  border-bottom: 1px solid #fef3c7;
}

.warning strong {
  color: #78350f;
}

/* FAQ Items */
.faq-item {
  margin-bottom: 16px;
  background: #f8fafc;
  border: 1px solid var(--panel-border);
  padding: 20px 22px;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item h3 {
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* Bottom CTA Banner */
.bottom-cta-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 38px 24px;
  text-align: center;
  margin: 40px 0 24px 0;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.12);
}

.bottom-cta-inner h3 {
  font-size: 1.5rem;
  color: #78350f;
  margin-top: 0;
  margin-bottom: 8px;
}

.bottom-cta-inner p {
  margin-bottom: 22px;
  color: #92400e;
}

.btn-cta-large {
  display: inline-flex;
  max-width: 320px;
  background: var(--button-bg);
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-cta-large:hover {
  background: var(--button-bg-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--footer-bg);
  padding: 44px 0 34px 0;
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid var(--panel-border);
  color: var(--dim-text);
}

.footer-logo-wrap {
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.backup-link {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #64748b;
}

.backup-link strong {
  color: #0f172a;
}

.copyright {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    padding: 30px 18px;
  }

  .hero-main-title {
    font-size: 1.5rem;
  }

  #action-button .btn-main-cta {
    font-size: 18px;
    padding: 14px 18px;
  }

  .share-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-widget {
    width: 100%;
    justify-content: flex-start;
  }

  .sitelinks {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  section {
    padding: 24px 20px;
  }

  h2 {
    font-size: 1.45rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .logo-brand {
    font-size: 1.6rem;
  }

  .logo-box {
    padding: 6px 20px;
  }

  .result-title {
    font-size: 18px;
  }

  .btn-main-cta {
    font-size: 16px;
  }
}
