@font-face {
  font-family: 'TidalDisplay';
  src: url('../../media/type/bebas-neue-400-latin-ext.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: 'TidalDisplay';
  src: url('../../media/type/bebas-neue-400-latin-ext.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: 'ReefCondensed';
  src: url('../../media/type/barlow-condensed-400-latin-ext.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'ReefCondensed';
  src: url('../../media/type/barlow-condensed-600-latin-ext.woff2') format('woff2');
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: 'ReefCondensed';
  src: url('../../media/type/barlow-condensed-700-latin-ext.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --page-bg: #031127;
  --panel: rgba(8, 28, 58, 0.88);
  --panel-strong: rgba(4, 17, 37, 0.96);
  --line: rgba(159, 201, 255, 0.16);
  --ink: #edf5ff;
  --muted: #bdd0ef;
  --accent: #ffc61a;
  --accent-strong: #ffd44d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.22);
  --radius-xl: 24px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 48px));
  --header-height: 112px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(21, 64, 129, 0.55), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(12, 41, 94, 0.38), transparent 30%),
    linear-gradient(180deg, #08193a 0%, #04101f 36%, #031127 100%);
  color: var(--ink);
  font-family: 'ReefCondensed', 'Trebuchet MS', sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  padding-top: 0;
}

.viewport-shell {
  position: relative;
  min-height: 100vh;
}

.site-wrap {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: linear-gradient(180deg, rgba(6, 24, 52, 0.96), rgba(6, 24, 52, 0.86));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(173, 214, 255, 0.09);
}

.header-shell {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 86px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand-link img {
  width: clamp(112px, 10vw, 144px);
  height: auto;
  display: block;
}

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

.main-nav a,
.drawer-link,
.tab-link {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav a {
  position: relative;
  color: rgba(232, 242, 255, 0.86);
  text-transform: uppercase;
  font-size: 1rem;
  padding: 8px 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.main-nav a[aria-current='page'] {
  color: var(--ink);
}

.header-actions,
.mobile-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shell-button,
.cta-button,
.rail-button,
.slot-action,
.sticky-claim,
.utility-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.shell-button:hover,
.cta-button:hover,
.rail-button:hover,
.slot-action:hover,
.sticky-claim:hover,
.utility-button:hover,
.form-submit:hover {
  transform: translateY(-1px);
}

.shell-button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.shell-button-accent,
.cta-button,
.rail-button,
.slot-play,
.sticky-claim,
.utility-button,
.form-submit {
  background: linear-gradient(180deg, #ffd54f, #ffc300);
  color: #051223;
  box-shadow: 0 10px 26px rgba(255, 195, 0, 0.26);
}

.burger-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 216, 255, 0.14);
  color: var(--ink);
}

.icon-inline {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.pulse-button {
  will-change: transform, box-shadow;
  transform-origin: center center;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  animation: tidePulse 2.8s ease-in-out infinite;
}

.pulse-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes tidePulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 12px 24px rgba(255, 195, 0, 0.22);
  }
  16% {
    transform: translate3d(0, 0, 0) scale(1.04);
    box-shadow: 0 0 0 10px rgba(255, 214, 92, 0.12), 0 20px 36px rgba(255, 195, 0, 0.28);
  }
  45% {
    transform: translate3d(0, 0, 0) scale(1.01);
    box-shadow: 0 14px 28px rgba(255, 195, 0, 0.2);
  }
}

.pulse-button:hover {
  animation-play-state: paused;
  transform: translate3d(0, 0, 0) scale(1.03);
  box-shadow: 0 18px 34px rgba(255, 195, 0, 0.28), 0 0 0 6px rgba(255, 214, 92, 0.08);
}

.hero-stage {
  position: relative;
  overflow: clip;
  min-height: min(540px, calc(100vh - 80px));
  background: #061933;
}

.hero-stage::before,
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-stage::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 36%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 64%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-stage::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.46) 76%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: var(--content-width);
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 28px;
  padding: 52px 0 22px;
}

.hero-copy {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 18px;
}

.hero-chip,
.section-kicker,
.story-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  background: rgb(255 255 255 / 8%);
  color: #f7dd8e;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-chip {
  font-size: 0.92rem;
  padding: 9px 14px;
}

