/* ── Talismania Template — custom layer on top of styles.css ── */

@font-face {
  font-family: 'Beaufort for LOL';
  font-weight: 500;
  font-display: swap;
  src: url('../Talismania_ Online Casino and Online Betting Mania_files/beaufortforlol-500.bd88cb4bac432226.woff2') format('woff2');
}
@font-face {
  font-family: 'Beaufort for LOL';
  font-weight: 700;
  font-display: swap;
  src: url('../Talismania_ Online Casino and Online Betting Mania_files/beaufortforlol-700.e1f873979fdeacfc.woff2') format('woff2');
}
@font-face {
  font-family: 'Colus';
  font-weight: 400;
  font-display: swap;
  src: url('../Talismania_ Online Casino and Online Betting Mania_files/colus-400.967442f1e5bc2ce5.woff2') format('woff2');
}

/* ── Design tokens ── */
:root {
  --primary:       #37f880;
  --primary-dark:  #20bc6e;
  --primary-glow:  rgba(55,248,128,0.25);

  --bg-body:       rgb(13,18,20);
  --bg-sidebar:    rgb(13,18,20);
  --bg-header:     rgb(19,27,32);
  --bg-card:       rgb(22,31,37);
  --bg-card2:      rgb(28,39,46);
  --bg-banner:     rgb(6,36,36);

  --text-gold:     rgb(187,141,76);
  --text-gold2:    rgb(133,114,88);
  --text-light:    rgb(211,213,214);
  --text-muted:    rgba(211,213,214,0.55);
  --border:        rgba(53,63,69,0.8);

  --sidebar-w:     72px;
  --header-h:      64px;
  --thumb-radius:  14px;
  --trans:         0.2s ease;

  --font-main:     'Beaufort for LOL', georgia, serif;
  --font-helper:   'Colus', georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-gold);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ══════════════════════════
   SIDEBAR OVERLAY (mobile)
══════════════════════════ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(0,0,0,0.6);
  z-index: 190;
}
.sidebar-overlay.active { display: block; }

/* ══════════════════════════
   LEFT SIDEBAR
   fixed, starts below header
══════════════════════════ */
.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - var(--header-h));
  z-index: 200;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: width 0.25s ease;
}
.sidebar::-webkit-scrollbar { width: 0; }

/* Sidebar expanded state (toggled by burger) */
.sidebar.open {
  width: 200px;
  align-items: flex-start;
}
.sidebar.open .sidebar__nav { align-items: flex-start; width: 100%; }
.sidebar.open .sidebar__divider { width: calc(100% - 24px); }
.sidebar.open .sidebar__item {
  flex-direction: row;
  padding: 10px 16px;
  justify-content: flex-start;
  gap: 10px;
}
.sidebar.open .sidebar__label {
  font-size: 0.82rem;
  text-align: left;
  max-width: none;
  overflow: visible;
}

/* ══════════════════════════
   MAIN WRAP
══════════════════════════ */
.main-wrap {
  margin-left: var(--sidebar-w);
  margin-top: var(--header-h);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  transition: margin-left 0.25s ease;
}
.sidebar.open ~ .main-wrap { margin-left: 200px; }

.sidebar__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* Nav items */
.sidebar__nav { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
.sidebar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 4px;
  gap: 3px;
  color: var(--text-gold2);
  cursor: pointer;
  transition: color var(--trans), background var(--trans);
  border-radius: 8px;
  position: relative;
}
.sidebar__item:hover { color: var(--text-gold); background: rgba(255,255,255,0.05); }
.sidebar__item.active { color: var(--primary); }
.sidebar__item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.sidebar__icon { width: 24px; height: 24px; flex-shrink: 0; }
.sidebar__icon img { width: 100%; height: 100%; object-fit: contain; }
.sidebar__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}
/* SVG icon opacity — white fill with built-in opacity, no filter needed */
.sidebar__item .sidebar__icon img { opacity: 0.55; transition: opacity 0.2s ease; }
.sidebar__item:hover .sidebar__icon img,
.sidebar__item.active .sidebar__icon img { opacity: 1; }

