/* ==========================================================
   GLASSMORPHISM GLOBAL STYLES & UTILITIES
   ========================================================== */

:root {
  /* ================== SOLID COLORS (PRINCIPALES) ================== */
  --color-black: rgb(0, 0, 1); /* fondos */
  --color-red: rgb(242, 51, 51); /* error */
  --color-purple: rgb(180, 29, 216); /* secundario */
  --color-violet: rgb(116, 99, 214); /* primario */
  --color-blue: rgb(33, 146, 212); /* info */
  --color-olive: rgb(124, 160, 11); /* success */
  --color-orange: rgb(224, 134, 43); /* warning */

  /* RGB PARA OPACIDADES (background: rgba(var(--color-*-rgb), opacidad)) */
  --color-black-rgb: 0, 0, 1;
  --color-red-rgb: 242, 51, 51;
  --color-purple-rgb: 180, 29, 216;
  --color-violet-rgb: 116, 99, 214;
  --color-blue-rgb: 33, 146, 212;
  --color-olive-rgb: 124, 160, 11;
  --color-orange-rgb: 224, 134, 43;

  /* ================== CONTAINERS ================== */
  --glass-bg: rgba(22, 24, 29, 0.75); /*FONDO DE LOS CONTENEDORES*/
  --glass-border: rgba(255, 255, 255, 0.08); /*BORDE DE LOS CONTENEDORES*/
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4); /*SOMBRA DE LOS CONTENEDORES*/

  /* ================== GRADIENTS (SECUNDARIOS) ================== */
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-violet),
    var(--color-purple)
  ); /*PRIMARIO*/
  --gradient-secondary: linear-gradient(
    135deg,
    var(--color-purple),
    #f233d2
  ); /*SEGUNDARIO*/
  --gradient-info: linear-gradient(135deg, var(--color-blue), #60efff); /*INFO*/
  --gradient-success: linear-gradient(
    135deg,
    var(--color-olive),
    #a3e635
  ); /*SUCCESS*/
  --gradient-warning: linear-gradient(
    45deg,
    var(--color-orange),
    #ffb84d
  ); /*WARNING*/
  --gradient-error: linear-gradient(45deg, var(--color-red), #ff0033); /*ERROR*/
}

/* ==========================================================
   SOLID COLOR UTILITIES
   ========================================================== */

/* TEXTS */
.text-black {
  color: var(--color-black) !important;
}
.text-red {
  color: var(--color-red) !important;
}
.text-purple {
  color: var(--color-purple) !important;
}
.text-violet {
  color: var(--color-violet) !important;
}
.text-primary-solid {
  color: var(--color-violet) !important;
}
.text-blue {
  color: var(--color-blue) !important;
}
.text-olive {
  color: var(--color-olive) !important;
}
.text-success-solid {
  color: var(--color-olive) !important;
}
.text-orange {
  color: var(--color-orange) !important;
}

/* BACKGROUNDS */
.bg-black {
  background-color: var(--color-black) !important;
}
.bg-red {
  background-color: var(--color-red) !important;
}
.bg-purple {
  background-color: var(--color-purple) !important;
}
.bg-violet {
  background-color: var(--color-violet) !important;
}
.bg-primary-solid {
  background-color: var(--color-violet) !important;
}
.bg-blue {
  background-color: var(--color-blue) !important;
}
.bg-olive {
  background-color: var(--color-olive) !important;
}
.bg-success-solid {
  background-color: var(--color-olive) !important;
}
.bg-orange {
  background-color: var(--color-orange) !important;
}

/* BACKGROUNDS GLASS (Translucent based on solid colors) */
.bg-glass-black {
  background-color: rgba(var(--color-black-rgb), 0.2);
  border: 1px solid rgba(var(--color-black-rgb), 0.1);
  color: white;
}
.bg-glass-red {
  background-color: rgba(var(--color-red-rgb), 0.1);
  border: 1px solid rgba(var(--color-red-rgb), 0.2);
}
.bg-glass-purple {
  background-color: rgba(var(--color-purple-rgb), 0.1);
  border: 1px solid rgba(var(--color-purple-rgb), 0.2);
}
.bg-glass-violet {
  background-color: rgba(var(--color-violet-rgb), 0.1);
  border: 1px solid rgba(var(--color-violet-rgb), 0.2);
}
.bg-glass-blue {
  background-color: rgba(var(--color-blue-rgb), 0.05);
  border: 1px solid rgba(var(--color-blue-rgb), 0.15);
}
.bg-glass-olive {
  background-color: rgba(var(--color-olive-rgb), 0.1);
  border: 1px solid rgba(var(--color-olive-rgb), 0.2);
}
.bg-glass-orange {
  background-color: rgba(var(--color-orange-rgb), 0.1);
  border: 1px solid rgba(var(--color-orange-rgb), 0.2);
}
.bg-glass-white {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* BORDERS */
.border-black {
  border: 1px solid var(--color-black) !important;
}
.border-red {
  border: 1px solid var(--color-red) !important;
}
.border-purple {
  border: 1px solid var(--color-purple) !important;
}
.border-violet {
  border: 1px solid var(--color-violet) !important;
}
.border-primary-solid {
  border: 1px solid var(--color-violet) !important;
}
.border-blue {
  border: 1px solid var(--color-blue) !important;
}
.border-olive {
  border: 1px solid var(--color-olive) !important;
}
.border-success-solid {
  border: 1px solid var(--color-olive) !important;
}
.border-orange {
  border: 1px solid var(--color-orange) !important;
}

/* ==========================================================
   SOLID BUTTONS
   ========================================================== */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  color: white;
}
.btn-solid:hover {
  transform: translateY(-2px);
  color: white;
}

.btn-solid-primary,
.btn-solid-violet {
  background: var(--color-violet);
  box-shadow: 0 4px 15px rgba(116, 99, 214, 0.3);
}
.btn-solid-primary:hover,
.btn-solid-violet:hover {
  background: rgb(96, 79, 194);
  box-shadow: 0 8px 25px rgba(116, 99, 214, 0.5);
}

.btn-solid-secondary,
.btn-solid-purple {
  background: var(--color-purple);
  box-shadow: 0 4px 15px rgba(180, 29, 216, 0.3);
}
.btn-solid-secondary:hover,
.btn-solid-purple:hover {
  background: rgb(160, 9, 196);
  box-shadow: 0 8px 25px rgba(180, 29, 216, 0.5);
}

.btn-solid-info,
.btn-solid-blue {
  background: var(--color-blue);
  box-shadow: 0 4px 15px rgba(33, 146, 212, 0.3);
}
.btn-solid-info:hover,
.btn-solid-blue:hover {
  background: rgb(13, 126, 192);
  box-shadow: 0 8px 25px rgba(33, 146, 212, 0.5);
}

.btn-solid-success,
.btn-solid-olive {
  background: var(--color-olive);
  box-shadow: 0 4px 15px rgba(124, 160, 11, 0.3);
}
.btn-solid-success:hover,
.btn-solid-olive:hover {
  background: rgb(104, 140, 0);
  box-shadow: 0 8px 25px rgba(124, 160, 11, 0.5);
}

.btn-solid-warning,
.btn-solid-orange {
  background: var(--color-orange);
  box-shadow: 0 4px 15px rgba(224, 134, 43, 0.3);
}
.btn-solid-warning:hover,
.btn-solid-orange:hover {
  background: rgb(204, 114, 23);
  box-shadow: 0 8px 25px rgba(224, 134, 43, 0.5);
}

.btn-solid-error,
.btn-solid-red {
  background: var(--color-red);
  box-shadow: 0 4px 15px rgba(242, 51, 51, 0.3);
}
.btn-solid-error:hover,
.btn-solid-red:hover {
  background: rgb(222, 31, 31);
  box-shadow: 0 8px 25px rgba(242, 51, 51, 0.5);
}

.btn-solid-black {
  background: var(--color-black);
  box-shadow: 0 4px 15px rgba(0, 0, 1, 0.3);
}
.btn-solid-black:hover {
  background: rgb(20, 20, 21);
  box-shadow: 0 8px 25px rgba(0, 0, 1, 0.5);
}

/* ==========================================================
   SOLID CARDS
   ========================================================== */
.card-solid {
  border-radius: 24px;
  padding: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}
.card-solid:hover {
  transform: translateY(-4px);
}
.card-solid-primary,
.card-solid-violet {
  background: var(--color-violet);
  box-shadow: 0 8px 32px rgba(116, 99, 214, 0.3);
}
.card-solid-secondary,
.card-solid-purple {
  background: var(--color-purple);
  box-shadow: 0 8px 32px rgba(180, 29, 216, 0.3);
}
.card-solid-info,
.card-solid-blue {
  background: var(--color-blue);
  box-shadow: 0 8px 32px rgba(33, 146, 212, 0.3);
}
.card-solid-success,
.card-solid-olive {
  background: var(--color-olive);
  box-shadow: 0 8px 32px rgba(124, 160, 11, 0.3);
}
.card-solid-warning,
.card-solid-orange {
  background: var(--color-orange);
  box-shadow: 0 8px 32px rgba(224, 134, 43, 0.3);
}
.card-solid-error,
.card-solid-red {
  background: var(--color-red);
  box-shadow: 0 8px 32px rgba(242, 51, 51, 0.3);
}
.card-solid-black {
  background: var(--color-black);
  box-shadow: 0 8px 32px rgba(0, 0, 1, 0.3);
}

/* UTILS: SOMBRAS TEXTO */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.text-shadow-sm {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ANIMACIONES */
.hover-scale:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ── Feedback ── */
.reg-feedback {
  font-size: 0.75rem;
  padding-left: 2px;
  margin-top: 0.18rem;
  min-height: 1rem;
  transition: all 0.2s;
}

.reg-feedback.ok {
  color: var(--color-olive);
}

.reg-feedback.err {
  color: var(--color-red);
}

.reg-feedback.info {
  color: var(--color-blue);
}

/* Password toggle */
.reg-toggle-pass {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
  z-index: 2;
}

.reg-toggle-pass:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Password strength */
.reg-strength-bar {
  height: 3px;
  border-radius: 3px;
  margin-top: 0.3rem;
  background: var(--glass-border);
  overflow: hidden;
}

.reg-strength-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition:
    width 0.4s ease,
    background 0.4s ease;
}

/* ── Inputs ── */
.reg-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.reg-group {
  position: relative;
  margin-bottom: 0.75rem;
}

.reg-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  display: block;
}

