:root {
  --bg-color: #020617;
  /* Más celeste y un toque “blanco” en el glow */
  --bg-gradient:
    radial-gradient(900px 420px at 50% 0%, rgba(125,211,252,0.14) 0%, rgba(125,211,252,0.00) 60%),
    radial-gradient(700px 360px at 20% 18%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.00) 62%),
    radial-gradient(700px 360px at 80% 22%, rgba(125,211,252,0.06) 0%, rgba(125,211,252,0.00) 62%),
  linear-gradient(180deg, #030a1a 0%, #020617 55%, #020617 100%);
  --card-bg: rgba(8, 12, 20, 0.92);
  --card-border: rgba(255,255,255,0.10);
  --text-main: rgba(255,255,255,0.92);
  --text-muted: rgba(255,255,255,0.62);

  --accent: #7dd3fc;              /* celeste */
  --accent-soft: rgba(125,211,252,0.42);

  --radius-xl: 18px;
  --transition-fast: 0.2s ease-out;
  --shadow-strong: 0 0 38px rgba(125,211,252,0.55);

  --nav-height: 72px;
  --max-width: 1200px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}


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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-family);
  background: var(--bg-gradient);
  color: var(--text-main);
}

body {
  display: flex;
  flex-direction: column;
}

/* NAV */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), transparent);
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #e5e7eb;
  text-decoration: none;
  cursor: pointer;
}

/* Logo: solo imagen, sin borde ni filtro */
.site-nav__logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.site-nav__brand span {
  opacity: 0.95;
}

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
}

.site-nav__link {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
  cursor: pointer;
  text-decoration: none;
  color: #e5e7eb;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--transition-fast), opacity var(--transition-fast),
    border-color var(--transition-fast);
}

.site-nav__link:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.7);
}

/* LAYOUT GENERAL */

.page {
  padding-top: var(--nav-height);
  flex: 1;                     /* ← CLAVE */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 40px 16px 80px;
}

/* HERO HOME */

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero__title {
  font-size: 2.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero__summary {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 0 26px var(--accent-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.hero-pill__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, var(--accent), #020617);
}

.hero-pill__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-pill__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.hero-pill__amount {
  font-weight: 700;
}

/* GRID DE SITES (HOME y LISTA) */

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.site-card-link {
  text-decoration: none;
  color: inherit;
}

.site-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 18px 18px 16px;
  box-shadow: 0 0 24px var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    background var(--transition-fast);
  min-height: 260px;              /* <- MISMA ALTURA MÍNIMA PARA TODAS */
  justify-content: space-between; /* reparte contenido arriba/abajo */
}

.site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.98);
}

.site-card__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  margin-bottom: 4px;
}

.site-card__logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-card__logo-img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* info */

.site-card__info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-card__info-code {
  letter-spacing: 0.12em;
}

.site-card__info-code span {
  color: #e5e7eb;
  font-weight: 600;
}

/* descripción: un punto azul por línea */

.site-card__desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.site-card__desc-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.site-card__dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-soft);
}

/* Ajustes Dragon88: actions + prize */
.site-card__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.site-card__info-line--prize{
  margin-top: -6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-card__prizeValue{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 0.02em;
}


/* botón */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  border: none;
  outline: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0f172a);
  box-shadow: 0 0 20px var(--accent-soft);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* FOOTER SOCIALS */

.socials {
  text-align: center;
  margin-top: 20px;
}

.socials__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.socials__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-pill {
  min-width: 150px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    box-shadow var(--transition-fast);
}

.social-pill:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.social-pill__icon {
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(148, 163, 184, 0.65);
  border-radius: 999px;
  padding: 4px;
}

.social-pill__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* LEADERBOARD PAGE */

.lb-hero {
  text-align: center;
  margin-bottom: 34px;
}

.lb-hero__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.lb-hero__title {
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.lb-hero__description {
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 22px;
}

.lb-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* top nav para todas las leaderboards en la parte superior */

.lb-top-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.lb-top-nav__item {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  cursor: pointer;
  text-decoration: none;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast),
    opacity var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lb-top-nav__item--active {
  border-color: rgba(56, 189, 248, 0.9);
  opacity: 1;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
  background: rgba(15, 23, 42, 0.98);
}

/* icono dentro de la pill de leaderboard (similar al de la home) */
.lb-top-nav__icon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, var(--accent), #020617);
  flex-shrink: 0;
}

.lb-top-nav__icon img {
  width: 18px;     /* tamaño fijo para todos los logos */
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

/* top 3 cards */

/* disposición tipo podio (1º centrado, 2º izq, 3º dcha) */
.lb-top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  justify-items: center;
  gap: 24px;
  margin-bottom: 42px;
  position: relative;
}

.lb-top-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 18px 16px 16px;
  text-align: center;
  box-shadow: 0 0 22px var(--accent-soft);
  width: 100%;
  max-width: 240px;
  transition: transform 0.2s ease-in-out;
}

