/*
 * Novos Casinos Online Portugal
 * Atlantic editorial redesign
 * The template markup and dynamic placeholders remain unchanged.
 */

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

:root {
  --page-bg: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #edf4f1;
  --surface-warm: #fff6e7;
  --ink: #10283a;
  --ink-soft: #344d5c;
  --muted: #6a7c85;
  --line: #d9e3df;
  --line-strong: #b9cbc5;
  --navy: #0a2537;
  --navy-light: #123b50;
  --teal: #087a72;
  --teal-dark: #056159;
  --teal-soft: #dcefeb;
  --gold: #e9a33a;
  --gold-dark: #ca7f18;
  --coral: #df684c;
  --white: #ffffff;
  --container: 1180px;
  --wide-container: 1260px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(10, 37, 55, 0.07);
  --shadow: 0 20px 55px rgba(10, 37, 55, 0.11);
  --shadow-strong: 0 24px 64px rgba(4, 25, 38, 0.2);
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 2% 18%, rgba(8, 122, 114, 0.055), transparent 24rem),
    var(--page-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(233, 163, 58, 0.8);
  outline-offset: 3px;
}

/* Header */
header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wide-container);
  min-height: 78px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 30px;
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
}

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

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

.logo-wrap:has(img[style*="display: none"])::before {
  content: "N";
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  place-items: center;
}

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

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

nav.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #d7e4e8;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

nav.main-nav a:hover {
  color: var(--white);
}

nav.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: 9px;
  font-weight: 800;
  line-height: 15px;
  text-transform: uppercase;
  vertical-align: 1px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.btn-search {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-search:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

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

.btn-signup,
.btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-signup {
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--gold);
}

.btn-signin {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}

.btn-signup:hover,
.btn-signin:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn-signup:hover {
  color: var(--navy);
  border-color: #f2b755;
  background: #f2b755;
}

.btn-signin:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

/* Category navigation */
.category-tabs {
  width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  scrollbar-width: none;
}

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

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

.tab-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tab-item:hover {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--surface-soft);
}

.tab-item.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

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

/* Hero */
.hero {
  position: relative;
  width: calc(100% - 40px);
  max-width: var(--wide-container);
  min-height: 440px;
  margin: 24px auto 0;
  padding: 70px 68px 92px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(233, 163, 58, 0.3), transparent 18rem),
    radial-gradient(circle at 92% 88%, rgba(8, 122, 114, 0.6), transparent 24rem),
    linear-gradient(125deg, #071f30 0%, #0b3448 58%, #07564f 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -90px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.02);
}

