/* Sections below casino brand cards — Diceoravibe layout */

#casinos .offers__disc {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-m);
  border: 1px dashed rgba(167, 139, 250, 0.35);
  background: rgba(7, 11, 20, 0.5);
  font-size: 0.92rem;
  line-height: 1.65;
}

#casinos .offers__disc a {
  color: var(--rasp);
  font-weight: 600;
}

/* —— Shared: sections after #verificar —— */
#verificar,
#verificar ~ section {
  position: relative;
}

#verificar,
#verificar ~ section.section,
#verificar ~ section.isec {
  padding-block: clamp(3rem, 6vw, 5rem);
}

#verificar.surf-2,
#verificar ~ .surf-2 {
  background: linear-gradient(180deg, #0c1224 0%, #0a0e1a 100%);
}

#verificar ~ .surf-1,
#verificar ~ section.surf-1.isec {
  background: linear-gradient(180deg, #0f1628 0%, #0b101c 100%);
}

#verificar .wrap,
#verificar ~ section > .wrap {
  position: relative;
  z-index: 1;
}

#verificar ~ section > .wrap::before {
  content: none;
}

html body #verificar .sec-head,
html body #verificar ~ section .sec-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

html body #verificar .sec-head__link,
html body #verificar ~ section .sec-head__link {
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(240, 168, 48, 0.45);
  background: rgba(240, 168, 48, 0.1);
  color: var(--cream);
  font-size: 0.92rem;
}

html body #verificar .sec-head__link:hover,
html body #verificar ~ section .sec-head__link:hover {
  background: rgba(240, 168, 48, 0.22);
  color: var(--cream);
}

/* —— 4 steps (#verificar) —— */
html body #verificar .rail {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

html body #verificar .rail::before {
  display: none;
}

html body #verificar .rail__step {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--r-l);
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: linear-gradient(155deg, rgba(22, 31, 53, 0.92), rgba(11, 17, 32, 0.98));
  box-shadow: var(--sh-1);
  transition: border-color 0.2s, transform 0.2s;
}

html body #verificar .rail__step:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 168, 48, 0.4);
}

html body #verificar .rail__n {
  width: auto;
  height: auto;
  min-width: 2.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  color: var(--ink-text);
  background: var(--grad-accent);
  box-shadow: 0 6px 16px rgba(240, 168, 48, 0.35);
  margin-bottom: 0.25rem;
}

html body #verificar .rail__step h3 {
  font-size: 1.15rem;
  color: var(--cream);
}

html body #verificar .rail__step p {
  font-size: 0.95rem;
  line-height: 1.55;
}

html body #verificar .rail__step a {
  color: var(--rasp);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Operator table —— */
html body section[aria-labelledby="quem-h"] .df-table-wrap {
  border-radius: var(--r-xl);
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: linear-gradient(165deg, rgba(15, 22, 40, 0.95), rgba(7, 11, 20, 0.98));
  box-shadow: var(--sh-2);
  padding: 0.35rem;
}

html body section[aria-labelledby="quem-h"] .df-table thead th {
  background: linear-gradient(180deg, rgba(240, 168, 48, 0.18), rgba(167, 139, 250, 0.12));
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(240, 168, 48, 0.35);
}

html body section[aria-labelledby="quem-h"] .df-table tbody tr {
  transition: background 0.15s;
}

html body section[aria-labelledby="quem-h"] .df-table tbody tr:nth-child(even) td {
  background: rgba(167, 139, 250, 0.04);
}

html body section[aria-labelledby="quem-h"] .df-table tbody tr:hover td {
  background: rgba(240, 168, 48, 0.08);
}

html body section[aria-labelledby="quem-h"] .df-table td:first-child a {
  font-weight: 700;
  color: var(--rasp);
}

html body section[aria-labelledby="quem-h"] .offers__disc {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

/* —— Prose + steps (licensed explainer) —— */
html body section[aria-labelledby="lic-h"] .iwrap {
  max-width: var(--wrap);
}

html body section[aria-labelledby="lic-h"] .iprose {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(160deg, rgba(18, 26, 48, 0.9), rgba(9, 13, 24, 0.95));
  box-shadow: var(--sh-1);
}

html body section[aria-labelledby="lic-h"] .iprose > .h2 {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
}

html body section[aria-labelledby="lic-h"] .iprose > .h2:first-child {
  border-top: 0;
  padding-top: 0;
}

html body section[aria-labelledby="lic-h"] .iprose p {
  line-height: 1.75;
  max-width: 68ch;
}

html body section[aria-labelledby="lic-h"] .df-steps {
  gap: 0.85rem;
  margin-top: 0.5rem;
}

html body section[aria-labelledby="lic-h"] .df-steps li {
  padding: 1rem 1.1rem 1rem 3.5rem;
  border-radius: var(--r-m);
  border-left: 3px solid var(--rasp);
  background: rgba(7, 11, 20, 0.55);
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  border-right: 1px solid rgba(167, 139, 250, 0.1);
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

html body section[aria-labelledby="lic-h"] .df-steps li::before {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--coral), #6d28d9);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* —— Tools grid (4 rules) —— */
html body section[aria-labelledby="perc-h"] .tools {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

html body section[aria-labelledby="perc-h"] .tool {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--r-l);
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(165deg, rgba(22, 31, 53, 0.85), rgba(11, 17, 32, 0.95));
  box-shadow: none;
  transition: border-color 0.2s, transform 0.2s;
}

html body section[aria-labelledby="perc-h"] .tool::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rasp), var(--coral));
}

