/* Interactive visual layer: official gold/silver identity, inspired by the reference. */
:root { --pointer-x: 65%; --pointer-y: 40%; }
body { background: #08080a; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 50; background: var(--accent); transform: scaleX(var(--reading, 0)); transform-origin: left; pointer-events: none; }
.site-header { position: sticky; top: 0; background: #08080ad9; backdrop-filter: blur(22px); border-bottom-color: transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--border); background: #08080af2; }
.header-inner { min-height: 106px; gap: 20px; }
#main-nav { padding: 7px 9px 7px 26px; gap: 25px; border: 1px solid var(--border); border-radius: 60px; background: #08080a80; }
#main-nav a { font-weight: 600; font-size: .8125rem; }
#main-nav a[aria-current] { box-shadow: none; color: var(--accent); }
#main-nav a.section-active { color: var(--accent); }
#main-nav .nav-community { border: none; border-radius: 40px; padding: 12px 21px; background: var(--accent); color: #151006; }
#main-nav .nav-community:hover { background: #ffd577; color: #151006; }
.motion-toggle { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 30px; padding: 8px 12px; font-size: .75rem; cursor: pointer; margin-right: auto; }
.motion-toggle[aria-pressed="true"] { color: var(--accent); border-color: #efb83f60; }
.motion-toggle[hidden], .back-top[hidden] { display: none; }
.hero { min-height: 780px; padding-top: 82px; background: #08080a; overflow: clip; padding-bottom: 46px; }
.hero-image { opacity: .28; background-position: center 48%; filter: saturate(.4); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at var(--pointer-x) var(--pointer-y), #bc7d2226, transparent 58%), linear-gradient(0deg, #08080a, transparent 50%); }
.hero::after { content: ''; position: absolute; width: 380px; height: 380px; border: 1px solid #efb83f14; border-radius: 50%; top: 100px; right: 10%; z-index: -1; box-shadow: 0 0 100px #d3972610, inset 0 0 100px #d3972610; animation: orbit-breathe 9s ease-in-out infinite alternate; pointer-events: none; }
.hero h1 { font-size: clamp(4.2rem, 10vw, 9rem); letter-spacing: -.065em; line-height: 1; margin-block: 35px; }
.hero #hero-title .title-solid { display: block; color: #f3f3f5; }
.hero #hero-title .title-outline { display: block; color: transparent; -webkit-text-stroke: 1.5px #bfad8099; transition: -webkit-text-stroke-color .4s; }
.hero h1:hover .title-outline { -webkit-text-stroke-color: #efb83f; }
.hero h1 .title-dot { color: var(--accent); -webkit-text-stroke: 0; }
.hero-tagline { border-left: 2px solid var(--accent); padding-left: 21px; margin-bottom: 12px; }
.hero-description { padding-left: 23px; }
.hero .actions { margin-top: 30px; }
.hero-coordinate { bottom: 192px; color: #bdb7a6; }
.status-wrap { position: relative; bottom: auto; margin-top: 55px; }
.status-panel { border-radius: 18px; background: #171719a6; }
.hero-note { margin-top: 27px; }
.button { border-radius: 40px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, background .25s; }
.button::after { content: ''; position: absolute; inset: -50% auto -50% -80%; width: 35%; background: linear-gradient(90deg, transparent, #ffffff30, transparent); transform: skewX(-25deg); pointer-events: none; }
.button:hover::after { animation: button-sheen .65s ease-out; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 34px #efb83f18; }
.button:active { transform: translateY(0) scale(.98); }
.city-section { padding-top: 100px; }
.section-heading h2, .section-intro h2 { text-wrap: balance; }
.how-section { background: #101012; }
.steps li { transition: border-color .25s; }
.steps li:hover { border-color: var(--accent); }
.step-number { transition: color .25s, transform .25s; }
.steps li:hover .step-number { color: var(--accent); transform: translateX(5px); }
.job { border-radius: 18px; background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), #efb83f14, transparent 65%), #141416 !important; transition: border-color .25s, box-shadow .25s; }
.job:hover { transform: none; box-shadow: 0 12px 40px #0003; }
.job-symbol { transition: color .3s, transform .4s; }
.job:hover .job-symbol { transform: rotate(-8deg) scale(1.12); color: #ffd577; }
.job-more { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 16px; }
.job-more summary { cursor: pointer; color: var(--accent); font-size: .875rem; padding-block: 5px; }
.job-more[open] summary { margin-bottom: 14px; }
.job-more .text-link { margin-top: 18px; font-size: .8125rem; }
.news-row { transition: padding .25s, background .25s; }
.news-row:hover { padding-inline: 18px; background: #efb83f05; }
.news-arrow { transition: transform .25s; }
.news-row:hover .news-arrow { transform: translate(3px, -3px); }
.community-section { border-radius: 24px; background: radial-gradient(ellipse at var(--card-x, 50%) var(--card-y, 100%), #b87c2526, transparent 70%), #111113; }
.community-section h2 { letter-spacing: -.06em; }
.update-article, .empty-state, .rules-list details { border-radius: 18px; }
.rules-list details[open] { border-color: #efb83f60; }
.back-top { position: fixed; bottom: 24px; right: 24px; z-index: 20; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #efb83f60; background: #111113e6; backdrop-filter: blur(14px); color: var(--accent); font-size: 1.5rem; cursor: pointer; transition: background .2s; }
.back-top:hover { background: #302719; }
html.motion-reduced { scroll-behavior: auto; }
.motion-reduced *, .motion-reduced *::before, .motion-reduced *::after { animation: none !important; transition: none !important; }
@keyframes orbit-breathe { from { transform: translate(0, 0) scale(.9); opacity: .4; } to { transform: translate(-28px, 25px) scale(1.08); opacity: 1; } }
@keyframes button-sheen { to { left: 150%; } }
@media (max-width: 1200px) { #main-nav { gap: 17px; padding-left: 20px; } .motion-toggle { max-width: 110px; line-height: 1.3; } }
@media (max-width: 960px) {
  .header-inner { min-height: 96px; padding-block: 6px; }
  .motion-toggle { margin-left: auto; margin-right: 0; }
  #main-nav { border-radius: 18px; padding: 16px; gap: 12px 24px; }
  .hero { padding-top: 60px; min-height: 0; }
  .hero h1 { font-size: clamp(4rem, 11vw, 7rem); }
  .hero::after { right: 5%; width: 250px; height: 250px; }
  .status-panel { border-radius: 14px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 84px; gap: 12px; }
  .brand-logo { width: 66px; height: 66px; }
  .motion-toggle { font-size: .75rem; max-width: 105px; padding: 7px 10px; }
  .hero { padding-top: 40px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(2.8rem, 11.7vw, 4.3rem); line-height: 1.12; letter-spacing: -.065em; }
  .hero h1 .title-outline { -webkit-text-stroke-width: 1px; white-space: nowrap; }
  .hero-image { opacity: .22; }
  .hero-tagline { padding-left: 16px; }
  .hero-description { padding-left: 18px; }
  .hero .actions { gap: 12px; }
  .status-wrap { margin-top: 35px; }
  .hero-note { gap: 12px; }
  .city-section { padding-top: 50px; }
  .jobs { grid-template-columns: 1fr; }
  .job { min-height: 0; padding: 26px; }
  .job-symbol { float: right; margin: 22px 0 0 15px; }
  .job h3 { margin-top: 30px; font-size: 1.4rem; }
  .news-row:hover { padding-inline: 0; }
  .back-top { bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Cinematic city interface. Decorative telemetry never represents live server data. */
:root { --tech: #9ae4df; --border: #d6dfed21; }
body { background: radial-gradient(ellipse at 0 35%, #18323818, transparent 45%), #080a0e; }
.site-header { background: #080a0edb; }
.header-inner { min-height: 92px; }
.brand-logo { width: 78px; height: 78px; }
#main-nav { border-radius: 12px; background: #14182080; }
#main-nav .nav-community { border-radius: 7px; }
.motion-toggle { border-radius: 7px; }
.hero { padding: 55px 0 32px; min-height: 0; background: transparent; }
.hero::after { display: none; }
.hero-image { opacity: .14; }
.hero::before { background: radial-gradient(ellipse at var(--pointer-x) var(--pointer-y), #daa54012, transparent 50%); }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.5rem, 6.7vw, 6.5rem); line-height: .98; margin-block: 28px; letter-spacing: -.065em; }
.hero #hero-title .title-solid { background: linear-gradient(150deg, #fff 20%, #a7b4c7); background-clip: text; -webkit-text-fill-color: transparent; }
.hero #hero-title .title-outline { color: #efc666; -webkit-text-stroke: 0; text-shadow: 0 0 65px #efb83f22; white-space: nowrap; }
.hero .eyebrow { font-size: .65rem; letter-spacing: .12em; }
.hero-tagline { font-size: 1.15rem; }
.hero-description { font-size: .95rem; }
.hero-note { font-family: Consolas, monospace; font-size: .68rem; letter-spacing: .09em; }
.button { border-radius: 8px; min-height: 54px; }
.primary { box-shadow: 0 4px 28px #efb83f18; }
.city-visual { position: relative; isolation: isolate; min-height: 510px; border: 1px solid #cfb77755; border-radius: 16px; background: linear-gradient(180deg, #09101735 25%, #080d15ed 100%), url('../img/sao-paulo-night.png') center / cover; box-shadow: 0 30px 80px #0005, 0 0 65px #dba7450b; overflow: hidden; }
.city-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, #a0eee918, transparent); height: 35%; pointer-events: none; animation: city-scan 8s ease-in-out infinite; }
.visual-topline, .visual-bottomline { position: absolute; left: 24px; right: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: .6rem Consolas, monospace; letter-spacing: .1em; color: #e2e9eb; z-index: 2; }
.visual-topline { top: 24px; }
.visual-topline i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 12px #efb83f; }
.visual-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(#b8e0e32b 1px, transparent 1px), linear-gradient(90deg, #b8e0e32b 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(#000, transparent 80%); }
.city-orbit { position: absolute; width: 290px; height: 290px; border: 1px solid #eac57655; border-radius: 50%; left: calc(50% - 145px); top: 66px; animation: city-orbit 40s linear infinite; }
.orbit-outer::before { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #ffe5a7; top: 40px; left: 40px; box-shadow: 0 0 18px #ffcf6b; }
.orbit-inner { width: 242px; height: 242px; left: calc(50% - 121px); top: 90px; border-style: dashed; border-color: #bdebe542; animation-direction: reverse; }
.visual-cross { position: absolute; font: 24px Consolas, monospace; color: #c6e2df9c; }
.cross-one { left: 25px; top: 105px; }.cross-two { right: 25px; top: 280px; }
.visual-label { position: absolute; left: 30px; right: 30px; bottom: 88px; z-index: 2; }
.visual-label > span { color: var(--accent); font: .65rem Consolas, monospace; letter-spacing: .2em; }
.visual-label strong { display: flex; justify-content: space-between; align-items: center; font-size: clamp(2rem, 3.7vw, 3.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.3; margin-top: 9px; }
.visual-label strong span { color: var(--accent); font-size: 2.3rem; }
.visual-label p { font-size: .8rem; margin: 8px 0 0; color: #ccd3df; }
.visual-bottomline { bottom: 37px; border-top: 1px solid #d6dfed30; padding-top: 17px; font-size: .55rem; }
.visual-caption { position: absolute; bottom: 10px; right: 24px; color: #a8b5c6; font: .5rem Consolas, monospace; letter-spacing: .1em; }
.signal-bars { height: 16px; display: flex; align-items: flex-end; gap: 3px; }
.signal-bars i { width: 3px; height: 100%; background: var(--accent); animation: signal-wave 2s ease-in-out infinite alternate; }
.signal-bars i:nth-child(2n) { height: 55%; animation-delay: -.5s; }.signal-bars i:nth-child(3n) { height: 75%; animation-delay: -1s; }
.status-wrap { margin-top: 40px; }
.status-panel { border-radius: 10px; background: linear-gradient(120deg, #1c222cb8, #0f121ae0); border-top-color: #eec57050; }
.small-label, .job-code, .card-index, .eyebrow { font-family: Consolas, 'Courier New', monospace; }
.highlights { gap: 18px; border: 0; }
.highlights article, .highlights article+article { padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(135deg, #1a222c80, #0c101580); transition: transform .3s, border-color .3s; }
.highlights article:hover { transform: translateY(-5px); border-color: #efb83f60; }
.card-index { color: var(--tech); }
.how-section { background: radial-gradient(ellipse at 100% 0, #29535822, transparent 60%), #0d1117; }
.steps { gap: 20px; }
.steps li { padding: 24px 20px; border: 1px solid var(--border); border-radius: 10px; background: #ffffff03; }
.step-number { font-family: Consolas, monospace; color: var(--accent); font-size: 2rem; }
.connection-note { border-radius: 10px; background: #ffffff03; }
.job { border-radius: 12px; background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), #efb83f18, transparent 65%), linear-gradient(145deg, #19212c, #0c1017) !important; }
.job::before { content: ''; position: absolute; top: 0; left: 26px; width: 45px; height: 2px; background: var(--accent); box-shadow: 0 0 22px #efb83f77; transition: width .4s; }
.job:hover::before { width: calc(100% - 52px); }
.job:nth-child(2) .job-symbol { color: var(--tech); }
.community-section { overflow: hidden; border-radius: 16px; background: linear-gradient(90deg, #090d14ee, #111925c9), url('../img/sao-paulo-night.png') center 65% / cover; }
.community-section::before { content: ''; position: absolute; inset: 16px; border: 1px solid #e8ca7930; border-radius: 9px; z-index: -1; pointer-events: none; }
.document-main { background: radial-gradient(ellipse at 100% 0, #326b7020, transparent 65%); }
.empty-state, .update-article, .rules-list details { background: linear-gradient(130deg, #19212c, #10141c); }
@keyframes city-scan { 0%, 100% { transform: translateY(-100%); opacity: 0; } 20%, 80% { opacity: 1; } 90% { transform: translateY(300%); opacity: 0; } }
@keyframes city-orbit { to { transform: rotate(360deg); } }
@keyframes signal-wave { to { transform: scaleY(.4); opacity: .5; } }
@media (max-width: 1100px) { .hero-layout { gap: 25px; } .city-visual { min-height: 470px; } .visual-bottomline { font-size: .48rem; gap: 6px; } }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; } .hero h1 { font-size: clamp(3.5rem, 10vw, 6.5rem); } .city-visual { min-height: 380px; } .visual-label strong { font-size: 3rem; } .hero-note { margin-bottom: 10px; } .highlights { gap: 12px; } .highlights article, .highlights article+article { padding: 22px; } }
@media (max-width: 600px) { .hero { padding-top: 30px; } .hero h1 { font-size: clamp(2.7rem, 11.4vw, 4.3rem); } .hero-layout { gap: 32px; } .city-visual { min-height: 350px; } .visual-label { left: 22px; right: 22px; } .visual-label strong { font-size: 2.7rem; } .city-orbit { top: 40px; } .orbit-inner { top: 64px; } .hero-note { gap: 10px; } .hero-note span+span { padding-left: 10px; } .steps { grid-template-columns: 1fr; gap: 16px; } .steps li { padding: 24px; } .step-number { margin-bottom: 18px; } .motion-toggle { max-width: 104px; } .status-wrap { margin-top: 26px; } }
@media (prefers-reduced-motion: reduce) { .city-visual::after { display: none; } }
.motion-reduced .city-visual::after { display: none; }
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