/* ══════════════════════════
   HEADER (full-width, fixed)
══════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header__logo-img { height: 32px; width: auto; }
.header__logo-text {
  font-family: var(--font-helper);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sub-nav (categories bar below logo text on mobile / categories in header) */
.header__spacer { flex: 1; }

.header__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  height: 36px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: border-color var(--trans);
}
.header__search:hover { border-color: var(--text-gold2); }
.header__search svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Buttons */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 36px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gold);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  white-space: nowrap;
  transition: border-color var(--trans), background var(--trans);
}
.btn-login:hover { border-color: var(--text-gold2); background: rgba(255,255,255,0.05); }

.btn-signup {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 36px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(0deg, rgb(13,83,49) 0%, #26a76a 11%, #277b4f 34%, #37f880 65%, #20bc6e 88%, rgb(13,83,49) 100%);
  border-radius: 8px;
  white-space: nowrap;
  border: none;
  transition: opacity var(--trans);
}
.btn-signup:hover { opacity: 0.88; }

/* ══════════════════════════
   HERO / BANNER
══════════════════════════ */
.hero {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-banner);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/background@2x.webp') right center / cover no-repeat;
  opacity: 0.45;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(276.24deg, rgba(7,40,40,0) 11%, rgba(6,36,36,0.75) 37%, rgb(5,27,27) 93%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 500px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(55,248,128,0.15);
  border: 1px solid rgba(55,248,128,0.4);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  align-self: flex-start;
}
.hero__h1 {
  font-family: var(--font-helper);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  line-height: 1.15;
}
.hero__amount {
  font-family: var(--font-helper);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__spins {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-gold2);
  letter-spacing: 0.05em;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 24px;
  background: linear-gradient(0deg, rgb(13,83,49) 0%, #26a76a 11%, #277b4f 34%, #37f880 65%, #20bc6e 88%, rgb(13,83,49) 100%);
  color: #000;
  font-family: var(--font-helper);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  margin-top: 4px;
  cursor: pointer;
  transition: opacity var(--trans);
}
.hero__btn:hover { opacity: 0.88; }

/* ══════════════════════════
   GAME CATEGORIES BAR
══════════════════════════ */
.cats-bar {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  overflow-x: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  scrollbar-width: none;
}
.cats-bar::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gold2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--trans), background var(--trans), border-color var(--trans);
  flex-shrink: 0;
}
.cat-tab:hover { color: var(--text-gold); background: rgba(255,255,255,0.05); }
.cat-tab.active {
  color: var(--primary);
  background: rgba(55,248,128,0.1);
  border-color: rgba(55,248,128,0.35);
}

/* ══════════════════════════
   MAIN CONTENT AREA
══════════════════════════ */
.content-wrap {
  flex: 1;
  padding: 16px;
}

/* Section title */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  margin-top: 40px;
  padding: 8px 0;
}
.section-hd:first-child { margin-top: 0; }
.section-hd__title {
  font-family: var(--font-helper);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-hd__title::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}
.section-hd__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gold2);
  transition: color var(--trans);
}
.section-hd__link:hover { color: var(--primary); }

