*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --page-bg: #ffffff;
  --header-bg: rgba(237, 178, 91, 0.20);
  --paper-soft: #f2f2f2;
  --paper-muted: #f9f9f9;
  --ink: #000000;
  --ink-soft: #282828;
  --muted: #666666;
  --line: #dddddd;
  --link: #ff0303;
  --link-dark: #d90000;
  --navy: #1a2542;
  --navy-hover: #223154;
  --navy-soft: #2a3655;
  --green: #22c55e;
  --green-dark: #16a34a;
  --gold: #f59e0b;
  --white: #ffffff;
  --container: 1170px;
  --radius: 10px;
  --radius-card: 12px;
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.30);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--link-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

/* Header */
header {
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 15px 0;
  background: var(--header-bg);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  min-height: 46px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 28px;
}

.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--link);
}

.logo-wrap {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 240px;
  min-height: 30px;
  color: var(--ink);
  text-decoration: none;
}

.logo-wrap img {
  width: auto;
  max-width: 240px;
  height: 30px;
  object-fit: contain;
}

.logo-wrap:has(img[style*="display: none"])::before {
  content: "◉";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  color: var(--link);
  font-size: 21px;
  font-weight: 700;
}

.logo-wrap:has(img[style*="display: none"])::after {
  content: "Novos Casinos Online";
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.35px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 28px;
}

nav.main-nav a,
.btn-signup,
.btn-signin {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--link);
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.18s ease;
}

nav.main-nav a:hover,
.btn-signup:hover,
.btn-signin:hover {
  color: var(--link-dark);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--white);
  background: var(--link);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 0;
}

.btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 0;
  color: var(--link);
  background: transparent;
  cursor: pointer;
}

.btn-search svg {
  width: 18px;
  height: 18px;
}

/* Secondary navigation */
.category-tabs {
  width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid #efdfc5;
  background: #fffaf2;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tabs-inner {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: min(100%, var(--container));
  max-width: var(--container);
  min-height: 46px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 0;
}

.tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px 13px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.tab-item:hover,
.tab-item.active {
  color: var(--link);
  border-bottom-color: var(--link);
  background: transparent;
  box-shadow: none;
}

.tab-icon {
  font-size: 15px;
  line-height: 1;
}

/* Intro area */
.hero {
  position: relative;
  width: 100%;
  padding: 18px 15px 10px;
  border: 0;
  color: var(--ink);
  background: var(--page-bg);
  text-align: left;
  overflow: visible;
}

.hero::before,
.hero::after {
  content: none;
}

.hero-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: var(--link);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-eyebrow svg {
  width: 12px;
  height: 12px;
}

.hero-title {
  max-width: 1100px;
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 35px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: 0;
  text-shadow: none;
}

.hero-subtitle {
  max-width: none;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 26px;
}

.hero-bonus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: none;
}

.hero-bonus-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-bonus-value {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 24px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.30);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn-cta:hover {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.40);
  transform: translateY(-1px);
}

.btn-cta svg {
  width: 17px;
  height: 17px;
  margin-right: 7px;
}

/* Main layout */
.main-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 15px 32px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 20px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: none;
}

