/* Bebas Neue (titulares) e Inter (texto) se cargan como <link> en el <head>
   de cada página (con preconnect) en vez de @import, para evitar la cascada
   de peticiones que un @import provoca. */

:root {
  color-scheme: dark;
  --bg: rgb(2, 5, 13);
  --panel: rgba(8, 13, 26, 0.86);
  --panel-strong: rgba(13, 20, 36, 0.95);
  --line: rgba(255, 255, 255, 0.12);
  --gold: rgb(253, 224, 71);
  --gold-deep: rgb(245, 158, 11);
  --green: rgb(34, 197, 94);
  --cyan: rgb(14, 165, 233);
  --text: rgb(248, 250, 252);
  --muted: rgb(185, 196, 213);
  --ink: rgb(4, 8, 16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(115deg, rgba(2, 5, 13, 0.95), rgba(4, 14, 18, 0.86) 48%, rgba(2, 5, 13, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 255, 255, 0.045) 93px, transparent 95px),
    linear-gradient(160deg, rgb(4, 16, 18), rgb(2, 5, 13) 58%, rgb(6, 8, 22));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(rgba(253, 224, 71, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 12%, rgba(253, 224, 71, 0.08) 12.1% 12.28%, transparent 12.42% 87.58%, rgba(34, 197, 94, 0.07) 87.72% 87.9%, transparent 88%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.052) 18.1% 18.26%, transparent 18.4% 81.6%, rgba(255, 255, 255, 0.052) 81.74% 81.9%, transparent 82%);
  background-size: 54px 54px, 54px 54px, auto, auto;
  content: "";
  inset: 0;
  opacity: 0.95;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

body::after {
  background:
    url("/assets/duo-jugadores.png") right clamp(-5.5rem, -7vw, -1rem) top clamp(2rem, 7vw, 5.5rem) / min(58vw, 620px) auto no-repeat;
  content: "";
  filter: blur(0.4px) saturate(1.06) contrast(1.06);
  inset: 0;
  mask-image:
    radial-gradient(ellipse 56% 62% at 79% 38%, black 0 42%, rgba(0, 0, 0, 0.7) 56%, transparent 78%);
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.contacto-page::after {
  background-image: url("/assets/contacto-photo.png") !important;
}

body.faq-page::after {
  background-image: url("/assets/faq-photo.png") !important;
}

/* Los artículos son contenido de lectura, no landing marketing — la foto
   grande de jugadores compite con el texto, así que aquí se sustituye por un
   veladura de color sutil con la misma paleta de marca, sin imagen. */
body.article-page::after {
  background: none;
  content: "";
}

body.article-page::before {
  background: radial-gradient(ellipse 65% 42% at 50% 0%, rgba(253, 224, 71, 0.055), transparent 70%);
}

/* Las líneas de pista animadas son un adorno de landing/juego — en un
   artículo de lectura solo distraen, así que se ocultan aquí. */
body.article-page .page-court {
  display: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page-court {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.page-court span {
  animation: courtLineMove 11s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(253, 224, 71, 0.34), rgba(34, 197, 94, 0.22), transparent);
  height: 2px;
  left: -10%;
  opacity: 0.38;
  position: absolute;
  transform: rotate(-12deg);
  width: 120%;
}

.page-court span:nth-child(1) {
  top: 28%;
}

.page-court span:nth-child(2) {
  animation-duration: 14s;
  animation-direction: reverse;
  top: 58%;
}

.page-court span:nth-child(3) {
  animation-duration: 17s;
  top: 82%;
}

.soon-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 5;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-link img {
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  height: 42px;
  width: 42px;
}

.brand-link span {
  color: rgb(255, 246, 196);
  font-weight: 950;
}

.soon-nav {
  align-items: center;
  background: rgba(8, 13, 26, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 0.2rem;
  padding: 0.25rem;
}

.soon-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.55rem 0.72rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.soon-nav a:hover {
  background: rgba(253, 224, 71, 0.12);
  color: rgb(255, 246, 196);
}

main {
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 2rem;
}

.hero-section {
  align-items: center;
  display: grid;
  gap: clamp(1.15rem, 3vw, 2.4rem);
  grid-template-columns: minmax(360px, 0.66fr) minmax(0, 1.34fr);
  min-height: 100svh;
  padding: clamp(0.8rem, 2.4vw, 1.6rem) 0 clamp(1rem, 2.4vw, 1.8rem);
}

.hero-copy {
  animation: liftIn 620ms ease-out both;
  display: grid;
  justify-items: center;
  max-width: 540px;
  text-align: center;
}

.launch-badge {
  align-items: center;
  color: rgb(253, 230, 138);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin: 0 0 0.72rem;
  text-transform: uppercase;
}

.launch-badge::before,
.launch-badge::after {
  background: linear-gradient(90deg, rgba(253, 224, 71, 0), rgba(253, 224, 71, 0.75));
  content: "";
  display: block;
  height: 1px;
  width: 34px;
}

.launch-badge::before {
  margin-right: 0.65rem;
}

.launch-badge::after {
  margin-left: 0.65rem;
  transform: scaleX(-1);
}

.hero-brand {
  display: grid;
  gap: 0.58rem;
  justify-items: center;
  margin-bottom: 0.7rem;
  text-align: center;
}

.hero-mark {
  border-radius: 24%;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(253, 224, 71, 0.16);
  height: clamp(72px, 8vw, 102px);
  width: clamp(72px, 8vw, 102px);
}

.hero-logo {
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.16));
  height: auto;
  margin: 0;
  max-width: min(88vw, 400px);
  width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: rgb(255, 255, 255);
  font-size: clamp(2rem, 3.75vw, 3.55rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.hero-text {
  color: rgb(220, 228, 240);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.55;
  margin-bottom: 1.05rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary-action,
.secondary-action,
.notify-form button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.primary-action,
.notify-form button {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 52%, var(--green));
  border: 0;
  color: var(--ink);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
}

.primary-action:hover,
.secondary-action:hover,
.notify-form button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.secondary-action:hover {
  border-color: rgba(253, 224, 71, 0.32);
}

.showcase {
  align-items: end;
  animation: liftIn 620ms 100ms ease-out both;
  display: grid;
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.32fr);
  position: relative;
}

.desktop-preview,
.phone-preview,
.mini-card,
.launch-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.desktop-preview {
  background: linear-gradient(145deg, rgba(11, 17, 32, 0.985), rgba(4, 8, 18, 0.985));
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.preview-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.85rem;
}

.preview-topbar span {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.preview-topbar span:nth-child(1) {
  background: rgb(248, 113, 113);
}

.preview-topbar span:nth-child(2) {
  background: rgb(251, 191, 36);
}

.preview-topbar span:nth-child(3) {
  background: rgb(34, 197, 94);
}

.preview-topbar strong {
  color: var(--muted);
  font-size: 0.75rem;
  margin-left: auto;
}

.preview-layout {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.28fr);
  min-height: 330px;
  padding: 0.8rem;
}

.preview-game,
.preview-ranking {
  background: rgba(8, 13, 26, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 0.72rem;
}

.preview-title-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.preview-title-row img {
  height: 66px;
  object-fit: contain;
  object-position: left center;
  width: min(230px, 58%);
}

.preview-title-row span,
.preview-ranking > span {
  color: rgb(253, 230, 138);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-rules {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.75rem;
}

.preview-rules span {
  align-items: center;
  border-radius: 6px;
  display: flex;
  font-size: 0.7rem;
  font-weight: 850;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem;
  text-align: center;
}

.preview-rules span:nth-child(1) {
  background: rgba(16, 185, 129, 0.2);
  color: rgb(167, 243, 208);
}

.preview-rules span:nth-child(2) {
  background: rgba(244, 63, 94, 0.2);
  color: rgb(254, 205, 211);
}

.preview-rules span:nth-child(3) {
  background: rgba(14, 165, 233, 0.2);
  color: rgb(186, 230, 253);
}

.preview-search {
  align-items: center;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  color: rgb(15, 23, 42);
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  min-height: 48px;
  padding: 0.45rem 0.45rem 0.45rem 0.85rem;
}

.preview-search span {
  color: rgb(71, 85, 105);
  font-weight: 750;
}

.preview-search strong {
  background: rgb(34, 211, 238);
  border-radius: 6px;
  color: rgb(8, 13, 25);
  font-size: 0.8rem;
  padding: 0.7rem 0.85rem;
}

.guess-grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guess-cell {
  align-items: center;
  border-radius: 6px;
  display: flex;
  font-size: 0.74rem;
  font-weight: 950;
  justify-content: center;
  min-height: 52px;
  overflow: hidden;
  padding: 0.45rem;
  text-align: center;
}

.guess-cell.player {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.guess-cell.good {
  background: linear-gradient(135deg, rgb(16, 185, 129), rgb(34, 197, 94));
  color: rgb(3, 7, 18);
}

.guess-cell.bad {
  background: linear-gradient(135deg, rgb(190, 18, 60), rgb(244, 63, 94));
}

.guess-cell.near {
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71));
  color: rgb(4, 8, 16);
}

.preview-ranking ol {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.preview-ranking li {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.62rem;
}

.preview-ranking strong {
  color: var(--gold);
  font-size: 0.72rem;
}

.preview-ranking span {
  color: rgb(226, 232, 240);
  font-size: 0.8rem;
  font-weight: 850;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-ranking em {
  color: rgb(125, 211, 252);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 950;
}

.phone-preview {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.99), rgba(3, 7, 18, 0.99));
  padding: 0.6rem;
  max-width: 250px;
  position: relative;
  width: 100%;
}

.phone-speaker {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  height: 5px;
  margin: 0 auto 0.55rem;
  width: 48px;
}

.phone-screen {
  background:
    linear-gradient(145deg, rgba(5, 10, 22, 0.98), rgba(8, 18, 26, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, 0.045) 47px, transparent 48px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  min-height: 326px;
  padding: 0.78rem;
}

.mobile-head {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.mobile-head img {
  border-radius: 7px;
  height: 32px;
  width: 32px;
}

.mobile-head span {
  color: rgb(255, 246, 196);
  font-size: 0.78rem;
  font-weight: 950;
}

.mobile-game {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: block;
  margin-bottom: 0.5rem;
  padding: 0.65rem;
  text-align: left;
  width: 100%;
}

.mobile-more {
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.2);
  border-radius: 8px;
  color: rgb(253, 230, 138);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0.6rem 0 0;
  padding: 0.55rem;
}

.mobile-game.active {
  background: rgba(253, 224, 71, 0.12);
  border-color: rgba(253, 224, 71, 0.34);
}

.mobile-game strong,
.mobile-game span {
  display: block;
}

.mobile-game strong {
  font-size: 0.84rem;
}

.mobile-game span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  margin-top: 0.22rem;
}

.mobile-board {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  
  /* 1. Hacemos que los cuadrados no superen los 210px en total y los centramos */
  max-width: 210px;
  margin: 0.9rem auto 0;
  
  /* 2. ESTA ES LA MAGIA ANTI-BUGS: Obliga a las filas a quedarse pegadas arriba */
  align-content: start;
}

.mobile-board span {
  /* 3. Reforzamos la proporción cuadrada para que el navegador no se cuelgue al redimensionar */
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  
  background:
    linear-gradient(135deg, rgba(253, 224, 71, 0.14), rgba(14, 165, 233, 0.14)),
    url("/assets/padel-ball-real.png") center / 58% auto no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.mobile-board span[data-state="good"] {
  background: linear-gradient(135deg, rgb(16, 185, 129), rgb(34, 197, 94));
}

.mobile-board span[data-state="bad"] {
  background: linear-gradient(135deg, rgb(190, 18, 60), rgb(244, 63, 94));
}

.mobile-board span[data-state="near"] {
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71));
}

.mobile-board span[data-state="found"] {
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(14, 165, 233, 0.22)),
    url("/assets/padel-ball-real.png") center / 62% auto no-repeat;
}

.mini-section {
  padding: clamp(1.5rem, 4vw, 3.8rem) 0;
}

.section-heading {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.section-heading p,
.mini-card p,
.launch-kicker {
  color: rgb(253, 230, 138);
  font-size: 0.75rem;
  font-weight: 950;
  margin-bottom: 0.38rem;
  text-transform: uppercase;
}

.section-heading h2,
.launch-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 0;
  max-width: 100%;
}

.mini-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card {
  background: var(--panel);
  min-height: 220px;
  padding: 1rem;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mini-card:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(253, 224, 71, 0.28);
  transform: translateY(-3px);
}

.mini-card-live {
  background:
    linear-gradient(140deg, rgba(253, 224, 71, 0.12), rgba(8, 13, 26, 0.9) 42%),
    var(--panel);
}

.mini-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 48px;
  margin-bottom: 1.1rem;
  position: relative;
  width: 48px;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
}

.icon-player::before {
  border: 2px solid rgb(125, 211, 252);
  border-radius: 50%;
  height: 15px;
  left: 15px;
  top: 9px;
  width: 15px;
}

.icon-player::after {
  border: 2px solid rgb(125, 211, 252);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  height: 13px;
  left: 10px;
  top: 27px;
  width: 26px;
}

.icon-pair::before,
.icon-pair::after {
  border: 2px solid rgb(134, 239, 172);
  border-radius: 50%;
  height: 18px;
  top: 12px;
  width: 18px;
}

.icon-pair::before {
  left: 8px;
}

.icon-pair::after {
  left: 21px;
}

.icon-cards::before,
.icon-cards::after {
  border: 2px solid rgb(253, 230, 138);
  border-radius: 5px;
  height: 25px;
  width: 17px;
}

.icon-cards::before {
  left: 12px;
  top: 9px;
  transform: rotate(-8deg);
}

.icon-cards::after {
  left: 19px;
  top: 13px;
  transform: rotate(8deg);
}

.mini-card h3 {
  font-size: 1.28rem;
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.mini-card > span:not(.mini-icon) {
  color: var(--muted);
  display: block;
  font-size: 0.96rem;
  line-height: 1.6;
}

.launch-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(253, 224, 71, 0.11), rgba(14, 165, 233, 0.08) 52%, rgba(34, 197, 94, 0.1)),
    var(--panel-strong);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.72fr);
  margin: 0 0 2.4rem;
  padding: clamp(1rem, 3vw, 1.4rem);
}

