/* ============================================================
   MonsterWin clone v2 — layout fiel (navy + gold + teal)
   Reverse-engineering do monsterwin-2144.com/hu
   Carregado depois de style.css, por isso sobrepoe.
   ============================================================ */
:root {
  --bg: #0b0f16;
  --bg-2: #0e1420;
  --bg-3: #131c2b;
  --bg-card: #131b29;
  --bg-card-2: #182236;
  --border: rgba(255,255,255,.06);
  --border-strong: rgba(232,190,99,.30);

  --blue: #16c0d4;        /* teal accent (active) */
  --blue-h: #12a7b9;
  --blue-glow: rgba(22,192,212,.35);
  --cyan: #e8be63;        /* gold */

  --gold: #e8be63;
  --gold-dim: #b9923a;
  --magenta: #e0218a;
  --orange-a: #f7a32b;
  --orange-b: #e07b1e;

  --text: #e9eef6;
  --text-dim: #9aa6b8;
  --text-muted: #6b7689;

  --sidebar-w: 230px;
  --topbar-h: 60px;
}
body { background: var(--bg); }

/* ---------- TOPBAR ---------- */
.topbar { background: #0a0e15; border-bottom: 1px solid var(--border); gap: 16px; }
.topbar .logo { margin-right: 4px; display: flex; align-items: center; }
.topbar .logo img { height: 38px; width: auto; border-radius: 7px; }
.topsearch {
  flex: 0 0 340px; width: 340px; margin-left: auto; display: flex; align-items: center; gap: 10px;
  background: #11192a; border: 1px solid rgba(232,190,99,.18); border-radius: 10px;
  padding: 0 14px; height: 40px;
}
/* só a search empurra para a direita; os botões ficam colados a seguir */
.topbar-actions { margin-left: 0; }
.topsearch__ic { font-size: 14px; opacity: .7; }
.topsearch input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 13.5px; font-family: var(--font);
}
.topsearch input::placeholder { color: #5e6a7d; }
.btn-text {
  border: 1px solid rgba(232,190,99,.45); color: var(--gold);
  background: transparent; border-radius: 8px; text-transform: none; letter-spacing: 0;
  font-size: 13px; padding: 9px 16px;
}
.btn-text:hover { background: rgba(232,190,99,.08); }
.btn-register {
  background: linear-gradient(180deg, var(--orange-a) 0%, var(--orange-b) 100%);
  color: #20170c; border-radius: 8px; text-transform: none; letter-spacing: 0;
  font-size: 13px; padding: 10px 20px; box-shadow: 0 4px 14px rgba(224,123,30,.35);
}
.btn-register:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- SIDEBAR (nav principal) ---------- */
.sidebar {
  width: var(--sidebar-w); background: #0a0e15; border-right: 1px solid var(--border);
  padding: 10px 10px 16px; display: flex; flex-direction: column;
}
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 11px;
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  border-radius: 9px; cursor: pointer; border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.sb-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.sb-item .sb-ic { width: 20px; text-align: center; font-size: 15px; flex-shrink: 0; }
.sb-item.is-active {
  background: linear-gradient(90deg, rgba(22,192,212,.16), rgba(22,192,212,.02));
  color: #fff; border-left-color: var(--blue);
}
.sb-item.sb-gold {
  color: var(--gold); border: 1px solid rgba(232,190,99,.5);
  background: rgba(232,190,99,.05); margin-bottom: 4px;
}
.sb-item.sb-magenta {
  color: #fff; background: linear-gradient(90deg, rgba(224,33,138,.85), rgba(224,33,138,.35));
  margin-bottom: 6px;
}
.sb-foot {
  margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border);
}
.sb-foot__item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim); cursor: pointer; padding: 4px 6px; }
.sb-foot__item:hover { color: var(--text); }