.section-kicker,
.story-chip {
  font-size: 0.68rem;
  padding: 5px 10px;
}

.hero-title {
  margin: 0;
  font-family: 'TidalDisplay', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 3.5rem;
  line-height: 0.94;
  letter-spacing: 0.01em;
  color: #f4f8ff;
  max-width: 13.2em;
  text-wrap: balance;
}

.hero-summary {
  margin: 0;
  max-width: 42rem;
  color: rgba(236, 244, 255, 0.92);
  font-size: 1.16rem;
  line-height: 1.48;
}

.hero-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 6px;
}

.hero-offer {
  align-self: end;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-bottom: 18px;
}

.offer-card {
  width: min(100%, 780px);
  display: none;
  gap: 8px;
  justify-items: center;
  padding: 18px clamp(18px, 3vw, 34px) 20px;
  border-radius: 46px 46px 0 0 / 62px 62px 0 0;
  background: linear-gradient(180deg, rgba(10, 35, 70, 0.92), rgba(9, 31, 63, 0.82));
  border: 1px solid rgba(188, 224, 255, 0.14);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(237, 245, 255, 0.07);
  -webkit-backdrop-filter: blur(10px) saturate(82%);
  backdrop-filter: blur(10px) saturate(82%);
}

.offer-tag {
  font-size: clamp(0.84rem, 1vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(205, 216, 235, 0.7);
  font-weight: 700;
}

.offer-line {
  margin: 0;
  font-family: 'TidalDisplay', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 0.92;
  color: #eef4ff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: none;
  max-width: none;
  white-space: nowrap;
}

.hero-action .cta-button {
  box-shadow: 0 14px 34px rgba(255, 195, 0, 0.34), 0 0 0 1px rgba(255, 237, 177, 0.32);
}

.payment-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8vw, 18px);
  flex-wrap: nowrap;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(2, 10, 26, 0.66);
  border: 1px solid rgba(189, 220, 255, 0.12);
}

.payment-rail img {
  height: 18px;
  width: auto;
  display: block;
  opacity: 0.92;
}

.slots-band {
  position: relative;
  width: var(--content-width);
  margin: 16px auto 0;
  z-index: 4;
  padding: 8px 0 0;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.slot-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 27, 56, 0.94), rgba(7, 20, 43, 0.94));
  border: 1px solid rgba(145, 201, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.slot-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.slot-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slot-centerplay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(1);
  background: rgb(3 16 37 / 80%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(237, 245, 255, 0.06);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.slot-centerplay::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #ffd54f;
  transform: translate(-38%, -50%);
  filter: drop-shadow(0 2px 6px rgba(255, 195, 0, 0.28));
}

.slot-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 9, 22, 0.05), rgba(1, 9, 22, 0.7) 72%, rgba(1, 9, 22, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.slot-actions {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.slot-card:hover,
.slot-card.is-active {
  transform: translateY(-4px) scale(1.018);
  transition: transform 0.22s ease;
}

.slot-card:hover .slot-centerplay,
.slot-card.is-active .slot-centerplay {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
}

.slot-card:hover::after,
.slot-card:hover .slot-actions,
.slot-card.is-active::after,
.slot-card.is-active .slot-actions {
  opacity: 1;
  transform: translateY(0);
}

.slot-action {
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.96rem;
}

.slot-demo {
  background: rgba(3, 16, 33, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
  box-shadow: none;
}

.content-shell,
.utility-zone,
.author-zone,
.not-found-zone {
  width: var(--content-width);
  margin: 22px auto 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.article-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.story-block,
.content-panel,
.utility-panel,
.author-card,
.editorial-figure,
.demo-bar,
.drawer-panel,
.support-card,
.contact-form-card,
.not-found-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(9, 28, 57, 0.94), rgba(4, 17, 37, 0.94));
  border: 1px solid rgba(164, 204, 255, 0.12);
  box-shadow: var(--shadow);
}

.story-block {
  padding: 14px clamp(20px, 3vw, 34px);
  min-width: 0;
}

.story-block.scene-band {
  padding-block: clamp(18px, 3vw, 24px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}

.story-block.scene-band > * {
  position: relative;
  z-index: 1;
}

.story-block.scene-band::before,
.story-block.scene-band::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  z-index: -2;
}

.story-block.scene-band::before {
  background: url('../../media/scenes/content-band-scene.webp') center / cover no-repeat;
  opacity: 0.62;
}

.story-block.scene-band::after {
  background: linear-gradient(180deg, rgba(3, 14, 30, 0.72), rgba(3, 14, 30, 0.42), rgba(3, 14, 30, 0.76));
  z-index: -1;
}

.story-block h2 {
  margin: 6px 0;
  font-size: clamp(1.56rem, 2.6vw, 1.86rem);
  line-height: 1.08;
}

.story-block h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.18rem, 2vw, 1.38rem);
  line-height: 1.12;
  color: #f6fbff;
}