.launch-section p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 620px;
}

.notify-form {
  background: rgba(2, 5, 13, 0.38);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 1.2rem;
  padding: 1rem;
  text-align: left;
}

.notify-form label {
  color: rgb(226, 232, 240);
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  margin-bottom: 0.55rem;
}

.notify-form div {
  display: flex;
  gap: 0.55rem;
}

.notify-form input {
  background: rgb(255, 255, 255);
  border: 0;
  border-radius: 8px;
  color: rgb(15, 23, 42);
  min-height: 48px;
  min-width: 0;
  outline: none;
  padding: 0 0.9rem;
  width: 100%;
}

.notify-form input:focus {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.28);
}

.notify-form button {
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

.notify-form p {
  color: rgb(187, 247, 208);
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0.7rem 0 0;
  min-height: 1.2rem;
}

#notifyMessage {
  font-size: 0.875rem;
  font-weight: 700; /* Le damos más peso al texto para que resalte en el fondo oscuro */
  margin-top: 0.8rem;
  min-height: 1.2rem;
  text-align: left;
  transition: color 0.2s ease; /* Transición suave de color */
}

/* Color verde brillante para éxito (hace un contraste perfecto con tu fondo azul oscuro/dorado) */
#notifyMessage.is-success {
  color: #4ade80; 
}

/* Color rojo/rosado brillante para errores */
#notifyMessage.is-error {
  color: #f87171;
}
.notify-form-loading {
  opacity: 0.84;
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusPulse {
  50% {
    opacity: 0.48;
    transform: scale(0.78);
  }
}

@keyframes courtLineMove {
  from {
    translate: -6vw 0;
  }

  to {
    translate: 6vw 0;
  }
}

@media (max-width: 1020px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    margin: 0 auto;
    max-width: 760px;
  }

  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.34fr);
  }
}