.reg-input-wrap {
  position: relative;
}

.reg-input-wrap .fi {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
  pointer-events: none;
  z-index: 2;
  transition: color 0.25s;
}

.reg-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid var(--glass-border) !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 0.7rem 1rem 0.7rem 2.4rem !important;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}

.reg-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.reg-input:focus {
  background: rgba(var(--color-violet-rgb), 0.07) !important;
  border-color: rgba(var(--color-violet-rgb), 0.55) !important;
  box-shadow: 0 0 0 3px rgba(var(--color-violet-rgb), 0.1) !important;
  color: #fff !important;
}

.reg-input-wrap:focus-within .fi {
  color: var(--color-violet);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes recordPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 146, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(33, 146, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(33, 146, 212, 0);
  }
}
.new-record-glow {
  animation: recordPulse 2s infinite;
  border-color: rgba(33, 146, 212, 0.4);
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(121, 82, 179, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(121, 82, 179, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(121, 82, 179, 0.5);
  }
}

@keyframes gradientGlow {
  0% {
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(242, 51, 210, 0.4);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 25px rgba(242, 51, 210, 0.8);
  }
}

@keyframes scoreUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.score-update {
  animation: scoreUpdate 0.3s ease-in-out;
}

@keyframes newBest {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.new-record {
  animation: newBest 0.8s ease-in-out;
  box-shadow: 0 0 12px rgba(33, 146, 212, 0.8) !important;
}

/* UTILIDADES GLASS TEXT */
.text-glass-primary {
  color: var(--color-violet) !important;
}
.text-glass-secondary {
  color: var(--color-purple) !important;
}
.text-glass-info {
  color: var(--color-blue) !important;
}
.text-glass-warning {
  color: var(--color-orange) !important;
}
.text-glass-error {
  color: var(--color-red) !important;
}
.text-glass-white {
  color: var(--color-white) !important;
}

/* REUSABLE GRADIENT BACKGROUNDS */
.bg-gradient-primary {
  background: var(--gradient-primary);
}
.bg-gradient-secondary {
  background: var(--gradient-secondary);
}
.bg-gradient-info {
  background: var(--gradient-info);
}
.bg-gradient-warning {
  background: var(--gradient-warning);
}
.bg-gradient-error {
  background: var(--gradient-error);
}
.bg-gradient-yellow {
  background: var(--gradient-warning); /* legacy */
}
.bg-gradient-purple {
  background: var(--gradient-primary); /* legacy */
}
.bg-gradient-blue {
  background: var(--gradient-info); /* legacy */
}

/* GLOBALES GLASS COMPONENTS */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* BOTONES GLASS */
.btn-glass-primary,
.btn-glass-secondary,
.btn-glass-info,
.btn-glass-warning,
.btn-glass-error,
.btn-glass-play {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Primario */
.btn-glass-primary,
.btn-glass-play {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 25px rgba(116, 99, 214, 0.3);
}
.btn-glass-primary:hover,
.btn-glass-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(116, 99, 214, 0.5);
  color: white !important;
}

/* Secundario */
.btn-glass-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 8px 25px rgba(180, 29, 216, 0.3);
}
.btn-glass-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(180, 29, 216, 0.5);
  color: white !important;
}

