/* ============================================================
   BetOnRed — Affiliate Casino Review Site (PL)
   Design System: dark theme, red accent, green for bonuses
   Font: Inter (Google Fonts)
   ============================================================ */

/* ---- Google Fonts: Inter ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.85; }

ul, ol { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #0d0d0d;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 140px;
  height: auto;
}

/* ---- Navigation ---- */
.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #bbb;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* ---- Header CTA ---- */
.header-cta {
  margin-left: 12px;
}

.header-cta .btn {
  padding: 11px 14px !important;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: inherit;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #c00;
  color: #fff;
}

.btn-primary:hover {
  background: #a00;
}

.btn-green {
  background: #2e8b57;
  color: #fff;
}

.btn-green:hover {
  background: #256e44;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #c00;
  color: #c00;
}

.btn-outline:hover {
  background: rgba(204,0,0,0.1);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* ---- Burger ---- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  position: relative;
  z-index: 110;
}

.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #f0f0f0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page {
  flex: 1;
  padding: 40px 0 60px;
}

.page-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-title .highlight {
  color: rgb(243, 17, 17);
}

.page-subtitle {
  font-size: 16px;
  color: #999;
  margin-bottom: 32px;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #fff;
  opacity: .4;
}

.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumbs .sep {
  color: #555;
  user-select: none;
}

.breadcrumbs .current {
  color: #aaa;
}

/* ============================================================
   HERO SECTION (used on index)
   ============================================================ */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 .brand-name {
  color: rgb(243, 17, 17);
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: #aaa;
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 16px;
}

/* ---- Screenshot block ---- */
.screenshot-block {
  margin: 30px 0;
  /* border-radius: 16px; */
  overflow: hidden;
  position: relative;
}

.screenshot-block img {
  border-radius: 16px !important;
  padding: 0 !important;
  object-fit: cover;
  height: auto !important;
  max-height: none !important;
  background: transparent !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: inherit !important
}

.screenshot-block a {
  display: block;
  cursor: pointer;
}

.screenshot-block .placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 50%, #1a1a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 14px;
  text-align: center;
  padding: 40px;
  min-height: 200px;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.content-section h2 .num {
  color: rgb(243, 17, 17);
  margin-right: 8px;
}

.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #eee;
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.content-section p {
  margin-bottom: 16px;
  color: #ccc;
  line-height: 1.7;
}

.content-section p strong {
  color: #fff;
}

.content-section p a {
  color: #c00;
  text-decoration: underline;
}

/* ---- Lists ---- */
.content-section ul,
.content-section ol {
  margin: 12px 0 20px 20px;
  color: #ccc;
  line-height: 1.7;
}

.content-section ul li {
  list-style: disc;
  margin-bottom: 6px;
  padding-left: 4px;
}

.content-section ol li {
  list-style: decimal;
  margin-bottom: 6px;
  padding-left: 4px;
}

.content-section li strong {
  color: #fff;
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 12px;
  border: 1px solid #333;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 500px;
}

.table-wrap caption {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  padding: 12px 16px 8px;
  caption-side: top;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #2a2a2a;
  color: #ccc;
}

.table-wrap th {
  background: #1a1a1a;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.table-wrap td {
  background: #151515;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap .label {
  color: #888;
  font-weight: 500;
}

/* ---- Info Cards ---- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}

.info-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px;
}

.info-card .label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.info-card .value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.info-card .value.green { color: #2e8b57; }
.info-card .value.red { color: #c00; }
.info-card .value.accent { color: #c00; }

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  margin: 24px 0;
  overflow: hidden;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.toc-header:hover {
  background: #222;
}

.toc-header span {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.toc-toggle {
  font-size: 12px;
  color: #c00;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.3s;
}

.toc-toggle.open {
  transform: rotate(180deg);
}

.toc-body {
  padding: 0 18px 14px;
  display: none;
}

.toc-body.open {
  display: block;
}

.toc-body a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #bbb;
  border-bottom: 1px solid #2a2a2a;
  transition: color 0.2s, padding-left 0.2s;
}

.toc-body a:last-child {
  border-bottom: none;
}

.toc-body a:hover {
  color: #c00;
  padding-left: 4px;
}

/* ============================================================
   CTA STICKY MODAL (mobile bottom)
   ============================================================ */
.cta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #333;
  padding: 8px 20px;
  display: none;
  z-index: 200;
  transform: translateY(0);
  transition: transform 0.3s;
}

.cta-sticky.show {
  display: flex;
}

.cta-sticky-inner {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.cta-sticky .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
}

/* ============================================================
   AUTHOR BLOCK
   ============================================================ */
.author-block {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c00, #600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 13px;
  color: #999;
  line-height: 1.5;
}

.author-info .role {
  font-size: 12px;
  color: #c00;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  /* border-bottom: 1px solid #2a2a2a; */
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  background: #111;
  border-radius: 10px;
  color: #f0f0f0;
  user-select: none;
  transition: color 0.2s;
}

.faq-question:hover {
  color: rgb(243, 17, 17);
}

.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgb(243, 17, 17);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 10px 15px 16px;
  display: none;
  font-size: 14px;
  color: #aaa;
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111;
  border-top: 1px solid #2a2a2a;
  padding: 40px 0 80px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #c00;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-badge {
  width: 60px;
  height: 60px;
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #555;
  text-align: center;
  padding: 4px;
}

.footer-badge img {
  max-width: 100%;
  max-height: 100%;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.footer-payment {
  width: 50px;
  height: 32px;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #555;
  text-align: center;
  padding: 2px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-top: 16px;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 14px;
}

.footer-age strong {
  font-size: 18px;
  color: #888;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 12px;
  color: #555;
}

.footer-contact {
  margin-top: 12px;
  font-size: 13px;
  color: #888;
}

.footer-contact a {
  color: #c00;
}

/* ============================================================
   GAMES / REVIEWS grid
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.card-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.card-item:hover {
  border-color: #c00;
  transform: translateY(-2px);
}

.card-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.card-item p {
  font-size: 13px;
  color: #999;
  line-height: 1.5;
  margin-bottom: 12px;
}

.card-item .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.card-item .star {
  color: #c00;
  font-size: 14px;
}

.card-item .star.empty {
  color: #444;
}

/* ============================================================
   PAYMENT LOGOS ROW
   ============================================================ */
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #ccc;
}

.payment-icon {
  width: 32px;
  height: 20px;
  background: #222;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #555;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    border-left: 1px solid #333;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 20px 140px;
    transition: right 0.3s;
    z-index: 105;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 8px;
  }

  .header-cta {
    margin-left: 0;
    margin-top: 16px;
  }

  .header-cta .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }

    .cta-sticky.show {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  

  /* overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 104;
    display: none;
  }

  .nav-overlay.open {
    display: block;
  }

  /* content */
  .page {
    padding: 24px 0 40px;
  }

  .page-title {
    font-size: 32px;
  }

  .hero {
    padding: 40px 0 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-actions .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding-bottom: 100px;
  }

  .author-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .content-section h2 {
    font-size: 22px;
  }

  .content-section h3 {
    font-size: 18px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .table-wrap table {
    min-width: 400px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .page-title {
    font-size: 28px;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-red { color: #c00; }
.text-green { color: #2e8b57; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }


.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 90px;
  max-height: 40px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 10px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}

@media (max-width:480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}