/* ══════════════════════════
   GAME GRID
══════════════════════════ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}
@media (min-width: 1024px) {
  .game-grid { gap: 12px; }
}

.game-thumb {
  position: relative;
  border-radius: var(--thumb-radius);
  overflow: hidden;
  aspect-ratio: 199 / 291;
  background: var(--bg-card2);
  cursor: pointer;
  flex-shrink: 0;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.game-thumb:hover img { transform: scale(1.05); }
.game-thumb__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  transition: opacity var(--trans);
}
.game-thumb:hover .game-thumb__overlay { opacity: 1; }
.game-thumb__play {
  display: block;
  width: 100%;
  text-align: center;
  padding: 6px 4px;
  background: linear-gradient(0deg, rgb(13,83,49) 0%, #26a76a 11%, #277b4f 34%, #37f880 65%, #20bc6e 88%, rgb(13,83,49) 100%);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
}
.game-thumb__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.5;
}
.badge-new  { background: var(--primary); color: #000; }
.badge-hot  { background: #e23d3d; color: #fff; }
.badge-jack { background: linear-gradient(135deg, #bb8d4c, #ffd278); color: #000; }

/* ══════════════════════════
   PROMO BANNER (inline)
══════════════════════════ */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.promo-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--trans);
  position: relative;
  overflow: hidden;
  min-height: 160px;
}
.promo-card:hover { border-color: rgba(55,248,128,0.4); }
.promo-card__img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
}
.promo-card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-card2) 30%, rgba(28,39,46,0.3) 100%);
  pointer-events: none;
}
.promo-card__tag,
.promo-card__title,
.promo-card__sub,
.promo-card__btn { position: relative; z-index: 1; }
.promo-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.promo-card__title {
  font-family: var(--font-helper);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.promo-card__sub {
  font-size: 0.8rem;
  color: var(--text-gold2);
}
.promo-card__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 18px;
  background: linear-gradient(0deg, rgb(13,83,49) 0%, #26a76a 11%, #277b4f 34%, #37f880 65%, #20bc6e 88%, rgb(13,83,49) 100%);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  margin-top: 4px;
  transition: opacity var(--trans);
}
.promo-card__btn:hover { opacity: 0.88; }

/* ══════════════════════════
   SEO CONTENT
══════════════════════════ */
.seo-wrap { padding: 0 16px 32px; }
.seo-content {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}
.seo-content h2 {
  font-family: var(--font-helper);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 24px 0 10px;
}
.seo-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.seo-content h3.faq-open { color: var(--primary); }
.seo-content h3 + p { display: none; padding: 12px 0 4px; color: var(--text-muted); line-height: 1.7; }
.seo-content h3.faq-open + p { display: block; }
.seo-content p { margin-bottom: 12px; }
.seo-content a { color: var(--primary); text-decoration: underline; }
.seo-content a:hover { opacity: 0.8; }
.seo-content ul, .seo-content ol { padding-left: 18px; margin-bottom: 12px; }
.seo-content li { margin-bottom: 5px; }
.seo-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.85rem;
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
}
.seo-content th {
  background: rgba(255,255,255,0.08) !important;
  color: var(--text-light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.seo-content td {
  background: var(--bg-card) !important;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.seo-content tr:nth-child(even) td { background: rgba(255,255,255,0.04) !important; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  background: linear-gradient(180deg, rgb(28,39,46) 10%, rgb(24,22,19) 87%, rgb(33,25,18) 100%);
  border-top: 1px solid var(--border);
  padding: 40px 16px 20px;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
.footer__col-title {
  font-family: var(--font-helper);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 12px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: 0.82rem;
  color: var(--text-gold2);
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--primary); }
.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer__logo-img { height: 28px; width: auto; }
.footer__logo-text {
  font-family: var(--font-helper);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__desc {
  font-size: 0.78rem;
  color: var(--text-gold2);
  line-height: 1.55;
  max-width: 240px;
}
.footer__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0 20px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__license {
  font-size: 0.75rem;
  color: var(--text-gold2);
  line-height: 1.5;
  max-width: 520px;
}
.footer__copy {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(133,114,88,0.5);
}

/* ══════════════════════════
   MOBILE MENU
══════════════════════════ */
.mob-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--bg-header);
  overflow-y: auto;
  padding: 16px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mob-menu.open { transform: translateX(0); }
.mob-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.mob-menu__link {
  display: block;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gold2);
  border-radius: 8px;
  transition: color var(--trans), background var(--trans);
}
.mob-menu__link:hover { color: var(--text-gold); background: rgba(255,255,255,0.05); }
.mob-menu__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mob-menu__btns .btn-login,
.mob-menu__btns .btn-signup { width: 100%; justify-content: center; height: 44px; border-radius: 8px; }
.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-gold);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .sidebar.open { display: flex; width: 260px; }
  .main-wrap { margin-left: 0 !important; }
  .mob-menu { display: block; }
  .header__search { display: none; }
}
@media (max-width: 640px) {
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