/* Info */
.btn-glass-info {
  background: var(--gradient-info);
  color: white;
  box-shadow: 0 8px 25px rgba(33, 146, 212, 0.3);
}
.btn-glass-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(33, 146, 212, 0.5);
  color: white !important;
}

/* Warning / Error / Cerrado (legacy) */
.btn-glass-warning {
  background: rgba(224, 134, 43, 0.1);
  border: 1px solid rgba(224, 134, 43, 0.3);
  color: var(--color-orange);
}
.btn-glass-warning:hover {
  background: rgba(224, 134, 43, 0.2);
}

.btn-glass-error,
.btn-glass-closed {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(242, 51, 51, 0.1);
  border: 1px solid rgba(242, 51, 51, 0.3);
  color: var(--color-red);
}
.btn-glass-error:hover,
.btn-glass-closed:hover {
  background: rgba(242, 51, 51, 0.2);
}

/* OUTLINE GLASS GLOBALS */
.btn-glass-outline-primary,
.btn-glass-participate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(116, 99, 214, 0.2);
  border: 1px solid var(--color-violet);
  color: white;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-glass-outline-primary:not(:disabled):hover,
.btn-glass-participate:not(:disabled):hover {
  background: var(--color-violet);
  box-shadow: 0 8px 25px rgba(116, 99, 214, 0.4);
  transform: translateY(-2px);
  color: white;
}