/* ---------- HERO ---------- */
.main { padding: 16px 20px 50px; }
.hero {
  position: relative; height: 340px; border-radius: 16px; overflow: hidden;
  margin-bottom: 22px; border: 1px solid var(--border-strong);
  background: radial-gradient(120% 130% at 78% 30%, #3a2c18 0%, #221a10 45%, #0f1622 100%);
}
.hero__bg, .hero__front { display: none; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,11,17,.92) 0%, rgba(8,11,17,.6) 30%, rgba(8,11,17,.1) 52%, transparent 68%);
}
.hero__content {
  position: relative; z-index: 3; height: 100%; max-width: 50%;
  display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 44px;
}
.hero__sub { color: #f0e0bb; font-weight: 700; font-size: clamp(13px,1.4vw,16px); letter-spacing: .03em; margin: 0 0 10px; text-transform: none; }
.hero__title {
  color: #f3c763; font-weight: 900; line-height: 1.04; margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 46px); text-shadow: 0 3px 14px rgba(0,0,0,.6);
}
.btn-cta {
  align-self: flex-start; display: inline-block; padding: 15px 38px;
  background: linear-gradient(180deg, var(--orange-a) 0%, var(--orange-b) 100%);
  color: #20170c; font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  border-radius: 12px; box-shadow: 0 8px 22px rgba(224,123,30,.45); border: 1px solid #ffd07a;
}
.btn-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 34px; height: 34px; border-radius: 8px; background: rgba(10,14,21,.5);
  color: var(--gold); font-size: 20px; line-height: 1;
}
.hero__nav--prev { left: 10px; } .hero__nav--next { right: 10px; }
.hero__dots { position: absolute; left: 44px; bottom: 18px; z-index: 4; display: flex; gap: 7px; }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.hero__dot.is-active { background: var(--gold); }

/* ---------- CATEGORIA (diamantes) ---------- */
.catrow {
  display: flex; gap: 6px; justify-content: space-between; margin: 4px 0 26px;
  overflow-x: auto; padding-bottom: 4px;
}
.catitem { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 84px; cursor: pointer; }
.catdiamond {
  position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  font-size: 23px; line-height: 1;
  background: linear-gradient(160deg, #2a3a52 0%, #0e1826 100%);
  clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
  transition: transform .15s;
}
.catdiamond::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scale(1.1);
  clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
  background: linear-gradient(160deg, #efce85, #9c7a2e);
}
.catitem:hover .catdiamond { transform: translateY(-2px); }
.caticon { width: 62px; height: 62px; object-fit: contain; display: block; transition: transform .15s; }
.catitem:hover .caticon { transform: translateY(-2px); }
.catlabel { font-size: 11.5px; color: var(--text-dim); text-align: center; font-weight: 600; }

/* ---------- SECÇÕES DE JOGOS ---------- */
.gsec { margin-bottom: 26px; }
.gsec__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gsec__title { font-size: 17px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; }
.gsec__title .flag { font-size: 16px; }
.gsec__all { font-size: 12.5px; color: var(--gold); font-weight: 700; }
.gtiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.gtile {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4;
  background: var(--bg-card); border: 1px solid var(--border); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.gtile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.5); border-color: rgba(232,190,99,.4); }
