:root {
  --ink: #071d30;
  --blue: #087ac7;
  --yellow: #ffc928;
  --green: #27c957;
  --paper: #f7f4ed;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #081b26; font-family: Montserrat, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.content-wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 2; }

.site-header { position: fixed; inset: 0 0 auto 0; height: 66px; z-index: 50; display: flex; align-items: center; padding: 0 max(24px, calc((100vw - 1240px) / 2)); color: #fff; background: linear-gradient(90deg, rgba(4,26,42,.82), rgba(9,113,184,.65), rgba(18,82,144,.7)); backdrop-filter: blur(10px); transition: .25s; }
.site-header.scrolled { height: 58px; background: rgba(4,27,45,.92); box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.brand-ball, .ball-icon, .footer-ball { position: relative; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(#ec3f3f 0 46%, #152331 46% 56%, #f7f7f7 56%); border: 3px solid #13202b; }
.brand-ball { width: 40px; height: 40px; margin-right: 72px; flex: 0 0 auto; }
.brand-ball span, .ball-icon span, .footer-ball span { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #172531; box-shadow: 0 0 0 2px #fff; }
.brand-icon { width: 58px; height: 58px; margin-right: 54px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,.3)); }
.main-nav { align-self: stretch; display: flex; gap: 34px; align-items: center; }
.main-nav a { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -18px; height: 3px; background: #fff; transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.social-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; padding-left: 35px; }
.social-nav a { opacity: .95; transition: transform .2s, opacity .2s; }
.social-nav a:hover { transform: translateY(-2px); opacity: 1; }
.social-nav svg { width: 21px; height: 21px; fill: currentColor; display: block; }
.social-nav span { font-size: 21px; }
.menu-toggle { display: none; }

.hero { min-height: 780px; height: max(78vh, 780px); position: relative; display: grid; place-items: center; overflow: hidden; background: url("assets/images/hero-region.png") center 46% / cover no-repeat; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,33,70,.1), transparent 40%, rgba(2,27,31,.12)); }
.hero-copy { width: min(1100px, calc(100% - 48px)); text-align: center; transform: translateY(15px); }
.pokemon-logo { width: 590px; max-width: 94%; display: block; margin: 0 auto 8px; filter: drop-shadow(0 9px 7px rgba(0,0,0,.28)); }
.hero-tagline { margin: 0 0 22px; font-size: 13px; line-height: 1.55; letter-spacing: .26em; font-weight: 800; text-transform: uppercase; text-shadow: 0 1px 6px #fff; }
.button { min-height: 59px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 42px; border-radius: 40px; text-transform: uppercase; font-weight: 900; letter-spacing: .04em; box-shadow: 0 12px 26px rgba(0,0,0,.22); transition: transform .2s, filter .2s; }
.button:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.06); }
.button svg { width: 25px; height: 25px; fill: currentColor; }
.button-yellow { background: var(--yellow); }
.button-green { width: 410px; max-width: 100%; background: linear-gradient(#34db66, #20b94d); color: #fff; }
.scroll-cue { position: absolute; bottom: 15px; width: 28px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 18px; opacity: .7; }
.scroll-cue span { width: 5px; height: 8px; background: #fff; border-radius: 3px; position: absolute; left: 9px; top: 8px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0; } }

.paper-section { background-color: var(--paper); background-image: radial-gradient(rgba(12,33,46,.055) .8px, transparent .8px); background-size: 7px 7px; }
.about { min-height: 500px; position: relative; overflow: hidden; padding: 64px 0 50px; }
.about::before, .updates::before { content: ""; position: absolute; left: -2%; right: -2%; top: -12px; height: 28px; background: var(--paper); transform: rotate(.8deg); }
.about-content { padding-right: 49%; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; text-transform: uppercase; font-size: 11px; letter-spacing: .15em; font-weight: 800; }
.eyebrow::before { content: ""; width: 24px; height: 3px; }
.eyebrow.yellow { color: #77730b; }
.eyebrow.yellow::before { background: #e8bd14; }
.eyebrow.red { color: #a31a1d; }
.eyebrow.red::before { background: #b51c20; }
h2 { margin: 0; text-transform: uppercase; font: 900 40px/.92 "Barlow Condensed", sans-serif; letter-spacing: .015em; }
.about h2 strong { font-size: 56px; }
.lead { max-width: 500px; margin: 20px 0 38px; font-size: 14px; line-height: 1.5; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 780px; max-width: 150%; }
.features article { text-align: center; }
.features h3 { font-size: 11px; text-transform: uppercase; margin: 8px 0 6px; font-weight: 900; }
.features p { margin: 0; font-size: 10px; line-height: 1.45; }
.feature-icon { width: 60px; height: 60px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 3px 14px rgba(11,29,40,.08); font-weight: 900; font-size: 34px; }
.map-icon { color: #1683c5; transform: rotate(-8deg); }
.people-icon { color: #159ee5; }
.ball-icon { width: 48px; height: 48px; margin-top: 6px; margin-bottom: 6px; }
.spark-icon { color: #f6b516; }
.about-art { position: absolute; z-index: 1; right: 0; top: 0; width: 54%; height: 100%; }
.paint-splash { position: absolute; inset: -8% -12% -5% 2%; background: linear-gradient(140deg, #44baf0, #eaf8ff 43%, #75c752 72%, #0e3450); opacity: .22; transform: rotate(5deg); border-radius: 50% 0 0 45%; }
.poke { position: absolute; object-fit: contain; filter: drop-shadow(0 12px 8px rgba(13,27,30,.18)); }
.poke-bulbasaur { width: 32%; left: 8%; top: 12%; transform: rotate(-9deg); }
.poke-squirtle { width: 29%; right: 13%; top: 4%; transform: rotate(7deg); }
.poke-charmander { width: 35%; right: -1%; bottom: 0; transform: rotate(9deg); }
.poke-pikachu { width: 47%; left: 28%; bottom: -6%; transform: rotate(-6deg); z-index: 3; }
.leaf { position: absolute; z-index: 5; width: 18px; height: 43px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #83c525, #1d6a16); filter: blur(.3px); opacity: .9; }
.leaf-a { left: 2%; top: 18%; transform: rotate(38deg); }.leaf-b { left: 1%; bottom: 21%; transform: rotate(75deg); }.leaf-c { right: 48%; top: 29%; transform: rotate(25deg) scale(1.5); }

.download-section { min-height: 410px; position: relative; color: #fff; background: url("assets/images/ruins-sunset.png") center / cover no-repeat; display: flex; align-items: center; }
.download-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,20,28,.93) 0%, rgba(2,26,34,.72) 34%, rgba(2,20,25,.05) 70%); }
.download-content { padding: 50px 0 40px; }
.download-content h2 { font-size: 51px; margin-bottom: 17px; text-shadow: 0 3px 10px rgba(0,0,0,.35); }
.download-content > p:not(.eyebrow) { font-size: 14px; line-height: 1.45; margin: 0 0 18px; }
.download-meta { display: flex; gap: 14px; align-items: center; margin-top: 14px; font-size: 10px; font-weight: 600; }
.download-meta b { width: 1px; height: 18px; background: rgba(255,255,255,.45); }
.development-timeline { position: relative; max-width: 1040px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 34px 0 0; padding: 21px 18px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(3,22,32,.76); box-shadow: 0 16px 40px rgba(0,0,0,.24); backdrop-filter: blur(8px); list-style: none; }
.development-timeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 3px; background: linear-gradient(90deg, var(--green) 0 34%, var(--yellow) 34% 50%, rgba(255,255,255,.25) 50%); }
.development-timeline li { position: relative; z-index: 1; min-width: 0; padding: 32px 15px 2px; text-align: center; }
.development-timeline li::before { content: ""; position: absolute; left: 50%; top: 6px; width: 13px; height: 13px; border: 3px solid rgba(255,255,255,.72); border-radius: 50%; background: #173544; transform: translateX(-50%); box-shadow: 0 0 0 5px rgba(3,22,32,.9); }
.development-timeline li.complete::before { border-color: #a9ffbe; background: var(--green); }
.development-timeline li.current::before { border-color: #fff0a8; background: var(--yellow); box-shadow: 0 0 0 5px rgba(3,22,32,.9), 0 0 18px rgba(255,201,40,.8); }
.development-timeline time, .development-timeline strong, .development-timeline span { display: block; }
.development-timeline time { margin-bottom: 5px; color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.development-timeline strong { font: 800 18px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.development-timeline span { max-width: 190px; margin: 7px auto 0; color: #c5d6dc; font-size: 9px; line-height: 1.45; }
.hero-timeline { max-width: 1040px; margin: 24px auto 0; color: #fff; }

.updates { position: relative; padding: 57px 0 50px; overflow: hidden; }
.updates-heading { display: grid; grid-template-columns: 1.1fr 1.35fr auto; gap: 35px; align-items: end; margin-bottom: 18px; }
.updates-heading h2 { font-size: 38px; }
.updates-heading > p { margin: 0 0 4px; font-size: 13px; line-height: 1.45; }
.outline-button { padding: 12px 26px; min-width: 150px; border-radius: 30px; border: 1px solid #9fa5a9; background: rgba(255,255,255,.2); font-size: 11px; text-transform: uppercase; font-weight: 900; cursor: pointer; }
.outline-button span { margin-left: 24px; font-size: 18px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 5px 18px rgba(8,25,35,.1); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(8,25,35,.16); }
.news-image { height: 122px; position: relative; background-size: cover; background-position: center; }
.news-image span { position: absolute; left: 0; bottom: 0; padding: 6px 17px; color: #fff; font-size: 11px; font-weight: 800; background: #ef4f3d; }
.news-image.city { background-image: url("assets/images/hero-region.png"); background-position: center 65%; }
.news-image.cave { background-image: linear-gradient(rgba(0,114,197,.4),rgba(0,8,40,.2)), url("assets/images/ruins-sunset.png"); filter: hue-rotate(150deg) saturate(1.4); }
.news-image.cave span { background: #2096e2; }
.news-image.night { background-image: linear-gradient(rgba(9,20,91,.42),rgba(2,14,44,.2)), url("assets/images/hero-region.png"); filter: brightness(.62) saturate(.95); }
.news-image.night span { background: #9b58d8; }
.news-copy { padding: 14px 16px 12px; }
.news-copy h3 { margin: 0 0 7px; font-size: 12px; text-transform: uppercase; }
.news-copy p { min-height: 34px; margin: 0 0 8px; font-size: 10px; line-height: 1.4; }
.news-copy time { color: #999; font-size: 9px; }
.leaf-d { left: 1%; top: 19%; transform: rotate(40deg) scale(1.5); }.leaf-e { right: 1%; bottom: 14%; transform: rotate(80deg) scale(1.4); }

.spawn-atlas { position: relative; padding: 68px 0 0; color: #eef8ff; background: #071018; overflow: hidden; }
.spawn-atlas::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none; background: radial-gradient(circle at 78% 0%, #167fba 0, transparent 34%), radial-gradient(circle at 0 60%, #256d39 0, transparent 27%); }
.atlas-heading { display: grid; grid-template-columns: 1.1fr 1.35fr auto; gap: 35px; align-items: end; margin-bottom: 24px; }
.atlas-heading h2 { font-size: 46px; }
.atlas-heading > p { max-width: 510px; margin: 0 0 4px; color: #a8bbc7; font-size: 13px; line-height: 1.5; }
.eyebrow.atlas-green { color: #63dc6b; }
.eyebrow.atlas-green::before { background: #63dc6b; }
.atlas-actions { display: flex; gap: 9px; }
.atlas-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #304754; border-radius: 9px; color: #e7f5fb; background: #111f2a; font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s; }
.atlas-button:hover { border-color: #63dc6b; color: #63dc6b; }
.atlas-file-button { position: relative; overflow: hidden; }
.atlas-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.atlas-shell { position: relative; width: min(1380px, 100%); height: min(760px, 78vh); min-height: 590px; margin: 0 auto; display: grid; grid-template-columns: 330px 1fr; border: 1px solid #263844; border-bottom: 0; background: #0b151d; box-shadow: 0 -10px 55px rgba(0,0,0,.28); }
.atlas-sidebar { min-height: 0; display: flex; flex-direction: column; padding: 20px 16px 0; border-right: 1px solid #273a45; background: #101b23; }
.atlas-stat { display: flex; align-items: end; justify-content: space-between; padding: 0 3px 14px; }
.atlas-stat span { color: #62df70; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.atlas-stat strong { font: 800 26px/1 "Barlow Condensed", sans-serif; }
.atlas-search { height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #30434f; border-radius: 10px; background: #0b151d; }
.atlas-search:focus-within { border-color: #63dc6b; }
.atlas-search svg { width: 16px; height: 16px; fill: #718993; }
.atlas-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #eff9fd; background: transparent; font: 500 12px Montserrat, sans-serif; }
.atlas-search input::placeholder { color: #71838d; }
.atlas-filters { display: flex; gap: 7px; padding: 12px 0; overflow-x: auto; scrollbar-width: thin; }
.atlas-chip { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #2d414c; border-radius: 18px; color: #a8bbc5; background: transparent; font-size: 9px; cursor: pointer; }
.atlas-chip.active { border-color: #62d96c; color: #a6ffad; background: rgba(98,217,108,.11); }
.atlas-results { min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #40535e transparent; }
.atlas-card { width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 11px; align-items: center; padding: 11px 8px; border: 1px solid transparent; border-bottom-color: #24353e; color: #eef7fa; background: transparent; text-align: left; cursor: pointer; }
.atlas-card:hover, .atlas-card.active { border-color: rgba(99,220,107,.5); border-radius: 10px; background: rgba(99,220,107,.08); }
.atlas-card-icon, .atlas-detail-icon { display: grid; place-items: center; overflow: hidden; border: 1px solid #344a56; border-radius: 12px; color: #68df71; background: radial-gradient(circle at 50% 35%, #2b414b, #15232a 70%); font-weight: 900; }
.atlas-card-icon { width: 52px; height: 52px; }
.atlas-card-icon img, .atlas-detail-icon img { width: 100%; height: 100%; object-fit: contain; }
.atlas-card strong, .atlas-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-card strong { font-size: 12px; }
.atlas-card small { margin-top: 5px; color: #8196a0; font-size: 9px; }
.atlas-empty { padding: 35px 15px; color: #71838d; font-size: 12px; line-height: 1.6; text-align: center; }
.atlas-viewport { position: relative; min-width: 0; min-height: 0; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; overscroll-behavior: contain; background: #03070a; }
.atlas-viewport.dragging { cursor: grabbing; }
.atlas-world { position: absolute; left: 0; top: 0; width: 3072px; height: 2067px; transform-origin: 0 0; }
.atlas-world > img { width: 100%; height: 100%; display: block; image-rendering: crisp-edges; image-rendering: pixelated; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.atlas-markers { position: absolute; inset: 0; }
.atlas-marker { position: absolute; width: 46px; height: 54px; padding: 0; border: 0; background: transparent; transform: translate(-50%, -100%) scale(var(--atlas-inverse-scale, 1)); transform-origin: 50% 100%; cursor: pointer; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 5px 5px rgba(0,0,0,.75)); }
.atlas-marker-bubble { position: relative; width: 38px; height: 38px; display: grid; place-items: center; overflow: visible; margin: 0 auto; border: 2px solid #f3f8fa; border-radius: 50%; color: #78e381; background: radial-gradient(circle at 50% 35%, #354b55, #121e24 72%); font-size: 10px; font-weight: 900; transition: .16s; }
.atlas-marker-bubble::after { content: ""; position: absolute; z-index: -1; left: 14px; bottom: -5px; width: 8px; height: 8px; border-right: 2px solid #f3f8fa; border-bottom: 2px solid #f3f8fa; background: #121e24; transform: rotate(45deg); }
.atlas-marker-bubble img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.atlas-marker:hover .atlas-marker-bubble, .atlas-marker.active .atlas-marker-bubble { border-color: #63e26e; transform: translateY(-4px) scale(1.12); }
.atlas-zoom { position: absolute; z-index: 5; right: 16px; top: 16px; display: flex; align-items: center; padding: 4px; border: 1px solid #30434e; border-radius: 10px; background: rgba(8,17,24,.88); backdrop-filter: blur(8px); }
.atlas-zoom button { width: 34px; height: 32px; border: 0; border-radius: 7px; color: #fff; background: transparent; font-size: 20px; cursor: pointer; }
.atlas-zoom button:hover { color: #63dc6b; background: #172a34; }
.atlas-zoom span { width: 54px; color: #9db0b9; font-size: 10px; text-align: center; }
.atlas-hint { position: absolute; z-index: 5; left: 16px; bottom: 14px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #91a4ad; background: rgba(7,14,19,.82); font-size: 9px; backdrop-filter: blur(7px); }
.atlas-hint b { color: #63dc6b; margin: 0 5px; }
.atlas-loading { position: absolute; z-index: 6; inset: 0; display: grid; place-items: center; color: #98abb4; background: #071018; font-size: 12px; }
.atlas-loading[hidden] { display: none; }
.atlas-detail { position: absolute; z-index: 7; right: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 15px; border: 1px solid rgba(99,220,107,.45); border-radius: 13px; background: rgba(10,22,29,.94); box-shadow: 0 14px 45px rgba(0,0,0,.38); backdrop-filter: blur(10px); }
.atlas-detail[hidden] { display: none; }
.atlas-detail > button { position: absolute; right: 8px; top: 7px; border: 0; color: #8fa4ae; background: transparent; font-size: 21px; cursor: pointer; }
.atlas-detail-icon { width: 64px; height: 64px; }
.atlas-detail strong, .atlas-detail small { display: block; padding-right: 18px; }
.atlas-detail strong { font-size: 14px; }
.atlas-detail small { margin-top: 4px; color: #63dc6b; font-size: 9px; }
.atlas-detail p { margin: 8px 0 0; color: #9cafb8; font-size: 10px; line-height: 1.45; }

.site-footer { min-height: 200px; color: #fff; position: relative; text-align: center; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(rgba(5,28,43,.35),rgba(3,22,32,.65)), url("assets/images/ruins-sunset.png") center 55% / cover no-repeat; }
.site-footer::before { content: ""; position: absolute; inset: -13px -2% auto; height: 25px; background: var(--paper); transform: rotate(-1.2deg); }
.site-footer > p { margin: 12px 0 8px; font-family: Georgia, serif; font-size: 16px; font-style: italic; transform: rotate(-4deg); }
.footer-ball { width: 26px; height: 26px; border-width: 2px; }
.footer-ball span { width: 7px; height: 7px; border-width: 2px; box-shadow: none; }
.site-footer small { position: absolute; bottom: 8px; opacity: .58; font-size: 8px; }
.footer-silhouettes { position: absolute; left: 13%; bottom: 0; font-size: 120px; color: rgba(0,14,26,.86); transform: rotate(11deg); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 90; transform: translate(-50%, 90px); padding: 14px 22px; color: #fff; background: #071d30; border-radius: 30px; font-size: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.28); opacity: 0; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { padding: 0 18px; }
  .brand-ball { margin-right: 18px; }
  .main-nav { gap: 22px; }
  .social-nav { gap: 14px; padding-left: 16px; }
  .about-content { padding-right: 42%; }
  .about-art { width: 58%; opacity: .72; }
  .features { width: 100%; max-width: none; grid-template-columns: repeat(2, 1fr); }
  .updates-heading { grid-template-columns: 1fr 1.2fr; }
  .updates-heading .outline-button { position: absolute; right: 0; top: 0; }
  .atlas-heading { grid-template-columns: 1fr 1fr; }
  .atlas-actions { position: absolute; right: 0; top: 0; }
  .atlas-shell { grid-template-columns: 290px 1fr; }
}

@media (max-width: 680px) {
  .content-wrap { width: min(100% - 32px, var(--max)); }
  .site-header { height: 58px; }
  .brand-icon { width: 48px; height: 48px; margin-right: 8px; }
  .menu-toggle { display: flex; margin-left: auto; width: 38px; height: 38px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle i { display: block; height: 2px; width: 24px; background: #fff; transition: .2s; }
  .main-nav { position: absolute; left: 0; right: 0; top: 58px; height: auto; padding: 25px; background: rgba(4,27,45,.96); flex-direction: column; align-items: flex-start; gap: 22px; transform: translateY(-150%); transition: .3s; z-index: -1; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a::after { bottom: -7px; }
  .social-nav { margin-left: 10px; order: 2; padding: 0; }
  .menu-toggle { order: 3; margin-left: 16px; }
  .hero { min-height: 980px; height: auto; padding: 78px 0 52px; background-position: 57% center; }
  .hero-copy { width: calc(100% - 32px); transform: none; }
  .pokemon-logo { width: 290px; max-width: calc(100vw - 48px); margin-bottom: 10px; }
  .hero-tagline { font-size: 10px; letter-spacing: .17em; }
  .about { padding: 58px 0 35px; }
  .about-content { padding-right: 0; }
  .about-art { position: relative; width: 100%; height: 300px; opacity: 1; margin-top: 15px; }
  .about h2 strong { font-size: 48px; }
  .lead { max-width: 94%; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .download-section { min-height: 520px; background-position: 67% center; }
  .download-shade { background: linear-gradient(90deg, rgba(2,20,28,.92), rgba(2,26,34,.45)); }
  .download-content h2 { font-size: 47px; }
  .download-meta { align-items: flex-start; flex-direction: column; }
  .download-meta b { display: none; }
  .development-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 28px; padding: 13px 16px; }
  .development-timeline::before { left: 22px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: linear-gradient(180deg, var(--green) 0 34%, var(--yellow) 34% 50%, rgba(255,255,255,.25) 50%); }
  .development-timeline li { min-height: 84px; padding: 10px 5px 10px 34px; text-align: left; }
  .development-timeline li::before { left: 6px; top: 13px; transform: none; }
  .development-timeline span { max-width: none; margin: 6px 0 0; }
  .hero-timeline { margin-top: 18px; }
  .updates { padding-top: 60px; }
  .updates-heading { display: block; padding-bottom: 55px; }
  .updates-heading > p { margin-top: 20px; }
  .updates-heading .outline-button { top: auto; bottom: 0; left: 0; right: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .news-image { height: 160px; }
  .spawn-atlas { padding-top: 56px; }
  .atlas-heading { display: block; padding-bottom: 55px; }
  .atlas-heading > p { margin-top: 16px; }
  .atlas-actions { top: auto; right: auto; left: 0; bottom: 0; }
  .atlas-shell { height: 850px; min-height: 0; grid-template-columns: 1fr; grid-template-rows: 330px 1fr; }
  .atlas-sidebar { border-right: 0; border-bottom: 1px solid #273a45; }
  .atlas-hint { display: none; }
  .atlas-detail { right: 10px; bottom: 10px; width: calc(100% - 20px); }
  .site-footer { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Spawn Atlas: modal e tema visual integrado à landing page */
body.atlas-open { overflow: hidden; }
.spawn-atlas { position: fixed; z-index: 100; inset: 0; padding: 0; overflow: auto; color: var(--ink); background: rgba(3, 22, 38, .92); backdrop-filter: blur(12px); }
.spawn-atlas[hidden] { display: none; }
.spawn-atlas::before { position: fixed; opacity: .3; background: radial-gradient(circle at 85% 0%, #36a9eb 0, transparent 35%), radial-gradient(circle at 4% 90%, #ffd33e 0, transparent 28%); }
.atlas-close { position: fixed; z-index: 110; right: 28px; top: 27px; width: 46px; height: 46px; border: 2px solid rgba(7,29,48,.18); border-radius: 50%; color: var(--ink); background: var(--yellow); box-shadow: 0 8px 22px rgba(0,0,0,.24); font-size: 28px; line-height: 1; cursor: pointer; transition: transform .2s, filter .2s; }
.atlas-close:hover { transform: rotate(8deg) scale(1.07); filter: brightness(1.06); }
.atlas-heading { width: min(1380px, calc(100% - 36px)); margin: 18px auto 0; padding: 20px 82px 20px 26px; border-radius: 18px 18px 0 0; color: var(--ink); background-color: var(--paper); background-image: radial-gradient(rgba(12,33,46,.05) .8px, transparent .8px); background-size: 7px 7px; }
.atlas-heading > p { color: #415468; }
.eyebrow.atlas-green { color: #0c72b8; }
.eyebrow.atlas-green::before { background: var(--yellow); }
.atlas-button { border-color: #075e9a; color: #fff; background: #087ac7; box-shadow: 0 4px 12px rgba(8,122,199,.16); }
.atlas-button:hover { border-color: #d9a900; color: var(--ink); background: var(--yellow); }
.atlas-shell { width: min(1380px, calc(100% - 36px)); height: calc(100vh - 146px); min-height: 520px; margin: 0 auto 18px; border: 0; border-radius: 0 0 18px 18px; overflow: hidden; background: #dbeef8; box-shadow: 0 18px 60px rgba(0,0,0,.32); }
.atlas-sidebar { border-color: #c8d6dc; color: var(--ink); background-color: var(--paper); background-image: radial-gradient(rgba(12,33,46,.045) .8px, transparent .8px); background-size: 7px 7px; }
.atlas-stat span { color: #087ac7; }
.atlas-search { border-color: #b9c9d0; background: #fff; }
.atlas-search:focus-within { border-color: #087ac7; box-shadow: 0 0 0 3px rgba(8,122,199,.1); }
.atlas-search svg { fill: #4d7185; }
.atlas-search input { color: var(--ink); }
.atlas-search input::placeholder { color: #748b98; }
.atlas-chip { border-color: #b8c8cf; color: #526a78; background: rgba(255,255,255,.6); }
.atlas-chip.active { border-color: #087ac7; color: #fff; background: #087ac7; }
.atlas-results { scrollbar-color: #7fa4b8 transparent; }
.atlas-card { border-bottom-color: #d3dde1; color: var(--ink); }
.atlas-card:hover, .atlas-card.active { border-color: #e1b112; background: rgba(255,201,40,.16); }
.atlas-card-icon, .atlas-detail-icon { border-color: #b8cbd4; color: #087ac7; background: radial-gradient(circle at 50% 35%, #fff, #ddecf2 72%); }
.atlas-card small { color: #657d89; }
.atlas-empty { color: #627b87; }
.atlas-viewport { background: #061522; }
.atlas-marker-bubble { border-color: #fff; color: var(--yellow); background: radial-gradient(circle at 50% 35%, #167fbd, #062e50 72%); }
.atlas-marker-bubble::after { border-color: #fff; background: #062e50; }
.atlas-marker:hover .atlas-marker-bubble, .atlas-marker.active .atlas-marker-bubble { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,201,40,.25); }
.atlas-zoom { border-color: rgba(255,255,255,.25); background: rgba(5,36,59,.92); }
.atlas-zoom button:hover { color: var(--ink); background: var(--yellow); }
.atlas-zoom span { color: #dcecf4; }
.atlas-hint { color: #d3e5ec; background: rgba(5,36,59,.9); }
.atlas-hint b { color: var(--yellow); }
.atlas-loading { color: #496879; background: #e8f3f7; }
.atlas-detail { border-color: var(--yellow); color: var(--ink); background: rgba(250,248,242,.97); }
.atlas-detail > button { color: #496879; }
.atlas-detail small { color: #087ac7; }
.atlas-detail p { color: #526a78; }

@media (max-width: 680px) {
  .atlas-close { right: 14px; top: 14px; width: 42px; height: 42px; }
  .atlas-heading { width: 100%; margin: 0; padding: 70px 16px 72px; border-radius: 0; }
  .atlas-heading h2 { font-size: 40px; }
  .atlas-shell { width: 100%; height: auto; min-height: 850px; margin: 0; border-radius: 0; grid-template-rows: 330px 520px; }
}
