:root {
  --bg-main: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111729;
  --yellow-ve: #ffd600;
  --blue-ve: #004b87;
  --red-ve: #e53935;
  --text-main: #f7f7ff;
  --text-muted: #a5b1d8;
  --border-subtle: rgba(165, 177, 216, 0.2);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #102a43 0, #050816 55%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  scroll-margin-top: 5rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      135deg,
      rgba(9, 11, 25, 0.97),
      rgba(8, 12, 30, 0.9)
    )
    border-box;
  border-bottom: 1px solid rgba(165, 177, 216, 0.18);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__logo {
  height: 44px;
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 44px;
  width: auto;
}

.navbar__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.navbar__title {
  font-size: 1rem;
  font-weight: 600;
}

.navbar__subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.navbar__menu a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform 0.12s ease-out;
}

.navbar__menu a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(165, 177, 216, 0.4);
  transform: translateY(-1px);
}

.navbar__cta {
  background: linear-gradient(
      135deg,
      var(--yellow-ve),
      #ffb300,
      var(--red-ve)
    )
    padding-box;
  color: #050816 !important;
  font-weight: 600;
  padding-inline: 1.2rem;
  box-shadow: var(--shadow-subtle);
}

.navbar__toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(165, 177, 216, 0.4);
  background: rgba(5, 8, 22, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.navbar__toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #f7f7ff;
}

/* HERO */

.hero {
  position: relative;
  padding: 3.75rem 0 3.5rem;
  overflow: hidden;
}

.hero__bg-blur {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.9;
  z-index: -1;
}

.hero__bg-blur--1 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.3), transparent);
  top: -40px;
  left: -40px;
}

.hero__bg-blur--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(60, 100, 255, 0.25), transparent);
  bottom: -40px;
  right: -40px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 75, 135, 0.12);
  color: var(--yellow-ve);
  font-size: 0.75rem;
  border: 1px solid rgba(0, 75, 135, 0.5);
  margin-bottom: 1rem;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 0 6px rgba(0, 230, 118, 0.25);
}

.hero h1 {
  font-size: clamp(2.25rem, 3.2vw + 1rem, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
}

.hero__highlight {
  background: linear-gradient(120deg, var(--yellow-ve), #ffb300, var(--red-ve));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--yellow-ve),
    #ffb300,
    var(--red-ve)
  );
  color: #050816;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.btn--ghost {
  background: rgba(11, 16, 32, 0.85);
  border-color: rgba(165, 177, 216, 0.45);
  color: var(--text-main);
}

.btn--ghost:hover {
  background: rgba(15, 20, 45, 0.95);
}

.btn--big {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--text-muted);
}

.hero__trust-number {
  font-weight: 600;
  color: var(--text-main);
}

.hero__card {
  background: radial-gradient(circle at top left, #14213d 0, #050816 50%);
  border-radius: 26px;
  border: 1px solid rgba(165, 177, 216, 0.2);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 214, 0, 0.16),
    transparent 55%
  );
  opacity: 0.8;
  pointer-events: none;
}

.ticket {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, #0b1020, #151a30);
  border: 1px solid rgba(165, 177, 216, 0.4);
  padding: 1rem 1rem 0.85rem;
  margin-bottom: 0.9rem;
}

.ticket__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.ticket__title {
  font-size: 0.82rem;
  font-weight: 600;
}

.ticket__date {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ticket__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(165, 177, 216, 0.4);
}

.ticket__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.ticket__row--numbers {
  align-items: flex-start;
}

.ticket__label {
  color: var(--text-muted);
}

.ticket__value {
  font-weight: 500;
}

.ticket__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ticket__numbers span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 177, 216, 0.35);
}