@media (max-width: 840px) {
  .showcase {
    align-items: stretch;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .phone-preview {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
  }

  .preview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-ranking {
    display: none;
  }

  .mini-grid,
  .launch-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body::after {
    background-position: right -7.5rem top 2rem;
    background-size: 390px auto;
    opacity: 0.22;
  }

  main {
    padding-inline: 0.9rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-brand {
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

  .launch-badge {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2rem, 14vw, 3.2rem);
  }

  .hero-actions,
  .notify-form div {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .notify-form button {
    width: 100%;
  }

  .desktop-preview {
    display: block;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ─── Rewards / Points section ──────────────────────────────────────── */

.rewards-lead {
  color: var(--muted);
  font-size: clamp(0.96rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  margin: 0 auto 2.4rem;
  max-width: 640px;
  text-align: center;
}

.rewards-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.8rem;
  position: relative;
}

.reward-step {
  background:
    linear-gradient(140deg, rgba(253, 224, 71, 0.07), rgba(8, 13, 26, 0.8) 48%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1rem 1.1rem;
  position: relative;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease;
}

.reward-step:hover {
  border-color: rgba(253, 224, 71, 0.3);
  transform: translateY(-3px);
}

.reward-step-connector {
  bottom: 0;
  height: 2px;
  pointer-events: none;
  position: absolute;
  right: -0.52rem;
  top: 50%;
  width: 1.05rem;
  z-index: 2;
}

.reward-step-connector::before {
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.5), rgba(253, 224, 71, 0.15));
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}

.reward-step-connector::after {
  border-right: 2px solid rgba(253, 224, 71, 0.45);
  border-top: 2px solid rgba(253, 224, 71, 0.45);
  content: "";
  height: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
}

.reward-step-icon {
  align-items: center;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.22);
  border-radius: 12px;
  display: flex;
  height: 52px;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  width: 52px;
}

.icon-play::before {
  border-color: transparent transparent transparent var(--gold);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  content: "";
  margin-left: 3px;
}

/* No pseudo-elements needed for icon-level and icon-gift — SVGs are inline */

.reward-step-body strong {
  color: rgb(255, 246, 196);
  display: block;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.reward-step-body span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.rewards-tiers {
  align-items: stretch;
  background: rgba(2, 5, 13, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.tier {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.6rem;
  text-align: center;
  transition: background-color 180ms ease;
}

.tier:last-child {
  border-right: 0;
}

.tier:hover {
  background: rgba(253, 224, 71, 0.05);
}

.tier-badge {
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.65rem;
  text-transform: uppercase;
}

.tier-local {
  background: rgba(185, 196, 213, 0.15);
  color: rgb(185, 196, 213);
}

.tier-regional {
  background: rgba(14, 165, 233, 0.15);
  color: rgb(125, 211, 252);
}

.tier-nacional {
  background: rgba(253, 224, 71, 0.15);
  color: rgb(253, 230, 138);
}

.tier-pro {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(253, 224, 71, 0.2));
  box-shadow: 0 0 14px rgba(253, 224, 71, 0.12);
  color: var(--gold);
}

.tier-perk {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 840px) {
  .rewards-steps {
    gap: 1.8rem;
    grid-template-columns: 1fr;
  }

  .reward-step-connector {
    bottom: -1.8rem;
    height: 1.8rem;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: 2px;
  }

  .reward-step-connector::before {
    background: linear-gradient(180deg, rgba(253, 224, 71, 0.5), rgba(253, 224, 71, 0.2));
    height: 100%;
    width: 100%;
  }

  .reward-step-connector::after {
    border-bottom: 2px solid rgba(253, 224, 71, 0.5);
    border-right: 2px solid rgba(253, 224, 71, 0.5);
    border-top: none;
    border-left: none;
    bottom: 0;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
  }

  .rewards-tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier:nth-child(2) {
    border-right: 0;
  }

  .tier:nth-child(1),
  .tier:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .rewards-tiers {
    grid-template-columns: 1fr;
  }

  .tier {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .tier:last-child {
    border-bottom: 0;
  }

  .tier:nth-child(1),
  .tier:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Final responsive guardrails for narrow embeds and mobile browsers. */
html {
  overflow-x: hidden;
}

body,
main,
section,
article,
aside,
header,
footer,
nav,
div {
  min-width: 0;
}

img,
video,
canvas {
  height: auto;
  max-width: 100%;
}

input,
button {
  max-width: 100%;
}

.desktop-preview,
.phone-preview,
.launch-section,
.mini-card {
  max-width: 100%;
}

@media (max-width: 760px) {
  .preview-rules,
  .guess-grid {
    gap: 0.34rem;
  }

  .preview-rules span,
  .guess-cell {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .hero-logo {
    max-width: 94vw;
  }

  .launch-badge {
    font-size: 0.64rem;
  }

  .launch-badge::before,
  .launch-badge::after {
    width: 20px;
  }

  .phone-screen {
    min-height: auto;
  }

  .mobile-board {
    gap: 0.32rem;
  }

  .mini-card {
    min-height: 0;
  }
}

@media (max-width: 340px) {
  main {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  h1 {
    font-size: 1.82rem;
  }

  .hero-text,
  .mini-card > span:not(.mini-icon),
  .launch-section p {
    font-size: 0.92rem;
  }

  .mobile-game {
    padding: 0.58rem;
  }
}

/* ─── ESTILOS PARA LA PARTE LEGAL DEL FORMULARIO ─── */
.legal-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  text-align: left;
}

.legal-checkbox-container input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-top: 0.2rem;
  cursor: pointer;
  accent-color: var(--gold);
}

.legal-checkbox-container label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}

.legal-checkbox-container label a {
  color: var(--gold);
  text-decoration: underline;
}

/* ─── ESTILOS PARA EL NUEVO FOOTER COMPONENTE GLOBAL (PLUG & PLAY) ─── */
.global-site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 16, 0.3);
  padding: 2.5rem clamp(1rem, 3vw, 1.5rem) 1.8rem;
  margin-top: 5rem;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 5;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-bottom: 1.8rem;
}

.footer-logo {
  display: block;
  height: auto;
  margin-bottom: 0.5rem;
  max-width: min(210px, 68vw);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(185, 196, 213, 0.65);
  margin: 0 0 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-social-link {
  color: rgb(226, 232, 240);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-social-link:hover {
  color: rgb(255, 246, 196);
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  transition: color 180ms ease;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(185, 196, 213, 0.45);
}

.footer-bottom p {
  margin: 0;
}

.footer-cookie-settings {
  color: rgba(185, 196, 213, 0.55);
  display: inline-block;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  text-decoration: underline;
}

.footer-cookie-settings:hover {
  color: var(--gold);
}

@media (max-width: 620px) {
  .footer-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    flex-direction: column;
    gap: 0.9rem;
  }
}

/* ─── ESTILOS PARA PÁGINAS LEGALES ─── */
.legal-main {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 1.5rem);
  min-height: calc(100vh - 200px);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.legal-container--wide {
  max-width: 900px;
}

.faq-contact-cta {
  margin-top: 2rem;
}

.centered-hero-main {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 2rem 1rem;
}

.result-alert-back-link-row {
  margin-top: 1.4rem;
}

.legal-container h1 {
  color: var(--gold);
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-align: left;
}

.legal-container h2 {
  color: rgb(255, 255, 255);
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
}

.legal-container p, 
.legal-container li {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-container ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-container a {
  color: var(--gold);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.legal-container a:hover {
  opacity: 0.8;
}

.article-eyebrow {
  align-items: center;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.25);
  border-radius: 999px;
  color: rgb(253, 230, 138);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
}

.article-meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin: -0.75rem 0 1.75rem;
}

.article-callout {
  background: rgba(253, 224, 71, 0.06);
  border: 1px solid rgba(253, 224, 71, 0.22);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}

.article-callout p {
  margin-bottom: 0;
}

.article-callout p:first-child strong {
  color: var(--gold);
}

.article-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 2.5rem;
  padding: 1.5rem;
  text-align: center;
}

.article-cta p {
  margin-bottom: 1rem;
}

.article-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.article-cta-links a {
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.32);
  border-radius: 999px;
  color: rgb(253, 230, 138);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.article-cta-links a:hover {
  background: rgba(253, 224, 71, 0.2);
  transform: translateY(-2px);
}

.article-hub-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.5rem;
}

.article-hub-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.article-hub-card:hover {
  background: rgba(253, 224, 71, 0.07);
  border-color: rgba(253, 224, 71, 0.3);
  transform: translateY(-3px);
}

.article-hub-card strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.article-hub-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.article-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.article-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: 1 1 130px;
  padding: 0.9rem 1rem;
  text-align: center;
}

.article-stat strong {
  color: var(--gold);
  display: block;
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1.15;
}

.article-stat span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-steps {
  counter-reset: article-step;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.article-step {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.1rem 1.25rem;
}

.article-step-number {
  align-items: center;
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.32);
  border-radius: 999px;
  color: var(--gold);
  display: flex;
  flex-shrink: 0;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.article-step strong {
  color: var(--text);
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.article-step p {
  margin: 0;
}

.article-compare-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
}

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

.article-compare-table th,
.article-compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

.article-compare-table th {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-compare-table td {
  color: var(--muted);
  font-size: 0.88rem;
}

.article-compare-table td strong {
  color: var(--text);
}

.term-category {
  align-items: center;
  color: var(--gold);
  display: flex;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 0.5rem;
  letter-spacing: 0.1em;
  margin: 2.25rem 0 0.9rem;
  text-transform: uppercase;
}

.term-category:first-of-type {
  margin-top: 1.5rem;
}

.term-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 0 0 1.5rem;
}

.term-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}

.term-card strong {
  color: var(--gold);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
}

.term-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

/* ─── PLANTILLA DE ARTÍCULO (v2) — cabecera tipo revista en vez del panel
   con caja de las páginas legales, para que las guías no parezcan un
   documento suelto sino contenido propio de la web. ─── */
.article-shell {
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
}

.article-breadcrumb {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.article-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.article-breadcrumb a:hover {
  color: var(--gold);
}

.article-breadcrumb .crumb-sep {
  color: rgba(185, 196, 213, 0.4);
}

.article-breadcrumb .crumb-current {
  color: rgb(226, 232, 240);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
}

.article-hero h1 {
  margin-bottom: 1.15rem;
  text-align: left;
}

.article-eyebrow--health {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: rgb(167, 243, 208);
}

.article-eyebrow--social {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.3);
  color: rgb(186, 230, 253);
}

.article-body h2 {
  color: var(--gold);
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  font-weight: 900;
  margin: 2.4rem 0 1rem;
}

.article-body h3 {
  color: rgb(255, 255, 255);
  font-size: 1.05rem;
  font-weight: 850;
  margin: 1.5rem 0 0.75rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.article-body > p:first-of-type {
  color: rgb(226, 232, 240);
  font-size: 1.08rem;
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}

.article-body a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.article-body a:hover {
  color: rgb(253, 230, 138);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-shell--wide {
  max-width: 1080px;
}

.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0.5rem;
}

.hub-filter {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.5rem 1.05rem;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hub-filter:hover {
  border-color: rgba(253, 224, 71, 0.35);
  color: rgb(226, 232, 240);
}

.hub-filter.is-active {
  background: rgba(253, 224, 71, 0.16);
  border-color: rgba(253, 224, 71, 0.45);
  color: rgb(253, 230, 138);
}

.hub-section.is-hidden {
  display: none;
}

.hub-section {
  margin-top: 2.75rem;
  scroll-margin-top: 5.5rem;
}

.hub-section:first-of-type {
  margin-top: 2.25rem;
}

.hub-section-title {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
}

.article-hub-card {
  border-top: 2px solid rgba(253, 224, 71, 0.4);
}

.article-hub-card[data-cat="health"] {
  border-top-color: rgba(34, 197, 94, 0.45);
}

.article-hub-card[data-cat="social"] {
  border-top-color: rgba(14, 165, 233, 0.45);
}

@media (max-width: 620px) {
  .article-shell {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

.tip-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 1.5rem 0;
}

.tip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-top: 2px solid rgba(253, 224, 71, 0.4);
  padding: 1.1rem 1.2rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.tip-card:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.tip-card strong {
  color: var(--gold);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.tip-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.cookies-table {
  border-collapse: collapse;
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  width: 100%;
}

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.cookies-table th {
  color: var(--gold);
  white-space: nowrap;
}

.cookies-table td {
  color: var(--muted);
}

/* Botón de volver */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: var(--gold);
}

.language-switch {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.static-language-switch {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  top: max(0.85rem, env(safe-area-inset-top));
  z-index: 60;
}

.language-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.86);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 8px 10px;
  touch-action: manipulation;
}

.language-button-active {
  background: var(--gold);
  color: rgb(17, 24, 39);
}

@media (max-width: 620px) {
  .legal-main,
  .article-shell {
    padding-top: 5rem;
  }

  .static-language-switch {
    right: 0.75rem;
    top: 0.75rem;
  }
}

/* ─── ESTILOS PARA CONFIRMAR BAJA ─── */
.confirm-container {
  max-width: 500px;
  margin: 10vh auto;
  text-align: center;
}

.btn-baja {
  background: #ef4444;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  margin-top: 20px;
  padding: 12px 24px;
  text-decoration: none;
}

.btn-baja:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.status-message {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.75rem;
  min-height: 1.2rem;
}

.status-message.is-error {
  color: #fca5a5;
}

.status-message.is-success {
  color: #86efac;
}

/* ─── CONSENTIMIENTO DE COOKIES ─── */
.cookies-consent-open {
  overflow: hidden;
}

.cookie-consent {
  align-items: flex-end;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1.2rem;
  position: fixed;
  z-index: 9999;
}

.cookie-consent-backdrop {
  background: rgba(2, 5, 13, 0.86);
  inset: 0;
  position: absolute;
}

.cookie-consent-panel {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  max-width: 720px;
  padding: 1.4rem 1.5rem;
  position: relative;
  width: min(94vw, 720px);
  z-index: 1;
}

.cookie-consent-panel h2 {
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.cookie-consent-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.1rem;
}

.cookie-consent-panel a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.cookie-consent-accept {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 0.7rem 1.2rem;
}

.cookie-consent-accept:hover {
  filter: brightness(1.06);
}

.cookie-consent-reject {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
}

.cookie-consent-reject:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── ESTILOS DEL FOOTER: GRID Y COLUMNAS (del componente global) ─── */
.global-site-footer .footer-main-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 1180px;
  padding-bottom: 2.5rem;
}

.global-site-footer .footer-logo {
  display: block;
  height: auto;
  margin-bottom: 1.5rem;
  max-width: 180px;
}

.global-site-footer .social-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
}

.global-site-footer .footer-social-icons {
  display: flex;
  gap: 1rem;
}

.global-site-footer .footer-social-icons a {
  color: #ffffff;
  display: inline-flex;
  transition: color 180ms ease, transform 180ms ease;
}

.global-site-footer .footer-social-icons a:hover {
  color: rgb(253, 224, 71);
  transform: translateY(-2px);
}

.global-site-footer .footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.2rem 0;
}

.global-site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.global-site-footer .footer-nav a {
  color: rgb(185, 196, 213);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.global-site-footer .footer-nav a:hover {
  color: rgb(253, 224, 71);
}

@media (max-width: 1024px) {
  .global-site-footer .footer-main-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-site-footer .brand-col {
    align-items: center;
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .global-site-footer .footer-main-content {
    gap: 2.5rem;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .global-site-footer .brand-col {
    grid-column: span 1;
  }
  .global-site-footer .footer-social-icons {
    justify-content: center;
  }
}


/* placeholder for new styles */

/* ─── ESTILOS FAQ ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  align-items: center;
  background: none;
  border: none;
  color: rgb(248, 250, 252);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 800;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.1rem 0;
  text-align: left;
  width: 100%;
  transition: color 180ms ease;
}
.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: rgb(253, 224, 71);
}
.faq-icon {
  color: rgb(253, 224, 71);
  flex: 0 0 auto;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 200ms ease;
  user-select: none;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  color: rgb(185, 196, 213);
  font-size: 0.93rem;
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding-bottom 200ms ease;
}
.faq-answer.faq-open {
  max-height: 800px;
  padding-bottom: 1.1rem;
}
.faq-answer p {
  color: rgb(185, 196, 213);
  margin: 0 0 0.75rem;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-section-title {
  color: rgb(253, 230, 138);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin: 2.5rem 0 0.5rem;
  text-transform: uppercase;
}

/* ─── ESTILOS CONTACTO ─── */
.contact-page-intro {
  color: rgb(185, 196, 213);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 2.5rem;
}
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 180ms ease, transform 180ms ease;
}
.contact-card:hover {
  border-color: rgba(253, 224, 71, 0.28);
  transform: translateY(-2px);
}
.contact-card-kicker {
  color: rgb(253, 230, 138);
  display: block;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.contact-card strong {
  color: rgb(255, 246, 196);
  display: block;
  font-size: 1rem;
  font-weight: 900;
}
.contact-card span {
  color: rgb(185, 196, 213);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1 1 auto;
}
.contact-card-link {
  color: rgb(253, 224, 71);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: opacity 180ms ease;
  display: inline-block;
}
.contact-card-link:hover {
  opacity: 0.78;
  text-decoration: underline;
}
.contact-form-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 2rem 1.8rem;
}
.contact-form-section h2 {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  font-size: 1.35rem !important;
}
.contact-form-desc {
  color: rgb(185, 196, 213);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.contact-login-notice {
  background: rgba(253, 224, 71, 0.07);
  border: 1px solid rgba(253, 224, 71, 0.2);
  border-radius: 8px;
  color: rgb(253, 230, 138);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  padding: 1rem 1.2rem;
  text-align: center;
}
.contact-login-notice a {
  color: rgb(253, 224, 71);
  font-weight: 900;
  text-decoration: underline;
}
.contact-user-badge {
  align-items: center;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
}
.contact-user-badge-icon {
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  color: rgb(34, 197, 94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  height: 36px;
  width: 36px;
}
.contact-user-badge-text strong {
  color: rgb(187, 247, 208);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
}
.contact-user-badge-text span {
  color: rgb(134, 239, 172);
  font-size: 0.8rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  color: rgb(226, 232, 240);
  font-size: 0.85rem;
  font-weight: 700;
}
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgb(248, 250, 252);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  padding: 0.75rem 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
  box-sizing: border-box;
}
.form-group select option {
  background: rgb(8, 13, 26);
  color: rgb(248, 250, 252);
}
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-submit {
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71) 52%, rgb(34, 197, 94));
  border: 0;
  border-radius: 8px;
  color: rgb(4, 8, 16);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  min-height: 50px;
  padding: 0.9rem 2rem;
  transition: filter 180ms ease, transform 180ms ease;
  width: 100%;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.01em;
}
.contact-submit:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}
.contact-status-msg {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 1rem;
  min-height: 0;
  padding: 0.75rem 1rem;
  text-align: center;
}
.contact-status-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: rgb(134, 239, 172);
}
.contact-status-error {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: rgb(254, 205, 211);
}
.form-notice {
  color: rgba(185, 196, 213, 0.7);
  font-size: 0.77rem;
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}
.form-notice a {
  color: rgb(253, 224, 71);
  text-decoration: underline;
}

