/* ================================================
   10kmaniacs.org — style.css (consolidated)
   Mobile-first · iGaming portal · Clean professional
   Covers: index, brand reviews, legal/info pages,
           keyword/payment pages, author page
   ================================================ */

/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:       #2E7D32;
  --green-light: #43A047;
  --red:         #C62828;
  --red-light:   #E53935;
  --bg:          #F8F9FA;
  --white:       #FFFFFF;
  --gray-100:    #F1F3F5;
  --gray-200:    #E9ECEF;
  --gray-400:    #ADB5BD;
  --gray-600:    #6C757D;
  --gray-800:    #343A40;
  --text:        #1A1A2E;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --font:        'Inter', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ================================================
   LAYOUT
   ================================================ */

.main-wrap {
  padding: 32px 0 48px;
}

.content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================================================
   LISTING SECTION (index.html)
   ================================================ */

.listing-section {
  margin-bottom: 48px;
}

.listing-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--green);
}

/* ================================================
   CASINO CARD (listing)
   ================================================ */

.casino-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.casino-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-rank {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  letter-spacing: .04em;
  align-self: flex-start;
  border-radius: 0 0 var(--radius-sm) 0;
}

.card-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Brand block */
.card-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-brand img {
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  padding: 4px;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rating-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-left: 4px;
}

/* Bonus block */
.card-bonus {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bonus-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
}

.bonus-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.bonus-sub {
  font-size: 12px;
  color: var(--gray-600);
}

/* Features list */
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-800);
}

.card-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* CTA */
.card-cta {
  padding-top: 4px;
}

.btn-play {
  display: block;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .2s, transform .1s;
  letter-spacing: .02em;
}

.btn-play:hover {
  background: var(--red-light);
  transform: scale(1.02);
}

/* ================================================
   ARTICLE BODY
   ================================================ */

.article-body {
  margin-top: 16px;
}

.article-body h2 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}

.article-body h3 {
  font-size: clamp(17px, 3vw, 20px);
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}

.article-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-800);
  margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
  margin: 8px 0 16px 20px;
}

.article-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.article-body a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(46,125,50,.35);
  transition: color .2s;
}

.article-body a:hover {
  color: var(--green-light);
}

/* ================================================
   TABLES
   ================================================ */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

table tbody tr:first-child td {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--text);
}

table td {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  vertical-align: top;
  line-height: 1.5;
}

table tbody tr:hover td {
  background: var(--gray-100);
}

/* ================================================
   AUTHOR BOX
   ================================================ */

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 48px;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.author-name a {
  color: var(--text);
  text-decoration: none;
}

.author-name a:hover {
  color: var(--green);
}

.author-role {
  display: block;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}

.author-info p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-top: 6px;
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
  background: var(--gray-800);
  color: #fff;
  padding: 40px 0 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-logo {
  margin-bottom: 28px;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-adm {
  margin-bottom: 20px;
}

.footer-adm img {
  opacity: .8;
  max-width: 140px;
  width: 100%;
  height: auto;
}

.footer-warning {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 680px;
}

.footer-warning a {
  color: rgba(255,255,255,.85);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ================================================
   PAGE HERO (secondary pages)
   ================================================ */

.page-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2E7D32 40%, #1a237e 100%);
  color: #fff;
  padding: 40px 16px 48px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(22px, 4.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  opacity: .85;
  max-width: 620px;
}

/* ================================================
   LEGAL ANCHOR NAV
   ================================================ */

.legal-anchors {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-anchors-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.legal-anchors a {
  display: inline-block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.legal-anchors a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ================================================
   LEGAL SECTIONS
   ================================================ */

.legal-section {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
  border-bottom: none;
}

/* ADM external link */
.adm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  transition: background .2s;
}

.adm-link:hover {
  background: var(--green-light);
}

/* Vincite info box */
.vincite-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #E8F5E9;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-800);
}

.vincite-info-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--green);
}

/* ================================================
   AUTHOR PAGE
   ================================================ */

.author-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.author-profile-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green);
}

.author-profile-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.author-profile-title {
  display: block;
  font-size: 15px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 16px;
}

