/*
Theme Name: BMW777 — Portal Entertainment Digital
Theme URI: https://bmw777mbs.com/
Author: Tim Redaksi BMW777
Author URI: https://bmw777mbs.com/tentang/
Description: Tema WordPress cepat dan modern untuk "BMW777 — Portal Entertainment Digital" — menggabungkan identitas branding BMW777 yang kuat dengan konten hiburan digital (Streaming & Sinema, Gim Interaktif, Kreator & Budaya Populer), Kalkulator Streaming bawaan, serta proteksi pembersih URL warisan HTTP 410 Gone otomatis.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bmw777-portal
*/

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #f0fdfa;
  --accent: #fde047;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.ribbon { background: #134e4a; color: #f0fdfa; font-size: 0.78rem; padding: 0.5rem 1rem; }
.ribbon-inner, .container { max-width: 1120px; margin: 0 auto; padding: 0 1rem; }
.ribbon-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; align-items: center; }
.ribbon a { color: #fde047; text-decoration: underline; font-weight: 600; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 0.85rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none !important; color: var(--ink); }
.brand-badge { width: 42px; height: 42px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.brand-title { font-weight: 800; font-size: 1.18rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.74rem; color: var(--brand); font-weight: 700; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.main-nav a { padding: 0.45rem 0.75rem; border-radius: 8px; font-size: 0.86rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.main-nav a:hover, .main-nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.hero { background: linear-gradient(135deg, #0f172a, #134e4a); color: #fff; border-radius: 18px; padding: 2.2rem; margin: 1.75rem 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.75rem; align-items: center; }
.hero h1 { font-size: 2rem; line-height: 1.22; margin: 0.6rem 0 0.85rem; }
.hero p { color: #cbd5e1; font-size: 0.98rem; margin-bottom: 1.2rem; }
.hero img { border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); }
.btn { display: inline-block; padding: 0.68rem 1.2rem; border-radius: 10px; font-weight: 700; font-size: 0.88rem; text-decoration: none !important; cursor: pointer; border: none; }
.btn-primary { background: #14b8a6; color: #042f2e; }
.btn-primary:hover { background: #2dd4bf; }
.btn-outline { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); margin-left: 0.5rem; }
.search-bar-form { display: flex; gap: 0.5rem; max-width: 520px; margin-top: 1.15rem; }
.search-bar-form input[type="search"] { flex: 1; padding: 0.65rem 0.9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.96); color: #0f172a; font-size: 0.9rem; }
.section-head { margin: 2rem 0 1rem; }
.section-head h2 { font-size: 1.45rem; color: var(--ink); }
.section-head p { font-size: 0.9rem; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0.9rem; }
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.74rem; font-weight: 700; }
.card h3 { font-size: 1.05rem; line-height: 1.35; margin-top: 0.45rem; }
.card h3 a { color: var(--ink); }
.card p { font-size: 0.86rem; color: var(--muted); }
.article-shell { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin: 1.5rem 0 2.5rem; }
.article-inner { max-width: 780px; margin: 0 auto; padding: 2rem 1.25rem; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.9rem; }
.article-inner h1 { font-size: 1.85rem; line-height: 1.25; margin-bottom: 0.75rem; }
.meta-line { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.prose h2 { font-size: 1.32rem; margin: 1.65rem 0 0.6rem; color: var(--ink); }
.prose h3 { font-size: 1.08rem; margin: 1.2rem 0 0.45rem; color: #1e293b; }
.prose p { margin-bottom: 1rem; color: #334155; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1.1rem; color: #334155; }
.prose li { margin-bottom: 0.4rem; }
.prose a { font-weight: 600; text-decoration: underline; }
.prose img { border-radius: 12px; margin: 1.2rem 0; }
.faq-box { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; margin-top: 0.65rem; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 0.92rem; }
.faq-item p { margin-top: 0.55rem; font-size: 0.86rem; color: var(--muted); }
.cta-panel { margin-top: 1.8rem; padding: 1.25rem; border-radius: 12px; background: var(--brand-soft); border: 1px solid #99f6e4; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.eeat-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 1.15rem; margin-top: 1.75rem; font-size: 0.85rem; color: var(--muted); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.35rem; }
.form-group select, .form-group input, .form-group textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 0.9rem; }
.result-panel { background: #0f172a; color: #fff; border-radius: 14px; padding: 1.5rem; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin: 1rem 0; }
.kpi-box { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); padding: 0.85rem; border-radius: 10px; }
.kpi-label { font-size: 0.74rem; color: #94a3b8; }
.kpi-val { font-size: 1.35rem; font-weight: 800; margin-top: 0.2rem; color: #5eead4; }
.wp-pagination { display: flex; gap: 0.5rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; }
.wp-pagination .page-numbers { padding: 0.45rem 0.85rem; border-radius: 8px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.wp-pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.site-footer { background: #0f172a; color: #cbd5e1; padding: 2.5rem 0 1.5rem; margin-top: 3rem; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.75rem; margin-bottom: 1.75rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #5eead4; }
@media (max-width: 768px) {
  .hero, .calc-grid { grid-template-columns: 1fr; }
  .hero { padding: 1.5rem; }
  .hero h1 { font-size: 1.55rem; }
}