.ticket__status {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.ticket__status--success {
  background: rgba(0, 200, 83, 0.16);
  color: #00e676;
  border: 1px solid rgba(0, 200, 83, 0.55);
}

.ticket__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ticket__id {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.7rem;
  color: var(--yellow-ve);
}

.hero__note {
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(7, 10, 25, 0.9);
  border: 1px solid rgba(165, 177, 216, 0.25);
}

.hero__note span {
  color: var(--text-main);
}

/* SECTION BASE */

.section {
  padding: 3rem 0;
}

.section--alt {
  background: radial-gradient(circle at top, #111729 0, #050816 55%);
}

.section__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.section__header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
}

.section__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.step {
  background: rgba(9, 12, 28, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(165, 177, 216, 0.3);
  padding: 1.2rem 1.1rem 1.2rem;
  box-shadow: var(--shadow-subtle);
}

.step__number {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: radial-gradient(circle, var(--yellow-ve), var(--red-ve));
  display: grid;
  place-items: center;
  color: #050816;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CARDS / BENEFICIOS */

.card {
  background: rgba(9, 12, 28, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(165, 177, 216, 0.3);
  padding: 1.3rem 1.15rem 1.2rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card__list li {
  font-size: 0.86rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.1rem;
}

.card__list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--yellow-ve);
}

/* TESTIMONIOS */

.testimonial {
  background: rgba(9, 12, 28, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(165, 177, 216, 0.3);
  padding: 1.2rem 1.1rem 1.15rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testimonial__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.testimonial__name {
  font-weight: 600;
}

.testimonial__tag {
  color: var(--text-muted);
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 720px;
  margin-inline: auto;
}

.faq__item {
  background: rgba(9, 12, 28, 0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(165, 177, 216, 0.35);
  padding: 0.75rem 0.9rem;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.faq__item[open] summary {
  color: var(--yellow-ve);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* CTA FINAL */

.section--cta {
  background: radial-gradient(circle at top, #1b2845 0, #050816 52%);
}

.section--cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.section--cta__text h2 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
}

.section--cta__text p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
}

.cta__list li::before {
  content: "✓ ";
  color: #00e676;
}

.cta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 177, 216, 0.35);
}

.badge--light {
  background: rgba(9, 12, 28, 0.9);
}

.section--cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.cta__note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(165, 177, 216, 0.25);
  background: #050816;
  padding: 1.6rem 0 1.8rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer__logo {
  height: 26px;
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 26px;
  width: auto;
}

.footer__name {
  color: var(--text-main);
  font-weight: 500;
}

.footer__text {
  margin: 0;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.footer__meta a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.8rem;
}

/* DESKTOP */

@media (min-width: 1024px) {
  .hero {
    padding: 4.5rem 0 4.1rem;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero__subtitle {
    font-size: 1.02rem;
  }

  .hero__badge {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }

  .btn--big {
    padding: 1.05rem 2.2rem;
    font-size: 1.05rem;
  }

  .hero__trust {
    font-size: 0.85rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section__header h2 {
    font-size: 1.9rem;
  }

  .section__header p {
    font-size: 1rem;
  }

  .steps {
    gap: 1.7rem;
  }

  .grid--3 {
    gap: 1.7rem;
  }

  .step,
  .card,
  .testimonial {
    padding: 1.5rem 1.4rem 1.4rem;
  }

  .step h3,
  .card h3 {
    font-size: 1.1rem;
  }

  .card p,
  .testimonial__text {
    font-size: 0.98rem;
  }

  .card__list li,
  .testimonial__meta,
  .faq__item summary,
  .faq__item p {
    font-size: 0.92rem;
  }

  .faq__item {
    padding: 0.9rem 1.1rem;
  }

  .cta__list,
  .cta__note {
    font-size: 0.9rem;
  }

  .footer__inner {
    font-size: 0.82rem;
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    order: -1;
  }

  .section--cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--3,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.75rem, 640px);
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.6rem 1rem 0.9rem;
    margin-top: 0.4rem;
    background: rgba(5, 8, 22, 0.98);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(165, 177, 216, 0.25);
  }

  .navbar__menu a {
    width: 100%;
  }

  .navbar__menu--open {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__subtitle {
    max-width: none;
  }

  .hero__card {
    margin-top: 0.5rem;
  }

  .grid--3,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .section__header {
    text-align: left;
  }

  .faq {
    margin-inline: 0;
  }

  .footer__inner {
    gap: 0.8rem;
  }
}


.loteria {
  margin: 1.4rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.loteria h2 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.sorteos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sorteo {
  background: linear-gradient(145deg, #0b1020, #151a30);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sorteo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.sorteo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 0.6rem;
  display: block;
}

.numero {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow-ve);
}

.animal {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.hora {
  background: rgba(0, 200, 83, 0.16);
  color: #7cf17b;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 0.4rem;
  border: 1px solid rgba(124, 241, 123, 0.4);
}

.fecha {
  background: linear-gradient(
    135deg,
    #001a2e,
    var(--blue-ve),
    #005fa3
  );
  color: var(--text-main);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 75, 135, 0.4);
}

.fecha h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

#loading {
  text-align: center;
  padding: 1.25rem 1rem;
  display: none;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.06);
  border-top: 4px solid var(--yellow-ve);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 0.75rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.9);
  border: 1px solid rgba(165, 177, 216, 0.25);
  margin-top: 1rem;
}

.tabs__tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tabs__tab--active {
  background: linear-gradient(
    135deg,
    var(--yellow-ve),
    #ffb300,
    var(--red-ve)
  );
  color: #050816;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.tabs__panel {
  display: none;
}

.tabs__panel--active {
  display: block;
  margin-top: 1.5rem;
}

.tabs__panel {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* FILTROS / DROPDOWNS */
.panel-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.filter-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-select {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast);
  min-width: 200px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a5b1d8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.filter-select:hover {
  border-color: rgba(165, 177, 216, 0.4);
  background-color: rgba(17, 23, 41, 0.8);
}

.filter-select:focus {
  outline: none;
  border-color: var(--yellow-ve);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

.filter-select option {
  background: var(--bg-soft);
  color: var(--text-main);
  padding: 0.5rem;
}

.filter-date {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast);
  min-width: 200px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.filter-date:hover {
  border-color: rgba(165, 177, 216, 0.4);
  background-color: rgba(17, 23, 41, 0.8);
}

.filter-date:focus {
  outline: none;
  border-color: var(--yellow-ve);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

/* Estilos para el calendario nativo del input date */
.filter-date::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

.filter-date::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Para Firefox */
.filter-date::-moz-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

.filter-date::-moz-calendar-picker-indicator:hover {
  opacity: 1;
}

/* RESPONSIVE: Móviles */
@media (max-width: 768px) {
  .panel-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .filter-label {
    width: 100%;
  }

  .filter-select {
    min-width: 0;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* RESPONSIVE: Tablets pequeñas */
@media (max-width: 480px) {
  .filter-select {
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    padding-right: 2.5rem;
  }

  .filter-label {
    font-size: 0.85rem;
  }
}