.hero::after {
  content: "PT";
  position: absolute;
  right: 58px;
  bottom: -50px;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-size: 230px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -16px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dff7f2;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 750;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.hero-title {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 0 24px;
  color: #d1e1e5;
  font-size: 17px;
  line-height: 1.7;
}

.hero-bonus {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 14px;
  gap: 10px;
  border: 1px solid rgba(233, 163, 58, 0.48);
  border-radius: 12px;
  background: rgba(4, 22, 33, 0.36);
  backdrop-filter: blur(8px);
}

.hero-bonus-label {
  color: #efd09a;
  font-size: 13px;
  font-weight: 700;
}

.hero-bonus-value {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 28px rgba(233, 163, 58, 0.23);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  color: var(--navy);
  background: #f2b24d;
  box-shadow: 0 14px 32px rgba(233, 163, 58, 0.3);
  transform: translateY(-2px);
}

.btn-cta svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* Main layout */
.main-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 54px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: calc(100% - 48px);
  margin: -38px auto 26px;
  padding: 12px;
  border: 1px solid rgba(217, 227, 223, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

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

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

.stat-value {
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.stat-label {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 17px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.bonus-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  margin: 0 0 26px;
  padding: 26px 28px 26px 34px;
  gap: 28px;
  border: 1px solid #eed7ac;
  border-radius: var(--radius);
  color: var(--ink);
  background:
    radial-gradient(circle at 96% 20%, rgba(233, 163, 58, 0.22), transparent 12rem),
    var(--surface-warm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bonus-banner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--gold);
}

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

.bonus-banner-eyebrow {
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bonus-banner-value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 34px;
}

.bonus-banner-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 19px;
}

.btn-cta-compact {
  width: auto;
  min-width: 154px;
  min-height: 46px;
  padding: 10px 16px;
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  box-shadow: none;
  text-transform: none;
}

.btn-cta-compact:hover {
  color: var(--white);
  background: var(--navy-light);
  box-shadow: 0 10px 24px rgba(10, 37, 55, 0.18);
}

/* Editorial content */
.content-section {
  width: 100%;
  margin: 0;
  padding: 42px 48px 48px;
  border: 1px solid rgba(217, 227, 223, 0.92);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  line-height: 1.75;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section h5,
.content-section h6 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.content-section h1 {
  margin: 22px 0 18px;
  font-size: 44px;
  line-height: 1.12;
}

.content-section h2 {
  position: relative;
  margin: 44px 0 18px;
  padding-bottom: 13px;
  font-size: 34px;
  line-height: 1.2;
}

.content-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold);
}

.content-section h3 {
  margin: 32px 0 13px;
  font-size: 26px;
  line-height: 1.28;
}

.content-section h4 {
  margin: 26px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.content-section h5 {
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

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

.content-section ul,
.content-section ol {
  margin: 0 0 22px;
  padding-left: 24px;
  color: var(--ink-soft);
}

.content-section li {
  margin: 7px 0;
  padding-left: 4px;
}

.content-section li::marker {
  color: var(--teal);
  font-weight: 800;
}

.content-section a,
.link-accent {
  color: #fff;
  font-weight: 650;
  text-decoration-color: rgba(8, 122, 114, 0.45);
}

.content-section a:hover,
.link-accent:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.content-section blockquote {
  position: relative;
  margin: 28px 0;
  padding: 25px 28px 25px 66px;
  border: 1px solid #c9dfd9;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
}

.content-section blockquote::before {
  content: "“";
  position: absolute;
  top: 13px;
  left: 22px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 48px;
  font-style: normal;
  line-height: 1;
}

.toc-wrap {
  width: 100%;
  margin: 0 0 32px;
  padding: 24px 26px;
  border: 1px solid #c7ddd7;
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent),
    var(--teal-soft);
}

.toc-wrap a {
  color: var(--teal-dark);
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(10, 37, 55, 0.05);
}

table {
  width: 100%;
  margin: 28px 0;
  border-spacing: 0;
  border-collapse: separate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  overflow: hidden;
}

.table-wrap table {
  margin: 0;
  border: 0;
  border-radius: 0;
}

thead {
  color: var(--white);
  background: var(--navy);
}

th,
td {
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: #f8faf8;
}

tbody tr:hover {
  background: var(--surface-soft);
}

/* Shared section headings */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 40px 0 18px;
  gap: 20px;
}

.section-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.see-all-link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.see-all-link::after {
  content: " →";
}

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

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

.game-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(10, 37, 55, 0.07);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  color: var(--ink);
  border-color: #adc9c2;
  box-shadow: 0 16px 34px rgba(10, 37, 55, 0.13);
  transform: translateY(-5px);
}

.game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--navy-light), var(--teal));
  overflow: hidden;
}

.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover .game-cover {
  transform: scale(1.045);
}

.game-thumb-icon {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--white);
  font-size: 38px;
  place-items: center;
}

.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 4px 12px rgba(10, 37, 55, 0.18);
  font-size: 9px;
  font-weight: 850;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.game-info {
  padding: 15px 16px 17px;
}

.game-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
}

.game-provider {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 19px;
}