html body section[aria-labelledby="perc-h"] .tool:nth-child(2)::before {
  background: linear-gradient(90deg, var(--coral), #6366f1);
}

html body section[aria-labelledby="perc-h"] .tool:nth-child(3)::before {
  background: linear-gradient(90deg, #6366f1, var(--rasp));
}

html body section[aria-labelledby="perc-h"] .tool:nth-child(4)::before {
  background: linear-gradient(90deg, var(--rasp), #22d3ee);
}

html body section[aria-labelledby="perc-h"] .tool:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 168, 48, 0.35);
}

html body section[aria-labelledby="perc-h"] .tool h3 {
  font-size: 1.12rem;
  color: var(--cream);
}

html body section[aria-labelledby="perc-h"] .tool p {
  font-size: 0.95rem;
  line-height: 1.6;
}

html body section[aria-labelledby="perc-h"] .tool a {
  color: var(--rasp);
  font-weight: 600;
}

/* —— Casino differences list —— */
html body section[aria-labelledby="dif-h"] .iprose {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: linear-gradient(160deg, rgba(15, 22, 40, 0.92), rgba(7, 11, 20, 0.98));
}

html body section[aria-labelledby="dif-h"] .iso-list {
  gap: 0.75rem;
  margin-top: 0.75rem;
}

html body section[aria-labelledby="dif-h"] .iso-list li {
  padding: 1rem 1.1rem 1rem 1.15rem;
  border-radius: var(--r-m);
  border: 1px solid rgba(167, 139, 250, 0.14);
  background: rgba(7, 11, 20, 0.45);
  line-height: 1.6;
}

html body section[aria-labelledby="dif-h"] .iso-list li::before {
  display: none;
}

html body section[aria-labelledby="dif-h"] .iso-list li a {
  font-weight: 700;
  color: var(--rasp);
  text-decoration: none;
}

html body section[aria-labelledby="dif-h"] .iso-list li a:hover {
  color: var(--coral);
  text-decoration: underline;
}

/* —— FAQ —— */
html body section.faq {
  background: linear-gradient(180deg, #0b101c, #070b14) !important;
}

html body section.faq .faq__list {
  display: grid;
  gap: 0.65rem;
}

html body section.faq .faq__item {
  border-radius: var(--r-m);
  border: 1px solid rgba(167, 139, 250, 0.16) !important;
  background: linear-gradient(165deg, rgba(18, 26, 48, 0.75), rgba(9, 13, 24, 0.9)) !important;
  overflow: hidden;
}

html body section.faq .faq__q {
  padding: 1.15rem 1.25rem;
  font-size: 1.02rem;
  gap: 1rem;
}

html body section.faq .faq__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(240, 168, 48, 0.15);
  color: var(--rasp);
}

html body section.faq .faq__item.is-open {
  border-color: rgba(240, 168, 48, 0.35) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html body section.faq .faq__item.is-open .faq__ic {
  background: var(--grad-accent);
  color: var(--ink-text);
}

html body section.faq .faq__a p {
  padding: 0 1.25rem 1.2rem;
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  line-height: 1.65;
}

/* —— Responsible gaming banner —— */
html body section.rg {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: transparent;
}

html body section.rg .rg__in {
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--r-xl);
  border: 2px solid rgba(240, 168, 48, 0.35);
  background: linear-gradient(125deg, rgba(124, 58, 237, 0.12), rgba(240, 168, 48, 0.08)),
    linear-gradient(165deg, rgba(22, 31, 53, 0.95), rgba(7, 11, 20, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html body section.rg .rg__badge {
  width: 5rem;
  height: 5rem;
  font-size: 1.35rem;
  background: var(--grad-accent);
  color: var(--ink-text);
  box-shadow: 0 12px 32px rgba(240, 168, 48, 0.4);
}

html body section.rg .rg__txt .h2 {
  color: var(--cream);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

html body section.rg .rg__txt a {
  color: var(--rasp);
  font-weight: 600;
}

@media (max-width: 720px) {
  html body #verificar .rail {
    grid-template-columns: 1fr;
  }

  html body section[aria-labelledby="perc-h"] .tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html body section[aria-labelledby="quem-h"] .df-table {
    min-width: 0;
  }
}