.stat-item {
  min-width: 0;
  padding: 9px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-value {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.stat-label {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.bonus-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin: 0 0 28px;
  padding: 24px;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  color: var(--white);
  background: var(--navy);
  box-shadow: none;
  overflow: hidden;
}

.bonus-banner-left {
  min-width: 0;
}

.bonus-banner-eyebrow {
  margin-bottom: 2px;
  color: #aeb8cc;
  font-size: 14px;
  line-height: 22px;
}

.bonus-banner-value {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.bonus-banner-sub {
  margin-top: 5px;
  color: #cad1df;
  font-size: 13px;
  line-height: 20px;
}

.btn-cta-compact {
  width: 151px;
  min-height: 44px;
  padding: 6px 12px;
  font-size: 14px;
  text-transform: uppercase;
}

/* Editorial content */
.content-section {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: var(--page-bg);
  box-shadow: none;
  font-size: 16px;
  line-height: 26px;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6 {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.content-section h1 {
  margin: 15px 0;
  font-size: 35px;
  line-height: 45px;
}

.content-section h2 {
  margin: 15px 0;
  font-size: 30px;
  line-height: 40px;
}

.content-section h3 {
  margin: 15px 0;
  font-size: 25px;
  line-height: 35px;
}

.content-section h4 {
  margin: 14px 0 8px;
  font-size: 21px;
  line-height: 31px;
}

.content-section p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.content-section ul,
.content-section ol {
  margin: 0 0 18px;
  padding-left: 30px;
}

.content-section ul {
  list-style: disc;
}

.content-section ol {
  list-style: decimal;
}

.content-section li {
  margin: 3px 0;
}

.content-section a,
.link-accent {
  color: var(--link);
  text-decoration: underline;
}

.content-section a:hover,
.link-accent:hover {
  color: var(--link-dark);
}

.content-section blockquote {
  position: relative;
  margin: 20px auto;
  padding: 25px;
  border-left: 5px solid var(--link);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.08);
  font-size: 16px;
  font-style: italic;
}

.toc-wrap {
  width: 100%;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--link);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper-muted);
  box-shadow: none;
}

.toc-wrap a {
  color: var(--link);
}

.table-wrap {
  width: 100%;
  margin: 25px 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
}

table {
  width: 100%;
  margin: 25px 0;
  border-spacing: 0;
  border-collapse: collapse;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
}

thead {
  color: var(--ink);
  background: #eeeeee;
}

th,
td {
  padding: 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-align: left;
}

th {
  font-weight: 700;
  text-align: center;
}

tbody tr:hover {
  background: #fafafa;
}

/* Section headers used by generated blocks */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}

.section-title {
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.see-all-link {
  color: var(--link);
  font-size: 16px;
  text-decoration: underline;
}

.see-all-link:hover {
  color: var(--link-dark);
}

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 30px;
  gap: 16px;
}

.game-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  color: var(--white);
  background: var(--navy);
  box-shadow: none;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  color: var(--white);
  background: var(--navy-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
  overflow: hidden;
}

.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 36px;
}

.game-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--white);
  background: var(--link);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-transform: uppercase;
}

.game-badge.hot {
  background: var(--gold);
}

.game-info {
  padding: 13px 15px 15px;
}

.game-name {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.game-provider {
  margin-top: 2px;
  color: #aeb8cc;
  font-size: 13px;
  line-height: 20px;
}

/* FAQ */
.faq-section {
  width: 100%;
  margin: 28px 0 0;
}

.faq-title,
.reviews-title {
  margin: 15px 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

details {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper-muted);
  overflow: hidden;
}

details:hover,
details[open] {
  border-color: #bdbdbd;
}

summary {
  position: relative;
  padding: 14px 46px 14px 16px;
  color: var(--ink);
  background: #eeeeee;
  font-size: 17px;
  font-weight: 700;
  line-height: 25px;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--link);
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--ink-soft);
}

/* Reader opinions */
.reviews-section {
  width: 100%;
  margin: 28px 0 0;
}

.comment {
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  gap: 12px;
  flex-wrap: wrap;
}

.comment-author {
  color: var(--ink);
  font-weight: 700;
}

.comment-date {
  color: var(--muted);
  font-size: 13px;
}

.comment-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 14px;
}

.comment-text {
  color: var(--ink-soft);
  line-height: 25px;
}

.review-form-wrap {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-muted);
}

.review-form-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 30px;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
  border-color: var(--link);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(255, 3, 3, 0.12);
}

.review-form button {
  justify-self: start;
  min-height: 42px;
  padding: 8px 22px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--link);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.review-form button:hover {
  background: var(--link-dark);
}

/* Author */
.author-section {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 24px 0 0;
  padding: 10px;
  gap: 16px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: none;
}

.author-avatar {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 24px;
  place-items: center;
}

.author-body {
  flex: 1;
  min-width: 0;
}

.author-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.author-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.author-bio {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 22px;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 28px;
  gap: 14px;
}

.feature-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper-muted);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.feature-icon {
  margin-bottom: 6px;
  font-size: 26px;
}

.feature-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.feature-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

/* Providers */
.providers-section {
  width: 100%;
  margin: 26px 0 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.providers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}

.providers-title {
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.providers-nav {
  display: flex;
  gap: 8px;
}

.providers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--link);
  background: var(--white);
  cursor: pointer;
}

.providers-btn:hover:not(:disabled) {
  color: var(--white);
  border-color: var(--link);
  background: var(--link);
}

.providers-btn:disabled {
  color: #aaaaaa;
  cursor: not-allowed;
  opacity: 0.55;
}

.providers-btn svg {
  width: 18px;
  height: 18px;
}

.providers-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.providers-viewport::-webkit-scrollbar {
  display: none;
}

.providers-track {
  display: flex;
  gap: 12px;
}

.providers-card {
  display: flex;
  flex: 0 0 176px;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-muted);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.providers-card img {
  width: auto;
  max-width: 140px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(0.15);
}

/* Footer */
footer {
  margin-top: 18px;
  padding: 24px 0 18px;
  border-top: 1px solid #efdcbf;
  color: var(--ink);
  background: var(--header-bg);
}