.btn-glass-outline-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(180, 29, 216, 0.2);
  border: 1px solid var(--color-purple);
  color: white;
}
.btn-glass-outline-secondary:hover {
  background: var(--color-purple);
  transform: translateY(-2px);
}

.btn-glass-outline-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(33, 146, 212, 0.2);
  border: 1px solid var(--color-blue);
  color: white;
}
.btn-glass-outline-blue:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
}

/* Entrenar button – cyan/teal, visually distinct from Crear (violet) and blue */
.btn-glass-outline-cyan {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 188, 212, 0.12);
  border: 1px solid #00bcd4;
  color: #00e5ff;
}
.btn-glass-outline-cyan:hover {
  background: rgba(0, 188, 212, 0.3);
  border-color: #00e5ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 188, 212, 0.35);
}

/* MISC GLOBALS */
.play-icon-glow {
  width: 24px;
  height: 24px;
  background: white;
  color: var(--color-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 0.7rem;
}

.no-scroll {
  overflow: hidden !important;
  height: 100vh;
}

/* CHALLENGE CARD LEGACY/SPECIFICS */
.challenge-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
}
.challenge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(116, 99, 214, 0.2);
  border-color: rgba(116, 99, 214, 0.3);
}

.card-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  opacity: 0.8;
}
.card-active .card-gradient-top {
  background: var(--gradient-primary);
}
.card-invited .card-gradient-top {
  background: var(--gradient-secondary);
  height: 4px;
  animation: gradientGlow 2s infinite alternate;
}
.card-invited {
  border-color: rgba(180, 29, 216, 0.55) !important;
  box-shadow:
    0 0 0 2px rgba(242, 51, 210, 0.25),
    0 12px 40px rgba(180, 29, 216, 0.25) !important;
  animation: invitedCardPulse 3s ease-in-out infinite;
}
@keyframes invitedCardPulse {
  0% {
    box-shadow:
      0 0 0 2px rgba(242, 51, 210, 0.2),
      0 12px 40px rgba(180, 29, 216, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(242, 51, 210, 0.45),
      0 16px 50px rgba(180, 29, 216, 0.4);
  }
  100% {
    box-shadow:
      0 0 0 2px rgba(242, 51, 210, 0.2),
      0 12px 40px rgba(180, 29, 216, 0.2);
  }
}

/* Banner de invitación dentro del card */
.invitation-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(180, 29, 216, 0.25),
    rgba(242, 51, 210, 0.18)
  );
  border: 1px solid rgba(242, 51, 210, 0.4);
  animation: invitationFadeIn 0.6s ease-out;
}
@keyframes invitationFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.invitation-icon {
  font-size: 1.1rem;
  color: #f233d2;
  filter: drop-shadow(0 0 6px rgba(242, 51, 210, 0.8));
  flex-shrink: 0;
}
.invitation-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f233d2, #b41dd8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-closed .card-gradient-top {
  background: rgba(242, 51, 51, 0.6);
}

