:root {
  --rx-bg-950: #14091f;
  --rx-bg-900: #231137;
  --rx-violet-800: #4c1d85;
  --rx-violet-700: #6d28d9;
  --rx-violet-600: #7c3aed;
  --rx-violet-500: #8b5cf6;
  --rx-violet-300: #c4b5fd;
  --rx-violet-200: #ddd6fe;
  --rx-text: #f8f5ff;
  --rx-muted: #d5caee;
  --rx-glass: rgba(34, 18, 52, 0.62);
  --rx-border: rgba(196, 181, 253, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Rajdhani", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, 0.27), transparent 30%),
    radial-gradient(circle at 92% 82%, rgba(91, 33, 182, 0.32), transparent 34%),
    linear-gradient(160deg, var(--rx-bg-950), var(--rx-bg-900));
  color: var(--rx-text);
  margin: 0;
  overflow-x: hidden;
}

.landing-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.landing-orb.one {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -70px;
  background: #8b5cf6;
  animation: floaty 8s ease-in-out infinite;
}

.landing-orb.two {
  width: 300px;
  height: 300px;
  bottom: -90px;
  right: -60px;
  background: #6d28d9;
  animation: floaty 10s ease-in-out infinite reverse;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(20, 9, 31, 0.78);
  border-bottom: 1px solid rgba(196, 181, 253, 0.24);
}

.brand-mark {
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
  font-size: 1.45rem;
  color: #f4ecff;
}

.btn-lux {
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  border: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.btn-lux:hover,
.btn-lux:active,
.btn-lux:focus-visible {
  background: linear-gradient(90deg, #6d28d9, #5b21b6);
  color: #fff;
}

.btn-outline-lux {
  border: 1px solid var(--rx-violet-300);
  color: #e9ddff;
  background: transparent;
}

.btn-outline-lux:hover,
.btn-outline-lux:active,
.btn-outline-lux:focus-visible {
  border-color: #e9ddff;
  background: #e9ddff;
  color: #24123c;
}

.landing-main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(196, 181, 253, 0.35);
  color: #efe5ff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.hero-title {
  margin: 14px 0 10px;
  font-family: "Cinzel", serif;
  line-height: 1.08;
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  color: #fcf8ff;
  text-shadow: 0 6px 24px rgba(113, 43, 204, 0.38);
}

.hero-sub {
  margin: 0 0 22px;
  max-width: 620px;
  color: var(--rx-muted);
  font-size: 1.14rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.convite-status {
  color: #f0d9b0;
  font-size: 0.95rem;
}

.convite-status.ok {
  color: #bbf7d0;
}

.hero-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--rx-glass);
  border: 1px solid var(--rx-border);
  box-shadow: 0 18px 40px rgba(7, 3, 12, 0.34);
}

.jackpot {
  font-family: "Cinzel", serif;
  margin: 0;
  font-size: clamp(1.8rem, 4.8vw, 2.8rem);
  color: #f5eeff;
  animation: pulseGlow 2.1s ease-in-out infinite;
}

.hero-card p {
  margin-top: 4px;
  margin-bottom: 12px;
  color: #d8cdf2;
}

.odds-board {
  display: grid;
  gap: 10px;
}

.odd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.25);
  background: rgba(50, 25, 74, 0.66);
}

.odd-row strong {
  color: #f6f0ff;
  letter-spacing: 0.3px;
}

.odd-row span {
  color: #ccb8ff;
}

.metrics {
  margin-top: 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  border-radius: 16px;
  background: rgba(40, 20, 63, 0.75);
  border: 1px solid rgba(196, 181, 253, 0.25);
  padding: 14px 16px;
}

.metric-card .label {
  color: #cdbbe8;
  font-size: 0.9rem;
}

.metric-card .value {
  margin-top: 4px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.mascot-section {
  margin-top: 24px;
}

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

.mascot-card {
  border-radius: 18px;
  background: rgba(42, 21, 64, 0.76);
  border: 1px solid rgba(196, 181, 253, 0.27);
  padding: 14px;
}

.mascot-card h3 {
  margin: 12px 0 4px;
  font-size: 1.2rem;
}

.mascot-card p {
  margin: 0;
  color: #cbbbe8;
}

.mascot-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.24);
}

.mascot-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.24);
  display: block;
}

.mascot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  cursor: pointer;
}

.mascot-media .mascot-image,
.mascot-media .mascot-video {
  border: 0;
  border-radius: 0;
}

.mascot-media.is-playing .mascot-video {
  opacity: 1;
  pointer-events: auto;
}

.mascot-media.is-playing .mascot-image {
  opacity: 0;
}

.section-title {
  margin: 40px 0 14px;
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  border-radius: 16px;
  background: rgba(43, 22, 66, 0.7);
  border: 1px solid rgba(196, 181, 253, 0.25);
  padding: 18px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.22rem;
}

.feature-card p {
  margin: 0;
  color: #ccbfe6;
  line-height: 1.35;
}

.steps {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  border-radius: 16px;
  background: rgba(34, 18, 52, 0.82);
  border: 1px solid rgba(196, 181, 253, 0.26);
  padding: 16px;
}

.step-card .num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #7c3aed;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card h4 {
  margin: 0 0 5px;
}

.step-card p {
  margin: 0;
  color: #ccbfe6;
}

.cta-band {
  margin-top: 42px;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(109, 40, 217, 0.8), rgba(56, 20, 97, 0.95)),
    radial-gradient(circle at right top, rgba(221, 214, 254, 0.35), transparent 44%);
  border: 1px solid rgba(196, 181, 253, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-band h3 {
  margin: 0;
  font-family: "Cinzel", serif;
}

.cta-band p {
  margin: 4px 0 0;
  color: #eee8ff;
}

.landing-footer {
  margin-top: 44px;
  padding: 18px 0 30px;
  color: #bdaeda;
  border-top: 1px solid rgba(196, 181, 253, 0.18);
}

.landing-footer a {
  color: #e6ddff;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 5, 18, 0.72);
  backdrop-filter: blur(2px);
}

.modal-content {
  background: #1f1031;
  color: #f6f0ff;
  border: 1px solid rgba(196, 181, 253, 0.35);
}

.modal-content .form-control {
  background: rgba(245, 237, 255, 0.96);
  border: 1px solid #d7c8ff;
}

.audio-permission-modal {
  border: 1px solid rgba(196, 181, 253, 0.5);
}

.audio-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(196, 181, 253, 0.45);
}

.audio-permission-actions .btn {
  min-width: 130px;
}

#toggleSenhaBtn,
#toggleSenhaBtn:hover,
#toggleSenhaBtn:active,
#toggleSenhaBtn:focus-visible {
  background: #fff;
  color: #4c1d85;
  border: 1px solid #d7c8ff;
  border-left: 0;
}

#toggleSenhaBtn:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15);
}

.text-soft {
  color: #cdbde9;
}

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 0 rgba(190, 138, 255, 0.2);
  }
  50% {
    text-shadow: 0 0 18px rgba(190, 138, 255, 0.55);
  }
  100% {
    text-shadow: 0 0 0 rgba(190, 138, 255, 0.2);
  }
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .feature-grid,
  .steps,
  .mascot-grid {
    grid-template-columns: 1fr;
  }
}