.provider-grid {
  margin: 20px 0 4px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.provider-tile {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 30, 60, 0.96), rgba(7, 20, 41, 0.96));
  border: 1px solid rgba(154, 198, 255, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.provider-tile img {
  display: block;
  width: auto;
  max-width: min(100%, 148px);
  max-height: 38px;
  height: auto;
}

.story-block p:not(.section-kicker):not(.story-chip) {
  margin: 0 0 14px;
  font-size: 1.14rem;
  color: rgba(230, 239, 255, 0.9);
}

.story-block strong,
.story-block b {
  color: #fff7d9;
  font-weight: 700;
}

.story-block a:not(.slot-action):not(.shell-button):not(.cta-button):not(.rail-button):not(.sticky-claim) {
  color: #9fd0ff;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.story-block ul,
.story-block ol {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.story-block ul li,
.story-block ol li {
  position: relative;
  padding: 14px 16px 14px 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(169, 208, 255, 0.09);
  color: rgba(234, 241, 255, 0.9);
}

.story-block ul li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd54f, #ffc300);
}

.story-block ul li::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10203f;
}

.story-block ol {
  counter-reset: tideStep;
}

.story-block ol li::before {
  counter-increment: tideStep;
  content: counter(tideStep);
  position: absolute;
  left: 14px;
  top: 11px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 198, 26, 0.18);
  border: 1px solid rgba(255, 198, 26, 0.24);
  color: var(--accent);
  font-weight: 700;
}

.table-shell {
  margin: 16px 0 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(173, 214, 255, 0.14);
  background: rgba(3, 12, 27, 0.5);
  box-shadow: var(--shadow-soft);
}

.table-shell[data-table-mode='wide'] {
  overflow-x: auto;
}

.table-shell[data-table-mode='wide'] th,
.table-shell[data-table-mode='wide'] td {
  padding: 10px 12px;
}

.table-shell[data-table-mode='wide'] th:first-child,
.table-shell[data-table-mode='wide'] td:first-child {
  padding-left: 16px;
}

.table-shell[data-table-mode='wide'] th {
  font-size: 0.88rem;
  letter-spacing: 0.065em;
}

.table-shell[data-table-mode='wide'] td {
  font-size: 0.98rem;
  line-height: 1.34;
}

.table-shell table {
  width: 100%;
  border-collapse: collapse;
}

.table-shell th,
.table-shell td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(166, 205, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.table-shell th {
  font-size: 0.98rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff4c0;
  background: rgba(255, 198, 26, 0.12);
}

.table-shell td {
  color: rgba(234, 241, 255, 0.9);
  font-size: 1.04rem;
}

.table-shell tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.035);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid rgba(172, 210, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff8db;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p,
.closing-note {
  margin-bottom: 0;
}

.closing-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 198, 26, 0.08);
  border: 1px solid rgba(255, 198, 26, 0.12);
  color: rgba(255, 244, 208, 0.94);
}

