/* QQSTARZ Portal Org — dark maroon + logo gold
   Visual density inspired by popular portal layouts.
   Content remains corporate catalog (no gambling flows). */

:root {
  --bg: #140208;
  --bg-2: #1a050c;
  --bg-3: #220810;
  --panel: #2a0a12;
  --gold: #f0c14b;
  --gold-2: #fce786;
  --gold-deep: #b8860b;
  --gold-bar: linear-gradient(180deg, #fce786 0%, #f0c14b 42%, #b8860b 100%);
  --blue: #2f7fff;
  --text: #f7f1e8;
  --muted: #c4b6aa;
  --line: #3d1a24;
  --danger: #ff4d4d;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(184, 134, 11, .18), transparent 55%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
}
.skip-link:focus {
  left: 8px; top: 8px; z-index: 9999;
  background: var(--gold); color: #1a0a00; padding: .5rem .75rem;
}

/* Floating social rail (left) */
.tz-social-rail {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tz-social-rail__item {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0 8px 8px 0;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: filter .2s, transform .2s;
}
.tz-social-rail__item svg {
  width: 22px;
  height: 22px;
  display: block;
}
.tz-social-rail__item:hover {
  transform: translateX(3px);
  filter: brightness(1.12);
}
.tz-social-rail__item--whatsapp {
  background: #25d366;
}
.tz-social-rail__item--telegram {
  background: #229ed9;
}
.tz-social-rail__item--facebook {
  background: #1877f2;
}

/* Header */
.tz-header {
  background: #0e0206;
  border-bottom: 1px solid var(--line);
}
.tz-top {
  width: min(100% - 1rem, var(--container));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 0;
}
.tz-logo { flex: 0 0 auto; }
.tz-logo img { width: min(158px, 42vw); height: auto; }
.tz-top__tools {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.tz-clock {
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}
.tz-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .55rem;
  border-radius: 4px;
  background: #2a1018;
  color: #fff !important;
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid #4a2430;
}
.tz-chip--blue { background: var(--blue); border-color: #1d5ed0; }
.tz-auth {
  display: flex;
  gap: .4rem;
  flex: 0 0 auto;
}
.tz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: .45rem .7rem;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.tz-btn--ghost {
  background: #2a1018;
  color: #fff !important;
  border: 1px solid #5a3040;
}
.tz-btn--lime,
.tz-btn--gold {
  background: var(--gold-bar);
  color: #1a1200 !important;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 0 12px rgba(240, 193, 75, .28);
}
.tz-toggle {
  display: none;
  width: 42px; height: 42px;
  background: #2a1018;
  border: 1px solid #4a2430;
  border-radius: 4px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}
.tz-toggle span {
  display: block; height: 2px; background: var(--gold); width: 100%;
}

/* Gold category bar (logo accent) */
.tz-cats {
  background: var(--gold-bar);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid #fce786;
  border-bottom: 1px solid #8a6208;
}
.tz-cats a {
  position: relative;
  color: #1a1200 !important;
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .78rem .72rem;
  white-space: nowrap;
}
.tz-cats a:hover,
.tz-cats a.is-home {
  background: rgba(0,0,0,.22);
  color: #fff !important;
}
.tz-badge {
  position: absolute;
  top: 4px; right: 2px;
  background: var(--danger);
  color: #fff;
  font-size: .55rem;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

/* Banner */
.tz-banner {
  position: relative;
  width: min(100% - 1rem, var(--container));
  margin: .75rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  border-radius: 6px;
}
.tz-banner__slide { display: none; position: relative; }
.tz-banner__slide.is-active { display: block; }
.tz-banner__slide img:first-child {
  width: 100%;
  height: clamp(160px, 32vw, 360px);
  object-fit: cover;
}
.tz-banner__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 2, 8, .78), transparent 55%);
}
.tz-banner__caption {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  max-width: min(520px, 90%);
}
.tz-banner__caption strong {
  display: block;
  font-size: clamp(1.05rem, 2.4vw, 1.7rem);
  color: #fff;
  text-shadow: 0 2px 10px #000;
}
.tz-banner__caption span {
  color: #e8dcc8;
  font-size: clamp(.8rem, 1.6vw, .9rem);
}
.tz-banner__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 36px; height: 48px;
  border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.4rem;
  cursor: pointer;
}
.tz-banner__nav.prev { left: 0; }
.tz-banner__nav.next { right: 0; }
.tz-banner__dots {
  position: absolute; left: 0; right: 0; bottom: .45rem;
  display: flex; justify-content: center; gap: .35rem; z-index: 3;
}
.tz-banner__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: #666; padding: 0; cursor: pointer;
}
.tz-banner__dots button.is-active { background: var(--gold); }

