:root {
  --color-pure-black: #000000;
  --color-surface-one: #212121;
  --color-surface-two: #292929;
  --color-surface-three: #333333;
  --color-paper-white: #ffffff;
  --color-fog: #e5e7eb;
  --color-mist: #f5f5f5;
  --color-mid-gray: #999999;
  --color-steel: #737373;
  --color-graphite: #666666;
  --color-slate: #525252;
  --color-charcoal: #404040;
  --color-electric-blue: #0075ff;
  --color-alore-lav: #A88FF2;
  --font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html,
body,
#__next,
main {
  background-color: var(--color-pure-black);
  color: var(--color-paper-white);
  font-family: var(--font-inter);
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  scroll-behavior: smooth;
}

/* Keyboard Accessibility Focus Ring */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0075ff !important;
  outline-offset: 2px !important;
}

/* Respect Reduced Motion Accessibility Preference */
@media (prefers-reduced-motion: reduce) {
  .alore-marquee-row-1,
  .alore-marquee-row-2,
  .alore-capabilities-track {
    animation: none !important;
  }
}

/* Remove floating fake cursors ("Katie", "Mike", "James"), top resources dropdown panel, and footer bottom copyright text */
.-QNyRa_wrapper > div.absolute,
.uTTz1q_resourcesPanel,
.uTTz1q_resourcesBackdrop,
.jSnrDW_terms {
  display: none !important;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (INDEX + CATALOG)
   ========================================================================== */
.alore-mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  background: #141416;
  border-bottom: 1px solid rgba(229, 231, 235, 0.12);
  padding: 20px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.alore-mobile-menu.open {
  display: flex;
}

.alore-mobile-menu a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.08);
}

.alore-mobile-menu a:last-child {
  border-bottom: none;
}

.alore-mobile-menu .alore-mob-cta {
  margin-top: 6px;
  background: #0075ff;
  color: #ffffff;
  text-align: center;
  border-radius: 100px;
  padding: 12px 18px;
  border-bottom: none;
}

/* ==========================================================================
   OFFICIAL ALORE BRAND LOGO (a[✦]lore with #A88FF2 Sparkle Square)
   ========================================================================== */
.alore-official-brand {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', var(--font-inter);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
  user-select: none;
}

.alore-official-brand .alore-star-box {
  width: 19px;
  height: 19px;
  border-radius: 4.5px;
  background: linear-gradient(145deg, #BBA6F9 0%, #9A7EEF 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2.5px;
  box-shadow: 0 0 14px rgba(168, 143, 242, 0.55);
  transform: translateY(1px);
}

/* ==========================================================================
   ZERO-LAG GPU OPTIMIZATIONS & REMOVE DOUBLE-DARKENING ON WORKFLOW CARDS
   ========================================================================== */
.workflow-card-gradient-mask-default {
  display: none !important;
}

[class*="backdrop-blur"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ==========================================================================
   FIX HERO HEADLINE, ALIGNMENT & BUTTONS (MORPHIC DESIGN SYSTEM)
   ========================================================================== */
button,
a button {
  white-space: nowrap !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.alore-hero-section {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 56px !important;
  padding-top: 132px !important;
  padding-bottom: 68px !important;
}

.alore-hero-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.alore-hero-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 36px !important;
  max-width: 100% !important;
  padding: 0 14px 0 6px !important;
  border-radius: 100px !important;
  background: #212121 !important;
  border: 1px solid rgba(229, 231, 235, 0.12) !important;
  color: #d4d4d8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.14px !important;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

.alore-hero-pill:hover {
  background: #292929 !important;
  border-color: rgba(229, 231, 235, 0.22) !important;
}

.alore-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0075ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  line-height: 1.1;
  flex-shrink: 0;
}

.alore-hero-pill-text {
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-title {
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1.09 !important;
  letter-spacing: -2.8px !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.hero-title p {
  display: block !important;
  color: #999999 !important;
  opacity: 1 !important;
  margin: 2px 0 0 0 !important;
  white-space: nowrap !important;
}

.hero-right-col {
  width: 392px !important;
  min-width: 360px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 20px !important;
  padding: 0 0 4px 0 !important;
}

.hero-subtitle {
  max-width: 392px !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: -0.14px !important;
  color: #999999 !important;
  margin: 0 !important;
}

.alore-hero-cta-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.alore-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 100px !important;
  background: #0075ff !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.14px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: opacity 0.15s ease !important;
}

.alore-btn-primary:hover {
  opacity: 0.9 !important;
}

.alore-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 100px !important;
  background: #292929 !important;
  border: 1px solid rgba(229, 231, 235, 0.12) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.14px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
}

.alore-btn-secondary:hover {
  background: #333333 !important;
}

@media (max-width: 960px) {
  .alore-hero-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
    padding-top: 108px !important;
    padding-bottom: 48px !important;
    text-align: left !important;
  }
  .alore-hero-left {
    align-items: flex-start !important;
    width: 100% !important;
  }
  .hero-title,
  .hero-title p {
    font-size: 34px !important;
    line-height: 1.14 !important;
    letter-spacing: -1.4px !important;
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }
  .hero-right-col {
    width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
  }
  .hero-subtitle {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   OPPOSITE-DIRECTION SLOW CONTINUOUS MARQUEE FOR HERO 2 ROWS
   ========================================================================== */
@keyframes aloreScrollLeft {
  0% {
    transform: translate3d(260px, 0, 0);
  }
  100% {
    transform: translate3d(-460px, 0, 0);
  }
}

@keyframes aloreScrollRight {
  0% {
    transform: translate3d(-460px, 0, 0);
  }
  100% {
    transform: translate3d(260px, 0, 0);
  }
}

.alore-marquee-row-1 {
  animation: aloreScrollLeft 42s linear infinite alternate !important;
  will-change: transform;
  backface-visibility: hidden;
}

.alore-marquee-row-2 {
  animation: aloreScrollRight 42s linear infinite alternate !important;
  will-change: transform;
  backface-visibility: hidden;
}

/* ==========================================================================
   ALORE GAME CARD OVERLAY
   ========================================================================== */
video {
  filter: brightness(0.92) contrast(1.05);
}

.alore-workflow-video {
  filter: brightness(0.52) contrast(1.06) !important;
  transition: filter 0.25s ease;
}

a:hover .alore-workflow-video {
  filter: brightness(0.65) contrast(1.06) !important;
}

.alore-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.10) 62%, rgba(0, 0, 0, 0.40) 100%);
  border-radius: inherit;
  overflow: hidden;
}