/* ─── ESTILOS TIENDA ─── */
.coming-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}
.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.25);
  border-radius: 999px;
  color: rgb(253, 230, 138);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 0.45rem 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.coming-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
  margin-bottom: 1rem;
  color: rgb(255, 255, 255);
  text-align: center;
}
.coming-hero p {
  color: rgb(185, 196, 213);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}
.shop-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}
.shop-preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease;
}
.shop-preview-card:hover {
  border-color: rgba(253, 224, 71, 0.25);
  transform: translateY(-3px);
}
.shop-card-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 52px;
  height: 52px;
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.18);
  border-radius: 12px;
  color: rgb(253, 224, 71);
}
.shop-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(253, 230, 138);
  margin-bottom: 0.4rem;
}
.shop-card-title {
  display: block;
  color: rgb(248, 250, 252);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.shop-card-desc {
  display: block;
  color: rgb(185, 196, 213);
  font-size: 0.85rem;
  line-height: 1.55;
}
.notify-teaser {
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.08), rgba(14, 165, 233, 0.06) 52%, rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 0 0 2rem;
}
.notify-teaser h2 {
  color: rgb(255, 255, 255);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.notify-teaser p {
  color: rgb(185, 196, 213);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 auto 1.2rem;
  max-width: 500px;
}
.notify-teaser-link {
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  align-items: center;
  transition: filter 180ms ease, transform 180ms ease;
}
.notify-teaser-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ─── ESTILOS NOTICIAS ─── */
.news-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
}
.news-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.8rem;
}
.news-header p {
  color: rgb(185, 196, 213);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 520px;
}
.news-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 3rem 1rem;
  text-align: center;
}
.news-empty-icon {
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: rgb(253, 224, 71);
}
.news-empty-title {
  color: rgb(248, 250, 252);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0;
}
.news-empty-desc {
  color: rgb(185, 196, 213);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 440px;
}
.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.news-cat-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgb(185, 196, 213);
  cursor: default;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  opacity: 0.7;
}
.news-cat-btn.active {
  background: rgba(253, 224, 71, 0.12);
  border-color: rgba(253, 224, 71, 0.3);
  color: rgb(253, 230, 138);
  opacity: 1;
}
.news-coming-banner {
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.07), rgba(14, 165, 233, 0.06) 52%, rgba(34, 197, 94, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0 0;
}
.news-coming-banner-icon {
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.2);
  border-radius: 50%;
  color: rgb(253, 224, 71);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  height: 48px;
  width: 48px;
}
.news-coming-banner-body strong {
  color: rgb(255, 246, 196);
  display: block;
  font-size: 0.97rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}
