:root {
  --header-bg: #000000;
  --header-bg-2: #171c1f;
  --main: #000000;
  --secondary: #f85b5b;
  --primary-btn: #44be4c;
  --primary-btn-hover: #37a63e;
  --text: #1d2730;
  --text-alt: #4a5b68;
  --boxes: #f0f3f7;
  --footer-bg: #000000;
  --radius: 8px;
  --btn-radius: 5px;
  --font: Raleway, system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gold: #ffc106;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: 8px 12px; z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Header — black bar like guide2bet style2 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand img,
.brand-logo {
  width: 52px;
  height: 52px;
  max-height: 66px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}
.brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
  white-space: nowrap;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a:hover { color: #ffd7d7; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #f7b36a 0%, #f4c58a 45%, #f8d7a8 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 52%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 40px;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  color: #000;
  line-height: 1.15;
}
.hero-sub {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: #000;
}
.hero-lead {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 15.5px;
  color: #111;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-media {
  display: flex;
  justify-content: center;
}
.hero-media img {
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.18));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.btn-icon img { width: 28px; height: 28px; object-fit: contain; }
.btn-primary {
  background: var(--primary-btn);
  color: #fff;
  box-shadow: 0 10px 22px rgba(68, 190, 76, .28);
}
.btn-primary:hover { background: var(--primary-btn-hover); }
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(248, 91, 91, .25);
}
.btn-secondary:hover { filter: brightness(.96); }
.btn-download {
  min-width: 140px;
  width: 100%;
  max-width: 180px;
}

/* Intro + apps */
.apps-intro {
  padding: 42px 0 8px;
  background: #fff;
}
.section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #111;
}
.apps-intro p {
  max-width: 920px;
  margin: 0 auto 14px;
  color: #222;
  font-size: 15.5px;
}
.apps-section {
  padding: 18px 0 56px;
  scroll-margin-top: 96px;
  background: #fff;
}
.empty-note { color: var(--text-alt); }

/* Review boxes — match guide2bet narrow affiliate cards */
.reviews-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.review-box {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  box-shadow: 0 8px 24px -16px rgba(16, 19, 32, .35);
}
.review-box.is-featured {
  border: 3px solid gold;
  box-shadow: 0 0 25px 0 #f0dc738c;
  animation: pulse-block 2s linear infinite;
}
@keyframes pulse-block {
  0%, 100% { box-shadow: 0 0 18px 0 #f0dc738c; }
  50% { box-shadow: 0 0 28px 2px #f0dc73cc; }
}
.review-box-wrap {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}
.review-box-thumb {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.review-box-name a {
  color: inherit;
  text-decoration: none;
}
.review-box-name a:hover { color: var(--main-color, #44be4c); }
.rank {
  position: absolute;
  left: -6px;
  top: -6px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #cfd6df;
  color: #24303c;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-logo {
  width: 120px;
  height: 96px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}
.review-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.review-box-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 8px;
}
.review-box-name {
  margin: 0;
  font-size: 1.3125rem;
  font-weight: 700;
  color: #000;
}
.review-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  text-transform: uppercase;
  color: #fff;
  font-size: .675rem;
  line-height: 1.5;
  font-weight: 600;
  padding: 0.375rem 0.9rem;
  white-space: nowrap;
}
.review-box-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rating-num {
  font-size: 14px;
  color: #24303c;
}
.rating-stars .star { color: #d5dae2; font-size: 14px; }
.rating-stars .star.is-on { color: #ffc106; }
.review-desc {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.review-downloads {
  margin: 0;
  font-size: 13px;
  color: var(--text-alt);
  font-weight: 600;
}
.review-box-actions {
  display: flex;
  justify-content: flex-end;
}

/* Pagination */
.g2b-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.g2b-pager-pages {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.g2b-pager-btn,
.g2b-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d7dde7;
  background: #fff;
  font-weight: 700;
  color: #1d2730;
}
.g2b-pager-num.is-current {
  background: var(--primary-btn);
  border-color: var(--primary-btn);
  color: #fff;
}
.g2b-pager-btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.g2b-pager-btn:hover,
.g2b-pager-num:hover {
  border-color: var(--primary-btn);
  color: var(--primary-btn);
}
.g2b-pager-num.is-current:hover { color: #fff; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #e8e8eb;
}
.footer-section { padding: 28px 0; }
.footer-social { border-bottom: 1px solid rgba(255,255,255,.08); }
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e8e8eb;
  font-size: 12px;
  font-weight: 700;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.footer-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-widgets h3 {
  margin: 0 0 1.2rem;
  color: #e8e8eb;
  font-size: 1.3125rem;
}
.footer-widgets p {
  margin: 0;
  color: #e8e8eb;
  font-size: 1rem;
  line-height: 1.6;
}
.footer-widgets ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-widgets li { margin-bottom: 10px; }
.footer-widgets a {
  color: #e5e5e5;
  font-size: 1rem;
  line-height: 1.3;
}
.footer-widgets a:hover { color: #a6a4a4; }
.footer-awareness {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.awareness-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
}
.awareness-logos img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}
.footer-copyright {
  text-align: center;
  font-size: .75rem;
  color: #e8e8eb;
}
.footer-copyright p { margin: 0 0 12px; line-height: 1.7; }

/* Telegram float — site5 Join Us style */
.tg-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 56px;
  padding: 14px 8px;
  background: #2AABEE;
  color: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 10px 28px rgba(42, 171, 238, .35);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}
.tg-float-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  letter-spacing: .08em;
}
.tg-float:hover { filter: brightness(1.05); }

/* Legal pages */
.page-shell { padding: 40px 0 64px; }
.legal-page h1 { margin-top: 0; }
.page-body { color: var(--text); max-width: 820px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-media { order: -1; }
  .review-box-wrap {
    grid-template-columns: 110px 1fr;
    grid-template-areas:
      "thumb info"
      "actions actions";
  }
  .review-box-thumb { grid-area: thumb; }
  .review-box-info { grid-area: info; }
  .review-box-actions { grid-area: actions; justify-content: stretch; }
  .btn-download { max-width: none; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

/* APP detail */
.app-detail {
  padding: 28px 0 48px;
  background: #f0f3f7;
}
.app-detail-back {
  margin: 0 0 14px;
}
.app-detail-back a {
  color: #1d2730;
  font-weight: 700;
  text-decoration: none;
}
.app-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}
.app-detail-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.app-detail-logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-detail-meta h1 {
  margin: 8px 0 10px;
  font-size: 1.75rem;
  line-height: 1.2;
}
.app-detail-desc {
  font-size: 16px;
  color: #4a5b68;
  margin: 0 0 16px;
}
.app-detail-body {
  color: #4a5b68;
  line-height: 1.65;
  margin-bottom: 22px;
}
.app-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.app-detail-actions .btn.is-disabled {
  opacity: .55;
  pointer-events: none;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .app-detail-head { flex-direction: column; }
  .header-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 78px;
    background: var(--header-bg-2);
    padding: 12px 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .header-nav.is-open { display: block; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero { min-height: 0; }
  .hero-grid { padding: 28px 0 24px; }
  .review-box-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "info"
      "actions";
  }
  .review-logo { width: 100%; height: 110px; }
  .footer-widgets { grid-template-columns: 1fr; }
  .tg-float {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 48px;
    padding: 10px 6px;
  }
  .g2b-pager-btn { min-width: 72px; font-size: 13px; }
}