/* Marquee */
.tz-marquee {
  width: min(100% - 1rem, var(--container));
  margin: .55rem auto;
  overflow: hidden;
  background: #0e0206;
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 34px;
  display: flex; align-items: center;
}
.tz-marquee__track {
  display: flex; align-items: center; gap: 1.1rem;
  width: max-content; white-space: nowrap;
  animation: tz-marquee 40s linear infinite;
  font-size: .78rem; font-weight: 700; color: #f3e6d0;
}
.tz-marquee:hover .tz-marquee__track { animation-play-state: paused; }
.tz-marquee__sep { color: var(--gold); }
@keyframes tz-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tz-marquee__track { animation: none; padding: 0 .75rem; }
}

/* Sections */
.tz-section {
  width: min(100% - 1rem, var(--container));
  margin: .9rem auto;
}
.tz-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: .65rem;
  flex-wrap: wrap;
}
.tz-section__head h2 {
  margin: 0;
  font-size: .95rem;
  letter-spacing: .04em;
  display: flex; align-items: center; gap: .45rem;
}
.tz-section__head h2::before {
  content: "";
  width: 4px; height: 1em;
  background: var(--gold);
  border-radius: 2px;
}
.tz-live {
  background: var(--danger);
  color: #fff !important;
  font-size: .68rem;
  font-weight: 800;
  padding: .28rem .5rem;
  border-radius: 3px;
}