/* secção élő kaszinó: imagens retrato altas (360x840) — deixar a imagem definir a altura, sem corte */
.gtiles--tall { align-items: start; }
.gtiles--tall .gtile { aspect-ratio: auto; height: auto; }
.gtiles--tall .gtile img { height: auto; display: block; }
.gtile img { width: 100%; height: 100%; object-fit: cover; }
.gtile__n {
  position: absolute; left: 6px; bottom: 4px; z-index: 2; font-weight: 900;
  font-size: 30px; color: #fff; -webkit-text-stroke: 1.5px rgba(0,0,0,.55); line-height: 1;
}
.gtile__tag {
  position: absolute; top: 7px; left: 7px; z-index: 2; font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em; padding: 3px 7px; border-radius: 5px;
  background: linear-gradient(180deg, var(--orange-a), var(--orange-b)); color: #20170c;
}
.gtile__tag--new { background: linear-gradient(180deg, #2bd1c0, #14a596); color: #06201d; }

/* ---------- CONTENT (recolor) ---------- */
.content .note {
  background: rgba(232,190,99,.07); border-left: 3px solid var(--gold);
  padding: 13px 16px; border-radius: 8px; margin: 18px 0; color: var(--text-dim);
}
.content blockquote { border-left: 3px solid var(--blue); }
.content .pillar strong { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
/* (responsivo movido para o fim do ficheiro) */

/* ============================================================
   CHROME refinement — sidebar/topbar mais fiel ao site real
   ============================================================ */
/* ícones-imagem dentro de sb-ic / search / footer */
.sb-item .sb-ic img { width: 20px; height: 20px; object-fit: contain; display: block; }
.sb-ic--logo { width: auto !important; }
.sb-ic--logo img { width: auto; max-width: 56px; height: 18px; }
.topsearch__ic { display: inline-flex; align-items: center; }
.topsearch__ic img { width: 16px; height: 16px; object-fit: contain; opacity: .8; }
.sb-foot__item img { width: 18px; height: 18px; object-fit: contain; border-radius: 2px; }

/* botões biselados (cantos cortados, como o site) */
.btn-text, .btn-register {
  border-radius: 0;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  box-shadow: none;
}
.btn-register { border: 1px solid #ffb86b; padding-left: 24px; padding-right: 24px; }
.btn-text { background: rgba(224,123,30,.06); border: 1px solid rgba(232,138,38,.55); padding-left: 22px; padding-right: 22px; }
/* search biselado + borda teal */
.topsearch {
  border-radius: 0;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  border-color: rgba(22,192,212,.55);
}

/* Világbajnoki küldetés -> vermelho (não magenta) */
.sb-item.sb-magenta {
  background: linear-gradient(95deg, #c4334b 0%, #8a2233 100%);
  border: 1px solid rgba(255,180,120,.22);
}

/* divisores de grupo na sidebar */
.sb-item.sb-divider { margin-top: 9px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }

/* item ativo: seta + cantos dourados (corner brackets) */
.sb-item.is-active { position: relative; padding-right: 26px; }
.sb-item.is-active::after {
  content: "\203A"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 17px; font-weight: 700; line-height: 1;
}
.sb-item.is-active::before {
  content: ""; position: absolute; inset: 3px; pointer-events: none;
  border: 1.5px solid rgba(232,190,99,.65);
  -webkit-mask:
    linear-gradient(#000 0 0) top left/11px 11px no-repeat,
    linear-gradient(#000 0 0) top right/11px 11px no-repeat,
    linear-gradient(#000 0 0) bottom left/11px 11px no-repeat,
    linear-gradient(#000 0 0) bottom right/11px 11px no-repeat;
  mask:
    linear-gradient(#000 0 0) top left/11px 11px no-repeat,
    linear-gradient(#000 0 0) top right/11px 11px no-repeat,
    linear-gradient(#000 0 0) bottom left/11px 11px no-repeat,
    linear-gradient(#000 0 0) bottom right/11px 11px no-repeat;
}

/* ---------- PROMO BANNER (Világbajnoki küldetés) ---------- */
.promobanner {
  display: block; margin: 2px 0 26px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-strong); line-height: 0;
  transition: transform .15s, box-shadow .15s;
}
.promobanner:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.promobanner img { width: 100%; height: auto; display: block; }

/* ---------- POLISH: logo real, botões com moldura, search com rebordo ---------- */
.topbar .logo img { height: 40px; width: auto; border-radius: 0; background: transparent; }

/* CTA grande (hero/banner) usa a moldura real (button.webp) */
.btn-cta {
  background: url("button.webp") center / 100% 100% no-repeat;
  border: none; box-shadow: none; clip-path: none;
  color: #2a1605; font-weight: 800; text-shadow: 0 1px 0 rgba(255,255,255,.2);
  padding: 17px 44px; font-size: 16px;
}
.btn-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
/* Regisztráció (topbar) — retângulo laranja limpo (não losango) */
.btn-register {
  background: linear-gradient(180deg, var(--orange-a) 0%, var(--orange-b) 100%);
  border: 1.5px solid #ffc06b; border-radius: 7px; clip-path: none; box-shadow: none;
  color: #20170c; font-weight: 800; padding: 9px 20px;
}
.btn-register:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Bejelentkezés — outline limpo com rebordo dourado (sem corte) */
.btn-text {
  background: rgba(255,255,255,.03); border: 1.5px solid rgba(232,190,99,.8);
  border-radius: 7px; clip-path: none; color: var(--gold); padding: 9px 18px;
}
.btn-text:hover { background: rgba(232,190,99,.1); }

/* search — pill limpa com rebordo teal (sem corte agressivo) */
.topsearch { clip-path: none; border-radius: 10px; border: 1.5px solid rgba(22,192,212,.45); }

/* ---------- PROMO BANNER: texto + botão por cima da arte ---------- */
.promobanner { position: relative; }
.promobanner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,11,17,.9) 0%, rgba(8,11,17,.45) 34%, transparent 60%);
}
.promobanner__content {
  position: absolute; left: 4.5%; top: 50%; transform: translateY(-50%); z-index: 2;
  max-width: 50%; line-height: 1.3;
}
.promobanner__eyebrow { color: var(--gold); font-weight: 700; font-size: clamp(11px,1.2vw,15px); margin: 0 0 6px; line-height: 1.2; }
.promobanner__title {
  color: #fff; font-weight: 800; font-size: clamp(13px,1.7vw,25px); line-height: 1.12; margin: 0 0 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.promobanner__btn {
  display: inline-block; background: url("button.webp") center / 100% 100% no-repeat;
  color: #2a1605; font-weight: 800; padding: 12px 32px; font-size: 14px;
}

/* ---------- HERO lettering — display dourado metálico (estilo MonsterWin) ---------- */
.hero__title {
  font-family: "Bowlby One", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  color: transparent;
  background: linear-gradient(180deg, #fff7db 0%, #f7d076 40%, #de9f33 70%, #f4e1a2 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.1px #46330f;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.55));
  text-shadow: none;
}
/* subtítulo do hero — Montserrat 600 (como .description__title do site) */
.hero__sub { font-family: "Montserrat", "Inter", sans-serif; font-weight: 600; }

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */
.mobilenav { display: none; }

@media (max-width: 960px) {
  /* topbar compacto */
  .topbar { gap: 8px; padding: 0 10px; height: 54px; }
  .topbar .logo img { height: 30px; }
  .topsearch { display: none; }
  .btn-text { display: none; }
  .btn-register { font-size: 12px; padding: 8px 18px; }

  /* sidebar escondida — a bottom-nav assume a navegação */
  .sidebar { display: none; }
  .main { padding: 12px 10px 82px; }

  /* hero */
  .hero { height: 200px; border-radius: 12px; margin-bottom: 16px; }
  .hero__content { max-width: 100%; padding: 0 0 0 18px; }
  .hero__sub { font-size: 12px; margin-bottom: 6px; }
  .hero__title { font-size: 24px; margin-bottom: 14px; }
  .btn-cta { padding: 11px 22px; font-size: 13px; }
  .hero__nav { display: none; }

  /* categorias */
  .catrow { gap: 4px; }
  .catitem { min-width: 66px; gap: 6px; }
  .catdiamond, .caticon { width: 48px; height: 48px; }
  .catlabel { font-size: 10px; }

  /* jogos */
  .gtiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gsec__title { font-size: 15px; }
  .gtile__n { font-size: 22px; }

  /* promo banner */
  .promobanner { border-radius: 10px; margin-bottom: 18px; }

  /* conteúdo + tabela + footer */
  .content { padding: 0 2px; }
  .content table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  /* BOTTOM NAV */
  .mobilenav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: #0a0e15; border-top: 1px solid rgba(232,190,99,.2);
    padding: 6px 4px; justify-content: space-around; align-items: flex-end;
  }
  .mobilenav__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10px; color: var(--text-dim); font-weight: 600; padding: 4px 0; text-align: center;
  }
  .mobilenav__item.is-active { color: var(--gold); }
  .mobilenav__ic { font-size: 18px; line-height: 1; }
  .mobilenav__reg .mobilenav__cta {
    color: #20170c; background: linear-gradient(180deg, var(--orange-a), var(--orange-b));
    width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-top: -18px; box-shadow: 0 4px 12px rgba(224,123,30,.45); border: 2px solid #0a0e15;
  }
}

@media (max-width: 600px) {
  .gtiles { grid-template-columns: repeat(3, 1fr); }
  .hero { height: 175px; }
  .hero__title { font-size: 20px; }
  .footer__cols { grid-template-columns: 1fr; gap: 12px; }
}