/* FAQ */
.faq-section,
.reviews-section {
  width: 100%;
  margin: 28px 0 0;
  padding: 36px 40px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-title,
.reviews-title {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

details {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fbfcfb;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details:last-child {
  margin-bottom: 0;
}

details:hover,
details[open] {
  border-color: #b7d0ca;
  box-shadow: 0 7px 20px rgba(10, 37, 55, 0.055);
}

summary {
  position: relative;
  padding: 16px 54px 16px 18px;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 750;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
}

details[open] summary {
  color: var(--teal-dark);
  background: var(--surface-soft);
}

details[open] summary::after {
  content: "−";
  color: var(--white);
  background: var(--teal);
}

details p {
  margin: 0;
  padding: 17px 18px 19px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Reader opinions */
.comment {
  margin: 0 0 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fbfcfb;
}

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

.comment-author {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

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

.comment-stars {
  margin-left: auto;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 1px;
}

.comment-text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.review-form-wrap {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #c8ded8;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

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

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

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b8cbc6;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

.review-form button {
  justify-self: start;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  color: var(--white);
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.review-form button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* Author */
.author-section {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 28px 0 0;
  padding: 25px 28px;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 15%, rgba(233, 163, 58, 0.2), transparent 12rem),
    var(--navy);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.author-avatar {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-size: 25px;
  place-items: center;
}

.author-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.author-label {
  color: #a9c3cd;
  font-size: 11px;
  font-weight: 750;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.author-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
}

.author-bio {
  margin-top: 3px;
  color: #d0dfe4;
  font-size: 13px;
  line-height: 21px;
}

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

.feature-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcfb;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  border-color: #b6cec8;
  box-shadow: 0 12px 27px rgba(10, 37, 55, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--teal-soft);
  font-size: 23px;
  place-items: center;
}

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

.feature-desc {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}

/* Providers */
.providers-section {
  width: 100%;
  margin: 34px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

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

.providers-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

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

.providers-btn {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--teal);
  background: var(--white);
  cursor: pointer;
  place-items: center;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

.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: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.providers-card:hover {
  border-color: #b6cec8;
  box-shadow: 0 9px 20px rgba(10, 37, 55, 0.07);
  transform: translateY(-2px);
}

.providers-card img {
  width: auto;
  max-width: 138px;
  height: 46px;
  object-fit: contain;
}

/* Casino ranking */
.nco-ranking {
  width: 100%;
  min-width: 0;
  margin: 8px 0 36px;
  counter-reset: casino-rank;
}

.nco-ranking h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.nco-ranking h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold);
}

.nco-casino {
  position: relative;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 166px;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0 0 13px;
  padding: 19px 20px 19px 26px;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(10, 37, 55, 0.055);
  counter-increment: casino-rank;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nco-casino::before {
  content: counter(casino-rank);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 0 0 11px 0;
  color: var(--white);
  background: var(--teal);
  font-size: 11px;
  font-weight: 850;
  place-items: center;
}

.nco-casino:hover {
  border-color: #aec8c2;
  box-shadow: 0 16px 34px rgba(10, 37, 55, 0.1);
  transform: translateY(-2px);
}

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

.nco-brand {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.nco-brand img {
  width: 82px;
  height: 58px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf8;
  object-fit: contain;
}

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

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

.nco-offer {
  min-width: 0;
  padding-left: 21px;
  border-left: 1px solid var(--line);
}

.nco-offer small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nco-offer strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.nco-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--teal);
  border-radius: 11px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(8, 122, 114, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin: auto;
  margin-bottom: 15px;
}

.nco-play:hover {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 11px 23px rgba(8, 122, 114, 0.24);
  transform: translateY(-1px);
}

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

.nco-site-screens a,
.nco-site-screens > img {
  display: block;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 37, 55, 0.1);
}

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

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

/* Footer */
footer {
  position: relative;
  margin-top: 24px;
  padding: 58px 0 28px;
  color: #d8e4e8;
  background:
    radial-gradient(circle at 92% 0%, rgba(8, 122, 114, 0.35), transparent 28rem),
    var(--navy);
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-col-title {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #b9cdd4;
  font-size: 13px;
  line-height: 21px;
  text-decoration: none;
}

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

.footer-payments {
  display: flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 18px 0;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.footer-payments img {
  width: auto;
  max-width: 88px;
  height: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgb(49 149 0 / 94%);
  object-fit: contain;
}

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

.footer-copy {
  color: #adc2ca;
  font-size: 12px;
}

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

.footer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #dce8eb;
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  font-weight: 700;
}

.footer-disclaimer {
  margin: 20px 0 0;
  color: #91aab4;
  font-size: 11px;
  line-height: 18px;
}

.footer-disclaimer a {
  color: #d3a857;
}

.footer-certificate {
  width: fit-content;
  margin-top: 15px;
  padding: 7px 10px;
  border: 1px solid rgba(233, 163, 58, 0.34);
  border-radius: 7px;
  color: #f2c67e;
  background: rgba(233, 163, 58, 0.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
}

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

/* Responsive */
@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }

  nav.main-nav {
    gap: 18px;
  }

  .logo-wrap {
    min-width: 190px;
  }

  .logo-wrap img {
    max-width: 190px;
  }

  .hero {
    padding-right: 54px;
    padding-left: 54px;
  }

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

  .nco-casino {
    grid-template-columns: 210px minmax(0, 1fr) 156px;
    gap: 17px;
  }

  .nco-play {
    width: 156px;
  }
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 10px;
    gap: 10px 16px;
  }

  .logo-wrap {
    margin-right: auto;
  }

  nav.main-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .hero {
    min-height: 410px;
  }

  .stat-strip {
    width: calc(100% - 24px);
  }

  .content-section {
    padding: 38px 40px 42px;
  }

  .nco-casino {
    grid-template-columns: 225px minmax(0, 1fr);
  }

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

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

@media (max-width: 760px) {
  .hero {
    width: calc(100% - 24px);
    min-height: 0;
    margin-top: 12px;
    padding: 50px 34px 78px;
    border-radius: 22px;
  }

  .hero::after {
    right: 24px;
    font-size: 170px;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 50px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .main-wrap {
    padding-right: 12px;
    padding-left: 12px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 22px);
    margin-top: -34px;
  }

  .stat-item {
    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 {
    grid-template-columns: 1fr;
    padding: 24px 25px 24px 30px;
    gap: 18px;
  }

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

  .content-section,
  .faq-section,
  .reviews-section {
    padding: 29px 25px 32px;
    border-radius: 20px;
  }

  .content-section h1 {
    font-size: 36px;
  }

  .content-section h2,
  .section-title,
  .faq-title,
  .reviews-title,
  .nco-ranking h2 {
    font-size: 29px;
  }

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

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

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

  .nco-offer {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

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

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

  .table-wrap table {
    display: table;
  }
}

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

  .logo-wrap {
    min-width: 0;
  }

  .logo-wrap img {
    max-width: 165px;
    height: 32px;
  }

  .logo-wrap:has(img[style*="display: none"])::before {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    font-size: 18px;
  }

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

  .btn-search,
  .btn-signin {
    display: none;
  }

  .btn-signup {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 12px;
  }

  nav.main-nav a {
    font-size: 13px;
  }

  .tabs-inner {
    min-height: 54px;
  }

  .tab-item {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero {
    width: 100%;
    margin-top: 0;
    padding: 43px 20px 72px;
    border-radius: 0 0 22px 22px;
  }

  .hero::before {
    right: -220px;
  }

  .hero::after {
    right: 15px;
    bottom: -28px;
    font-size: 125px;
  }

  .hero-eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .hero-title {
    font-size: 37px;
    line-height: 1.06;
  }

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

  .btn-cta {
    width: 100%;
  }

  .main-wrap {
    padding-bottom: 38px;
  }

  .stat-strip {
    width: calc(100% - 12px);
    padding: 7px;
    border-radius: 15px;
  }

  .stat-item {
    padding: 10px 7px;
  }

  .stat-value {
    font-size: 18px;
  }

  .stat-label {
    font-size: 9px;
  }

  .bonus-banner-value {
    font-size: 23px;
    line-height: 30px;
  }

  .content-section,
  .faq-section,
  .reviews-section {
    padding: 24px 18px 27px;
    border-radius: 17px;
  }

  .content-section h1 {
    font-size: 32px;
  }

  .content-section h2,
  .section-title,
  .faq-title,
  .reviews-title,
  .nco-ranking h2 {
    font-size: 27px;
  }

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

  .content-section blockquote {
    padding: 23px 20px 23px 48px;
    font-size: 16px;
  }

  .content-section blockquote::before {
    left: 16px;
    font-size: 38px;
  }

  .toc-wrap {
    padding: 20px;
  }

  .games-grid {
    gap: 10px;
  }

  .game-info {
    padding: 12px;
  }

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

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

  .providers-section {
    padding: 20px 16px;
  }

  .providers-title {
    font-size: 24px;
  }

  .author-section {
    align-items: flex-start;
    padding: 22px 19px;
  }

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

  .nco-brand {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .nco-brand img {
    width: 72px;
    height: 54px;
  }

  .nco-site-screens {
    margin: 24px 0 32px;
    gap: 20px;
  }

  .nco-site-screens a,
  .nco-site-screens > img {
    padding: 6px;
    border-radius: 14px;
  }

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

  footer {
    padding-top: 45px;
  }
}

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

  .hero-title {
    font-size: 33px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  header,
  .category-tabs,
  .btn-cta,
  .review-form-wrap,
  footer {
    display: none !important;
  }

  body,
  .hero,
  .content-section,
  .faq-section,
  .reviews-section {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .hero {
    min-height: 0;
    margin: 0;
    padding: 20px 0;
  }

  .hero-title,
  .hero-subtitle {
    color: #000;
  }

  .main-wrap {
    max-width: none;
    padding: 0;
  }
}
