/* FunWorldHub — shared stylesheet. English LTR, mobile-first, dark entertainment theme. */
:root{
  --bg:#0d0d17;
  --bg2:#151527;
  --card:#1a1a30;
  --card2:#22223e;
  --text:#f4f4fa;
  --muted:#b9b9d0;
  --accent:#ff4d7e;
  --accent2:#ffb020;
  --accent3:#22d3ee;
  --wa:#25d366;
  --radius:16px;
  --maxw:1120px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  line-height:1.75;
  font-size:17px;
  -webkit-text-size-adjust:100%;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(13,13,23,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #262640;
}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.logo{font-size:26px;font-weight:800;letter-spacing:.3px;color:#fff}
.logo span{color:var(--accent)}
.logo small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
.main-nav{display:none;gap:6px}
.main-nav a{padding:8px 12px;border-radius:999px;color:var(--muted);font-size:15px}
.main-nav a:hover,.main-nav a.active{background:var(--card2);color:#fff}
.nav-toggle{background:var(--card2);border:0;color:#fff;font-size:20px;width:44px;height:44px;border-radius:12px;cursor:pointer}
.mobile-nav{display:none;background:var(--bg2);border-bottom:1px solid #262640;padding:10px 16px}
.mobile-nav.open{display:block}
.mobile-nav a{display:block;padding:10px 6px;color:var(--muted);border-bottom:1px solid #22223a}
.mobile-nav a:last-child{border-bottom:0}
@media(min-width:820px){.main-nav{display:flex}.nav-toggle{display:none}.mobile-nav{display:none!important}}

/* Hero */
.hero{
  background:linear-gradient(135deg,#2b1055 0%,#5b7fc4 55%,#ff4d7e 130%);
  border-radius:0 0 28px 28px;
  padding:34px 0 30px;
  margin-bottom:26px;
}
.hero h1{font-size:29px;line-height:1.4;font-weight:800;margin-bottom:10px}
.hero p{color:#e8e8ff;max-width:640px}
.hero .kicker{display:inline-block;background:rgba(0,0,0,.35);color:#ffd166;padding:4px 14px;border-radius:999px;font-size:14px;margin-bottom:14px}
@media(min-width:820px){.hero h1{font-size:40px}}

/* Buttons */
.btn{display:inline-block;padding:12px 22px;border-radius:999px;font-weight:700;font-size:16px;text-align:center;cursor:pointer;border:0}
.btn-primary{background:var(--accent);color:#fff}
.btn-wa{background:var(--wa);color:#06281a}
.btn-ghost{background:transparent;border:1px solid #4a4a6e;color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* Sections & cards */
.section{margin:34px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:16px}
.section-head h2{font-size:23px;font-weight:800}
.section-head h2::before{content:"";display:inline-block;width:9px;height:22px;background:var(--accent);border-radius:4px;margin-right:8px;vertical-align:-3px}
.section-head a{color:var(--accent3);font-size:15px;white-space:nowrap}
.grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.grid{grid-template-columns:1fr 1fr}}
@media(min-width:980px){.grid{grid-template-columns:1fr 1fr 1fr}}
.card{background:var(--card);border:1px solid #262640;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.card:hover{border-color:#3d3d63}
.card-art{height:140px;display:flex;align-items:flex-end;padding:14px;color:#fff;font-weight:800;font-size:19px;line-height:1.45;
  background:linear-gradient(135deg,var(--c1,#6d28d9),var(--c2,#db2777))}
.card-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-body h3{font-size:18px;line-height:1.55}
.card-body p{color:var(--muted);font-size:15px;flex:1}
.tag{display:inline-block;align-self:flex-start;background:var(--card2);color:var(--accent2);font-size:13px;padding:2px 10px;border-radius:999px}
.read-more{color:var(--accent3);font-weight:700;font-size:15px}

/* Article */
.breadcrumb{color:var(--muted);font-size:14px;margin:20px 0 6px}
.breadcrumb a{color:var(--accent3)}
.article-hero{border-radius:var(--radius);padding:30px 22px;margin-bottom:22px;color:#fff;
  background:linear-gradient(135deg,var(--c1,#6d28d9),var(--c2,#db2777))}
.article-hero h1{font-size:26px;line-height:1.45;font-weight:800}
.article-hero .meta{color:#e6e6ff;font-size:14px;margin-top:10px}
@media(min-width:820px){.article-hero h1{font-size:34px}}
.article-body{background:var(--bg2);border:1px solid #262640;border-radius:var(--radius);padding:24px 20px}
.article-body p{margin-bottom:16px;color:#e9e9f4}
.article-body h2{font-size:22px;margin:26px 0 12px;color:#fff}
.article-body h2:first-child{margin-top:0}
.article-body ul{margin:0 0 16px 22px;color:#e9e9f4}
.article-body li{margin-bottom:8px}
.ad-slot{border:1px dashed #3d3d63;border-radius:var(--radius);color:var(--muted);text-align:center;padding:14px;margin:20px 0;font-size:13px;background:#12122a}
.related{margin-top:30px}

/* Video landing page */
.landing-head{text-align:center;padding:30px 0 4px}
.landing-head h1{font-size:27px;line-height:1.45;font-weight:800;margin-bottom:10px}
.landing-head p{color:var(--muted);max-width:600px;margin:0 auto}
@media(min-width:820px){.landing-head h1{font-size:36px}}
.player-wrap{max-width:760px;margin:18px auto}
.player-frame{
  position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;
  background:#0f0f1e;
  border:1px solid #3d3d63;
  display:flex;align-items:center;justify-content:center;
}
.play-btn{
  width:86px;height:86px;border-radius:50%;border:0;cursor:pointer;
  background:var(--accent);color:#fff;font-size:34px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 0 rgba(255,77,126,.55);
  animation:playPulse 1.8s ease-out infinite;
}
.play-btn[disabled]{animation:none;opacity:.55;cursor:default}
@keyframes playPulse{
  0%{box-shadow:0 0 0 0 rgba(255,77,126,.55)}
  70%{box-shadow:0 0 0 24px rgba(255,77,126,0)}
  100%{box-shadow:0 0 0 0 rgba(255,77,126,0)}
}
.player-chrome{
  position:absolute;left:0;right:0;bottom:0;padding:10px 14px 12px;
  background:linear-gradient(transparent,rgba(0,0,0,.75));
}
.player-progress{height:6px;border-radius:99px;background:rgba(255,255,255,.28);overflow:hidden}
.player-progress-fill{height:100%;width:0%;background:var(--accent);border-radius:99px;transition:width 15s linear}
/* Buffering / loading state (shown after play click; no countdown numbers) */
.player-loading{
  position:absolute;inset:0;z-index:3;display:none;
  flex-direction:column;align-items:center;justify-content:center;gap:16px;
  background:rgba(10,10,22,.5);
}
.player-loading.show{display:flex}
.spinner{
  width:58px;height:58px;border-radius:50%;
  border:6px solid rgba(255,255,255,.25);border-top-color:var(--accent);
  animation:playerSpin .9s linear infinite;
}
@keyframes playerSpin{to{transform:rotate(360deg)}}
.player-status{font-size:16px;font-weight:600;color:#fff}
.player-frame.is-loading .play-btn{display:none}
.landing-fallback{text-align:center;margin:14px 0 4px}
.landing-fallback a{color:var(--accent3);font-weight:700}

/* Static pages */
.page-body{background:var(--bg2);border:1px solid #262640;border-radius:var(--radius);padding:26px 22px;margin:22px 0}
.page-body h1{font-size:28px;margin-bottom:16px}
.page-body h2{font-size:21px;margin:24px 0 10px}
.page-body p{margin-bottom:14px;color:#e9e9f4}
.page-body ul{margin:0 0 14px 22px;color:#e9e9f4}

/* WhatsApp band */
.wa-band{background:linear-gradient(135deg,#075e54,#25d366);border-radius:var(--radius);padding:24px;text-align:center;margin:34px 0;color:#04241a}
.wa-band h2{font-size:22px;margin-bottom:8px;color:#04241a}
.wa-band p{margin-bottom:16px}
.wa-band .btn{background:#fff;color:#075e54}

/* Footer */
.site-footer{border-top:1px solid #262640;background:var(--bg2);margin-top:44px;padding:30px 0 24px;color:var(--muted);font-size:15px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:820px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.site-footer h3{color:#fff;font-size:17px;margin-bottom:10px}
.site-footer a{display:block;padding:3px 0}
.copyright{margin-top:22px;text-align:center;font-size:13px;color:#7c7c9c}

/* --- Model pics + hero grid --- */
.play-btn{position:relative;z-index:2}
.player-chrome{z-index:2}
.hero-grid{display:grid;grid-template-columns:1fr;gap:22px;align-items:center}
@media(min-width:900px){.hero-grid{grid-template-columns:1.05fr .95fr}}
.hero .player-wrap{margin:0 auto;width:100%}
.model-card{margin:26px 0;border-radius:var(--radius);overflow:hidden;border:1px solid #262640;background:var(--card)}
.model-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center 22%}
.model-card figcaption{display:flex;align-items:center;gap:10px;padding:12px 16px;color:var(--muted);font-size:15px}
