
:root{
  --bg:#050505;
  --panel:#0c0c0c;
  --panel2:#101010;
  --text:#f3f3f3;
  --muted:#b9b9b9;
  --red:#c40000;
  --red2:#ff2a2a;
  --line:#1b1b1b;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(196,0,0,.22), transparent 55%) , var(--bg);
  color:var(--text);
}

/* Header */
.topbar{
  position:sticky; top:0; z-index:20;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  max-width: 1240px;
  margin:0 auto;
  padding: 14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width: 220px;
}
.brand img{height:70px; width:auto; display:block}
.search{
  flex:1;
  display:flex;
  gap:10px;
  align-items:center;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  padding: 10px 12px;
  border-radius: 999px;
  max-width: 520px;
}
.search input{
  width:100%;
  background: transparent;
  border:0;
  outline:none;
  color: var(--text);
  font-size: 14px;
}
.search .kbd{
  font-size: 12px;
  color: var(--muted);
  padding: 3px 8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  opacity:.9;
}
.nav{
  display:flex; gap:18px; align-items:center;
}
.nav a{
  color: var(--text);
  text-decoration:none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  opacity:.92;
}
.nav a:hover{opacity:1}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.14);
}
.btn-primary{
  background: linear-gradient(180deg, var(--red2), var(--red));
  border-color: rgba(255,42,42,.55);
  box-shadow: 0 14px 30px rgba(196,0,0,.22);
  color:#fff;
}
.btn-ghost{
  background: rgba(255,255,255,.03);
  color: var(--text);
}

/* Layout */
.wrap{max-width:1240px; margin: 0 auto; padding: 22px 20px 70px;}
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.hero-main{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.hero-media{
  height: 340px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.70)),
    url("assets/img/hero-banner.png") center/cover no-repeat,
    radial-gradient(900px 420px at 25% 10%, rgba(196,0,0,.35), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  display:flex;
  align-items:flex-end;
  padding: 24px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  font-weight: 800;
  letter-spacing:.2px;
  font-size: 12px;
}
.dot{width:9px; height:9px; border-radius:99px; background: var(--red2); box-shadow: 0 0 20px rgba(255,42,42,.7);}
.hero-copy{
  padding: 18px 24px 26px;
}
.hero-copy h1{
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.05;
}
.hero-copy p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap}

.hero-side{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
}
.side-top{
  padding: 18px 18px 8px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border-bottom:1px solid var(--line);
}
.side-top h3{margin:0; font-size: 14px; letter-spacing:.3px}
.pills{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.side-list{padding: 12px 18px 18px; display:flex; flex-direction:column; gap:12px}
.mini{
  display:flex; gap:12px; align-items:center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.06);
}
.mini img{width: 84px; height: 48px; border-radius: 10px; border:1px solid rgba(255,255,255,.08); background:#000}
.mini b{display:block; font-size: 13px}
.mini span{display:block; font-size: 12px; color: var(--muted); margin-top: 2px}

/* Sections */
.section-head{
  margin-top: 34px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
}
.section-head h2{
  margin:0;
  font-size: 18px;
  letter-spacing:.3px;
}
.section-head p{margin:0; color: var(--muted); font-size: 13px}
.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,42,42,.35);
  background: rgba(255,255,255,.05);
}
.thumb{
  aspect-ratio: 16 / 9;
  width:100%;
  background: #000;
  display:block;
  border-bottom:1px solid rgba(255,255,255,.06);
  overflow:hidden;
}
.card-body{padding: 12px 12px 14px}
.meta{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  color: var(--muted);
  font-size: 12px;
}
.title{
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing:.2px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  font-size: 12px;
  color: var(--muted);
}

/* Join banner */
.join{
  margin-top: 34px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 420px at 15% 40%, rgba(255,42,42,.28), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.join-inner{
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.join h3{margin:0; font-size: 18px}
.join p{margin:6px 0 0; color: var(--muted); font-size: 13px; max-width: 520px}
.join-actions{display:flex; gap:12px; flex-wrap:wrap}

/* Footer */
.footer{
  margin-top: 46px;
  padding-top: 22px;
  border-top:1px solid var(--line);
  color: var(--muted);
  display:flex;
  justify-content:space-between;
  gap: 20px;
  flex-wrap:wrap;
}
.footer a{color: var(--muted); text-decoration:none}
.footer a:hover{color: var(--text)}
.small{font-size: 12px; opacity:.9}

/* Responsive */
@media (max-width: 980px){
  .hero{grid-template-columns: 1fr}
  .grid{grid-template-columns: repeat(2, 1fr);}
  .brand{min-width:auto}
  .search{display:none}
}
@media (max-width: 520px){
  .topbar-inner{padding: 12px 14px}
  header img{height: 52px}
  .hero-copy h1{font-size: 32px}
  .hero-media{height: 280px}
  .grid{grid-template-columns: 1fr;}
}


/* Age Gate */
.agegate{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
}
.agegate.show{ display: flex; }
.agegate-panel{
  width: min(760px, 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(255,42,42,.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.agegate-top{
  padding: 18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.agegate-top img{ height: 44px; width:auto; }
.agegate-body{ padding: 18px 20px 20px; }
.agegate-body h2{ margin: 0 0 8px; font-size: 20px; }
.agegate-body p{ margin: 0 0 14px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.agegate-actions{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 12px; }
.agegate-note{ margin-top: 10px; font-size: 12px; color: var(--muted); opacity: .9; }


.mini-thumb{position:relative;padding-top:56.25%;overflow:hidden;border-radius:10px;}
.mini-thumb iframe{border:0;position:absolute;top:0;left:0;width:100%;height:100%;}


.thumb iframe{display:block;}


/* Bunny mini embeds (Trending) - fixed aspect ratio */
.mini-thumb{position:relative;width:140px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0b0b0b;border:1px solid rgba(255,255,255,.08);flex:0 0 auto}
.mini-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Make the Bunny player "fill" the box: center + scale (like object-fit: cover) */
.mini-thumb iframe{
  border:0;
  position:absolute;
  top:50%; left:50%;
  width:100%; height:100%;
  transform:translate(-50%,-50%) scale(1.8);
  transform-origin:center center;
}