/* 1º (oro) más alto y centrado */
.lb-top-card:nth-child(1) {
  order: 2;
  transform: translateY(-20px);
  border-color: gold;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* 2º (plata) a la izquierda */
.lb-top-card:nth-child(2) {
  order: 1;
  border-color: silver;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
}

/* 3º (bronce) a la derecha */
.lb-top-card:nth-child(3) {
  order: 3;
  border-color: #cd7f32;
  box-shadow: 0 0 20px rgba(205, 127, 50, 0.6);
}

.lb-top-card__avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 1);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  overflow: hidden;
}

.lb-top-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-top-card__name {
  margin-bottom: 4px;
  font-weight: 600;
}

.lb-top-card__wagered-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 3px;
}

.lb-top-card__wagered-amount {
  font-weight: 700;
  margin-bottom: 6px;
}

.lb-top-card__reward {
  font-size: 0.9rem;
  font-weight: 700;
}

/* countdown */

.lb-countdown {
  text-align: center;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 18px;
}

/* tabla resto de leaderboard */

.lb-table-wrap {
  background: rgba(15, 23, 42, 0.97);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 24px var(--accent-soft);
  overflow: hidden;
}

.lb-table-header,
.lb-table-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px 160px;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.76rem;
}

.lb-table-header {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.98);
}

/* separadores y alternancia sutil */
.lb-table-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lb-table-row:nth-child(even) {
  background: rgba(15, 23, 42, 0.96);
}

.lb-table-row:nth-child(odd) {
  background: rgba(20, 30, 50, 0.98);
}

.lb-table-place {
  color: var(--accent);
  font-weight: 600;
}

/* LISTA DE LEADERBOARDS ( /leaderboards ) */

.lb-list-title {
  text-align: center;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero__title {
    font-size: 1.7rem;
  }

  .lb-hero__title {
    font-size: 1.5rem;
  }

  .lb-table-header,
  .lb-table-row {
    grid-template-columns: 60px 1fr 120px 140px;
    font-size: 0.7rem;
  }

  /* Ajuste podio en tablet/móvil mediano */
  .lb-top3 {
    gap: 16px;
  }
  .lb-top-card:nth-child(1) {
    transform: translateY(-12px);
  }
}

@media (max-width: 600px) {
  .lb-table-header,
  .lb-table-row {
    grid-template-columns: 52px 1.2fr 0.9fr 0.9fr; /* Place | User | Wagered | Reward */
    font-size: 0.68rem;
  }

  /* Ajuste podio en móvil */
  .lb-top-card {
    max-width: 200px;
  }
  .lb-top-card:nth-child(1) {
    transform: translateY(-8px);
  }
}
/* Igualar altura de todas las cards manteniendo su anchura */
.available-leaderboards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 40px;
  align-items: stretch; /* <- hace que todas tengan la altura de la mayor */
}

.available-leaderboard-card {
  height: 100%;
}

/* Footer socials tweak */
.footer-socials{
  margin-top: 0;
}
.footer-socials .socials__title{
  margin-top: 0;
  opacity: .9;
}
/* ============================
   Dragon88 – Home layout fixes
   ============================ */

/* 1) Caja de Chips más pequeña (≈ 1/3 del ancho) y centrada */
#site-grid{
  display: flex !important;
  justify-content: center !important;
}

#site-grid .site-card{
  width: min(440px, 33vw) !important;   /* ~1/3 pantalla en desktop */
  max-width: 440px !important;
  margin: 0 auto !important;
}

@media (max-width: 900px){
  #site-grid .site-card{
    width: 100% !important;            /* en móvil/tablet que ocupe bien */
    max-width: 720px !important;
  }
}

/* 2) Stream Stats: recuperar formato (grid + tipografía) */
.stats-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 900px){
  .stats-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .stats-grid{ grid-template-columns: 1fr; }
}

.stat{
  background: rgba(8, 12, 20, 0.78);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 0 22px rgba(125,211,252,0.10);
}

.stat__label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 6px;
}

.stat__value{
  font-size: 28px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

/* 3) YouTube: hacerlo grande y con aspecto 16:9 */
.youtube-embed{
  width: 100% !important;
  max-width: 980px;        /* más grande */
  margin: 14px auto 0 auto;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8, 12, 20, 0.78);
  box-shadow: 0 0 26px rgba(125,211,252,0.14);
}

.youtube-embed iframe{
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* 4) Footer: centrar el bloque */
.rg{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px;
  text-align: center;
  margin-top: 18px;
}

.rg__text{
  text-align: center;
}

@media (max-width: 640px){
  .rg{
    flex-direction: column;
  }
}

/* --- Home tweaks requested --- */

/* Botones de la card centrados */
#site-grid .site-card__actions{
  justify-content: center !important;
}

/* Responsible Gambling: layout en columna */
.rg{
  flex-direction: column !important;
  gap: 10px !important;
}

/* Título Responsible Gambling más destacado (celeste) */
.rg__title{
  color: var(--accent) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: 0.02em;
}

/* ============================
   Kick floating live indicator
   ============================ */

.kick-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(8, 12, 20, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 22px rgba(0,0,0,0.35);

  color: rgba(255,255,255,0.9);
  text-decoration: none;

  transition: transform 0.15s ease-out, border-color 0.15s ease-out;
}

