:root {
  --color-bg: #0b1220;
  --color-text: #f1f5f9;
  --color-text-secondary: #9fb3c8;
  --color-accent: #22d3ee;
  --color-button: #22d3ee;
  --color-card-bg: #111827;
  --color-green: #34d399; /* usado como CTA */
  --color-yellow: #fbbf24;
  --color-border: #1f2937;
}

html, body { height: 100%; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
p > a { color: var(--color-text-secondary); }
li > a { color: var(--color-text-secondary); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(13,13,13,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 180px; height: 40px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--color-text-secondary); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a:focus, .nav a.active { color: var(--color-accent); }
.cta-header { margin-left: 12px; background: var(--color-green); color: #0b2015; text-transform: uppercase; font-weight: 800; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.cta-header:hover { filter: brightness(1.05); }

.hero { padding: 48px 0 16px 0; text-align: center; }
.hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px 0; font-weight: 800; }
.hero p { margin: 0 auto; max-width: 780px; color: var(--color-text-secondary); font-size: 18px; }
.hero-icon { width: 72px; height: 72px; margin: 20px auto 0 auto; opacity: 0.9; }

/* Background area below hero */
.bg-after-hero {
  position: relative;
  padding-top: 8px;
}
/* Blurred background image layer */
.bg-after-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/public/background.jpg') center top / cover no-repeat;
  filter: blur(1px);
  transform: scale(1.05);
  z-index: -1000;
}
/* Dark overlay for contrast */
.bg-after-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.65) 0%, rgba(6,6,6,0.85) 60%, rgba(6,6,6,0.92) 100%);
  z-index: 1;
}
/* Keep content above overlays */
.bg-after-hero > * { position: relative; z-index: 2; }

.section { padding: 16px 0 48px 0; }
.cards { display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); padding: 16px; }
.card-row { display: flex; align-items: center; gap: 16px; }
.card-left { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; }
.casino-logo { width: 200px; height: 100px; object-fit: contain; }
.card-mid { flex: 1 1 auto; }
.casino-name { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 6px 0; }
.offer { font-size: 18px; font-weight: 700; }
.offer small { display: block; color: var(--color-text-secondary); font-weight: 500; }
.card-right { flex: 0 0 260px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.rating { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.rating .score { font-size: 28px; font-weight: 800; }
.stars { color: var(--color-yellow); display: flex; gap: 2px; }
.cta { background: var(--color-green); color: #0b2015; text-transform: uppercase; font-weight: 900; letter-spacing: 0.5px; padding: 12px 18px; border-radius: 12px; text-decoration: none; text-align: center; white-space: nowrap; }
.cta:hover { filter: brightness(1.05); }

.about { background: linear-gradient(180deg, rgba(26,26,26,1) 0%, rgba(13,13,13,1) 100%); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-title { font-size: 24px; font-weight: 800; margin: 0 0 12px 0; }
.section-subtitle { color: var(--color-text-secondary); margin: 0 0 24px 0; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; flex: 1 1 240px; }
.stat .num { font-size: 28px; font-weight: 800; }
.stat .label { color: var(--color-text-secondary); font-size: 14px; }

/* Use flex for responsiveness per PRD */
.info-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.info-item { display: flex; gap: 12px; background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; flex: 1 1 calc(50% - 16px); }
.info-item i { color: var(--color-accent); font-size: 20px; }
.info-item p { margin: 0; color: var(--color-text-secondary); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #e6e6e6; color: #0d0d0d; border-radius: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; }
.faq summary::marker { display: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq .content { padding: 0 18px 16px 18px; color: #333; }

.site-footer { background: var(--color-bg); color: #fff; padding: 32px 0; border-top: 1px solid var(--color-border); }
.footer-logos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-logos img { height: 28px; width: auto; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-transform: uppercase; font-size: 12px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Center footer content */
.site-footer .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logos { justify-content: center; }
.footer-links { justify-content: center; }
.footer-brand { max-width: 900px; margin-bottom: 16px; }
.footer-brand .site-name { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.footer-brand .site-cred { color: #e2f3ec; font-size: 13px; line-height: 1.5; opacity: 0.95; }

/* trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.trust-row__item { display: inline-flex; align-items: center; justify-content: center; opacity: 0.9; transition: opacity .15s ease; }
.trust-row__item:hover { opacity: 1; }
.trust-row__item img { height: 40px; width: auto; display: block; }

.age-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 2000; }
.age-modal { background: #fff; color: #0d0d0d; max-width: 520px; width: calc(100% - 32px); border-radius: 12px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.age-modal h2 { margin: 0 0 8px 0; font-size: 22px; }
.age-modal p { margin: 0 0 16px 0; color: #333; }
.age-actions { display: flex; gap: 12px; justify-content: flex-end; }
.btn { display: inline-block; border: none; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--color-button); color: #0b2015; }
.btn-secondary { background: #e6e6e6; color: #0d0d0d; }

.page-title { font-size: 32px; font-weight: 800; margin: 24px 0; }
.prose { color: var(--color-text-secondary); }
.prose p { margin: 0 0 16px 0; }
.prose h2 { color: var(--color-text); margin: 24px 0 12px 0; font-size: 20px; }
.prose ul { padding-left: 18px; }

.site-image { display: flex; align-items: center; justify-content: center; }

/* Tablet improvements */
@media (max-width: 1199px) {
  .card-right { flex: 0 0 220px; }
}
@media (max-width: 900px) {
  .card { padding: 16px; }
  .card-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .card-left { order: 1; justify-content: flex-start; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
  .card-mid { order: 2; display: flex; flex-direction: column; align-items: center; }
  .card-right { order: 3; flex-direction: column; align-items: center; flex: 1 1 100%; }
  .rating { flex-direction: row; align-items: center; justify-content: flex-start; min-width: 0; gap: 8px; }
}
/* Mobile refinements */
@media (max-width: 600px) {
  .nav { gap: 14px; }
  .card { padding: 14px; }
  .card-left { margin-bottom: 4px; }
  .casino-logo { width: 160px; height: 80px; }
  .casino-name { font-size: 18px; }
  .offer { font-size: 16px; }
  .rating .score { font-size: 24px; }
  .stars { font-size: 14px; }
  .cta { width: 100%; }
  .info-item { flex: 1 1 100%; }
}