.news-coming-banner-body span {
  color: rgb(185, 196, 213);
  font-size: 0.88rem;
  line-height: 1.5;
}
.news-coming-banner-link {
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71));
  border-radius: 8px;
  color: rgb(4, 8, 16);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.65rem 1.2rem;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
  white-space: nowrap;
  align-items: center;
}
.news-coming-banner-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .shop-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-coming-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .shop-preview-grid { grid-template-columns: 1fr; }
  .contact-form-section { padding: 1.4rem; }
}

/* ─── ESTILOS PREMIUM RETOPADEL ─── */

:root {
  /* Tonalidad anaranjada premium (Sunset Orange / Electric Copper) */
  --gold: rgb(255, 140, 0) !important;       /* Naranja vibrante principal */
  --gold-deep: rgb(220, 80, 0) !important;   /* Naranja profundo para contraste */
  --cyan: rgb(0, 210, 255) !important;       /* Azul cian metálico */
}

/* Tipografía general del sitio: Inter para texto, Bebas Neue para titulares */
body, input, button, select, textarea {
  font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .title-lockup, .footer-heading, .section-heading h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

/* Titular de alto impacto (portadas, hero, banners grandes) */
.titulares {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  font-size: 5rem;
  line-height: 0.9;
}

/* Texto descriptivo pequeño y elegante */
.texto-pequeno {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #cccccc;
}

/* Cambiar tonalidad de los botones principales (Naranjas Sunset Premium) */
.primary-action,
.profile-save-button,
.notify-form button,
.contact-submit,
.btn-baja,
.cookie-consent-accept,
.venue-submit,
.notify-teaser-link {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)) !important;
  color: #040810 !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(255, 110, 0, 0.25) !important;
  transition: all 200ms ease !important;
  border: none !important;
}

.primary-action:hover,
.profile-save-button:hover,
.notify-form button:hover,
.contact-submit:hover:not(:disabled),
.btn-baja:hover,
.cookie-consent-accept:hover,
.venue-submit:hover,
.notify-teaser-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 110, 0, 0.38) !important;
  filter: brightness(1.1) !important;
}

/* Botón de cambiar idioma activo en tono anaranjado */
.language-button-active {
  background: var(--gold) !important;
  color: #040810 !important;
  transform: translateY(-1px) !important;
}

/* Títulos y subtítulos degradados premium */
.padle-subtitle {
  background: linear-gradient(180deg, #ffffff 0%, var(--gold) 60%, var(--gold-deep) 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  /* Solución al corte del interrogante: añadir padding lateral */
  padding: 0.1rem 0.4rem !important;
  display: inline-block !important;
}

/* Quitar recuadro tosco azul oscuro y aplicar difuminado glassmorphism premium */
body[data-active-game="padle"] .game-column,
body[data-active-game] .ranking-panel,
body[data-active-game] .racket-stage,
body[data-active-game] .memory-panel,
body[data-active-game] .reflex-stage,
body[data-active-game] .venue-photo-card,
body[data-active-game] .venue-answer {
  background: rgba(8, 14, 27, 0.58) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36) !important;
}

/* Evitar que los bordes decorativos molestos tomen colores extraños */
body[data-active-game="padle"] .game-column::before,
body[data-active-game] .racket-stage::before,
body[data-active-game] .memory-panel::before,
body[data-active-game] .reflex-stage::before,
body[data-active-game] .ranking-panel::before {
  background:
    linear-gradient(90deg, var(--gold), var(--cyan), transparent 34%) top left / 42% 1px no-repeat,
    linear-gradient(270deg, var(--cyan), var(--gold), transparent 34%) top right / 42% 1px no-repeat,
    linear-gradient(180deg, var(--gold), transparent 30%) top left / 1px 32% no-repeat,
    linear-gradient(180deg, var(--cyan), transparent 30%) top right / 1px 32% no-repeat !important;
}

/* ─── ACCIONES DE CABECERA Y BOTONES GLOBALES ─── */
.game-actions-slot {
  position: fixed;
  right: clamp(0.72rem, 2vw, 1.2rem);
  top: max(0.72rem, env(safe-area-inset-top));
  z-index: 120;
}
.game-actions-slot .header-actions {
  justify-content: flex-end;
}
.header-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-width: 0;
  width: 100%;
}
.header-actions,
.header-actions button,
.header-actions a,
.language-switch,
.language-button,
.header-share-button,
.profile-button,
.logout-button {
  pointer-events: auto;
  position: relative;
  touch-action: manipulation;
  z-index: 40;
}
.header-share-button,
.profile-button,
.logout-button,
.language-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}
.header-share-button {
  background: linear-gradient(135deg, rgb(20, 184, 166), rgb(253, 224, 71));
  border: 0;
  border-radius: 999px;
  color: rgb(8, 13, 25);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  min-height: 34px;
  max-width: 100%;
  overflow: visible;
  padding: 8px 11px;
  position: relative;
  text-align: center;
  white-space: nowrap;
  transition: filter 160ms ease, transform 160ms ease;
}
.profile-button,
.logout-button {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 140, 0, 0.28);
  border-radius: 999px;
  color: rgb(253, 230, 138);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.15;
  max-width: 100%;
  min-height: 34px;
  overflow: visible;
  padding: 8px 10px;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}
.logout-button {
  border-color: rgba(248, 113, 113, 0.34);
  color: rgb(254, 202, 202);
}
.header-share-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.language-switch:hover,
.profile-button:hover,
.logout-button:hover {
  box-shadow: 0 10px 22px rgba(255, 140, 0, 0.16);
  transform: translateY(-1px);
}
.profile-button:hover {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.56);
}
.logout-button:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.58);
}

/* Language Dropdown Styles (calcadas de main.css: este stylesheet carecía
   por completo de ellas, así que el botón de idioma se veía sin estilar —
   sin fondo de píldora, sin recorte de la bandera y con el menú mal
   posicionado — en todas las páginas que usan landing.css). */
.language-dropdown-container {
  position: relative;
  display: inline-block;
}

.language-dropdown-toggle {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  color: rgb(253, 230, 138);
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  min-height: 31px;
  transition: background 0.2s, border-color 0.2s;
  pointer-events: auto;
}

.language-dropdown-toggle:hover {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.56);
}

