/* Consent + ad + tip surfaces */

.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom, 0px));
  z-index: 60;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(21, 38, 54, 0.96);
  color: #f5f8fb;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(21, 38, 54, 0.28);
  padding: 14px 16px;
}

.consent-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-inner p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(245, 248, 251, 0.92);
}

.consent-inner a {
  color: #a8d5ce;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.consent-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.consent-decline {
  background: transparent;
  color: #f5f8fb;
  border: 1px solid rgba(245, 248, 251, 0.35);
}

.consent-accept {
  background: #a8d5ce;
  color: #152636;
}

.ad-slot {
  width: 100%;
  min-height: 0;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.ad-slot[hidden] {
  display: none !important;
}

.ad-slot-live {
  min-height: 90px;
  background: rgba(21, 38, 54, 0.03);
  border-radius: 12px;
}

.ad-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint, #8a9aab);
  margin-bottom: 6px;
}

.revenue-strip {
  padding: clamp(28px, 5vw, 40px) clamp(16px, 5vw, 48px);
  background: linear-gradient(180deg, #dce6f0 0%, #cfd9e6 100%);
}

.revenue-strip-inner {
  max-width: var(--max-content, 1100px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}

.revenue-strip h2 {
  font-family: var(--font-display, inherit);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.revenue-strip p {
  color: var(--ink-muted, #5c6f82);
  max-width: 36rem;
  line-height: 1.45;
}

.ad-band {
  padding: 20px clamp(16px, 5vw, 48px) 8px;
  background: var(--surface, #f5f8fb);
}

.ad-band-inner {
  max-width: 728px;
  margin: 0 auto;
}

.game-ad-rail {
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
  margin-top: 6px;
}

.game-ad-rail:empty,
.game-ad-rail .ad-slot[hidden]:only-child {
  display: none;
}

.game-ad-rail .ad-slot-live {
  min-height: 70px;
}

.overlay-ad {
  margin: 0 0 12px;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(88px + var(--safe-top, 0px)) clamp(16px, 4vw, 32px)
    calc(48px + var(--safe-bottom, 0px));
}

.legal-page h1 {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-family: var(--font-display, inherit);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted, #5c6f82);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-meta {
  color: var(--ink-faint, #8a9aab);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.support-card-row {
  display: grid;
  gap: 16px;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 720px) {
  .support-card-row {
    grid-template-columns: 1fr 1fr;
  }
}

.support-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: var(--surface-elevated, #fff);
  border: 1px solid rgba(21, 38, 54, 0.06);
  box-shadow: 0 8px 30px var(--shadow, rgba(21, 38, 54, 0.08));
}

.support-panel h2 {
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  font-weight: 600;
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--accent);
}