.tz-reco {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}
.tz-reco__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  color: inherit !important;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.tz-reco__card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}
.tz-reco__card img {
  width: 100%; height: 110px; object-fit: cover;
}
.tz-reco__body {
  padding: .65rem .7rem .75rem;
  display: grid; gap: .2rem;
}
.tz-reco__body strong { color: #fff; font-size: .9rem; }
.tz-reco__body em { color: var(--gold-2); font-style: normal; font-size: .7rem; font-weight: 700; }
.tz-reco__body span { color: var(--muted); font-size: .78rem; }
.tz-reco__body b {
  margin-top: .35rem;
  justify-self: start;
  background: var(--gold-bar);
  color: #1a1200;
  font-size: .72rem;
  padding: .28rem .55rem;
  border-radius: 3px;
}

.tz-tabs {
  width: min(100% - 1rem, var(--container));
  margin: .4rem auto .2rem;
  display: flex; gap: .85rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.tz-tabs button {
  background: transparent; border: 0; color: var(--muted);
  font-weight: 800; font-size: .8rem; padding: .55rem 0;
  cursor: pointer; border-bottom: 2px solid transparent;
}
.tz-tabs button.is-active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.tz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}
.tz-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.tz-tile a { color: inherit !important; display: block; }
.tz-tile__media { position: relative; }
.tz-tile__media > img:first-child {
  width: 100%; height: 150px; object-fit: cover;
}
.tz-tile__logo {
  position: absolute; top: .45rem; left: .45rem;
  width: 64px !important; height: auto !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
.tz-tile__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(240, 193, 75, .95);
  color: #1a1200;
  font-weight: 900;
  font-size: .78rem;
  padding: .4rem .75rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s;
}
.tz-tile:hover .tz-tile__play { opacity: 1; }
.tz-tile h3 {
  margin: .55rem .65rem .15rem;
  font-size: .88rem;
}
.tz-tile p {
  margin: 0 .65rem .7rem;
  color: var(--muted);
  font-size: .74rem;
}

.tz-seo {
  width: min(100% - 1rem, 820px);
  margin: 1.5rem auto 2rem;
  color: #d0c2b4;
}
.tz-seo h1, .tz-seo h2 { color: #fff; }
.tz-seo h1 { font-size: clamp(1.1rem, 3vw, 1.25rem); }
.tz-seo h2 { font-size: clamp(1rem, 2.4vw, 1.05rem); margin-top: 1.1rem; }

/* Footer */
.tz-footer {
  background: #0e0206;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1rem;
}
.tz-footer__grid {
  width: min(100% - 1rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}
.tz-footer h3 {
  margin: 0 0 .45rem;
  color: var(--gold-2);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tz-footer p, .tz-footer li { color: var(--muted); font-size: .82rem; }
.tz-footer ul { list-style: none; margin: 0; padding: 0; }
.tz-footer li { margin: .25rem 0; }
.tz-disclaimer, .tz-copy {
  width: min(100% - 1rem, var(--container));
  margin: .9rem auto 0;
  color: #8a7a70;
  font-size: .72rem;
}

/* Inner pages */
.page-shell, .archive-shell, .single-shell {
  width: min(100% - 1rem, 860px);
  margin: 1.25rem auto 2rem;
}
.page-shell h1, .single-shell h1 { margin-top: 0; }
.content-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

/* Hide leftover consent chrome if plugin CSS still loads */
#cookie-law-info-bar,
.cli-modal,
.cky-consent-container,
.cky-overlay,
.cky-btn-revisit-wrapper,
[class*="cookie-notice"],
.moove_gdpr_cookie_info_bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Welcome popup */
.tz-welcome[hidden] { display: none !important; }
.tz-welcome {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.tz-welcome__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 2, 8, .82);
}
.tz-welcome__box {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: linear-gradient(180deg, #2a0a12 0%, #140208 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1.35rem 1.1rem 1.1rem;
  text-align: center;
  box-shadow: 0 0 0 1px var(--gold-deep), 0 20px 60px rgba(0, 0, 0, .65);
}
.tz-welcome__logo {
  width: 130px;
  margin: 0 auto .85rem;
}
.tz-welcome__icon {
  width: 72px;
  height: 72px;
  margin: .75rem auto .35rem;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gold-deep), 0 8px 24px rgba(0, 0, 0, .45);
}
.tz-welcome__box p {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: .92rem;
  line-height: 1.45;
}
.tz-welcome__label {
  color: var(--gold-2) !important;
  font-weight: 800;
  letter-spacing: .06em;
  margin-top: .35rem !important;
}
.tz-welcome__link {
  display: inline-block;
  color: var(--gold-2) !important;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: .7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tz-welcome__cta {
  display: block;
  margin: .85rem auto .55rem;
  color: var(--gold) !important;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
  line-height: 1.35;
}
.tz-welcome__note {
  color: #eee !important;
  font-size: .84rem !important;
  margin-bottom: 1rem !important;
}
.tz-welcome__ok {
  min-width: 88px;
  padding: .45rem 1.2rem;
  border: 0;
  border-radius: 4px;
  background: var(--gold-bar);
  color: #1a1200;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
}
.tz-welcome__ok:hover { filter: brightness(1.08); }

/* Responsive */
@media (max-width: 1100px) {
  .tz-cats a { padding: .7rem .55rem; font-size: .7rem; }
}
@media (max-width: 980px) {
  .tz-reco, .tz-grid { grid-template-columns: repeat(2, 1fr); }
  .tz-footer__grid { grid-template-columns: 1fr 1fr; }
  .tz-top__tools .tz-chip:nth-child(n+3) { display: none; }
  .tz-tile__media > img:first-child { height: 140px; }
}
@media (max-width: 720px) {
  .tz-social-rail {
    top: auto;
    bottom: 1rem;
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    gap: .45rem;
    padding: .35rem .5rem;
    background: rgba(14, 2, 6, .92);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  }
  .tz-social-rail__item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .tz-social-rail__item:hover { transform: translateY(-2px); filter: brightness(1.12); }
  .tz-top {
    min-height: 60px;
    flex-wrap: wrap;
    gap: .5rem;
  }
  .tz-logo img { width: min(132px, 46vw); }
  .tz-toggle { display: inline-flex; margin-left: auto; }
  .tz-auth {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }
  .tz-auth .tz-btn { flex: 1; }
  .tz-top__tools { display: none; }
  .tz-cats {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .tz-cats.is-open { display: flex !important; }
  .tz-cats a {
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }
  .tz-reco, .tz-grid, .tz-footer__grid { grid-template-columns: 1fr; }
  .tz-banner {
    margin-top: .55rem;
    border-radius: 4px;
  }
  .tz-banner__slide img:first-child { height: 180px; }
  .tz-banner__caption { left: .75rem; bottom: .75rem; }
  .tz-banner__nav { width: 32px; height: 40px; font-size: 1.2rem; }
  .tz-marquee { height: 32px; }
  .tz-marquee__track { font-size: .7rem; }
  .tz-tabs {
    gap: .55rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tz-tabs::-webkit-scrollbar { display: none; }
  .tz-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: .76rem;
  }
  .tz-reco__card img { height: 140px; }
  .tz-tile__media > img:first-child { height: 170px; }
  .tz-tile:hover .tz-tile__play,
  .tz-tile .tz-tile__play { opacity: 1; }
  .tz-seo { margin: 1.1rem auto 1.5rem; }
  .content-card { padding: .85rem .9rem; }
  .tz-welcome__box { padding: 1.1rem .8rem .9rem; }
  .tz-welcome__box p { font-size: .86rem; }
  .tz-welcome__link { font-size: 1rem; }
  .tz-welcome__cta { font-size: .86rem; }
}
@media (max-width: 420px) {
  .tz-logo img { width: min(118px, 48vw); }
  .tz-btn { min-width: 0; padding: .42rem .55rem; font-size: .74rem; }
  .tz-banner__slide img:first-child { height: 160px; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .tz-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}