.active-lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.active-lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.language-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #070b16;
  border: 1px solid rgba(253, 224, 71, 0.25);
  border-radius: 12px;
  padding: 6px 0;
  width: 170px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  text-align: left;
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.language-dropdown-menu.hidden {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.lang-option {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.lang-option .lang-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #475569;
  display: inline-block;
  transition: background-color 0.2s, border-color 0.2s;
  background-color: transparent;
}

.lang-option:hover .lang-dot {
  border-color: #94a3b8;
}

.lang-option.active {
  color: #ffffff;
}

.lang-option.active .lang-dot {
  background: #a3e635;
  border-color: #a3e635;
  box-shadow: 0 0 8px rgba(163, 230, 53, 0.6);
}

.lang-option .lang-text {
  font-weight: 500;
}

.lang-option .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.lang-option .lang-flag img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Avatar circular del botón de perfil (misma copia que main.css, ausente
   aquí igual que el desplegable de idioma: sin esto el avatar del usuario
   se mostraba como una imagen suelta a tamaño natural, sin recortar). */
.profile-button--avatar {
  align-items: center;
  background: rgba(15, 23, 42, 0.72);
  border: 2px solid rgba(245, 158, 11, 0.55);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
  width: 38px;
  min-height: 38px;
}

.profile-button--avatar:hover {
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px) scale(1.04);
}

.profile-button--avatar:active {
  transform: translateY(0) scale(0.98);
}

.avatar-img {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.avatar-initials {
  color: rgb(253, 230, 138);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}

/* Modal de confirmación (cerrar sesión, etc.), también ausente aquí. */
.site-confirm-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 20000 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-confirm-overlay.confirm-visible {
  opacity: 1;
}

.confirm-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 28, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-confirm-overlay.confirm-visible .confirm-card {
  transform: scale(1);
}

.confirm-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  animation: confirmPulse 2s infinite ease-in-out;
}

@keyframes confirmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.confirm-title {
  color: #ffffff;
  margin: 0 0 0.6rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.confirm-message {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.confirm-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.confirm-btn-cancel,
.confirm-btn-action {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.confirm-btn-cancel {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  outline: none;
}

.confirm-btn-cancel:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.confirm-btn-action {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  outline: none;
}

.confirm-btn-action:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.confirm-btn-cancel:active,
.confirm-btn-action:active {
  transform: translateY(0);
}

.language-switch {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  padding: 3px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.language-button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgb(203, 213, 225);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  padding: 8px 10px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.language-button-active {
  background: var(--gold) !important;
  color: rgb(17, 24, 39) !important;
  transform: translateY(-1px) !important;
}

/* ─── MODAL DE AUTENTICACIÓN GLOBAL ─── */
.result-overlay {
  align-items: center;
  background: rgba(2, 6, 23, 0.46);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 320;
}
.result-overlay.hidden {
  display: none;
}

/* La tarjeta del modal (.result-alert) faltaba por completo aquí: solo
   estaba el fondo oscuro (.result-overlay), así que el aviso se veía como
   texto suelto flotando en mitad de la pantalla, sin caja, borde ni fondo. */
.result-alert {
  animation: resultIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 25, 0.98)),
    radial-gradient(circle at 92% 8%, rgba(253, 224, 71, 0.18), transparent 24%);
  border: 1px solid rgba(251, 191, 36, 0.36);
  border-radius: 8px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(245, 158, 11, 0.12);
  max-width: 360px;
  padding: 26px 22px 22px;
  position: relative;
  text-align: center;
  width: min(100%, 360px);
}

.result-alert h2 {
  color: rgb(255, 255, 255);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
}

.result-alert p {
  color: rgb(203, 213, 225);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

@keyframes resultIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-alert {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 25, 0.98)),
    radial-gradient(circle at 92% 8%, rgba(255, 140, 0, 0.18), transparent 24%);
  border: 1px solid rgba(255, 140, 0, 0.36);
  border-radius: 8px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(255, 140, 0, 0.12);
  max-height: min(82vh, 760px);
  max-width: 420px;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  width: min(100%, 420px);
}
.profile-alert h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  text-align: center;
}
.profile-alert p {
  color: rgb(203, 213, 225);
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0.5rem 0 1rem;
  text-align: center;
}
.auth-tabs {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0.75rem 0 1rem;
  padding: 4px;
}
.auth-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgb(203, 213, 225);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.12;
  min-height: 40px;
  padding: 0.65rem 0.5rem;
  white-space: normal;
}
.auth-tab-active {
  background: var(--gold) !important;
  color: rgb(17, 24, 39) !important;
}
.google-custom-button {
  align-items: center;
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71));
  border: 0;
  border-radius: 8px;
  color: rgb(17, 24, 39);
  cursor: pointer;
  display: flex;
  font-size: 0.94rem;
  font-weight: 950;
  gap: 0.6rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  transition: filter 180ms ease;
  width: 100%;
}
.google-custom-button:disabled {
  cursor: default;
  opacity: 0.6;
}
.google-custom-button:hover:not(:disabled) {
  filter: brightness(1.06);
}
.auth-divider {
  align-items: center;
  color: rgb(148, 163, 184);
  display: flex;
  font-size: 0.75rem;
  gap: 0.6rem;
  margin: 0.9rem 0;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  background: rgba(255, 255, 255, 0.14);
  content: "";
  flex: 1;
  height: 1px;
}
.auth-form {
  margin: 0;
}
.profile-alert label:not(.consent-row) {
  color: rgb(226, 232, 240);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0.8rem 0 0.35rem;
  text-align: left;
}
.profile-alert input[type="text"],
.profile-alert input[type="email"],
.profile-alert input[type="password"],
.profile-alert input:not([type]) {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgb(15, 23, 42);
  font-size: 1rem;
  outline: none;
  padding: 0.76rem 0.85rem;
  width: 100%;
}
.profile-save-button {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)) !important;
  border: 0;
  border-radius: 8px;
  color: rgb(17, 24, 39) !important;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 950;
  margin-top: 1.2rem;
  min-height: 46px;
  width: 100%;
  transition: filter 180ms ease, transform 180ms ease;
}
.profile-save-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.profile-status {
  color: rgb(248, 113, 113);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.85rem;
  text-align: center;
}
.alert-close-button {
  background: transparent;
  border: 0;
  color: rgb(148, 163, 184);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  transition: color 150ms ease;
}
.alert-close-button:hover {
  color: rgb(248, 250, 252);
}

.hidden { display: none !important; }

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ─── GARANTÍA DE MENÚS E IDENTIDAD DE BOTÓN IDÉNTICOS ─── */
.profile-alert {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 25, 0.98)),
    radial-gradient(circle at 92% 8%, rgba(255, 140, 0, 0.18), transparent 24%) !important;
  border: 1px solid rgba(255, 140, 0, 0.36) !important;
  border-radius: 8px !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(255, 140, 0, 0.12) !important;
  max-height: min(82vh, 760px) !important;
  max-width: 420px;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  width: min(100%, 420px);
}

.profile-save-button {
  background: linear-gradient(135deg, rgb(220, 80, 0), rgb(255, 140, 0)) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #040810 !important;
  cursor: pointer !important;
  font-size: 0.94rem !important;
  font-weight: 950 !important;
  margin-top: 1.2rem !important;
  min-height: 46px !important;
  width: 100% !important;
  transition: filter 180ms ease, transform 180ms ease !important;
}

.profile-save-button:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
}

/* ─── ESTILOS AVISO DE LOGIN CON BOTÓN REUTILIZADO ─── */
.contact-login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem;
}
/* contacto.js oculta este aviso con el atributo hidden cuando ya hay sesión
   iniciada. La regla de arriba fija display:flex con la misma prioridad que
   la del navegador para [hidden], así que sin esto ganaba siempre el CSS y
   el aviso se quedaba visible aunque el usuario estuviera logueado. */
.contact-login-card[hidden] {
  display: none !important;
}
.contact-login-card p {
  margin: 0;
}
.contact-login-card .profile-save-button {
  max-width: 240px;
  margin-top: 0.5rem;
}
.contact-login-fallback {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ─── GARANTÍA ABSOLUTA DE COLORES DE TABS Y MODALES IDÉNTICOS ─── */
.auth-tab-active {
  background: rgb(255, 140, 0) !important;
  color: rgb(17, 24, 39) !important;
}
.auth-tabs {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.auth-tab {
  color: rgb(203, 213, 225) !important;
}
.consent-row input {
  accent-color: rgb(255, 140, 0) !important;
}

/* ─── ENFOQUE TABS CON TEXTO NEGRO PURO AL SELECCIONAR ─── */
.auth-tab-active {
  background: rgb(255, 140, 0) !important;
  color: #000000 !important;
}
.auth-tab {
  background: transparent !important;
  color: rgb(203, 213, 225) !important;
}

/* ─── CORRECCIÓN ESPECIFICIDAD DE PESTAÑAS (NARANJA Y TEXTO NEGRO) ─── */
.auth-tab {
  background: transparent !important;
  color: rgb(203, 213, 225) !important;
}
.auth-tab.auth-tab-active {
  background: rgb(255, 140, 0) !important;
  color: #000000 !important;
}

/* ─── ESTILOS EXACTOS DE REGISTRO CONSENT-ROW Y TIPOGRAFÍA DE MODAL ─── */
.profile-alert, .profile-alert span, .profile-alert label, .profile-alert input, .profile-alert button {
  font-family: 'Inter', sans-serif !important;
}
.consent-row {
  align-items: flex-start !important;
  color: rgb(203, 213, 225) !important;
  display: flex !important;
  gap: 0.55rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0.95rem 0 !important;
  text-align: left !important;
}
.consent-row input {
  margin-top: 0.15rem !important;
  flex-shrink: 0 !important;
}

/* ─── CAMBIO A TONALIDAD AMARILLO DORADO PREMIUM ─── */
:root {
  --gold: rgb(253, 224, 71) !important;       /* Amarillo dorado brillante */
  --gold-deep: rgb(245, 158, 11) !important;   /* Amarillo dorado profundo/ámbar */
}

.primary-action, 
.profile-save-button, 
.notify-form button, 
.contact-submit, 
.btn-baja,
.cookie-consent-accept,
.venue-submit {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)) !important;
  color: #040810 !important;
  box-shadow: 0 4px 15px rgba(253, 224, 71, 0.2) !important;
}

