:root {
  color-scheme: dark;
  --aura-bg: #050412;
  --aura-card: rgba(255, 255, 255, 0.08);
  --aura-card-strong: rgba(4, 9, 30, 0.78);
  --aura-primary: #f6aa1c;
  --aura-secondary: #8a5cff;
  --aura-text: #f3f8ff;
  --aura-muted: rgba(243, 248, 255, 0.65);
  --aura-border: rgba(255, 255, 255, 0.16);
  --aura-gradient: linear-gradient(135deg, #201f4d, #521c5c, #0b3a5d);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--aura-bg);
  color: var(--aura-text);
  min-height: 100vh;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  color: var(--aura-muted);
}

p + p {
  margin-top: 1rem;
}

ul,
ol {
  padding: 0;
  margin: 1rem 0 0;
  color: var(--aura-text);
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

li::marker {
  color: var(--aura-primary);
}

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

button,
.aura-btn,
.aura-game-card__action {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

button:focus-visible,
.aura-btn:focus-visible,
.aura-game-card__action:focus-visible {
  outline: 2px solid var(--aura-primary);
  outline-offset: 3px;
}

body.menu-open {
  overflow: hidden;
}

.aura-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  position: relative;
  z-index: 2;
  flex: 1;
}

.aura-sky-animation {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(138, 92, 255, 0.3), transparent 55%),
    var(--aura-gradient);
  animation: aurora 16s linear infinite;
  z-index: 0;
}

@keyframes aurora {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(40deg) saturate(1.2);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}

.aura-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(24px);
  background: rgba(5, 4, 18, 0.7);
  border-bottom: 1px solid var(--aura-border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
  z-index: 11;
}

.aura-header__inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.aura-logo img {
  width: 60px;
}

.aura-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  align-items: center;
}

.aura-nav a {
  position: relative;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--aura-muted);
  padding-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.aura-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--aura-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.aura-nav a[aria-current='page'] {
  color: var(--aura-primary);
}

.aura-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.aura-nav a:hover {
  color: var(--aura-text);
}

.aura-burger,
.aura-close {
  display: none;
  background: none;
  border: none;
  color: var(--aura-text);
  font-size: 2rem;
  cursor: pointer;
}

.aura-burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--aura-text);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.aura-hero {
  min-height: 75vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 8vw;
  background-size: cover;
  background-position: center;
  position: relative;
}

.aura-hero--compact {
  min-height: 340px;
  align-items: center;
}

.aura-hero--compact .aura-hero__content {
  max-width: 720px;
}

.aura-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 18, 0.7);
}

.aura-hero > * {
  position: relative;
  z-index: 2;
}

.aura-hero__content {
  align-self: center;
}

.aura-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--aura-muted);
}

.aura-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--aura-muted);
}

.aura-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 1rem 0;
}

.aura-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.aura-hero__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.aura-card {
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.aura-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 18, 0) 0%, rgba(5, 4, 18, 0.9) 100%);
  z-index: 1;
}

.aura-card > * {
  position: relative;
  z-index: 2;
}

.aura-card__cta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aura-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.aura-card:focus-visible {
  outline: 2px solid var(--aura-primary);
  outline-offset: 3px;
}

.aura-btn {
  background: var(--aura-primary);
  color: #050412;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aura-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(246, 170, 28, 0.4);
}

.aura-card:hover,
.aura-game-card:hover,
.aura-card:focus-visible,
.aura-game-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.aura-btn--ghost {
  background: transparent;
  color: var(--aura-primary);
  border: 1px solid var(--aura-primary);
}

.aura-link {
  color: var(--aura-secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease, gap 0.3s ease;
}

.aura-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--aura-secondary), var(--aura-primary));
  transform-origin: left;
  transform: scaleX(0.4);
  transition: transform 0.3s ease;
}

.aura-link:hover {
  color: var(--aura-primary);
  gap: 0.5rem;
}

.aura-link:hover::after {
  transform: scaleX(1);
}

.aura-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  display: grid;
  gap: 2rem;
  width: min(1200px, 100%);
}

.aura-section__text {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.aura-section__text ul {
  margin: 0;
}

.aura-section--split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
}

.aura-section--about {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.aura-section__visual img {
  border-radius: 1.5rem;
  border: 1px solid var(--aura-border);
  width: 100%;
  object-fit: cover;
}

.aura-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  width: min(1200px, 100%);
}

.aura-grid__header {
  text-align: center;
  margin-bottom: 2rem;
}

.aura-grid__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.aura-character {
  min-height: 260px;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.aura-character::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 18, 0) 0%, rgba(5, 4, 18, 0.85) 100%);
}

.aura-character h3,
.aura-character p {
  position: relative;
  z-index: 2;
}

.aura-character h3 {
  margin-bottom: 0.5rem;
}

.aura-section--quiz {
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 1.5rem;
  margin: clamp(2rem, 4vw, 4rem) auto;
  width: min(1100px, calc(100% - 2rem));
  padding: clamp(2rem, 5vw, 3.25rem);
  position: relative;
  overflow: hidden;
}