.footer-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  gap: 28px;
}

.footer-col-title {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 3px 0;
  color: var(--link);
  font-size: 14px;
  line-height: 22px;
  text-decoration: underline;
}

.footer-col a:hover {
  color: var(--link-dark);
}

.footer-payments {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 11px 0;
  gap: 10px;
  border-top: 1px solid rgba(186, 141, 49, 0.24);
  border-bottom: 1px solid rgba(186, 141, 49, 0.24);
  flex-wrap: wrap;
}

.footer-payments img {
  width: auto;
  max-width: 100px;
  height: 50px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #006600;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid #d7c6ab;
  border-radius: 4px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-disclaimer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 19px;
}

.footer-certificate {
  width: fit-content;
  margin-top: 12px;
  padding: 5px 9px;
  border-left: 4px solid var(--link);
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

/* Utility */
.divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

/* Responsive */
@media (max-width: 1100px) {
  nav.main-nav {
    gap: 17px;
  }

  .header-actions {
    gap: 14px;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hamburger {
    display: block;
  }

  .logo-wrap {
    min-width: 0;
    margin-right: auto;
  }

  nav.main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(186, 141, 49, 0.25);
    scrollbar-width: none;
  }

  nav.main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-item:nth-child(3) {
    border-right: 0;
  }

  .stat-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .bonus-banner {
    grid-template-columns: 1fr;
  }

  .btn-cta-compact {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 15px;
  }

  .hero-title,
  .content-section h1 {
    font-size: 30px;
    line-height: 39px;
  }

  .content-section h2,
  .section-title,
  .faq-title,
  .reviews-title,
  .providers-title {
    font-size: 26px;
    line-height: 35px;
  }

  .content-section h3 {
    font-size: 22px;
    line-height: 31px;
  }

  .hero-bonus {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .tabs-inner,
  .hero,
  .main-wrap,
  .footer-inner {
    padding-right: 15px;
    padding-left: 15px;
  }

  .header-actions {
    gap: 10px;
  }

  .btn-search {
    display: none;
  }

  .btn-signup,
  .btn-signin {
    font-size: 14px;
  }

  .logo-wrap:has(img[style*="display: none"])::after {
    font-size: 17px;
  }

  .hero-title,
  .content-section h1 {
    font-size: 27px;
    line-height: 35px;
  }

  .content-section h2,
  .section-title,
  .faq-title,
  .reviews-title,
  .providers-title {
    font-size: 23px;
    line-height: 32px;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-top: 0;
  }

  .stat-item:nth-child(2n) {
    border-right: 0;
  }

  .stat-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .bonus-banner {
    padding: 18px;
  }

  .bonus-banner-value {
    font-size: 20px;
    line-height: 28px;
  }

  .games-grid {
    gap: 10px;
  }

  .game-name {
    font-size: 15px;
  }

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

  .author-section {
    align-items: flex-start;
  }

  .author-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 400px) {
  .logo-wrap:has(img[style*="display: none"])::after {
    content: "Novos Casinos";
  }

  .btn-signin {
    display: none;
  }

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

/* Casino ranking */
.nco-ranking {
  width: 100%;
  margin: 0 0 28px;
  min-width: 0;
}

.nco-ranking h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.nco-casino {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 160px;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0 0 15px;
  padding: 24px;
  gap: 20px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
}

.nco-casino:last-child {
  margin-bottom: 0;
}

.nco-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.nco-brand img {
  flex: 0 0 auto;
  width: 72px;
  height: 46px;
  object-fit: contain;
}

.nco-brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.nco-stars {
  display: block;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.nco-offer {
  min-width: 0;
}

.nco-offer small {
  display: block;
  margin-bottom: 4px;
  color: #aeb8cc;
  font-size: 14px;
  line-height: 1.3;
}

.nco-offer strong {
  display: block;
  color: var(--white);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.nco-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 152px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.nco-play:hover {
  color: var(--white);
  background: var(--green-dark);
}

@media (max-width: 900px) {
  .nco-casino {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .nco-play {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 650px) {
  .nco-ranking h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .nco-casino {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }

  .nco-brand img {
    width: 66px;
    height: 42px;
  }

  .nco-offer strong {
    font-size: 19px;
  }

  .nco-play {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

/* Casino homepage screenshots */
.nco-site-screens {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 28px 0 36px;
  gap: 28px;
}

.nco-site-screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}

.nco-site-screens a {
  display: block;
}

.nco-site-screens a img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 650px) {
  .nco-site-screens {
    margin: 20px 0 28px;
    gap: 20px;
  }

  .nco-site-screens img {
    border-radius: 10px;
  }
}