.story-intro {
  padding-top: 14px;
}

.author-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
}

.author-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  align-self: start;
  justify-self: start;
  border: 1px solid rgba(189, 220, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.author-card h3 {
  margin: 0 0 4px;
  font-size: 1.46rem;
}

.author-role {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  font-weight: 700;
}

.editorial-figure {
  margin: 16px 0 0;
  overflow: hidden;
}

.article-stack figure img,
.story-block img,
.editorial-figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
}

.editorial-figure img {
  max-width: 100%;
}

@media (min-width: 881px) {
  .page-yabby-casino-login .editorial-figure {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.utility-layout {
  display: grid;
  gap: 16px;
}

.utility-panel,
.support-card,
.contact-form-card,
.author-page,
.not-found-card {
  padding: 14px clamp(20px, 3vw, 34px);
}

.utility-panel h1,
.author-page h1,
.not-found-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.utility-panel h2,
.author-page h2 {
  margin: 20px 0 10px;
  font-size: 1.48rem;
}

.utility-panel p,
.author-page p:not(.section-kicker):not(.story-chip),
.not-found-card p {
  margin: 0 0 14px;
  font-size: 1.08rem;
  color: rgba(236, 243, 255, 0.9);
}

.author-page .author-role {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  font-weight: 700;
}

.utility-panel ul,
.utility-panel ol {
  margin: 0 0 18px;
  padding-left: 1.3rem;
}

.utility-panel li {
  margin-bottom: 8px;
}

.contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.support-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.support-card li {
  margin-bottom: 10px;
  color: rgba(235, 243, 255, 0.9);
}

.support-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: rgba(237, 244, 255, 0.9);
  font-weight: 600;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(172, 210, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
}

.support-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  min-height: 1.2rem;
  color: rgba(255, 237, 169, 0.92);
  font-size: 0.96rem;
}

.author-page {
  display: grid;
  gap: 14px;
}

.author-feature-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(11, 31, 61, 0.96), rgba(5, 19, 40, 0.96));
  border: 1px solid rgba(164, 204, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.author-feature-avatar {
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  justify-self: start;
  border-radius: 50%;
  border: 1px solid rgba(189, 220, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.author-feature-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.author-feature-copy,
.author-feature-text,
.author-page .author-flow {
  display: grid;
  gap: 14px;
}

.author-feature-head {
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}

.author-feature-head h1 {
  margin-bottom: 6px;
}

.author-feature-text > :last-child,
.author-page .author-flow > :last-child {
  margin-bottom: 0;
}

.page-autore-marco-ferretti .author-flow .story-block .section-kicker {
  display: none;
}

.page-autore-marco-ferretti .author-flow .story-block h2 {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  background: rgb(255 255 255 / 8%);
  color: #f7dd8e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-footer {
  width: var(--content-width);
  margin: 28px auto 0;
  padding: 18px 0 calc(26px + env(safe-area-inset-bottom));
}

.footer-frame {
  padding: 22px 0 0;
  border-top: 1px solid rgba(162, 203, 255, 0.12);
  display: grid;
  gap: 16px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.footer-menu a {
  color: rgba(233, 241, 255, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.98rem;
}

.footer-support {
  margin: 0;
}

.footer-support a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 215, 103, 0.94);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-support a:hover {
  color: #ffe59e;
}

.partner-line {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.partner-line img {
  height: 22px;
  width: auto;
  opacity: 0.52;
  filter: grayscale(1);
}

.footer-copy {
  color: rgba(185, 201, 230, 0.76);
  font-size: 0.96rem;
}

.mobile-header-rows,
.mobile-tabs {
  display: none;
}

.mobile-tabs {
  background: rgba(6, 25, 54, 0.98);
  border-top: 1px solid rgba(166, 205, 255, 0.08);
  border-bottom: 1px solid rgba(166, 205, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.tab-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 16px 8px;
  min-width: 100%;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(236, 243, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.tab-link .icon-inline {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.tab-link.is-current,
.tab-link:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 9, 21, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 76;
}

.drawer-panel {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 360px);
  max-width: 100vw;
  height: 100dvh;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 77;
  padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(4, 17, 37, 0.98), rgba(3, 13, 29, 0.98));
}

.drawer-panel.is-open,
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

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

.drawer-top {
  flex: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  min-height: 0;
}

.drawer-brand {
  justify-self: center;
}

.drawer-body {
  min-height: 0;
  overflow-y: auto;
  display: block;
  padding-right: 2px;
}

.drawer-nav {
  display: grid;
  gap: 10px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(171, 209, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  text-transform: uppercase;
}

.drawer-link .icon-inline {
  color: var(--accent);
}

.drawer-provider-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 16px;
  padding: 6px 8px 18px;
}

.drawer-provider-line img {
  display: block;
  width: auto;
  height: 24px;
  max-width: 108px;
  opacity: 0.82;
}

.drawer-copy {
  margin: 0;
  padding: 11px 13px;
  border-radius: 18px;
  background: rgba(255, 198, 26, 0.08);
  border: 1px solid rgba(255, 198, 26, 0.12);
  color: rgba(255, 244, 210, 0.92);
  font-size: 0.82rem;
  line-height: 1.38;
}

.sticky-bonus {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 72;
  width: min(372px, calc(100vw - 48px));
  transform: translateY(calc(100% + 20px));
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  padding: 0;
}

.sticky-bonus.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-inner {
  position: relative;
  margin: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(126 67 195), rgb(79 125 226));
  border: 1px solid rgba(167, 206, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.sticky-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: rgb(243 247 255 / 90%);
}

.sticky-copy strong {
  display: block;
  color: var(--accent);
  font-size: 0.98rem;
  line-height: 1.1;
}

.sticky-close {
  position: absolute;
  top: -18px;
  left: 10px;
  width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(182, 218, 255, 0.18);
  background: rgba(4, 19, 40, 0.98);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.sticky-close .icon-inline {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.sticky-claim {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.84rem;
}

.demo-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.9);
  display: none;
}

.demo-shell.is-open {
  display: grid;
}

.demo-panel {
  width: min(1220px, 100vw);
  margin: auto;
  min-height: min(92vh, 920px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #000;
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 0;
  background: rgba(5, 15, 31, 0.94);
  border: 0;
}

.demo-title {
  color: rgba(237, 245, 255, 0.92);
  font-size: 1rem;
}

.demo-canvas {
  min-height: 0;
  background: #000;
}

.demo-canvas iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 120;
  background: #fff4b3;
  color: #04111f;
  padding: 10px 14px;
  border-radius: 999px;
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

[data-anchor-target] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 880px) {
  :root {
    --content-width: min(100vw - 32px, 100vw - 32px);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .burger-button {
    display: inline-flex;
  }

  .header-shell {
    grid-template-columns: 44px 1fr 44px;
    min-height: 70px;
    gap: 12px;
  }

  .header-shell .brand-link {
    justify-self: center;
  }

  .mobile-header-rows,
  .mobile-tabs {
    display: block;
  }

  .mobile-action-row {
    width: var(--content-width);
    margin: 0 auto;
    padding: 0 0 10px;
  }

  .mobile-action-row .shell-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
  }

  .hero-stage {
    min-height: 608px;
  }

  .hero-shell {
    padding: 6px 0 10px;
    gap: 22px;
  }

  .hero-copy {
    align-self: center;
    align-items: center;
    justify-self: center;
    text-align: center;
    max-width: min(520px, calc(100vw - 32px));
    gap: 14px;
    padding-top: 0;
    transform: translateY(24px);
  }

  .hero-offer {
    gap: 10px;
    padding-bottom: 8px;
  }

  .offer-card {
    display: grid;
    width: 100%;
    gap: 6px;
    padding: 12px 16px 14px;
    border-radius: 50px 50px 0 0 / 48px 48px 0 0;
  }

  .offer-line {
    font-size: 5.8vw;
    max-width: none;
    white-space: nowrap;
  }

  .hero-chip {
    margin: 0 auto;
    font-size: 0.72rem;
    padding: 6px 10px;
    letter-spacing: 0.1em;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.2rem, 7.6vw, 3.75rem);
  }

  .hero-summary {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-action {
    justify-content: center;
  }

  .cta-button {
    min-width: min(270px, 78vw);
  }

  .hero-media {
    object-position: center center;
  }

  .payment-rail {
    padding: 10px 12px;
    gap: 8px;
  }

  .payment-rail img {
    height: 14px;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .story-block,
  .utility-panel,
  .support-card,
  .contact-form-card,
  .author-page,
  .not-found-card {
    padding-inline: 16px;
  }

  .story-block p:not(.section-kicker):not(.story-chip),
  .utility-panel p,
  .author-page p:not(.section-kicker):not(.story-chip) {
    font-size: 1.04rem;
  }

  .contact-columns,
  .form-grid,
  .author-card,
  .author-feature-card {
    grid-template-columns: 1fr;
  }

  .author-avatar {
    width: 96px;
    height: 96px;
  }

  .author-feature-card {
    gap: 16px;
  }

  .author-feature-avatar {
    width: min(240px, 100%);
    justify-self: center;
  }

  .author-feature-head {
    justify-items: center;
    text-align: center;
    margin-bottom: 2px;
  }

  .demo-panel {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .demo-bar {
    order: 2;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .demo-title {
    display: none;
  }

  body.page-has-sticky .site-footer {
    padding-bottom: calc(106px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 680px) {
  :root {
    --content-width: min(100vw - 28px, 100vw - 28px);
  }

  .sticky-bonus {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
  }

  .sticky-inner {
    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(167, 206, 255, 0.12);
    border-bottom: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.32);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .hero-stage {
    min-height: 580px;
  }

  .slot-centerplay {
    width: 46px;
    height: 46px;
  }

  .slot-centerplay::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 12px;
  }

  .table-shell[data-table-mode='compact'] table {
    table-layout: fixed;
  }

  .table-shell[data-table-mode='compact'] th,
  .table-shell[data-table-mode='compact'] td {
    font-size: 0.94rem;
    line-height: 1.28;
    padding: 11px 10px;
  }

  .table-shell[data-table-mode='wide'] th,
  .table-shell[data-table-mode='wide'] td {
    padding: 9px 10px;
  }

  .table-shell[data-table-mode='wide'] th:first-child,
  .table-shell[data-table-mode='wide'] td:first-child {
    padding-left: 13px;
  }

  .table-shell[data-table-mode='wide'] th {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .table-shell[data-table-mode='wide'] td {
    font-size: 0.86rem;
    line-height: 1.26;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
  }

  .provider-tile {
    min-height: 78px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .provider-tile img {
    max-width: min(100%, 128px);
    max-height: 32px;
  }
}

@media (min-width: 881px) {
  .hero-action .cta-button {
    min-width: 360px;
    padding-inline: 36px;
  }
}

@media (max-width: 320px) {
  :root {
    --content-width: min(100vw - 24px, 100vw - 24px);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.2rem, 7.6vw, 3.75rem);
  }

  .hero-summary {
    font-size: 0.95rem;
  }

  .mobile-action-row .shell-button {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .tab-strip {
    gap: 14px;
    padding-inline: 12px;
  }

  .slot-actions {
    inset-inline: 10px;
  }

  .slot-centerplay {
    width: 40px;
    height: 40px;
  }

  .slot-centerplay::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  .slot-action {
    min-height: 40px;
    font-size: 0.88rem;
    padding-inline: 10px;
  }

  .sticky-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sticky-copy strong {
    font-size: 0.9rem;
  }

  .sticky-copy p {
    font-size: 0.84rem;
  }

  .sticky-claim {
    width: 100%;
  }

  .sticky-close {
    width: 24px;
    height: 24px;
    min-height: 24px;
    left: 8px;
    top: -18px;
  }
}
