:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f4f5ff;
  background: #090d1c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 10%, #24234d 0%, transparent 48%),
    radial-gradient(ellipse at 7% 70%, #0c263d 0%, transparent 43%),
    radial-gradient(ellipse at 100% 70%, #251831 0%, transparent 43%);
}

.portal { width: min(100% - 2rem, 61rem); margin: auto; padding: clamp(2rem, 6vw, 4.5rem) 0 2.5rem; }
.intro { text-align: center; margin-bottom: clamp(1.6rem, 5vw, 3rem); }

.emblem {
  display: block;
  width: clamp(6rem, 19vw, 9.5rem);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 24%;
  box-shadow: 0 0 44px #eabf6060, 0 18px 46px #03040eaf;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 span { color: #ffdb8e; }
.intro p { color: #c8cde5; margin: .8rem 0 0; line-height: 1.5; }
.bundles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.bundle {
  --accent: #9be5ff;
  --edge: #527b96;
  --glow: #143c57;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.85rem);
  border: 1px solid var(--edge);
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at 8% 0%, var(--glow), transparent 75%), #101629;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 34px #03071070;
  transition: border-color .18s ease, transform .18s ease;
}

.odyssey { --accent: #ffda9b; --edge: #8b6571; --glow: #4a2847; }
.bundle:hover { border-color: var(--accent); transform: translateY(-3px); }
.bundle:focus-visible, summary:focus-visible { outline: 3px solid #ffe29e; outline-offset: 4px; }
.bundle-top { display: flex; justify-content: space-between; align-items: start; color: var(--accent); }
.bundle-mark { display: grid; place-items: center; width: 3.35rem; height: 3.35rem; font-size: 1.9rem; border: 1px solid var(--edge); border-radius: 1rem; background: #0b102393; }
.arrow { font-size: 1.3rem; }
h2 { margin: 1.05rem 0 .7rem; font-size: clamp(1.35rem, 3.3vw, 2.05rem); line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }

.subjects { margin: 0 0 1.25rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .38rem; }
.subjects li { color: #e1e5f6; font-size: .85rem; border: 1px solid #ffffff32; border-radius: 2rem; padding: .31rem .65rem; background: #080d1b55; }
.action { margin-top: auto; padding-top: .85rem; border-top: 1px solid #ffffff26; color: var(--accent); font-weight: 700; font-size: .9rem; }
.action span { padding-left: .25rem; }
.install { width: fit-content; max-width: 100%; margin: 1.35rem auto 0; color: #c8cde5; font-size: .9rem; }
.install summary { cursor: pointer; padding: .5rem; width: fit-content; margin: auto; }
.install p { max-width: 34rem; margin: .5rem 0; line-height: 1.5; }
.install strong { color: #f6f5ff; margin-right: .25rem; }

@media (max-width: 640px) {
  .bundles { grid-template-columns: 1fr; gap: .75rem; }
  .bundle-mark { width: 2.65rem; height: 2.65rem; font-size: 1.45rem; }
  h2 { margin-top: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bundle { transition: none; }
  .bundle:hover { transform: none; }
}