.avatar-glass-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  position: relative;
}
.avatar-glass-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}
.challenge-card:hover .avatar-glass-wrapper::before {
  opacity: 1;
}
.game-avatar-glass {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.challenge-title {
  font-family: "Play", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.game-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(33, 146, 212, 0.15);
  color: var(--color-blue);
  border: 1px solid rgba(33, 146, 212, 0.3);
  font-weight: 700;
  white-space: nowrap;
}

.stats-glass-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px 16px;
}
.stat-glass-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.stat-glass-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: monospace;
}
.text-olive {
  color: var(--color-olive) !important;
}
.text-orange {
  color: var(--color-orange) !important;
}

.scores-glass-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.score-glass-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease;
}
.score-glass-row:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
}
.score-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #000;
  font-size: 0.8rem;
}
.score-value-bold {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: monospace;
  color: #fff;
}

.action-glass-wrapper {
  margin-top: auto;
}

.toolbar-glass-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.timer-icon-glow {
  color: var(--color-yellow);
  filter: drop-shadow(0 0 5px rgba(242, 202, 53, 0.6));
}
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.toolbar-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  cursor: pointer;
}
.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ── Responsive: Cards de challenges en mobile ── */
@media (max-width: 576px) {
  /* Stats grid: reduce padding y fuente en pantallas pequeñas */
  .stats-glass-grid {
    padding: 8px 10px;
  }
  .stat-label {
    font-size: 0.6rem;
  }
  .stat-value {
    font-size: 0.82rem;
  }

  /* Toolbar footer: wrap timer arriba, botones abajo */
  .toolbar-glass-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
  }
  .timer-glass {
    width: 100%;
    justify-content: center !important;
  }
  .toolbar-actions {
    width: 100%;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* Botones de toolbar: ligeramente más pequeños en mobile */
  .toolbar-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  /* Header del card: avatar + título */
  .avatar-glass-wrapper {
    width: 52px;
    height: 52px;
  }
  .challenge-title {
    font-size: 1.05rem;
  }

  /* Card padding reducido */
  .challenge-card .card-body {
    padding: 1rem !important;
  }
}

/* ESTILOS DE CONFIRMACION Y MODALES (LEGACY INTEGRADO) */
.confirmation-overlay {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10000;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}
.confirmation-overlay.active {
  opacity: 1;
}
.confirmation-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.confirmation-content {
  background: var(--glass-bg);
  border-radius: 24px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(116, 99, 214, 0.4);
  backdrop-filter: blur(10px);
}
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}
.confirmation-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.confirmation-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.2s ease;
}
.confirmation-list li:hover {
  transform: translateX(5px);
}
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn-confirm {
  background: var(--gradient-primary);
  color: white;
  border-radius: 16px;
  padding: 0.8rem 1.5rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-confirm:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
}
.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 16px;
  padding: 0.8rem 1.5rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================
   GAMER TOGGLE SWITCH
   ========================================================== */