.aura-section--quiz::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 18, 0.7);
}

.aura-section--quiz > * {
  position: relative;
  z-index: 2;
}

.aura-section--quiz ol {
  margin-left: 1.25rem;
}

.aura-section--cta {
  text-align: center;
  background: var(--aura-card);
  border-radius: 2rem;
  width: min(900px, calc(100% - 2rem));
}

.aura-section--testimonials {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  border: 1px solid var(--aura-border);
  padding: clamp(2.5rem, 5vw, 4rem);
  width: min(1100px, 100%);
  margin: 0 auto;
}

.aura-game-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2rem;
  border: 1px solid var(--aura-border);
  padding: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  width: min(1200px, 100%);
  margin: 0 auto;
}

.aura-game-section--full {
  padding: clamp(3rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.aura-game-section__header {
  max-width: 640px;
}

.aura-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.aura-game-card {
  background: var(--aura-card);
  border: 1px solid var(--aura-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 100%;
}

.aura-game-card:focus-visible {
  outline: 2px solid var(--aura-primary);
  outline-offset: 3px;
}

.aura-game-card:hover,
.aura-game-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--aura-primary);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.aura-game-card__media {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 16 / 10;
}

.aura-game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aura-game-card__badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aura-primary);
}

.aura-game-card__body h3 {
  font-size: 1.4rem;
  margin: 0.3rem 0 0.4rem;
}

.aura-game-card__body p {
  color: var(--aura-muted);
}

.aura-game-card__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.aura-game-card__perks li {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: var(--aura-muted);
}

.aura-game-card__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(138, 92, 255, 0.25), rgba(246, 170, 28, 0.25));
  padding: 0.4rem 1rem;
  color: var(--aura-text);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.aura-game-card__action::after {
  content: '↗';
  font-size: 0.9rem;
}

.aura-game-card__action:hover {
  background: linear-gradient(135deg, var(--aura-secondary), var(--aura-primary));
  border-color: var(--aura-primary);
  color: #050412;
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.aura-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.aura-section--contact {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
}

.aura-contact__info {
  background: var(--aura-card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--aura-border);
}

.aura-contact__info ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.aura-contact__form {
  background: var(--aura-card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--aura-border);
  display: grid;
  gap: 1rem;
}

.aura-contact__form label {
  display: grid;
  gap: 0.35rem;
}

.aura-contact__form input,
.aura-contact__form textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--aura-border);
  background: rgba(5, 4, 18, 0.4);
  color: var(--aura-text);
  padding: 0.75rem 1rem;
  font: inherit;
}

.aura-dialog {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 4, 18, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 22;
}

.aura-dialog.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.aura-dialog__panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--aura-card);
  border: 1px solid var(--aura-border);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 0.75rem;
}

.aura-dialog__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--aura-muted);
}

.aura-dialog__action {
  width: 100%;
  margin-top: 0.5rem;
}

.aura-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--aura-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.aura-footer {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 6vw, 4rem);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.aura-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 18, 0.85);
}

.aura-footer > * {
  position: relative;
  z-index: 2;
}

.aura-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.aura-footer__brand {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  max-width: 520px;
}

.aura-footer__brand img {
  width: 60px;
}

.aura-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .aura-footer__inner {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }

  .aura-footer__links {
    justify-content: flex-end;
  }
}

.aura-policy {
  max-width: 900px;
  margin: 40px auto;
  padding: 4rem 2rem;
  display: grid;
  gap: 1.5rem;
  background: var(--aura-card);
  border-radius: 1.5rem;
  border: 1px solid var(--aura-border);
  width: min(900px, calc(100% - 2rem));
  word-break: break-word;
}

.aura-policy ul,
.aura-policy ol {
  margin-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.aura-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.aura-testimonials blockquote {
  background: var(--aura-card);
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--aura-border);
  min-height: 100%;
  line-height: 1.5;
}

.aura-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.aura-values article {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: var(--aura-card);
  border: 1px solid var(--aura-border);
}

.aura-observe {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.aura-observe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .aura-burger,
  .aura-close {
    display: block;
  }

  .aura-nav {
    position: fixed;
    display: none;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: #050412;
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right 0.4s ease;
  }

  .aura-nav.is-active {
    right: 0;
    display: flex;
  }

  .aura-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem clamp(1.25rem, 5vw, 3rem);
  }

  .aura-hero__cta {
    justify-content: center;
  }

  .aura-section,
  .aura-grid,
  .aura-game-section {
    padding: 3rem clamp(1rem, 4vw, 2rem);
  }

  .aura-section--split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .aura-section__visual img {
    width: 100%;
  }

  .aura-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .aura-game-grid {
    grid-template-columns: 1fr;
  }

  .aura-game-card__action {
    width: 100%;
  }

  .aura-header__inner {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .aura-header__inner {
    padding: 1rem;
  }

  .aura-hero {
    padding: 2.5rem 1.25rem;
  }

  .aura-section--quiz {
    margin: 2rem 1rem;
    padding: 2rem;
  }

  .aura-game-section {
    padding: 2.5rem 1.25rem;
  }
}