.primary-action:hover, 
.profile-save-button:hover, 
.notify-form button:hover, 
.contact-submit:hover:not(:disabled), 
.btn-baja:hover,
.cookie-consent-accept:hover,
.venue-submit:hover {
  box-shadow: 0 6px 20px rgba(253, 224, 71, 0.35) !important;
}

.profile-alert {
  border: 1px solid rgba(253, 224, 71, 0.28) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(253, 224, 71, 0.08) !important;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(8, 13, 25, 0.98)),
    radial-gradient(circle at 92% 8%, rgba(253, 224, 71, 0.12), transparent 24%) !important;
}

.auth-tab.auth-tab-active {
  background: var(--gold) !important;
  color: #000000 !important;
}

.consent-row input {
  accent-color: var(--gold) !important;
}

/* Contenedor de controles de cabecera en PaDLE */
.padle-header-controls {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2.2rem !important;
  margin-top: 1.4rem !important;
  flex-wrap: wrap !important;
}
.padle-header-controls .padle-subtitle {
  margin: 0 !important;
}
.padle-header-controls .pair-instructions-button {
  margin-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   GAME-ENTRY "CÓMO SE JUEGA" BUTTON  –  professional ghost style
   ══════════════════════════════════════════════════════════════ */
.game-entry-how-to-play {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(253, 224, 71, 0.30);
  border-radius: 9px;
  color: rgb(253, 224, 71);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  letter-spacing: 0.04em;
  margin-top: 0.65rem;
  min-height: 40px;
  padding: 0.45rem 1.2rem;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: 100%;
}

.game-entry-how-to-play:hover {
  background: rgba(253, 224, 71, 0.10);
  border-color: rgba(253, 224, 71, 0.65);
  color: rgb(255, 235, 120);
  transform: translateY(-1px);
}

.game-entry-how-to-play:active {
  transform: translateY(1px) scale(0.99);
}

.game-entry-how-to-play:focus-visible {
  outline: 2px solid rgb(253, 224, 71);
  outline-offset: 2px;
}

.game-entry-how-icon {
  flex-shrink: 0;
  height: 1.1em;
  width: 1.1em;
}

/* ══════════════════════════════════════════════════════════════
   GAME HEADER LOGOS – definitivo, grande, centrado
   ══════════════════════════════════════════════════════════════ */
.game-header-logo {
  display: block !important;
  height: auto !important;
  margin: 0 auto -0.65rem auto !important;
  max-height: 290px !important;
  max-width: min(90vw, 560px) !important;
  width: min(90vw, 560px) !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.55)) !important;
}

/* Reset parent h1 constraints so they don't clip the image */
.padle-logo-wrap,
.racket-logo-wrap,
.venue-heading,
.memory-header h1,
.reflex-header h1 {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
}
/* ══════════════════════════════════════════════════════════════
   GAME-ENTRY GUEST NOTICE
   ══════════════════════════════════════════════════════════════ */
.game-entry-guest-notice {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgb(148, 163, 184);
  display: flex;
  font-size: 0.76rem;
  font-weight: 500;
  gap: 0.38rem;
  line-height: 1.45;
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  text-align: left;
  flex-wrap: wrap;
}

.game-entry-guest-notice.hidden {
  display: none !important;
}

.game-entry-guest-icon {
  flex-shrink: 0;
  height: 0.95em;
  margin-top: 0.12em;
  opacity: 0.7;
  width: 0.95em;
}

.game-entry-guest-text {
  flex: 1 1 0;
  min-width: 0;
}

.game-entry-guest-login {
  background: none;
  border: none;
  color: rgb(253, 224, 71);
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 140ms ease, opacity 140ms ease;
  white-space: nowrap;
}

.game-entry-guest-login:hover {
  color: rgb(255, 245, 150);
  opacity: 0.9;
}

.game-entry-guest-login:focus-visible {
  outline: 2px solid rgb(253, 224, 71);
  outline-offset: 2px;
  border-radius: 2px;
}


/* Reduce distance between logo/headers and the game board */
.venue-game, .racket-game, .memory-game, .reflex-game {
  gap: 0.35rem !important;
}

.padle-header {
  margin-bottom: 0.4rem !important;
}


/* ─── OVERRIDES DE LOGOS ESPECÍFICOS POR MINIJUEGO ─── */

/* 1. PaDLE */
.padle-logo-wrap .game-header-logo {
  max-width: 100% !important;
  width: 440px !important;
  height: auto !important;
  margin: 0 auto -0.3rem auto !important;
}
.padle-subtitle {
  margin: -0.2rem auto 0.6rem auto !important;
}
.padle-header {
  margin-bottom: 0.2rem !important;
}

/* 2. ParejLE */
.racket-logo-wrap .game-header-logo {
  max-height: 310px !important;
  max-width: min(92vw, 590px) !important;
  width: min(92vw, 590px) !important;
  margin-bottom: -0.9rem !important;
}

/* 3. GeoPadel */
.venue-heading .game-header-logo {
  max-width: 100% !important;
  width: 340px !important;
  height: auto !important;
  margin: 0 auto -1.2rem auto !important;
}
.venue-title-block {
  margin-bottom: -0.4rem !important;
}

/* 4. Golpe Perfecto */
.reflex-header .game-header-logo {
  max-height: 250px !important;
  max-width: min(88vw, 490px) !important;
  width: min(88vw, 490px) !important;
  margin-bottom: -0.4rem !important;
}

/* 5. MemoPadel */
.memory-header .game-header-logo {
  max-height: 290px !important;
  max-width: min(90vw, 560px) !important;
  width: min(90vw, 560px) !important;
  margin-bottom: -0.65rem !important;
}

/* Remove grey border card wrapper from GeoPadel form */
body[data-active-game] .venue-answer {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 1.1rem !important;
}




/* ═══════════════════════════════════════════════════════════════
   PANEL DE PERFIL DE USUARIO (.pp-*, .rp-toast) — calcado de
   main.css. Igual que el desplegable de idioma y el avatar del
   botón de perfil, este stylesheet carecía por completo del CSS
   del panel "Mi perfil" (profile-panel.js), así que al abrirlo
   en estas páginas se mostraba totalmente sin estilar.
   ═══════════════════════════════════════════════════════════════ */

/* =============================================
   PROFILE PANEL — OVERLAY & DRAWER
   ============================================= */

.pp-overlay {
  align-items: stretch;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  inset: 0;
  justify-content: flex-end;
  position: fixed;
  z-index: 450;
  transition: opacity 320ms ease;
  opacity: 1;
}

.pp-overlay.pp-hidden {
  display: none;
}

.pp-overlay:not(.pp-visible) {
  opacity: 0;
  pointer-events: none;
}

.pp-overlay.pp-visible {
  opacity: 1;
}

.pp-panel {
  background:
    linear-gradient(175deg, rgba(10, 16, 38, 0.98), rgba(5, 9, 26, 0.99)),
    radial-gradient(ellipse 80% 40% at 90% 5%, rgba(245, 158, 11, 0.1), transparent 60%);
  border-left: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 440px;
  outline: none;
  overflow: hidden;
  position: relative;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.pp-overlay.pp-visible .pp-panel {
  transform: translateX(0);
}

/* ─── Header ──────────────────────────────────── */

.pp-header {
  align-items: center;
  background: rgba(15, 23, 42, 0.55);
  border-bottom: 1px solid rgba(245, 158, 11, 0.14);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px;
}

.pp-header-avatar-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.pp-header-avatar {
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 48px;
}

.pp-header-info {
  min-width: 0;
}

.pp-title {
  color: rgb(248, 250, 252);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-subtitle {
  color: rgb(148, 163, 184);
  font-size: 0.76rem;
  font-weight: 700;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-close-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgb(148, 163, 184);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
  width: 34px;
}

.pp-close-btn:hover {
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.4);
  color: rgb(248, 113, 113);
  transform: scale(1.08);
}

/* ─── Tabs ────────────────────────────────────── */

.pp-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-shrink: 0;
  gap: 0;
  overflow-x: auto;
  padding: 0 4px;
  scrollbar-width: none;
}

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