.gamer-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: rgba(22, 24, 29, 0.6);
  padding: 12px 25px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.5),
    0 8px 15px rgba(0, 0, 0, 0.3);
  width: fit-content;
  margin: 0 auto;
}

.gamer-switch-label {
  font-family: "Play", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0;
}

.gamer-switch-label.active-public {
  color: var(--color-pink, #f233d2);
  text-shadow: 0 0 12px rgba(242, 51, 210, 0.8);
}

.gamer-switch-label.active-private {
  color: var(--color-purple, #b41dd8);
  text-shadow: 0 0 12px rgba(180, 29, 216, 0.8);
}

.gamer-switch-label.inactive {
  color: rgba(255, 255, 255, 0.3);
}

.gamer-toggle {
  position: relative;
  width: 70px;
  height: 34px;
  margin: 0;
}

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

.gamer-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(242, 51, 210, 0.15);
  border: 2px solid var(--color-pink, #f233d2);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 34px;
  box-shadow: 0 0 10px rgba(242, 51, 210, 0.3);
}

.gamer-slider:before {
  position: absolute;
  content: "\f11b";
  /* Gamepad icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  height: 26px;
  width: 26px;
  left: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, var(--color-pink, #f233d2), #ff5eb3);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-pink, #f233d2);
}

input:checked + .gamer-slider {
  background-color: rgba(180, 29, 216, 0.15);
  border-color: var(--color-purple, #b41dd8);
  box-shadow: 0 0 10px rgba(180, 29, 216, 0.3);
}

input:checked + .gamer-slider:before {
  transform: translateX(36px);
  background: linear-gradient(135deg, var(--color-purple, #b41dd8), #7463d6);
  box-shadow: 0 0 10px var(--color-purple, #b41dd8);
  content: "\f023";
  /* Lock icon */
}

/* ==========================================================
   HERO SECTION
   ========================================================== */

.hero-section {
  background: linear-gradient(180deg, #0a0b0e 0%, #16181b 50%, #212529 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background Effects */
.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 99, 214, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 99, 214, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: heroGlowPulse 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(116, 99, 214, 0.3);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(180, 29, 216, 0.25);
  top: 50%;
  right: -10%;
  animation-delay: 3s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(33, 146, 212, 0.2);
  bottom: -5%;
  left: 30%;
  animation-delay: 5s;
}

@keyframes heroGlowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--color-violet);
  border-radius: 50%;
  left: var(--x);
  top: var(--y);
  opacity: 0;
  animation: particleFloat 6s ease-in-out var(--delay) infinite;
  box-shadow: 0 0 6px var(--color-violet);
}

@keyframes particleFloat {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  25% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-30px);
  }
  75% {
    opacity: 0.7;
  }
}

/* Min height helper */
.min-vh-85 {
  min-height: 85vh;
}

/* Badge */
.hero-badge {
  background: rgba(116, 99, 214, 0.15);
  border: 1px solid rgba(116, 99, 214, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.75rem;
  color: var(--color-violet);
  letter-spacing: 2px;
  gap: 10px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-olive);
  border-radius: 50%;
  display: inline-block;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--color-olive);
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Headline */
.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: white;
  line-height: 1.05;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(116, 99, 214, 0.4));
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* CTA Buttons */
.hero-btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  box-shadow:
    0 0 20px rgba(116, 99, 214, 0.4),
    0 0 60px rgba(116, 99, 214, 0.1);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 30px rgba(116, 99, 214, 0.6),
    0 0 80px rgba(116, 99, 214, 0.2);
  color: white;
}

.hero-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: white;
}

/* Floating Leaderboard Card */
.hero-floating-card {
  max-width: 420px;
  width: 100%;
  animation: heroCardFloat 6s ease-in-out infinite;
  perspective: 1000px;
}

