:root{
  --bg:#060b14;
  --bg-soft:#0b1220;
  --panel:rgba(255,255,255,.05);
  --panel2:rgba(255,255,255,.08);
  --panel3:rgba(255,255,255,.03);
  --text:#e7edf7;
  --muted:#9aacbf;
  --stroke:rgba(148,163,184,.18);
  --stroke-strong:rgba(148,163,184,.28);
  --accent:#0ea5e9;
  --accent2:#3b82f6;
  --accent-soft:rgba(14,165,233,.16);
  --shadow:0 16px 40px rgba(0,0,0,.22);
  --shadow-sm:0 10px 24px rgba(0,0,0,.16);
  --radius:18px;
  --radius-lg:24px;
  --container:1200px;
}

[data-theme="light"]{
  --bg:#f6f8ff;
  --bg-soft:#ffffff;
  --panel:rgba(15,23,42,.05);
  --panel2:rgba(15,23,42,.08);
  --panel3:rgba(15,23,42,.03);
  --text:#0f172a;
  --muted:#526174;
  --stroke:rgba(15,23,42,.12);
  --stroke-strong:rgba(15,23,42,.18);
  --shadow:0 18px 40px rgba(2,6,23,.10);
  --shadow-sm:0 10px 22px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html,body{height:100%}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(1100px 740px at 14% -10%, rgba(14,165,233,.22), transparent 58%),
    radial-gradient(900px 620px at 100% 8%, rgba(59,130,246,.14), transparent 56%),
    var(--bg);
}

img,video{
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,input,select,textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

.page{
  min-height:calc(100vh - 70px);
  padding-bottom:32px;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* ---------- topbar ---------- */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(6,11,20,.62);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--stroke);
}

[data-theme="light"] .topbar{
  background:rgba(246,248,255,.78);
}

.topbar__inner{
  max-width:1280px;
  margin:0 auto;
  padding:12px 16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,520px) auto;
  gap:14px;
  align-items:center;
}

.topbar__left{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.topbar__center{
  display:flex;
  justify-content:center;
}

.topbar__right{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  align-items:center;
  min-width:0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  white-space:nowrap;
}

.brand__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 22px rgba(14,165,233,.55);
}

.brand__text{
  font-weight:900;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.nav::-webkit-scrollbar{
  display:none;
}

.nav__a{
  flex:0 0 auto;
  padding:9px 14px;
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  border:1px solid transparent;
  transition:.18s ease;
}

.nav__a:hover{
  color:var(--text);
  background:var(--panel);
}

.nav__a.is-active{
  color:var(--text);
  background:var(--panel2);
  border-color:var(--stroke);
}

.search{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:var(--panel);
  border:1px solid var(--stroke);
  transition:.18s ease;
}

.search:focus-within{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.26);
}

.search__icon{
  color:var(--muted);
  font-size:20px;
}

.search__input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font-size:14px;
  font-weight:600;
}

.search__input::placeholder{
  color:var(--muted);
}

.search__clear{
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  display:none;
  place-items:center;
}

.pill{
  display:flex;
  border:1px solid var(--stroke);
  border-radius:999px;
  overflow:hidden;
  background:var(--panel);
}

.pill__btn{
  padding:8px 10px;
  font-weight:800;
  font-size:12px;
  color:var(--muted);
}

.pill__btn.is-active{
  background:rgba(14,165,233,.16);
  color:var(--text);
}

.iconbtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:var(--panel);
  color:var(--text);
  display:grid;
  place-items:center;
  transition:.18s ease;
}

.iconbtn:hover{
  transform:translateY(-1px);
  background:var(--panel2);
}

.iconbtn--sm{
  width:34px;
  height:34px;
}

/* ---------- mobile menu ---------- */

.desktop-only{
  display:inline-flex;
}

.mobilemenu-toggle{
  display:none;
}

.mobilemenu{
  position:fixed;
  inset:0;
  z-index:90;
  display:none;
  background:rgba(2,6,23,.45);
  backdrop-filter:blur(8px);
}

.mobilemenu.is-open{
  display:block;
}

.mobilemenu__panel{
  width:min(92vw,380px);
  margin:12px 12px 0 auto;
  border-radius:22px;
  border:1px solid var(--stroke);
  background:rgba(7,11,20,.92);
  box-shadow:var(--shadow);
  overflow:hidden;
  transform:translateY(-12px) scale(.98);
  opacity:0;
  transition:.22s ease;
}

[data-theme="light"] .mobilemenu__panel{
  background:rgba(246,248,255,.96);
}

.mobilemenu.is-open .mobilemenu__panel{
  transform:translateY(0) scale(1);
  opacity:1;
}

.mobilemenu__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 12px;
  border-bottom:1px solid var(--stroke);
}

.mobilemenu__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.mobilemenu__body{
  padding:14px;
  display:grid;
  gap:14px;
}

.mobilemenu__nav{
  display:grid;
  gap:10px;
}

.mobilemenu__link{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background:var(--panel);
  font-weight:800;
  transition:.18s ease;
}

.mobilemenu__link:hover{
  transform:translateY(-1px);
  background:var(--panel2);
}