.author-profile-badges {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.author-profile-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-800);
}

.author-profile-badges li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--green);
}

.author-quote {
  background: var(--gray-100);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.author-quote p {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.author-quote cite {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  font-style: normal;
}

/* ================================================
   RESPONSABILE PAGE
   ================================================ */

.resp-emergency {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFEBEE;
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
}

.resp-emergency svg {
  flex-shrink: 0;
  stroke: var(--red);
  margin-top: 2px;
}

.resp-emergency strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
}

.resp-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 32px;
}

.resp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.resp-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 12px 0 10px;
  color: var(--text);
}

.resp-card p,
.resp-card li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-800);
}

.resp-card ul {
  margin: 8px 0 12px 18px;
}

.resp-card li {
  margin-bottom: 5px;
}

.resp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resp-card-icon.green {
  background: #E8F5E9;
}

.resp-card-icon.green svg {
  stroke: var(--green);
}

.resp-resources {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 32px;
}

.resp-resource-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.resp-resource-item strong {
  font-size: 15px;
  color: var(--text);
}

.resp-resource-item span {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}

.resp-resource-item a {
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  margin-top: 4px;
}

.resp-resource-item a:hover {
  text-decoration: underline;
}

/* ================================================
   INFO PAGE
   ================================================ */

.info-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.info-value-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.info-value-icon {
  width: 40px;
  height: 40px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.info-value-icon svg {
  stroke: var(--green);
}

.info-value-item strong {
  font-size: 15px;
  color: var(--text);
}

.info-value-item span {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Contact grid */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  stroke: var(--green);
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item strong {
  font-size: 15px;
  color: var(--text);
}

.contact-item span {
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.contact-item small {
  font-size: 13px;
  color: var(--gray-600);
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.6;
  margin-top: 8px;
}

.contact-note svg {
  flex-shrink: 0;
  stroke: var(--gray-600);
  margin-top: 2px;
}

.contact-note strong {
  color: var(--text);
}

/* ================================================
   BRAND REVIEW PAGES
   ================================================ */

/* Review CTA box */
.review-cta-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border: 1px solid #A5D6A7;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin: 24px 0;
}

.review-cta-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
}

.review-cta-text strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.review-cta-btn {
  align-self: flex-start;
  padding: 13px 28px;
  font-size: 15px;
}

/* Pro / Contro block */
.pro-contro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0 28px;
}

.pro-box,
.contro-box {
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.pro-box {
  background: #F1F8E9;
  border: 1px solid #C5E1A5;
}

.contro-box {
  background: #FFF8F8;
  border: 1px solid #FFCDD2;
}

.pro-contro-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.pro-title { color: var(--green); }
.pro-title svg { stroke: var(--green); }
.contro-title { color: var(--red); }
.contro-title svg { stroke: var(--red); }

.pro-box ul,
.contro-box ul {
  list-style: none;
}

.pro-box li,
.contro-box li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-800);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.pro-box li:last-child,
.contro-box li:last-child {
  border-bottom: none;
}

/* Bonus detail box */
.bonus-detail-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0 28px;
  box-shadow: var(--shadow-sm);
}

.bonus-detail-row {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
}

.bonus-detail-row:last-child {
  border-bottom: none;
}

.bdl {
  flex: 0 0 55%;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-100);
  border-right: 1px solid var(--gray-200);
}

.bdr {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* App Store buttons */
.app-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
}

.app-store-btn:hover {
  opacity: .88;
  transform: scale(1.02);
}

.app-store-btn.android {
  background: #1a73e8;
  color: #fff;
}

.app-store-btn.ios {
  background: #1A1A2E;
  color: #fff;
}

/* ================================================
   KEYWORD / PAYMENT PAGES
   ================================================ */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

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

.breadcrumb span[aria-hidden] {
  color: var(--gray-400);
}

/* Internal links grid */
.internal-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.internal-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, border-color .2s;
}

