/*
Theme Name: TK111 Dark Lime Portal
Theme URI: https://tk111.beer/
Author: tk111.beer Editorial
Description: Bengali editorial portal for tk111 sports, casino-category and mobile content.
Version: 1.0.5
Text Domain: tk111-portal
*/

:root {
  --bg: #07110e;
  --bg-soft: #0d1b17;
  --card: #12241e;
  --card-hover: #183027;
  --lime: #b8f34a;
  --cyan: #3dd6c6;
  --text: #f3f8f5;
  --muted: #afc2b8;
  --border: #29453a;
  --warning: #f0b44d;
  --focus: #d3ff7c;
  --shadow: 0 14px 36px rgba(0, 0, 0, .24);
  --radius: 14px;
  --content: 800px;
  --wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 90% 6%, rgba(61, 214, 198, .08), transparent 24rem),
    radial-gradient(circle at 8% 32%, rgba(184, 243, 74, .06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: .2em; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 9999; width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 14px; background: var(--lime); color: var(--bg); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: 66px; background: rgba(7, 17, 14, .97); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.header-inner { width: min(calc(100% - 40px), var(--wide)); min-height: 66px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: inline-flex; width: 124px; height: 44px; flex: 0 0 auto; align-items: center; color: var(--text); text-decoration: none; }
.site-logo img { width: 124px; height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
.primary-menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { background: var(--card); color: var(--text); }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); font: inherit; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-bars { position: relative; margin: 0 auto; }
.menu-bars::before { position: absolute; top: -7px; }
.menu-bars::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-main { min-height: 64vh; }
.title-band { padding: 76px 20px 52px; border-bottom: 1px solid rgba(41, 69, 58, .72); background: linear-gradient(180deg, rgba(13, 27, 23, .88), rgba(7, 17, 14, .28)); }
.title-inner { width: min(100%, var(--content)); margin: 0 auto; }
.title-kicker { margin: 0 0 10px; color: var(--cyan); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { max-width: 19ch; margin: 0; font-size: clamp(2.35rem, 5vw, 4.5rem); letter-spacing: -.045em; }
.lead { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.75; }
.page-dates { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 0; color: var(--muted); font-size: .88rem; }
.article-shell { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 54px 0 80px; }
.article-shell > section, .article-shell > .wp-block-group { scroll-margin-top: 86px; }
.article-shell h2 { margin: 64px 0 20px; color: var(--text); font-size: clamp(1.75rem, 3.5vw, 2.45rem); }
.article-shell h2::before { display: block; width: 44px; height: 4px; margin-bottom: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--cyan)); content: ""; }
.article-shell h3 { margin: 34px 0 12px; font-size: 1.32rem; }
.article-shell p { margin: 0 0 1.25em; }
.article-shell ul, .article-shell ol { padding-left: 1.4em; }
.article-shell li { margin: .52em 0; }

.feature-image { display: block; margin: 34px 0 48px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.feature-image img { width: 100%; }
.note, .boundary-note, .editorial-note { margin: 30px 0; padding: 22px 24px; border: 1px solid var(--border); border-left: 4px solid var(--cyan); border-radius: var(--radius); background: var(--card); }
.boundary-note { border-left-color: var(--warning); }
.step-list { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-width: 0; margin: 0; padding: 20px 20px 20px 68px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); counter-increment: steps; }
.step-list li::before { position: absolute; left: 18px; top: 17px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--bg); font-weight: 800; content: counter(steps); }
.choice-list { padding-left: 0 !important; list-style: none; }
.choice-list li { margin: 12px 0; padding: 15px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.button-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--lime); border-radius: 10px; background: var(--lime); color: var(--bg); font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button-link:hover { transform: translateY(-2px); background: var(--focus); color: var(--bg); }
.button-link.secondary { background: transparent; border-color: var(--cyan); color: var(--text); }
.button-link.secondary:hover { background: var(--card-hover); color: var(--text); }

.table-wrap { max-width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--card); font-size: .94rem; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #183027; color: var(--lime); }
tr:last-child td { border-bottom: 0; }
.faq-list { margin-top: 24px; }
.faq-list details { margin: 12px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.faq-list summary { min-height: 56px; padding: 15px 52px 15px 18px; cursor: pointer; font-weight: 700; }
.faq-list details > div { padding: 0 18px 18px; color: var(--muted); }
.faq-list details > div p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--border); background: #050d0b; }
.footer-inner { width: min(calc(100% - 40px), var(--wide)); margin: 0 auto; padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 36px; }
.footer-title { margin: 0 0 12px; font-size: 1.35rem; }
.footer-copy, .footer-disclaimer, .footer-responsible { color: var(--muted); font-size: .94rem; }
.email-address { color: var(--lime); unicode-bidi: isolate; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 7px 0; }
.footer-links a { color: var(--text); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
.not-found { text-align: center; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header, .header-inner { min-height: 58px; }
  .header-inner { width: min(calc(100% - 32px), var(--wide)); flex-wrap: wrap; padding: 5px 0; }
  .menu-toggle { display: block; }
  .site-navigation { width: 100%; }
  .primary-menu { display: none; width: 100%; padding: 8px 0 14px; flex-direction: column; align-items: stretch; }
  .site-navigation.is-open .primary-menu { display: flex; }
  .primary-menu a { min-height: 48px; padding-inline: 14px; }
  .title-band { padding: 46px 16px 38px; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .article-shell { width: min(calc(100% - 32px), var(--content)); padding: 38px 0 58px; }
  .article-shell h2 { margin-top: 48px; }
  .feature-image { margin-inline: -4px; }
  .cta-row { flex-direction: column; }
  .button-link { width: 100%; }
  .footer-inner { width: min(calc(100% - 32px), var(--wide)); }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.site-bottom-cta-reserve { height: calc(88px + env(safe-area-inset-bottom)); }
.site-bottom-cta {
  position: fixed; right: 0; bottom: 0; left: 0; z-index: 9998;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.site-bottom-cta__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 10px;
  width: min(100%, 520px); margin: 0 auto; padding: 8px;
  border: 1px solid rgba(41, 69, 58, .92); border-radius: 16px;
  background: rgba(7, 17, 14, .95); box-shadow: 0 12px 38px rgba(0, 0, 0, .46);
  backdrop-filter: blur(14px); pointer-events: auto;
}
.site-bottom-cta__button {
  display: inline-flex; min-width: 0; min-height: 50px; align-items: center; justify-content: center;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 11px;
  font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.site-bottom-cta__login { border-color: var(--border); background: var(--card); color: var(--text); }
.site-bottom-cta__login:hover { transform: translateY(-2px); border-color: var(--cyan); background: var(--card-hover); color: var(--text); }
.site-bottom-cta__register { border-color: var(--lime); background: var(--lime); color: var(--bg); box-shadow: 0 7px 20px rgba(184, 243, 74, .22); }
.site-bottom-cta__register:hover { transform: translateY(-2px); background: var(--focus); color: var(--bg); box-shadow: 0 10px 24px rgba(184, 243, 74, .3); }
.site-bottom-cta__button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 480px) {
  .site-bottom-cta { padding-right: 12px; padding-left: 12px; }
  .site-bottom-cta__inner { gap: 8px; padding: 7px; }
  .site-bottom-cta__button { min-height: 48px; padding-right: 12px; padding-left: 12px; font-size: .94rem; }
}