.mobilemenu__link.is-active{
  background:rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.30);
}

.mobilemenu__section{
  display:grid;
  gap:10px;
}

.mobilemenu__label{
  font-size:12px;
  font-weight:900;
  color:var(--muted);
  letter-spacing:.3px;
  text-transform:uppercase;
}

.mobilemenu__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.mobilemenu__action{
  min-height:50px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--panel);
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.mobilemenu__action:hover{
  background:var(--panel2);
}

/* ---------- shared hero ---------- */

.hero{
  position:relative;
  margin:16px 0 8px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  min-height:320px;
  background:var(--bg-soft);
}

.hero__media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.75;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(2,6,23,.92) 0%, rgba(2,6,23,.58) 45%, rgba(2,6,23,.08) 100%);
}

[data-theme="light"] .hero__overlay{
  background:linear-gradient(90deg, rgba(246,248,255,.92) 0%, rgba(246,248,255,.66) 45%, rgba(246,248,255,.10) 100%);
}

.hero__content{
  position:relative;
  z-index:2;
  padding:24px;
  max-width:680px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(14,165,233,.14);
  border:1px solid rgba(14,165,233,.30);
  color:var(--text);
  font-weight:800;
  font-size:12px;
}

.h1{
  font-size:38px;
  line-height:1.06;
  margin:10px 0 10px;
  letter-spacing:-.45px;
}

.h2{
  margin:0;
  font-size:18px;
  letter-spacing:-.2px;
}

.p{
  color:var(--muted);
  margin:0 0 14px;
  font-weight:600;
  line-height:1.6;
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.btnrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.btn{
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(14,165,233,.30);
  background:rgba(14,165,233,.14);
  color:var(--text);
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn:hover{
  box-shadow:0 0 0 4px rgba(14,165,233,.14);
}

.btn--solid{
  background:linear-gradient(135deg, rgba(14,165,233,.95), rgba(59,130,246,.95));
  border-color:rgba(14,165,233,.50);
}

.btn--ghost{
  background:var(--panel);
  border:1px solid var(--stroke);
  color:var(--text);
}

/* ---------- sections ---------- */

.section{
  margin:18px 0;
}

.section__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  flex-wrap:wrap;
}

.muted{
  color:var(--muted);
  font-weight:600;
}

/* ---------- rows ---------- */

.rowwrap{
  position:relative;
}

.row{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:4px 2px 12px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
}

.row::-webkit-scrollbar{
  height:10px;
}

.row::-webkit-scrollbar-thumb{
  background:rgba(148,163,184,.20);
  border-radius:999px;
}

/* ---------- cards ---------- */

.card{
  scroll-snap-align:start;
  width:170px;
  flex:0 0 auto;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.02);
  position:relative;
  box-shadow:var(--shadow-sm);
  transition:.2s ease;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(14,165,233,.24);
  box-shadow:0 14px 30px rgba(0,0,0,.20);
}

.card__img{
  width:100%;
  height:245px;
  object-fit:cover;
  display:block;
}

.card__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(2,6,23,.03), rgba(2,6,23,.95));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  padding:12px;
  opacity:0;
  transition:.18s ease;
}

.card:hover .card__overlay{
  opacity:1;
}

.card__title{
  font-weight:900;
  font-size:13px;
  line-height:1.35;
  margin:0;
}

.card__metaMini{
  font-size:.77rem;
  color:#c9d8ef;
  line-height:1.35;
}

.card__interpreter{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  font-size:.76rem;
  color:#dce9ff;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.card__interpreter span:last-child{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.card__singleAction{
  display:flex;
  justify-content:center;
  margin-top:2px;
}

.card__singleBtn{
  min-width:120px;
  min-height:36px;
  padding:0 14px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
  font-size:.82rem;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg, rgba(0,145,255,.95), rgba(0,220,255,.86));
  box-shadow:0 8px 18px rgba(0,120,255,.20);
}

/* old two-button support kept minimal */
.card__actions{
  display:flex;
  gap:8px;
}

.chipbtn{
  min-height:34px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.07);
  color:var(--text);
  font-weight:900;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.arrow{
  position:absolute;
  top:35%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.35);
  backdrop-filter:blur(10px);
  display:grid;
  place-items:center;
}

.arrow--l{left:-8px}
.arrow--r{right:-8px}

.arrow:hover{
  background:rgba(14,165,233,.20);
}

/* ---------- grid ---------- */

.grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:12px;
}

.grid .card{
  width:auto;
}

/* ---------- banners ---------- */

.banner{
  margin:16px 0 12px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--stroke);
  background:linear-gradient(135deg, rgba(14,165,233,.16), rgba(2,6,23,.20));
  box-shadow:var(--shadow);
}

[data-theme="light"] .banner{
  background:linear-gradient(135deg, rgba(14,165,233,.12), rgba(246,248,255,.20));
}

.banner__inner{
  display:flex;
  gap:16px;
  align-items:center;
  padding:16px;
  backdrop-filter:blur(12px);
  flex-wrap:wrap;
}

