/* Star Rail reference: cinematic viewport, orbital accents, warm metallic UI. */
.portal-home{--gold:#e8d2a7;--gn:#e8d2a7;--border:#c7b88d35;--muted:#aeb7cd;background:#080d1b}
.portal-home::before{background:radial-gradient(ellipse at 85% 25%,#35457825,transparent 60%);mask-image:none}
.portal-home .header{position:absolute;top:0;left:0;right:0;height:88px;padding:0 3.5%;background:linear-gradient(#070b17ed,#070b1740);border-bottom:1px solid #e8d2a72a;box-shadow:none;backdrop-filter:blur(10px);gap:20px}
.portal-home .header::after{display:none}
.portal-home .header .brand img.project-g-logo{width:172px;height:65px;filter:drop-shadow(0 2px 8px #0008)}
.portal-home .header nav{gap:clamp(14px,1.5vw,30px);font-size:15px}
.portal-home .header nav a{color:#d6d9e3}
.portal-home .header nav a[aria-current],.portal-home .header nav a:hover{color:#f2deb7}
.portal-home .header nav a::after{background:#e8d2a7;height:1px}
.portal-home .button{border-radius:0 16px 0 16px;background:linear-gradient(110deg,#f1e5cb,#d6bb86);border:1px solid #eedab0;color:#192132;box-shadow:none}
.portal-home .button.outline{background:#0d152880;color:#f0e4d0;border-color:#ddcb9a88}
.portal-home .button:hover{background:#fff0d0;box-shadow:0 0 24px #e8d2a725}
.portal-home .button.outline:hover{background:#293147}
.portal-home .hero{min-height:100svh;width:100%;display:flex;align-items:center;border-bottom:0}
.portal-home .hero-content{width:100%;max-width:none;margin:0;padding:150px 8vw 180px;z-index:2}
.portal-home .hero .eyebrow{font-size:13px;letter-spacing:4px}
.portal-home .project-g-hero{max-width:clamp(360px,40vw,720px);margin:35px 0 22px;filter:drop-shadow(0 8px 28px #0009)}
.portal-home .hero-content>p{font-weight:300;max-width:420px;font-size:18px;line-height:2}
.portal-home .hero-actions{margin-top:35px;gap:16px}
.portal-home .hero-actions .button{min-width:175px;padding:16px 27px}
.portal-home .build-note{margin-top:25px;font-size:12px;letter-spacing:2px}
.portal-home .hero-shade{background:linear-gradient(90deg,#060b19bf, #060b1930 55%,transparent 80%),linear-gradient(0deg,#080d1b,transparent 20%)}
.portal-home .live-pill{right:4%;bottom:48px;border-radius:0;background:#0a112280;border:0;border-top:1px solid #d8c29766;padding:15px 0;backdrop-filter:blur(6px);z-index:3}
.orbit-mark{position:absolute;right:-13vw;top:12%;width:63vw;aspect-ratio:1;border:1px solid #e8d2a72b;border-radius:50%;pointer-events:none;transform:rotate(-25deg) scaleY(.65);z-index:1}
.orbit-mark::before{content:"";position:absolute;inset:25px;border:1px solid #e8d2a718;border-radius:50%}
.orbit-mark::after{content:"✦";position:absolute;left:15%;top:12%;color:#ffe8ba;font-size:31px;text-shadow:0 0 20px #f9cf8e}
.voyage-scroll{position:absolute;bottom:35px;left:8vw;display:flex;align-items:center;gap:18px;color:#d5c5a5;font-size:12px;letter-spacing:3px;z-index:3}
.voyage-scroll::before{content:"";width:50px;height:1px;background:#d5c5a5}
.voyage-scroll span{font-size:23px;line-height:1}
.portal-home .section{width:100%;max-width:none;padding:72px 7vw 0}
.portal-home .portal-categories{position:relative;padding-top:80px;background:radial-gradient(ellipse at 15% 10%,#29355345,transparent 70%)}
.astral-heading{display:flex;align-items:center;gap:22px;margin-bottom:35px;color:#eee3cf;font-size:calc(clamp(25px,3vw,44px) + 3px);font-weight:300;letter-spacing:1px}
.astral-heading::before{content:"✦";color:#e2c995;font-size:28px}
.astral-heading::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,#e8d2a755,transparent)}
.portal-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.portal-home .category-banner{border:1px solid #c7b88d45;border-radius:0 24px 0 24px;aspect-ratio:1.4;background-color:#101828}
.portal-home .category-banner:first-child{grid-column:1 / -1;aspect-ratio:2.85}
.portal-home .category-banner:hover{border-color:#e8d2a7;box-shadow:0 14px 45px #0005}
.portal-home .category-banner::after,.portal-home .category-slide::after{background:linear-gradient(0deg,#070d1bf5,transparent 95%)}
.portal-home .category-copy .eyebrow,.portal-home .category-link{color:#ead6af}
.portal-home .category-copy h2{font-weight:400;font-size:calc(clamp(20px,1.7vw,30px) + 3px)}
.portal-home .slider-controls button{border-color:#e8d2a755;background:#101828b3;border-radius:0;color:#ead6af}
.portal-home .slider-dots button[aria-pressed=true]{background:#ead6af;box-shadow:0 0 10px #ead6af66}
.portal-home .section-heading{border-color:#e8d2a733;padding-bottom:22px}
.portal-home .section-heading::after{background:#e8d2a7}
.portal-home .section-heading h2{font-weight:300;font-size:33px}
.portal-home .eyebrow{color:#d4bd91}
.portal-home .metric{border-radius:0 18px 0 18px;border-color:#c7b88d35;background:linear-gradient(130deg,#1b2338,#0d1424);padding:30px}
.portal-home .metric::before{background:#e8d2a7;width:1px}
.portal-home .metric p a{color:#e8d2a7}
.portal-home .leaderboard-tabs button,.portal-home .leaderboard-pagination button{border-color:#c7b88d55;border-radius:0;background:#141d30;color:#ddd3bf}
.portal-home .leaderboard-tabs button.active{background:#e8d2a7;color:#172033}
.portal-home .leaderboard-panel{border-radius:0 18px 0 18px;border-color:#c7b88d35;background:#101829}
.portal-home .leaderboard-panel th{background:#1c2538;color:#d2c4a8}
.portal-home .leaderboard-panel td{border-color:#c7b88d22}
.portal-home .leaderboard-panel .leaderboard-rank{color:#e8d2a7}
.portal-home footer{margin-top:80px;padding:35px 7vw;background:#060a14;border-color:#e8d2a72a}
@media(min-width:1800px){.portal-home .hero-content{padding-left:10vw}.portal-home .hero-content>p{font-size:21px;max-width:500px}}
@media(max-width:1200px){.portal-home .header{flex-wrap:wrap;height:auto;min-height:100px;padding:8px 4%;gap:4px 15px}.portal-home .header nav{order:3;width:100%;justify-content:center;padding:8px 0 10px;gap:22px}.portal-home .nav-actions{margin-left:auto}.portal-home .hero-content{padding-top:190px}.portal-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-home .category-banner:first-child{grid-column:span 2;aspect-ratio:2.4}}
@media(max-width:760px){.portal-home .header{padding-inline:5%}.portal-home .header .brand img.project-g-logo{width:140px;height:48px}.portal-home .header nav{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:22px;scrollbar-width:thin}.portal-home .header nav a{font-size:14px;flex-shrink:0}.portal-home .nav-actions{gap:10px}.portal-home .nav-actions .button{font-size:13px;padding:9px 11px}.portal-home .hero{min-height:100svh;align-items:center}.portal-home .hero-content{padding:185px 7vw 175px}.portal-home .project-g-hero{max-width:460px;width:100%;margin-top:25px}.portal-home .hero .eyebrow{font-size:11px;letter-spacing:2px}.portal-home .hero-content>p{font-size:16px;max-width:330px}.portal-home .hero-actions{gap:10px;flex-wrap:wrap}.portal-home .hero-actions .button{min-width:130px;padding:13px 18px;font-size:15px}.portal-home .live-pill{bottom:65px;left:7vw;right:auto;font-size:13px;padding:10px 0;gap:8px}.voyage-scroll{left:7vw;bottom:25px;font-size:11px}.orbit-mark{top:25%;right:-60%;width:130vw}.portal-home .section{padding:45px 6vw 0}.astral-heading{margin-bottom:25px;gap:15px}.portal-home .category-grid{gap:16px}.portal-home .category-banner{aspect-ratio:1.4}.portal-home .category-banner:first-child{aspect-ratio:1.6}.portal-home .category-copy{max-width:90%;left:18px;right:15px;bottom:20px}.portal-home .category-copy h2{font-size:23px}.portal-home .category-copy p{font-size:14px}.portal-home .category-copy .eyebrow{font-size:11px}.portal-home .event-slider .category-copy{bottom:50px}.portal-home .section-heading h2{font-size:28px}.portal-home .metric{padding:22px}.portal-home footer{margin-top:50px}}
@media(max-width:540px){.portal-home .category-grid{grid-template-columns:minmax(0,1fr)}.portal-home .category-banner:first-child{grid-column:auto;aspect-ratio:1.4}.portal-home .category-banner{aspect-ratio:1.4}.portal-home .build-note{font-size:11px;gap:8px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.portal-home *,.portal-home *::before,.portal-home *::after{scroll-behavior:auto;animation:none!important;transition:none!important}}

/* Event poster at left; four navigation cards stacked at right. */
@media(min-width:761px){
.portal-home .category-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);grid-template-rows:repeat(4,minmax(115px,14svh));gap:16px 24px}
.astral-paging .portal-home .category-grid>.category-banner.event-slider{grid-column:1;grid-row:1 / 5;aspect-ratio:auto;height:auto}
.portal-home .category-grid>.category-banner:not(.event-slider){grid-column:2;aspect-ratio:auto;height:auto}
.portal-home .category-grid .category-copy{bottom:16px}
.portal-home .category-grid .category-copy h2{margin:5px 0;font-size:26px}
.portal-home .category-grid .category-copy p{margin-bottom:6px}
.portal-home .category-grid .event-slider .category-copy{bottom:55px}
}
.portal-home .event-slider .category-slide>img{object-fit:contain;transform:none}
.portal-home .event-slider .category-slide:hover>img{transform:none}
@media(max-width:760px){.portal-home .category-grid{grid-template-columns:minmax(0,1fr)}.portal-home .category-grid>.event-slider{grid-column:1;aspect-ratio:1672 / 941;height:auto}}