.kick-float:hover{
  transform: translateY(-2px);
  border-color: rgba(125,211,252,0.35);
}

.kick-float__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  box-shadow: none;
}

.kick-float__text{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* estados */
.kick-float--loading .kick-float__dot{
  background: rgba(125,211,252,0.6);
  box-shadow: 0 0 0 0 rgba(125,211,252,0.0);
  animation: kickPulse 1.1s infinite ease-in-out;
}

.kick-float--live .kick-float__dot{
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.14);
}

.kick-float--offline .kick-float__dot{
  background: rgba(255,255,255,0.35);
  box-shadow: none;
}

@keyframes kickPulse{
  0%{ box-shadow: 0 0 0 0 rgba(125,211,252,0.25); }
  70%{ box-shadow: 0 0 0 8px rgba(125,211,252,0.0); }
  100%{ box-shadow: 0 0 0 0 rgba(125,211,252,0.0); }
}

/* ============================
   Footer decorative rules
   ============================ */

.footer-rule{
  width: min(760px, 92%);
  height: 1px;
  margin: 18px auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.0),
    rgba(125, 211, 252, 0.28),
    rgba(125, 211, 252, 0.0)
  );
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.10);
  opacity: 0.95;
}

body[data-page="leaderboards"] .page-inner{
  padding-bottom: 24px; /* antes era 80px */
}

body[data-page="leaderboards"] .site-footer{
  margin-top: 0;
}
/* /leaderboards: cards a ~1/3 y centradas */
body[data-page="leaderboards"] .available-leaderboards-grid{
  grid-template-columns: 1fr !important;
  justify-items: center;
}

body[data-page="leaderboards"] .available-leaderboard-card{
  width: min(440px, 33vw) !important;
  max-width: 440px !important;
}

@media (max-width: 900px){
  body[data-page="leaderboards"] .available-leaderboard-card{
    width: 100% !important;
    max-width: 720px !important;
  }
}

/* Sticky footer inteligente */
.site-footer {
  margin-top: auto;
}

/* ============================
   Sticky footer real (fix)
   ============================ */

/* Asegura que el viewport cuenta como altura mínima */
html, body { height: 100%; }
body { min-height: 100vh; }

/* El main debe poder “estirar” para empujar el footer */
.page{
  flex: 1 0 auto !important;
  min-height: 0 !important; /* evita que reglas previas rompan el cálculo */
}

/* El footer se va al fondo si sobra espacio, y si no, queda tras el contenido */
.site-footer{
  margin-top: auto !important;
}

/* Leaderboards: mantiene el sticky footer PERO sin tanto aire debajo */
body[data-page="leaderboards"] .page-inner{
  padding-bottom: 24px !important;
}
/* Fondo más “pro”, sin mancha central */
body{
  position: relative;
  overflow-x: hidden;
}

/* Vignette suave para oscurecer bordes */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.80) 100%);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

/* Unifica el look del footer para que no “cante” el fondo detrás */
.site-footer{
  background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.70) 35%, rgba(2,6,23,0.92) 100%);
  backdrop-filter: blur(6px);
}

/* ============================
   Rewards + Admin Panel
   ============================ */

.panel{
  background: rgba(8, 12, 20, 0.78);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 18px 18px 16px;
  box-shadow: 0 0 22px rgba(125,211,252,0.10);
}

.panel__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel__title{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewards-hero{
  margin-bottom: 24px;
}

.rewards-lead{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rewards-lead--muted{
  color: var(--text-muted);
}

.rewards-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.reward-card{
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px 16px 14px;
  box-shadow: 0 0 24px var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reward-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reward-card__site{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.reward-card__site-logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.25);
  padding: 6px;
}

.reward-card__site-name{
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reward-card__badge{
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(15,23,42,0.92);
  padding: 6px 10px;
  border-radius: 999px;
}

.reward-card__name{
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

.reward-card__desc{
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.reward-card__meta{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.reward-card__expires{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reward-card__expires-label{
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.reward-card__expires-date{
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.86);
}

.reward-card__countdown{
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.reward-card__countdown--expired{
  color: rgba(148,163,184,0.8);
}

.reward-card__actions{
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

/* Admin panel forms */
.admin-wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

@media (max-width: 900px){
  .admin-wrap{ grid-template-columns: 1fr; }
}

.admin-table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.admin-table th,
.admin-table td{
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 8px;
  font-size: 0.82rem;
  vertical-align: top;
}

.admin-table th{
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.admin-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field label{
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea{
  background: rgba(15, 23, 42, 0.92);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(148,163,184,0.35);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  font-family: var(--font-family);
  font-size: 0.9rem;
}

.field textarea{
  min-height: 110px;
  resize: vertical;
  line-height: 1.45;
}

.helper{
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}


/* ============================
   Admin Panel – login alignment
   ============================ */

/* The login panel used .admin-wrap grid (2 cols) which breaks alignment. */
#login-panel.admin-wrap{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#login-panel .field{
  max-width: 720px;
}

#login-panel .table-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#login-panel .helper{
  opacity: .85;
}