.avatar{
  width:60px;
  height:60px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.banner__title{
  font-weight:900;
  font-size:18px;
  margin:0;
}

.banner__sub{
  color:var(--muted);
  margin:2px 0 0;
  font-weight:700;
}

.banner__actions{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
}

/* ---------- interpreter list cards ---------- */

.icard{
  border:1px solid var(--stroke);
  background:var(--panel);
  border-radius:20px;
  overflow:hidden;
  display:flex;
  gap:12px;
  padding:12px;
  align-items:center;
  box-shadow:var(--shadow-sm);
}

.icard__img{
  width:54px;
  height:54px;
  border-radius:15px;
  overflow:hidden;
  border:1px solid var(--stroke);
  flex:0 0 auto;
}

.icard__img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.icard__name{
  font-weight:900;
  margin:0;
  font-size:15px;
}

.icard__meta{
  color:var(--muted);
  font-weight:700;
  margin-top:4px;
  font-size:12px;
}

.icard__go{
  margin-left:auto;
}

/* ---------- player ---------- */

.player{
  position:relative;
  width:100%;
  background:#000;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
}

.player video{
  width:100%;
  max-height:78vh;
  display:block;
  background:#000;
  object-fit:contain;
}

.controls{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:10px 12px 12px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.70));
}

.controls__bar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}

.cbtn{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  color:#fff;
  display:grid;
  place-items:center;
  backdrop-filter:blur(10px);
}

.cbtn:hover{
  background:rgba(14,165,233,.20);
}

.range{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:6px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  outline:none;
}

.range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:14px;
  height:14px;
  border-radius:999px;
  background:rgba(255,255,255,.95);
  border:2px solid rgba(14,165,233,.9);
}

.time{
  color:rgba(255,255,255,.92);
  font-weight:800;
  font-size:12px;
  min-width:88px;
  text-align:center;
}

.volume{
  width:120px;
}

.kbd{
  display:grid;
  gap:6px;
  grid-template-columns:repeat(2, minmax(0,1fr));
  margin-top:12px;
}

.kbd div{
  color:#dbe8ff;
  font-weight:700;
  font-size:12px;
}

/* ---------- footer ---------- */

.footer{
  border-top:1px solid var(--stroke);
  background:rgba(2,6,23,.35);
  backdrop-filter:blur(10px);
}

[data-theme="light"] .footer{
  background:rgba(246,248,255,.72);
}

.footer__inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.footer__donate{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:900;
}

.footer__right{
  margin-left:auto;
  color:var(--muted);
  font-weight:700;
  font-size:12px;
}

/* ---------- WhatsApp ---------- */

.wa{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:60;
  display:none;
}

.wa.is-open{
  display:block;
}

.wa__panel{
  width:min(360px, calc(100vw - 32px));
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.6);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
}

[data-theme="light"] .wa__panel{
  background:rgba(246,248,255,.78);
}

.wa__head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid var(--stroke);
}

.wa__title{
  font-weight:900;
}

.wa__body{
  padding:12px;
}

.wa__bubble{
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:10px 12px;
  color:var(--muted);
  font-weight:700;
  margin-bottom:10px;
}

.wa__input{
  width:100%;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--panel);
  color:var(--text);
  padding:10px 12px;
  outline:none;
  font-weight:700;
}

.wa__actions{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.wa__sent{
  margin-top:10px;
  color:var(--accent);
  font-weight:900;
}

/* ---------- modal ---------- */

.modal{
  position:fixed;
  inset:0;
  z-index:80;
  display:none;
}

.modal.is-open{
  display:block;
}

.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.modal__card{
  position:relative;
  width:min(520px, calc(100vw - 32px));
  margin:12vh auto 0;
  border-radius:22px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
}

[data-theme="light"] .modal__card{
  background:rgba(246,248,255,.86);
}

.modal__head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid var(--stroke);
}

.modal__title{
  font-weight:900;
}

.modal__body{
  padding:14px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px){
  .topbar__inner{
    grid-template-columns:1fr;
    gap:10px;
  }

  .topbar__left{
    flex-wrap:wrap;
    gap:12px;
  }

  .brand{
    width:100%;
  }

  .nav{
    width:100%;
  }

  .topbar__center{
    order:3;
  }

  .topbar__right{
    order:2;
    width:100%;
    justify-content:flex-end;
    margin-left:0;
  }

  .hero{
    min-height:340px;
  }

  .grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 700px){
  .topbar__right{
    gap:8px;
  }

  .pill__btn{
    min-width:38px;
    height:38px;
    padding:0 10px;
    font-size:11px;
  }

  .iconbtn{
    width:38px;
    height:38px;
  }
}

@media (max-width: 560px){
  .topbar__inner{
    padding:10px 12px;
  }

  .topbar__right{
    justify-content:flex-end;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
  }

  .topbar__right::-webkit-scrollbar{
    display:none;
  }

  .h1{
    font-size:30px;
  }

  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .card{
    width:156px;
  }

  .card__img{
    height:220px;
  }

  .volume{
    display:none;
  }

  .hero__content{
    padding:18px;
  }

  .banner__inner{
    padding:14px;
  }
}