/* Pokerdom — mobile-first, black & green */
:root {
  --bg: #060a06;
  --bg-card: #0d140d;
  --bg-card-alt: #111a11;
  --green: #22e06b;
  --green-bright: #3dff8a;
  --green-dim: #1a9e4a;
  --green-glow: rgba(34, 224, 107, 0.35);
  --text: #e8f5ec;
  --text-muted: #8aab94;
  --border: rgba(34, 224, 107, 0.2);
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 56px;
  --bottom-bar-h: 64px;
  --font: 'Manrope', system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-bar-h) + var(--safe-bottom) + 16px);
}

/* Background glow */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
}
.bg-glow--2 {
  width: 200px;
  height: 200px;
  bottom: 120px;
  left: -80px;
  background: radial-gradient(circle, rgba(26, 158, 74, 0.25) 0%, transparent 70%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 6, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 16px;
  max-width: 480px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}
.logo__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  border-radius: 10px;
  font-size: 1.1rem;
  color: #060a06;
  box-shadow: 0 0 20px var(--green-glow);
}
.logo__text {
  background: linear-gradient(90deg, var(--green-bright), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  max-width: 480px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  background: rgba(6, 10, 6, 0.98);
}
.nav.is-open {
  display: flex;
}
.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link:focus {
  color: var(--green-bright);
  background: rgba(34, 224, 107, 0.08);
}
.nav__cta {
  margin-top: 8px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  color: #060a06;
  box-shadow: 0 4px 24px var(--green-glow);
}
.btn--outline {
  background: transparent;
  color: var(--green-bright);
  border: 1px solid var(--green);
}
.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Main layout */
main {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero */
.hero {
  padding: 28px 0 36px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34, 224, 107, 0.12);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero__title span {
  background: linear-gradient(90deg, var(--green-bright), var(--green-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lead {
  color: var(--text-muted);
  text-align: left;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--green-bright);
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 32px 0;
  border-top: 1px solid rgba(34, 224, 107, 0.08);
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(13, 20, 13, 0.6) 20%, transparent);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.section__head {
  margin-bottom: 20px;
}
.section__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.section__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}
.subsection__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-bright);
  margin: 24px 0 10px;
}
.subsection__desc {
  margin-bottom: 12px;
  color: var(--text-muted);
}
.text-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.text-link {
  color: var(--green-bright);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(61, 255, 138, 0.45);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.text-link:hover,
.text-link:focus {
  color: var(--green);
  text-decoration-color: var(--green);
}
.section p {
  margin-bottom: 12px;
}
.section p:last-child {
  margin-bottom: 0;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin: 16px 0;
}
.card--glow {
  box-shadow: 0 0 40px rgba(34, 224, 107, 0.08);
  border-color: rgba(34, 224, 107, 0.35);
}
.card--accent {
  border-left: 3px solid var(--green);
  background: linear-gradient(90deg, rgba(34, 224, 107, 0.08), var(--bg-card));
}

/* Lists */
.icon-list {
  list-style: none;
  margin: 12px 0;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
}
.icon-list__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.icon-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* Tabs preview */
.tabs-preview {
  display: flex;
  gap: 8px;
  margin: 20px 0 12px;
}
.tabs-preview__tab {
  flex: 1;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tabs-preview__tab--active,
.tabs-preview__tab:hover {
  background: linear-gradient(135deg, rgba(34, 224, 107, 0.2), rgba(26, 158, 74, 0.15));
  color: var(--green-bright);
  border-color: var(--green);
}
.tabs-preview__panel {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Mini cards grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: capitalize;
}
.mini-card span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: none;
  margin: 16px 0;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(34, 224, 107, 0.08);
  font-size: 0.92rem;
}
.steps__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  color: #060a06;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 8px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.social-pill {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--green-bright);
}

.notice {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(34, 224, 107, 0.06);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.notice__icon {
  flex-shrink: 0;
  color: var(--green);
  font-weight: 700;
}

/* Platform */
.platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.platform-card__icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

/* Bonus table */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 300px;
}
.bonus-table th,
.bonus-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(34, 224, 107, 0.1);
}
.bonus-table th {
  background: rgba(34, 224, 107, 0.12);
  color: var(--green-bright);
  font-weight: 700;
}
.bonus-table tr:last-child td {
  border-bottom: none;
}
.bonus-table tbody tr:nth-child(even) {
  background: rgba(13, 20, 13, 0.5);
}
.bonus-table td:last-child {
  color: var(--green-bright);
  font-weight: 600;
}

/* Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}
.tag:hover {
  border-color: var(--green);
  color: var(--green-bright);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  padding: 16px 44px 16px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item p {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer__domain {
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
}
.footer__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 16px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--green);
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.footer__top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: calc(var(--bottom-bar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(6, 10, 6, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  max-width: 480px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}
.bottom-bar__item::after {
  content: attr(data-label);
  font-size: 0.6rem;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.7;
}
.bottom-bar__icon {
  font-size: 1.25rem;
  line-height: 1;
}
.bottom-bar__item--active,
.bottom-bar__item:hover {
  color: var(--green-bright);
}
.bottom-bar__item--active .bottom-bar__icon {
  filter: drop-shadow(0 0 6px var(--green-glow));
}

/* Tablet+ */
@media (min-width: 481px) {
  body {
    background: linear-gradient(180deg, #040804 0%, var(--bg) 120px);
  }
  main,
  .header__inner,
  .nav,
  .footer,
  .bottom-bar {
    max-width: 520px;
  }
}
