:root {
  color-scheme: dark;
  --night: #080b12;
  --panel: #0c1019;
  --silver: #e8e8f1;
  --muted: #b5b9cf;
  --violet: #a89cdb;
  --line: #858da547;
  --display: "Times New Roman", Georgia, serif;
  --body: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--night); color: var(--silver); font-family: var(--body); }
:lang(ja) { --display: "Yu Mincho", "Hiragino Mincho ProN", serif; --body: "Yu Gothic", Meiryo, sans-serif; }
:lang(ko) { --display: "Malgun Gothic", serif; --body: "Malgun Gothic", sans-serif; }
:lang(zh-CN) { --display: "Microsoft YaHei", "PingFang SC", serif; --body: "Microsoft YaHei", "PingFang SC", sans-serif; }
:lang(ru) { --display: Georgia, "Times New Roman", serif; }
.translation-fallback { position: relative; z-index: 30; margin: 0; padding: 9px 16px; background: #42305c; color: #fff; text-align: center; font: 13px/1.4 Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button:disabled { cursor: wait; opacity: .6; }
button, a, input { touch-action: manipulation; }
:focus-visible { outline: 2px solid #d0bdff; outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: #635885; color: white; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: -80px; padding: 14px; background: var(--panel); }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; z-index: 5; top: 0; width: 100%; height: clamp(58px, 4.5vw, 78px); padding: 0 2.8%; display: flex; align-items: center; gap: 2.7%; background: #05070cbd; border-bottom: 1px solid var(--line); }
.brand-header { width: 8%; min-width: 96px; height: 100%; padding-block: 5px; display: flex; align-items: center; justify-content: center; }
.brand-header img { display: block; width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.site-header nav, .header-actions { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.site-header nav a, .site-header nav > button { font-size: clamp(12px, 1.12vw, 16px); white-space: nowrap; }
.site-header nav > button { padding: 12px 0; }
.header-actions { margin-left: auto; }
.site-header nav a:hover, .site-header nav > button:hover, .site-footer a:hover { color: white; text-shadow: 0 0 14px #a29ee1; }
.language-selector { position: relative; font-size: clamp(12px, 1.12vw, 16px); }
.language-trigger { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 2px; cursor: pointer; white-space: nowrap; list-style: none; }
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger:hover { color: white; text-shadow: 0 0 14px #a29ee1; }
.language-flag { flex: none; display: block; width: 24px; height: 18px; object-fit: contain; background: #121827; border: 1px solid #c9c9d057; }
.language-chevron { flex: none; width: 7px; height: 7px; margin: -3px 2px 0 1px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.language-selector[open] .language-chevron { transform: translateY(3px) rotate(225deg); }
.language-panel { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 28px)); max-height: min(70dvh, 550px); overflow-y: auto; padding: 8px; border: 1px solid #858da580; background: #0b101c; box-shadow: 0 18px 45px #000a; }
.language-options { display: grid; }
.language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 7px 10px; color: var(--silver); text-align: left; border-left: 2px solid transparent; }
.language-option:hover, .language-option:focus-visible { background: #25283a; }
.language-option[aria-pressed="true"] { border-left-color: #bcb1eb; background: #25233b; }
.language-name { flex: 1; white-space: nowrap; }
.language-option-status { color: #c9bde7; white-space: nowrap; font-size: 10px; }
.menu-toggle, .mobile-only { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 12px 28px; border: 1px solid #c6c9d2; border-radius: 1px; background: #080b1280; color: var(--silver); font-size: clamp(13px, 1.15vw, 17px); line-height: 1.2; transition: background .18s, box-shadow .18s; }
.button:hover { background: #242337; box-shadow: 0 0 18px #aa9fd526; }
.button-primary { border-color: #d9deef; color: #090b15; font-weight: 600; background: linear-gradient(125deg, #f5f6ff, #d6d9e9 48%, #8995b9); box-shadow: 0 0 18px #b4b9ee42, inset 0 0 8px #fff8; }
.button-primary:hover { color: #090b15; background: #eff0ff; box-shadow: 0 0 25px #b7acff66; }
.button-small { min-height: 35px; padding: 9px 26px; }
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-scene { position: relative; display: block; z-index: -2; }
.hero-scene img, .universe-scene img, .join-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-scene img { height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
.hero-content { position: absolute; top: 0; left: 17%; z-index: 2; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding-top: clamp(64px, 5.3vw, 108px); width: 66%; text-align: center; }
.hero-content::before { content: ''; position: absolute; z-index: -1; inset: 12% -3% -16px; pointer-events: none; background: radial-gradient(ellipse at 50% 65%, #03050c50 0%, #03050c26 42%, transparent 72%); }
/* A caixa inclui toda a imagem: logo, anel e os dois elementos orbitais. */
.hero-logo { flex: none; width: min(100%, clamp(180px, 23vw, 390px)); height: clamp(90px, 11.8vw, 235px); margin: 0 auto clamp(10px, 1.2vw, 20px); }
.hero-logo img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.eyebrow { font-size: clamp(8px, .83vw, 12px); letter-spacing: .38em; line-height: 1.9; }
.season { flex: none; margin: 0 0 16px; letter-spacing: .58em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1 { margin: 0 0 clamp(12px, 1.2vw, 20px); font: clamp(26px, 3.05vw, 70px)/1.02 var(--display); letter-spacing: .025em; text-transform: uppercase; text-shadow: 0 3px 18px #000; }
h1 span { display: block; }
.hero-buttons { display: flex; justify-content: center; gap: 18px; }
.hero-buttons .button, .coming-soon { min-width: 180px; }
.coming-soon { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 28px; border: 1px solid #d9deef; border-radius: 1px; background: linear-gradient(125deg, #f5f6ff, #d6d9e9 48%, #8995b9); box-shadow: 0 0 18px #b4b9ee42, inset 0 0 8px #fff8; color: #090b15; font-size: clamp(13px, 1.15vw, 17px); font-weight: 600; line-height: 1.2; cursor: auto; }
.alpha { margin-top: 16px; font-size: clamp(10px, .9vw, 13px); letter-spacing: .18em; text-shadow: 0 2px 8px #000; }
.hero-aside { position: absolute; z-index: 2; font-size: clamp(8px, .82vw, 12px); line-height: 1.8; letter-spacing: .28em; }
.hero-aside-left { top: 11%; left: 3.3%; }
.aside-line { display: block; height: 70px; border-left: 1px solid #b8baca; }
.hero-whisper-line { position: absolute; right: 3%; top: 54%; height: 62px; border-right: 1px solid #bcbcd0; }
.triad { padding: 2.5% 0 2.6% 3.6%; display: grid; grid-template-columns: 35% 65%; border-bottom: 1px solid #9ea7cc6b; background: linear-gradient(120deg, #070a0e, #101623 90%); }
.triad-intro { padding-right: 5%; }
.triad .section-kicker { margin: 8px 0 14px; font-size: clamp(12px, 1.3vw, 22px); }
.section-kicker { display: flex; align-items: center; gap: 16px; font: clamp(14px, 1.3vw, 21px) var(--display); letter-spacing: .35em; margin: 8px 0 18px; }
.section-kicker span { width: 34%; height: 1px; background: linear-gradient(90deg, #8e93a9, transparent); }
.triad h2 { font: clamp(30px, 4vw, 80px)/.99 var(--display); text-transform: uppercase; margin-bottom: clamp(18px, 2.2vw, 36px); letter-spacing: -.015em; }
.triad h2 span { display: block; }
.triad-summary { font-size: clamp(8px, .78vw, 12px); letter-spacing: .3em; line-height: 1.9; }
.triad-cards { display: grid; gap: clamp(10px, 1.1vw, 20px); align-content: start; }
.triad-card { position: relative; isolation: isolate; min-height: 0; aspect-ratio: 6.4; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); padding: 10px clamp(16px, 1.7vw, 30px); border: 1px solid var(--line); border-right: 0; overflow: hidden; background: #080b15; }
.card-art { position: absolute; z-index: -2; inset: 0 0 0 auto; display: block; width: 73%; height: 100%; }
.card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-art--personagem img { object-position: 100% 40%; }
.card-art--nave img { object-position: 100% 42%; }
.card-art--arma img { object-position: 100% 12%; }
.triad-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #080b15 0%, #080b15ed 27%, #080b1570 43%, transparent 60%); pointer-events: none; }
.card-number { font: clamp(27px, 3vw, 56px) var(--display); color: #b7b6ce; }
.card-copy { position: relative; z-index: 1; padding: 6px; text-shadow: 0 2px 6px #000; }
.card-copy h3 { font: clamp(11px, 1.1vw, 19px) var(--display); letter-spacing: .27em; text-transform: uppercase; margin: 0 0 6px; }
.card-copy p { margin: 0; font-size: clamp(9px, .82vw, 14px); letter-spacing: .05em; color: var(--muted); }
.universe { position: relative; isolation: isolate; aspect-ratio: 1024 / 292; min-height: 300px; display: flex; align-items: flex-end; padding: 3.6%; overflow: hidden; border-bottom: 1px solid #8991b861; }
.universe-scene { position: absolute; z-index: -2; inset: 0; }
.universe-scene img { object-position: 50% 50%; }
.universe::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #050a14c9, #050a1426 55%, transparent), linear-gradient(0deg, #050a1480, transparent 65%); pointer-events: none; }
.universe-copy { text-shadow: 0 2px 10px #000b; }
.universe-copy .section-kicker { margin: 0; font-size: clamp(19px, 2.1vw, 34px); letter-spacing: .28em; }
.universe h2 { font: clamp(58px, 6.4vw, 104px)/.95 var(--display); margin: 0 0 8px; }
.universe-copy > p:not(.section-kicker) { font-size: clamp(14px, 1.4vw, 20px); margin-bottom: 20px; }
.join { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; min-height: 150px; padding: 4.3% 24px 3.3%; text-align: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.join-art { position: absolute; z-index: -2; inset: 0; }
.join-art img { object-position: center 45%; }
.join::after { content: ''; position: absolute; z-index: -1; inset: 0; background: #05081259; pointer-events: none; }
.join h2 { font: clamp(17px, 1.65vw, 28px) var(--display); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 8px; }
.join p { font-size: clamp(11px, 1.02vw, 16px); letter-spacing: .08em; margin-bottom: 0; color: var(--muted); }
.site-footer { min-height: 100px; padding: 2.6% 3.6%; display: flex; align-items: center; gap: 20px; background: #06090e; }
.footer-brands { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.footer-brands > a { font: 16px var(--display); letter-spacing: .08em; }
.studio { border-left: 1px solid #8c8ba77a; padding: 6px 0 6px 18px; font: 9px var(--display); letter-spacing: .2em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; border-left: 1px solid var(--line); padding-left: 14px; }
.social-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 3px; }
.social-icon img { display: block; width: 21px; height: 21px; object-fit: contain; filter: brightness(0) invert(.86); opacity: .85; }
.social-icon[data-social="youtube"] img, .social-icon[data-social="x"] img { width: 22px; height: 22px; }
.social-icon[data-social="facebook"] img { width: 20px; height: 20px; }
.social-icon:is(a):hover, .social-icon:is(a):focus-visible { background: #25283a; box-shadow: 0 0 14px #a29ee140; }
.social-icon:is(a):hover img, .social-icon:is(a):focus-visible img { opacity: 1; }
dialog { color: var(--silver); width: min(92vw, 500px); max-height: 88dvh; padding: 36px; border: 1px solid #777390; background: linear-gradient(135deg, #171a2b, #090d15); box-shadow: 0 24px 100px #000a; }
dialog::backdrop { background: #02040bd9; backdrop-filter: blur(7px); }
dialog h2 { font: 30px var(--display); margin-bottom: 16px; }
.dialog-close { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; font-size: 28px; }
.simulation-note { border-left: 2px solid var(--violet); padding-left: 12px; color: #c0bfd4; font-size: 13px; line-height: 1.6; }
form label { display: grid; gap: 7px; font-size: 13px; margin: 18px 0; }
input { min-width: 0; width: 100%; border: 1px solid #65677a; border-radius: 0; background: #060a12; color: white; padding: 12px; }
small { font-size: 11px; line-height: 1.5; color: var(--muted); }
.form-submit { width: 100%; margin-top: 6px; }
.form-result { font-size: 13px; line-height: 1.6; margin: 16px 0; color: #dad1ff; }
.form-result:empty { margin: 0; }
.account-switch { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }
.account-switch button { padding: 6px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
#info-copy { white-space: pre-line; line-height: 1.8; color: #c9cadd; font-size: 15px; }
.info-done { margin-top: 10px; }
.noscript { padding: 20px; text-align: center; }
@media (max-width: 1100px) {
  .site-header { gap: 20px; padding-inline: 3%; }
  .site-header nav, .header-actions { gap: 22px; }
  .hero-buttons .button, .coming-soon { min-width: 145px; }
  .site-footer { flex-wrap: wrap; gap: 18px; }
  .socials { margin-left: auto; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .site-header { height: 64px; gap: 14px; padding: 0 18px; }
  .brand-header { min-width: 91px; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 12px 0; order: 3; margin-left: 2px; font-size: 12px; }
  .mobile-only { display: block; }
  .site-header nav { display: none; position: absolute; top: 63px; left: 0; right: 0; padding: 20px 24px; background: #0a0e18; border-bottom: 1px solid var(--line); gap: 4px; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .site-header nav a, .site-header nav > button { font-size: 15px; text-align: left; padding: 13px 0; }
  .language-selector-mobile { display: block; font-size: 15px; }
  .language-selector-mobile .language-trigger { justify-content: flex-start; padding: 6px 0; }
  .language-selector-mobile .language-panel { max-height: min(70dvh, 550px); }
  .language-selector-mobile .language-option { padding: 7px 10px; font-size: 14px; }
  .header-actions { gap: 12px; }
  .language-selector-desktop { display: none; }
  .hero-scene img { aspect-ratio: 941 / 1672; }
  .hero-content { left: 4%; padding-top: 74px; width: 92%; }
  .hero-content::before { display: none; }
  .hero-logo { width: clamp(140px, 36vw, 220px); height: clamp(84px, 23vw, 140px); margin-bottom: 12px; }
  .hero-aside-left, .hero-whisper-line { display: none; }
  .season { font-size: 8px; letter-spacing: .3em; margin-bottom: 10px; }
  h1 { font-size: clamp(24px, 6.1vw, 44px); margin-bottom: 14px; line-height: 1.08; }
  .hero-buttons { gap: 12px; }
  .hero-buttons .button, .coming-soon { min-width: 0; min-height: 42px; padding: 10px 18px; }
  .alpha { font-size: 10px; line-height: 1.5; margin-top: 12px; letter-spacing: .05em; }
  .triad { padding: 38px 22px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .triad-intro { padding: 0; }
  .triad-intro, .triad-cards, .card-copy { min-width: 0; }
  .triad .section-kicker { margin: 0 0 18px; font-size: 13px; }
  .section-kicker { font-size: 14px; margin: 0 0 22px; }
  .triad h2 { font-size: clamp(40px, 9vw, 62px); margin-bottom: 22px; overflow-wrap: anywhere; }
  .triad-summary { font-size: 8px; margin-bottom: 0; }
  .triad-card { border-right: 1px solid var(--line); aspect-ratio: auto; min-height: 190px; padding: 16px 12px; gap: 12px; background: #0b0e18; align-items: flex-start; }
  .triad-card:nth-child(2) { min-height: 180px; }
  .triad-card:nth-child(3) { min-height: 200px; }
  .card-number { font-size: 33px; }
  .card-copy { padding: 4px; }
  .card-copy h3 { font-size: 13px; }
  .card-copy p { font-size: 10px; }
  .card-art { width: 100%; }
  .card-art--personagem img { object-position: 96% 40%; }
  .card-art--nave img { object-position: 100% 42%; }
  .card-art--arma img { object-position: 62% 12%; }
  .triad-card::after { background: linear-gradient(90deg, #080b15d9, #080b1590 34%, transparent 65%), linear-gradient(180deg, #080b15d9, transparent 45%); }
  .universe { aspect-ratio: auto; min-height: 380px; padding: 32px 22px; }
  .universe-copy { min-width: 0; max-width: 100%; }
  .universe-scene img { object-position: 55% 45%; }
  .universe::after { background: linear-gradient(0deg, #050a14e0, #050a144d 60%, transparent); }
  .universe h2 { font-size: 64px; overflow-wrap: anywhere; }
  .universe-copy .section-kicker { font-size: 20px; }
  .join { flex-direction: column; gap: 24px; padding: 38px 24px; min-height: 220px; }
  .join h2 { font-size: 21px; line-height: 1.4; }
  .join p { font-size: 11px; line-height: 1.7; }
  .site-footer { padding: 28px 22px; gap: 24px; flex-direction: column; align-items: flex-start; }
  .site-footer nav, .socials { margin-left: 0; }
  .site-footer nav { gap: 12px 24px; max-width: 100%; }
  .socials { border: 0; padding: 0; gap: 8px; justify-content: flex-start; max-width: 184px; }
  .footer-brands { gap: 12px; max-width: 100%; flex-wrap: wrap; }
  .studio { font-size: 8px; padding-left: 12px; min-width: 0; white-space: normal; }
  dialog { padding: 30px 22px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 12px; gap: 10px; }
  .brand-header { min-width: 74px; }
  .hero-buttons .button, .coming-soon { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
