.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 16px;
  background: rgba(15, 23, 42, 0.97);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-banner__text a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: #bae6fd;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.55);
}

.cookie-banner__btn--reject:hover {
  background: rgba(51, 65, 85, 0.6);
}

.cookie-banner__btn--accept {
  background: #0ea5e9;
  color: #0f172a;
  border-color: #0ea5e9;
}

.cookie-banner__btn--accept:hover {
  background: #38bdf8;
  border-color: #38bdf8;
}

.site-poker-disclaimer {
  margin: 14px auto 0;
  padding: 8px 12px;
  max-width: 900px;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
}

.site-poker-disclaimer + .site-footer {
  margin-top: 6px;
  padding: 0;
  border: none;
}

.site-footer {
  margin: 6px auto 14px;
  padding: 0;
  max-width: 900px;
  text-align: center;
  border: none;
}

.site-footer__row {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
  color: #94a3b8;
}

.site-footer__copy {
  font-weight: 400;
  color: inherit;
}

.site-footer__row a {
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__row a:hover {
  opacity: 0.85;
}

.site-footer__contact-toggle {
  font: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__contact-toggle[aria-expanded="true"] {
  user-select: all;
  text-decoration: none;
  cursor: text;
}

.auth-page .site-footer__row {
  color: var(--texto-terciario, #64748b);
}

.auth-page .site-poker-disclaimer {
  margin-top: 12px;
  max-width: none;
}

.app-right > .site-poker-disclaimer {
  margin: 16px 24px 0;
}

@media (max-width: 520px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
