/* RogMovies — SEO header & footer (mobile responsive) */

:root {
  --rm-accent: #7c5cfc;
  --rm-accent-light: #a78bfa;
  --rm-text: #a0a0b0;
  --rm-muted: #6a6a78;
}

/* ── Header SEO block ── */
.rm-seo-header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 22px;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.rm-seo-header .notice-section {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #12121a;
  border: 1px solid rgba(124, 92, 252, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.rm-seo-header .notice-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.rm-seo-header .notice-icon svg {
  width: 18px;
  height: 18px;
  color: var(--rm-accent);
}

.rm-seo-header .notice-text {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  color: var(--rm-text);
  line-height: 1.55;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-header .notice-text strong {
  color: var(--rm-accent-light);
  font-weight: 600;
}

.rm-seo-title {
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 12px;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.rm-seo-lead {
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  line-height: 1.65;
  color: var(--rm-text);
  margin: 0 0 16px;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  max-width: 100%;
}

.rm-seo-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rm-accent-light) !important;
  background: rgba(124, 92, 252, 0.12);
  border: 1px solid rgba(124, 92, 252, 0.28);
  border-radius: 20px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.rm-seo-tag:hover {
  background: rgba(124, 92, 252, 0.28);
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Footer SEO block ── */
.rm-seo-footer {
  width: 100%;
  max-width: 1400px;
  margin: 28px auto 16px;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.rm-seo-footer-inner {
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.95) 0%, rgba(46, 8, 84, 0.25) 50%, rgba(20, 20, 24, 0.95) 100%);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  box-sizing: border-box;
}

.rm-seo-footer h2 {
  font-size: clamp(0.88rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.5;
  color: #efefef;
  margin: 0 0 12px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-footer h3 {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: var(--rm-accent-light);
  margin: 18px 0 8px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-text {
  font-size: clamp(0.8rem, 1.8vw, 0.88rem);
  line-height: 1.7;
  color: var(--rm-text);
  margin: 0 0 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-keyline {
  font-size: clamp(0.72rem, 1.6vw, 0.78rem);
  line-height: 1.6;
  color: var(--rm-muted);
  margin: 8px 0 0;
  word-spacing: 1px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.rm-seo-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, 0.4), transparent);
  margin: 20px auto;
  max-width: 80%;
}

.rm-seo-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rm-seo-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d4e8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  white-space: nowrap;
}

.footer-gradient-line {
  height: 2.5px;
  width: 100%;
  max-width: 600px;
  margin: 12px auto;
  background: linear-gradient(90deg, transparent 0%, #20ff00 20%, #1eb9b9 80%, transparent 100%);
  border-radius: 4px;
}

.rm-seo-footer-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .rm-seo-header,
  .rm-seo-footer {
    padding: 0 10px;
    margin-bottom: 16px;
  }

  .rm-seo-footer {
    margin-top: 20px;
  }

  .rm-seo-footer-inner {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .rm-seo-header .notice-section {
    padding: 10px 12px;
    gap: 8px;
  }

  .rm-seo-header .notice-text {
    font-size: 0.84rem;
  }

  .rm-seo-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .rm-seo-lead {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .rm-seo-tags {
    gap: 6px;
  }

  .rm-seo-tag {
    font-size: 0.72rem;
    padding: 5px 11px;
  }

  .rm-seo-footer h2 {
    font-size: 0.92rem;
  }

  .rm-seo-footer h3 {
    font-size: 0.88rem;
    margin-top: 14px;
  }

  .rm-seo-text {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .rm-seo-keyline {
    font-size: 0.72rem;
  }

  .rm-seo-trust {
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
  }

  .rm-seo-badge {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .rm-seo-header {
    margin-bottom: 12px;
    padding: 0 8px;
  }

  .rm-seo-footer {
    padding: 0 8px;
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .rm-seo-footer-inner {
    padding: 14px 10px;
    border-radius: 10px;
  }

  .rm-seo-header .notice-section {
    flex-direction: row;
    align-items: flex-start;
    padding: 9px 10px;
    margin-bottom: 12px;
  }

  .rm-seo-header .notice-icon svg {
    width: 16px;
    height: 16px;
  }

  .rm-seo-header .notice-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .rm-seo-title {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 8px;
    padding: 0 2px;
  }

  .rm-seo-lead {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 0 2px;
  }

  .rm-seo-tags {
    gap: 5px;
    justify-content: center;
  }

  .rm-seo-tag {
    font-size: 0.68rem;
    padding: 4px 9px;
    border-radius: 14px;
  }

  .rm-seo-footer h2 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .rm-seo-footer h3 {
    font-size: 0.82rem;
    margin: 12px 0 6px;
  }

  .rm-seo-text {
    font-size: 0.76rem;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .rm-seo-keyline {
    font-size: 0.68rem;
    line-height: 1.55;
  }

  .rm-seo-divider {
    margin: 14px auto;
  }

  .rm-seo-trust {
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .rm-seo-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
    flex: 0 1 auto;
  }
}