@keyframes heroCardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-card-inner {
  background: rgba(22, 24, 29, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(116, 99, 214, 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(116, 99, 214, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Live badge */
.hero-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 51, 51, 0.15);
  border: 1px solid rgba(242, 51, 51, 0.3);
  color: var(--color-red);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: monospace;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
  animation: badgePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--color-red);
}

/* Podium */
.hero-podium {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-podium-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-podium-entry:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.hero-podium-gold {
  border-left: 3px solid #ffd700;
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.hero-podium-silver {
  border-left: 3px solid #c0c0c0;
}

.hero-podium-bronze {
  border-left: 3px solid #cd7f32;
}

.hero-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
  gap: 2px;
}

.hero-rank-number {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-weight: 700;
}

.hero-player {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.hero-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-score-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
}

.hero-prize-amount {
  font-weight: 800;
  font-size: 1rem;
  font-family: monospace;
}

/* Stats Bar */
.hero-stat-card {
  background: rgba(22, 24, 29, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px 16px;
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  border-color: rgba(116, 99, 214, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-stat-icon {
  font-size: 1.4rem;
  color: var(--color-violet);
}

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  font-family: monospace;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: monospace;
}

/* HERO RESPONSIVE */
@media (max-width: 991.98px) {
  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-floating-card {
    max-width: 360px;
    animation: none;
  }

  .hero-glow-1 {
    width: 300px;
    height: 300px;
  }

  .hero-glow-2 {
    width: 250px;
    height: 250px;
  }

  .hero-glow-3 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-card-inner {
    padding: 20px;
  }

  .hero-podium-entry {
    padding: 10px 12px;
    gap: 10px;
  }

  .hero-stat-card {
    padding: 16px 10px;
  }

  .hero-stat-number {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }
}

/* ==========================================================
   SOMOS SECTION - Steps
   ========================================================== */

.somos-step-number {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(116, 99, 214, 0.15);
  border: 1px solid rgba(116, 99, 214, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: monospace;
  color: var(--color-violet);
  transition: all 0.3s ease;
}

.somos-step {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.somos-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(116, 99, 214, 0.15);
  transform: translateX(8px);
}

.somos-step:hover .somos-step-number {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(116, 99, 214, 0.3);
}

/* ==========================================================
   DINAMICA SECTION - Cards
   ========================================================== */

.dinamica-card {
  background: rgba(22, 24, 29, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dinamica-card:hover {
  transform: translateY(-8px);
  border-color: rgba(116, 99, 214, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(116, 99, 214, 0.08);
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */

.faq-item {
  background: rgba(22, 24, 29, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(116, 99, 214, 0.15);
  background: rgba(22, 24, 29, 0.7);
}

.faq-button {
  background: transparent;
  border: none;
  color: white;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-button:hover {
  color: var(--color-violet);
}

.faq-icon {
  color: var(--color-violet);
  font-size: 1rem;
  opacity: 0.6;
}

.faq-chevron {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.faq-button:not(.collapsed) .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-violet);
}

.faq-button:not(.collapsed) {
  color: var(--color-violet);
}

.faq-body {
  padding: 0 24px 20px 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
  margin-left: 42px;
}

/* ==========================================================
   CTA FINAL SECTION
   ========================================================== */

.cta-card {
  background: rgba(22, 24, 29, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(116, 99, 214, 0.15);
  border-radius: 32px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(116, 99, 214, 0.05);
}

/* ==========================================================
   SECTIONS RESPONSIVE
   ========================================================== */

@media (max-width: 991.98px) {
  .dinamica-card {
    border-radius: 24px;
  }

  .somos-step {
    padding: 16px;
  }
}

@media (max-width: 575.98px) {
  .somos-step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .somos-step {
    padding: 14px;
    gap: 14px !important;
  }

  .faq-button {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .faq-body {
    margin-left: 0;
    padding: 0 18px 16px;
  }

  .cta-card {
    border-radius: 24px;
  }
}

/* ==========================================================
   SITE FOOTER
   ========================================================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Social Icons */
.footer-social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-social-icon:hover {
  background: rgba(116, 99, 214, 0.15);
  border-color: rgba(116, 99, 214, 0.3);
  color: var(--color-violet);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(116, 99, 214, 0.15);
}

/* Headings */
.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6) !important;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-violet);
  border-radius: 2px;
}

/* Links */
.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-violet);
  transform: translateX(4px);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* FOOTER RESPONSIVE */
@media (max-width: 575.98px) {
  .footer-social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .footer-heading {
    margin-top: 8px;
  }
}

.mr-2 {
  margin-left: 2rem;
}
