/*
Theme Name: tk688 Brand Portal
Theme URI: https://tk688.beer/
Author: tk688.beer
Description: Dark lime modular Bengali brand information portal for tk688.
Version: 1.0.0
Text Domain: tk688-brand-portal
*/

:root {
  --bg: #07110e;
  --bg-2: #0d1b17;
  --card: #12241e;
  --card-hover: #183027;
  --text: #f3f8f5;
  --muted: #afc2b8;
  --line: #29453a;
  --lime: #b8f34a;
  --cyan: #3dd6c6;
  --warn: #f0b44d;
  --danger: #e16f73;
  --focus: #d3ff7c;
  --max: 1200px;
  --read: 800px;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}
body.no-scroll { overflow: hidden; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  background: rgba(7, 17, 14, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  width: auto;
  height: 35px;
  max-width: 150px;
  border-radius: 0;
  object-fit: contain;
}
.primary-menu, .footer-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu a, .drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.primary-menu a:hover, .drawer a:hover { background: var(--card-hover); color: var(--lime); }
.primary-menu .menu-register a, .drawer .menu-register a,
.button-primary {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
.primary-menu .menu-register a:hover, .drawer .menu-register a:hover,
.button-primary:hover {
  background: #d3ff7c;
  color: var(--bg);
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(360px, 88vw);
  padding: 18px;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .2s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.drawer-close {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}
.drawer .menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.site-main { overflow: hidden; }
.hero {
  padding: 68px 0 56px;
  background:
    radial-gradient(circle at 80% 10%, rgba(61, 214, 198, .14), transparent 30%),
    linear-gradient(180deg, #092019 0%, var(--bg) 92%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--lime);
  font-size: .92rem;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}
h1, h2, h3 { line-height: 1.2; letter-spacing: 0; }
h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}
h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { margin: 0 0 10px; font-size: 1.22rem; }
p { margin: 0 0 18px; }
.lead { color: #dfece6; font-size: 1.08rem; }
.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { border-color: var(--cyan); background: var(--card-hover); color: var(--lime); transform: translateY(-1px); }
.button-secondary { border-color: var(--cyan); color: var(--cyan); }
.hero-media {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 36, 30, .8), rgba(13, 27, 23, .95));
  box-shadow: var(--shadow);
}
.section {
  padding: 64px 0;
  border-top: 1px solid rgba(41, 69, 58, .7);
}
.section.alt { background: var(--bg-2); }
.section-header {
  max-width: var(--read);
  margin-bottom: 26px;
}
.read { max-width: var(--read); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .fact, .notice, details {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}
.card:hover { background: var(--card-hover); }
.card a.stretched {
  color: var(--text);
  text-decoration: none;
}
.kicker {
  margin-bottom: 8px;
  color: var(--lime);
  font-size: .85rem;
  font-weight: 800;
}
.muted { color: var(--muted); }
.step-list {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  position: relative;
  padding-left: 64px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  font-weight: 900;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--card);
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { color: var(--lime); background: #0f211b; }
tr:last-child td { border-bottom: 0; }
details {
  margin-bottom: 12px;
  padding: 0;
}
summary {
  min-height: 52px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}
details > div { padding: 0 18px 18px; color: #deebe5; }
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.related a:hover { border-color: var(--cyan); color: var(--lime); }
.page-content .wrap > * + * { margin-top: 26px; }
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #050c0a;
  color: var(--muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
}
.footer-menu {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--muted);
  text-decoration: none;
}
.footer-menu a:hover { color: var(--lime); }
.review-date {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .92rem;
}
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
label { font-weight: 800; }
input, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1713;
  color: var(--text);
  padding: 12px;
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.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;
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header, .header-inner { min-height: 58px; }
  .header-inner, .footer-inner, .wrap { width: min(100% - 32px, var(--max)); }
  .brand-logo { height: 31px; max-width: 132px; }
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-menu { justify-content: flex-start; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .grid.four, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  h1 { font-size: 2rem; }
  .hero-actions .button, .cta-row .button { width: 100%; }
  .card, .fact, .notice { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