.pp-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgb(100, 116, 139);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 0.64rem;
  font-weight: 900;
  gap: 3px;
  letter-spacing: 0.04em;
  min-width: 64px;
  padding: 10px 8px 8px;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.pp-tab svg {
  flex-shrink: 0;
}

.pp-tab:hover {
  color: rgb(203, 213, 225);
}

.pp-tab--active {
  border-bottom-color: rgb(245, 158, 11);
  color: rgb(253, 230, 138);
}

/* ─── Body / Sections ─────────────────────────── */

.pp-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  scrollbar-color: rgba(245, 158, 11, 0.25) transparent;
  scrollbar-width: thin;
}

.pp-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pp-section--hidden {
  display: none !important;
}

/* ─── Form elements ──────────────────────────── */

.pp-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.pp-field-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.pp-field-group--half {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
}

.pp-field-group--third {
  flex: 1 1 calc(33% - 7px);
  min-width: 0;
}

.pp-label {
  color: rgb(148, 163, 184);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.pp-input {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgb(226, 232, 240);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  padding: 10px 12px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.pp-input:focus {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.pp-input:disabled {
  color: rgb(71, 85, 105);
  cursor: not-allowed;
  opacity: 0.6;
}

.pp-textarea {
  resize: vertical;
  min-height: 74px;
}

.pp-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  padding-right: 30px;
}

.pp-char-count {
  color: rgb(71, 85, 105);
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 4px;
  text-align: right;
}

/* ─── Buttons ─────────────────────────────────── */

.pp-btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.pp-btn:active {
  transform: scale(0.98);
}

.pp-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pp-btn--primary {
  background: linear-gradient(135deg, rgb(245, 158, 11), rgb(253, 224, 71));
  color: rgb(17, 24, 39);
  margin-top: 8px;
}

.pp-btn--primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.pp-btn--secondary {
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.32);
  color: rgb(125, 211, 252);
}

.pp-btn--secondary:hover:not(:disabled) {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(14, 165, 233, 0.5);
}

.pp-btn--danger {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.36);
  color: rgb(251, 113, 133);
}

.pp-btn--danger:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.26);
}

.pp-btn--danger-outline {
  background: transparent;
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: rgb(252, 165, 165);
}

.pp-btn--danger-outline:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(248, 113, 113, 0.55);
}

/* ─── Status messages ─────────────────────────── */

.pp-status {
  color: rgb(52, 211, 153);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 8px 0 2px;
  min-height: 18px;
  overflow-wrap: anywhere;
}

/* ─── Info cards (read-only data) ─────────────── */

.pp-info-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.pp-info-label {
  color: rgb(100, 116, 139);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pp-info-value {
  color: rgb(226, 232, 240);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ─── Warning banner ──────────────────────────── */

.pp-warning-banner {
  align-items: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 8px;
  color: rgb(253, 230, 138);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
}

/* ─── Password eye toggle ─────────────────────── */

.pp-pwd-wrap {
  position: relative;
}

.pp-pwd-wrap .pp-input {
  padding-right: 42px;
}

.pp-eye-btn {
  align-items: center;
  background: none;
  border: none;
  color: rgb(100, 116, 139);
  cursor: pointer;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0 10px;
  position: absolute;
  right: 0;
  top: 0;
  transition: color 160ms ease;
}

.pp-eye-btn::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  height: 18px;
  width: 18px;
}

.pp-eye-btn--open::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.pp-eye-btn:hover::after {
  filter: brightness(1.5);
}

/* ─── Toggle switches (Preferences) ──────────── */

.pp-toggle-group {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  overflow: hidden;
}

.pp-toggle-row {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.pp-toggle-row:last-child {
  border-bottom: 0;
}

.pp-toggle-label {
  color: rgb(203, 213, 225);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.pp-toggle-switch {
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.pp-toggle-switch input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.pp-toggle-track {
  background: rgba(71, 85, 105, 0.5);
  border-radius: 999px;
  display: block;
  height: 22px;
  position: relative;
  transition: background-color 200ms ease;
  width: 40px;
}

.pp-toggle-track::after {
  background: rgb(203, 213, 225);
  border-radius: 50%;
  content: "";
  height: 16px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 200ms ease, background-color 200ms ease;
  width: 16px;
}

.pp-toggle-switch input:checked + .pp-toggle-track {
  background: rgba(245, 158, 11, 0.75);
}

.pp-toggle-switch input:checked + .pp-toggle-track::after {
  background: rgb(253, 224, 71);
  transform: translateX(18px);
}

/* ─── Image section ───────────────────────────── */

.pp-avatar-preview-wrap {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 20px;
}

.pp-avatar-preview {
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 50%;
  display: flex;
  height: 96px;
  justify-content: center;
  overflow: hidden;
  width: 96px;
}

/* Mientras se recorta la imagen: contenedor grande, sin recortar el
   contenido, para que Cropper.js tenga sitio para mover/hacer zoom. */
.pp-avatar-preview.pp-avatar-preview--cropping {
  border-radius: 12px;
  height: auto;
  max-width: 100%;
  overflow: visible;
  width: min(360px, 100%);
}

.pp-avatar-preview--cropping .cropper-view-box,
.pp-avatar-preview--cropping .cropper-face {
  border-radius: 50%;
}

.pp-avatar-preview-label {
  color: rgb(100, 116, 139);
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.pp-avatar-initials-lg {
  color: rgb(253, 230, 138);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.pp-avatar-img {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pp-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.pp-file-input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
  z-index: -1;
}

/* ─── Account section ─────────────────────────── */

.pp-logout-btn {
  margin-bottom: 16px;
}

.pp-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

.pp-delete-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-delete-warning {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 8px;
  color: rgb(252, 165, 165);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
}

.pp-legal-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 20px;
  padding-bottom: 4px;
}

.pp-legal-link {
  color: rgb(71, 85, 105);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: underline;
  transition: color 160ms ease;
}

.pp-legal-link:hover {
  color: rgb(148, 163, 184);
}

/* ─── Toast notification ──────────────────────── */

.rp-toast {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 10px;
  bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: rgb(226, 232, 240);
  font-size: 0.86rem;
  font-weight: 700;
  left: 50%;
  max-width: min(90vw, 380px);
  opacity: 0;
  padding: 12px 18px;
  position: fixed;
  transform: translateX(-50%) translateY(12px);
  transition:
    opacity 340ms ease,
    transform 340ms ease;
  z-index: 9999;
}

.rp-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rp-toast--success {
  border-color: rgba(52, 211, 153, 0.4);
  color: rgb(110, 231, 183);
}

.rp-toast--error {
  border-color: rgba(248, 113, 113, 0.4);
  color: rgb(252, 165, 165);
}

/* ─── Responsive ──────────────────────────────── */

@media (max-width: 480px) {
  .pp-panel {
    max-width: 100%;
  }

  .pp-header {
    padding: 12px 14px;
  }

  .pp-body {
    padding: 16px 14px;
  }

  .pp-field-row {
    flex-direction: column;
  }

  .pp-field-group--half,
  .pp-field-group--third {
    flex: 1 1 100%;
  }

  .pp-tabs {
    padding: 0;
  }

  .pp-tab {
    font-size: 0.58rem;
    min-width: 54px;
    padding: 8px 6px 6px;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .pp-panel {
    max-width: 100%;
  }
}

/* Clases que sustituyen a los antiguos atributos style="" inline en
   site-actions.js (menú de idioma, modal de acceso) — necesarias para poder
   quitar 'unsafe-inline' de style-src en la CSP. */
.icon-block {
  display: block;
}

.no-underline {
  text-decoration: none;
}

.dropdown-arrow {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.lang-option-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

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

.auth-password-wrapper {
  display: block;
  position: relative;
  width: 100%;
}

.auth-password-input {
  padding-right: 2.5rem;
  width: 100%;
}

.auth-toggle-password {
  align-items: center;
  background: none;
  border: 0;
  color: rgb(148, 163, 184);
  cursor: pointer;
  display: flex;
  padding: 0;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.auth-forgot-link {
  color: rgb(148, 163, 184);
  display: block;
  font-size: 0.8rem;
  margin-top: 1rem;
  text-align: center;
  text-decoration: none;
}

.auth-forgot-link--primary {
  color: rgb(253, 230, 138);
  text-decoration: underline;
}

.auth-step-title {
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.auth-step-desc {
  color: rgb(148, 163, 184);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.profile-alert .auth-hint {
  color: rgb(100, 116, 139);
  font-size: 0.68rem;
  line-height: 1.3;
  margin: -0.5rem 0 0.9rem;
}

.auth-code-input {
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  text-align: center;
}