.alore-workflow-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.88) 100%) !important;
}

.alore-logo-stage {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 0;
  min-height: 0;
}

.alore-center-logo {
  max-width: 68% !important;
  max-height: 54% !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.alore-card-bottom {
  width: 100%;
  padding: 0 12px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-shrink: 0;
}

.alore-bare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0;
  opacity: 0.94;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95));
}

.alore-bare-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block;
}

/* ==========================================================================
   INSIDE THE CLIENT — MORPHIC PRODUCT SHOWCASE FRAME (alore_showcase_hd.mp4)
   ========================================================================== */
.alore-showcase-sec {
  padding-top: 96px;
  padding-bottom: 48px;
}

.alore-showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.alore-showcase-h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.9px;
  color: #ffffff;
  margin: 0;
}

.alore-showcase-h2 span {
  display: block;
  color: #999999;
}

.alore-showcase-frame {
  background: #212121;
  border: 1px solid rgba(229, 231, 235, 0.12);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alore-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px;
  flex-wrap: wrap;
}

.alore-showcase-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.alore-showcase-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0075ff;
  flex-shrink: 0;
}

.alore-showcase-chapter-label {
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.1px;
}

.alore-showcase-time {
  font-size: 12px;
  font-weight: 500;
  color: #737373;
  font-variant-numeric: tabular-nums;
}

.alore-showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #171717;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid rgba(229, 231, 235, 0.08);
}

.alore-showcase-tab {
  background: transparent;
  color: #999999;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.1px;
  padding: 6px 12px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.alore-showcase-tab:hover {
  color: #ffffff;
}

.alore-showcase-tab.active {
  background: #292929;
  color: #ffffff;
}

.alore-showcase-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alore-showcase-playbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  background: #292929;
  border: 1px solid rgba(229, 231, 235, 0.10);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.alore-showcase-playbtn:hover {
  background: #333333;
}

.alore-showcase-dlbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  background: #0075ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.alore-showcase-dlbtn:hover {
  opacity: 0.9;
}

.alore-showcase-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid rgba(229, 231, 235, 0.08);
}

#alore-showcase-video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  filter: none !important;
}

.alore-showcase-scrub {
  position: relative;
  width: 100%;
  height: 4px;
  background: #292929;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
}

.alore-showcase-scrub-fill {
  height: 100%;
  width: 100%;
  background: #0075ff;
  border-radius: 100px;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.alore-showcase-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 0 36px;
}

.alore-showcase-pill-btn {
  position: relative;
  height: 3px;
  width: 52px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.alore-showcase-pill-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 100px;
}

.alore-showcase-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.alore-showcase-step {
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  white-space: normal !important;
  width: 100% !important;
}

.alore-showcase-step:hover,
.alore-showcase-step.active {
  opacity: 1;
}

.alore-showcase-step-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.24px;
  color: #ffffff;
  margin-bottom: 6px;
}

.alore-showcase-step-desc {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: #999999;
}

@media (max-width: 960px) {
  .alore-showcase-sec {
    padding-top: 64px;
  }
  .alore-showcase-h2 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }
  .alore-showcase-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .alore-showcase-tabs {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }
  .alore-showcase-tab {
    width: 100% !important;
    min-width: 0 !important;
    padding: 6px 4px !important;
    font-size: 11px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   CORE MODULES MARQUEE (._9sg59q_card) — CENTERED TEXT, NON-CLICKABLE,
   AUTO-SCROLLING SLOWLY TO THE RIGHT
   ========================================================================== */
@keyframes aloreModulesRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0%, 0, 0);
  }
}

.alore-capabilities-track {
  display: flex;
  width: fit-content;
  gap: 14px;
  animation: aloreModulesRight 52s linear infinite !important;
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none !important;
  user-select: none !important;
}

._9sg59q_text {
  justify-content: center !important;
  text-align: center !important;
}

._9sg59q_card {
  cursor: default !important;
  pointer-events: none !important;
  user-select: none !important;
  width: 340px !important;
  min-height: 172px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 28px 26px !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

._9sg59q_cardBody {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0 !important;
}

._9sg59q_cardBody p {
  text-align: center !important;
  margin: 0 !important;
}

/* Fix Top Played / Originals Tilted Cards (.Gf2QUG_card) */
.Gf2QUG_card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5) !important;
}

.Gf2QUG_card:hover,
.Gf2QUG_card:focus,
.Gf2QUG_card:focus-within {
  transform: translateY(-16px) rotate(0deg) !important;
  z-index: 50 !important;
}

.Gf2QUG_card:hover img,
.Gf2QUG_card:focus img,
.Gf2QUG_card:focus-within img {
  transform: none !important;
}

/* Download Toast */
.alore-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: #16161a;
  border: 1px solid rgba(168, 143, 242, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.alore-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Reveal body only once all local stylesheets finish parsing — eliminates FOUC completely */
body {
  opacity: 1 !important;
}