.internal-link-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.ilc-logo {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.ilc-logo img {
  max-width: 100%;
  height: auto;
}

.ilc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ilc-info strong {
  font-size: 15px;
  color: var(--text);
}

.ilc-info span {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}

.ilc-bonus {
  font-size: 13px !important;
  color: var(--green) !important;
  font-weight: 600 !important;
}

.ilc-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Step list */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 28px;
}

.step-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ================================================
   MOBILE-FIRST BREAKPOINTS
   ================================================ */

@media (min-width: 480px) {
  .bdl { flex: 0 0 45%; }
}

@media (min-width: 640px) {
  /* Author profile */
  .author-profile-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .author-profile-photo { flex-shrink: 0; }
  .author-profile-badges { align-items: flex-start; }

  /* Review CTA */
  .review-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .review-cta-btn {
    align-self: center;
    white-space: nowrap;
  }

  /* Pro/Contro */
  .pro-contro { grid-template-columns: 1fr 1fr; }

  /* Internal links logo */
  .ilc-logo { width: 120px; }

  /* Info values */
  .info-values { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  /* Layout */
  .main-wrap { padding: 48px 0 64px; }
  .content-inner { padding: 0 24px; }

  /* Casino card: horizontal on desktop */
  .casino-card { flex-direction: row; align-items: stretch; }

  .card-rank {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-self: stretch;
    padding: 20px 10px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .card-main {
    flex: 1;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px 20px;
    padding: 20px;
    align-items: start;
  }

  .card-brand {
    flex-direction: column;
    align-items: flex-start;
    grid-row: 1 / 3;
    gap: 10px;
  }

  .card-bonus {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .card-features {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .card-cta {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    padding-top: 0;
    min-width: 140px;
  }

  .btn-play { padding: 14px 24px; white-space: nowrap; }

  /* Tables: remove min-width */
  table { min-width: unset; }

  /* Page hero */
  .page-hero { padding: 56px 24px 64px; }

  /* Responsabile cards */
  .resp-cards { flex-direction: row; }
  .resp-card { flex: 1; }

  /* Footer grid layout */
  .footer-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 40px;
    align-items: start;
  }

  .footer-logo {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-bottom: 0;
    padding-top: 4px;
  }

  .footer-links-grid {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-bottom: 24px;
    grid-template-columns: repeat(2, 200px);
    gap: 40px;
  }

  .footer-adm {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .footer-warning {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-bottom: 0;
  }

  .footer-copy {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
}

@media (min-width: 1024px) {
  .card-main { grid-template-columns: 220px 1fr 160px; }
}

/* ================================================
   UTILITY
   ================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ================================================
   HEADER & NAV (moved from inline <style> blocks)
   ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img { height: 40px; width: auto; }

.nav-desktop { display: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}

.btn-header:hover { background: var(--red-light); }
.btn-header svg { flex-shrink: 0; }

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

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

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

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background: var(--white);
  z-index: 1200;
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s;
}

.nav-drawer.open { transform: translateX(0); }

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  float: right;
  line-height: 1;
  color: var(--gray-800);
}

.drawer-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  display: block;
  margin-top: 4px;
}

.drawer-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  transition: color .2s;
}

.drawer-nav a:hover { color: var(--green); }

/* HERO (index + brand review pages) */
.hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2E7D32 40%, #1a237e 100%);
  color: #fff;
  padding: 40px 16px 48px;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-meta {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.hero-meta strong { font-weight: 600; }

.hero-intro {
  font-size: 16px;
  line-height: 1.7;
  opacity: .95;
  max-width: 720px;
}

/* Author profile meta */
.author-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===== DESKTOP NAV ===== */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .burger-btn { display: none; }

  .hero { padding: 64px 24px 72px; }

  .dropdown { position: relative; }

  .dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background .2s;
    white-space: nowrap;
  }

  .dropdown-btn:hover { background: var(--gray-100); }

  .dropdown-btn svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
  }

  .dropdown:hover .dropdown-btn svg { transform: rotate(180deg); }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 230px;
    padding: 8px 0;
    z-index: 500;
  }

  .dropdown:hover .dropdown-menu { display: block; }

  .dropdown-menu a {
    display: block;
    padding: 9px 16px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: background .2s;
  }

  .dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--green);
  }
}
