/* ===== 91Video Premium Videos — style.css (mimic theme-91video v1.0.3) ===== */
@font-face {
  font-family: "Font Awesome 6 Free";
  src: url(assets/fa-solid-900.woff2) format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 900;
}

:root {
  color: #eee;
  background: #0a0a0a;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  text-rendering: optimizeLegibility;
  --accent: #ffad28;
  --bg: #0a0a0a;
  --card: #1a1a1a;
  --card-2: #222;
  --line: #313131;
  --text: #eee;
  --muted: #999;
}

* { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; background: #0a0a0a; }
body {
  min-width: 0; margin: 0; overflow-x: hidden;
  background: #0a0a0a; color: #eee;
  font-family: Arial, Helvetica, sans-serif;
}
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; background: none; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible, [role="button"]:focus-visible { outline: 2px solid #ffad28; outline-offset: 2px; }
img { display: block; max-width: 100%; }

/* ===== Font Awesome glyphs (subset used by page) ===== */
.fa {
  display: inline-block; flex: 0 0 auto;
  font-family: "Font Awesome 6 Free";
  font-style: normal; font-weight: 900; line-height: 1;
  text-rendering: auto; -webkit-font-smoothing: antialiased;
}
.fa-bars:before { content: "\f0c9"; }
.fa-search:before { content: "\f002"; }
.fa-user-circle:before { content: "\f2bd"; }
.fa-bullhorn:before { content: "\f0a1"; }
.fa-video:before { content: "\f03d"; }
.fa-heart:before { content: "\f004"; }
.fa-fire:before { content: "\f06d"; }
.fa-eye:before { content: "\f06e"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-play-circle:before { content: "\f144"; }
.fa-play:before { content: "\f04b"; }
.fa-clock:before { content: "\f017"; }
.fa-user:before { content: "\f007"; }
.fa-home:before { content: "\f015"; }
.fa-warning:before { content: "\f071"; }
.fa-times:before { content: "\f00d"; }
.fa-mobile:before { content: "\f3cd"; }
.fa-download:before { content: "\f019"; }
.fa-copy:before { content: "\f0c5"; }
.fa-crown:before { content: "\f521"; }
.fa-thumbs-up:before { content: "\f164"; }

/* ===== Announcement Bar ===== */
.announcement {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: linear-gradient(90deg, #2a1a00, #1a1a1a);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: #ffd98a;
  white-space: nowrap; overflow: hidden;
}
.announcement .fa { color: var(--accent); font-size: 14px; flex: 0 0 auto; }
.announcement span {
  overflow: hidden; text-overflow: ellipsis;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 50px; border-bottom: 1px solid #313131;
  background: #1a1a1a; box-shadow: 0 1px 8px rgba(0,0,0,.42);
}
.header-inner {
  display: flex; align-items: center;
  width: min(1400px, 100%); height: 100%;
  margin-inline: auto; padding-inline: 16px; gap: 14px;
}
.header-inner > .fa { color: #d5d5d5; font-size: 20px; cursor: pointer; }
.header-spacer { flex: 1; }
.brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-style: italic; letter-spacing: -.5px; font-size: 18px; font-weight: 700;
}
.brand__icon { color: var(--accent); font-size: 20px; }
.brand__name { color: #eee; }
.brand__name span { color: var(--accent); }

/* ===== Site / Main ===== */
.site { min-height: 100vh; padding-bottom: 82px; background: #0a0a0a; }

/* ===== Quick Chips ===== */
.quick-chips {
  display: flex; gap: 8px; padding: 12px 12px 4px;
  overflow-x: auto; scrollbar-width: none;
}
.quick-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #1d1d1d; border: 1px solid #2c2c2c;
  font-size: 12.5px; color: #d5d5d5; white-space: nowrap;
}
.chip .fa { font-size: 12px; color: var(--accent); }
.chip--hot { background: linear-gradient(90deg, #3a2600, #2a1a00); border-color: #553a00; color: #ffd98a; }
.chip--hot .fa { color: var(--accent); }

/* ===== Video Section ===== */
.video-section { padding: 14px 12px; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.section-title h2 {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; margin: 0;
}
.section-title__icon { color: var(--accent); font-size: 16px; }
.section-title__more {
  font-size: 12.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 4px;
}
.section-title__more .fa { font-size: 10px; }

/* ===== Video Grid ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.video-card {
  background: var(--card); border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 1px solid #242424;
  transition: transform .15s ease, border-color .15s ease;
}
.video-card:hover { transform: translateY(-3px); border-color: #553a00; }
.video-card__thumb {
  position: relative; aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #2d2d2d, #161616);
  overflow: hidden;
}
.video-card__thumb .thumb-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(80px 110px at 50% 30%, rgba(255,173,40,.35), transparent 70%),
    linear-gradient(180deg, transparent 50%, rgba(10,10,10,.9) 95%);
}
.video-card__badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}
.video-card__hd {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,.65); color: var(--accent);
  font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px;
}
.video-card__dur {
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(0,0,0,.7); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-size: 30px; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.video-card__body { padding: 8px 10px 10px; }
.video-card__title {
  font-size: 13px; font-weight: 600; color: #eee;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
}
.video-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--muted);
}
.video-card__meta .fa { font-size: 10px; }

/* ===== VIP Banner ===== */
.vip-banner {
  margin: 16px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(120deg, #3a2600, #1f1400);
  border: 1px solid #553a00;
}
.vip-banner__badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(90deg, #ffad28, #ff8c1a);
  color: #2a1500; font-weight: 800; font-size: 11px;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 6px;
}
.vip-banner__badge .fa { font-size: 10px; }
.vip-banner__title { font-size: 17px; font-weight: 800; color: #ffd98a; }
.vip-banner__sub { font-size: 12px; color: #c9a45c; margin-top: 2px; }
.vip-banner__btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, #ffad28, #ff8c1a);
  color: #2a1500; font-weight: 800; font-size: 13px;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(255,173,40,.35);
}

/* ===== Friendly Reminder ===== */
.reminder {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 8px 12px 20px; padding: 14px;
  background: #141414; border: 1px solid #2c2c2c; border-radius: 10px;
}
.reminder__icon { color: var(--accent); font-size: 18px; margin-top: 2px; }
.reminder strong { display: block; font-size: 13.5px; color: #eee; margin-bottom: 4px; }
.reminder p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ===== Footer ===== */
.footer { padding: 20px 16px 0; text-align: center; }
.footer__links {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer__links a { font-size: 12.5px; color: var(--muted); }
.footer__links a:hover { color: var(--accent); }
.footer p { font-size: 11.5px; color: #666; margin: 0 0 8px; }

/* ===== Bottom Tab Bar ===== */
.tabbar {
  position: fixed; z-index: 100; left: 0; right: 0; bottom: 0;
  height: 60px; padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: #141414; border-top: 1px solid #2c2c2c;
}
.tabbar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #777; font-size: 10.5px;
}
.tabbar__item .fa { font-size: 18px; }
.tabbar__item--active { color: var(--accent); }

/* ===== Overlay / Download Modal ===== */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.78); backdrop-filter: blur(4px);
  padding: 20px;
}
.overlay.open { display: flex; }
.overlay__box {
  position: relative; width: min(360px, 100%);
  background: #1a1a1a; border: 1px solid #313131; border-radius: 16px;
  padding: 32px 24px 22px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.overlay__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #262626; color: #999; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.overlay__close:hover { color: #fff; background: #333; }
.overlay__icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffad28, #ff8c1a);
  color: #2a1500; font-size: 30px; border-radius: 18px;
  box-shadow: 0 8px 24px rgba(255,173,40,.4);
}
.overlay__box h3 { font-size: 18px; margin: 0 0 8px; color: #eee; }
.overlay__box p { font-size: 12.5px; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.overlay__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 999px;
  background: linear-gradient(90deg, #ffad28, #ff8c1a);
  color: #2a1500; font-weight: 800; font-size: 14px;
  margin-bottom: 10px;
}
.overlay__copy {
  width: 100%; padding: 11px; border-radius: 999px;
  background: #262626; color: #d5d5d5; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 12px;
}
.overlay__box small { font-size: 11px; color: #666; }

/* ===== Responsive ===== */
@media (min-width: 900px) {
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .video-section { padding: 20px 24px; }
  .quick-chips { padding: 16px 24px 6px; }
  .vip-banner, .reminder { margin-inline: 24px; }
}
