/* Raceweb visual layer, inspired by the open source PNLCS landing. */
:root { --bg:#030719; --bg2:#07102a; --card:#101c36; --card2:#162443; --line:#324471; --line2:#536ba1; --blue:#3d6cff; --blue2:#9fb5ff; --muted:#a9b5d2; }
html { background:#030719; }
body { background:#030719; color:#f6f7ff; }
body::before { display:block; position:fixed; inset:0; z-index:-2; width:auto; height:auto; background:radial-gradient(ellipse 70% 48% at 85% 9%,rgba(51,83,238,.32),transparent 70%),radial-gradient(ellipse 60% 45% at 7% 28%,rgba(21,38,129,.34),transparent 72%); pointer-events:none; }
.page-orbs { position:absolute; top:0; left:0; width:100%; height:790px; overflow:hidden; pointer-events:none; z-index:0; }
.page-orbs::before,.page-orbs::after { display:block; content:""; position:absolute; border-radius:50%; filter:blur(80px); }
.page-orbs::before { width:590px; height:590px; right:-140px; top:-230px; background:rgba(59,91,255,.42); }
.page-orbs::after { width:520px; height:310px; left:8%; top:190px; background:rgba(30,57,195,.22); }
.topbar,.topbar.glass { position:relative; z-index:10; top:0; max-width:1280px; width:calc(100% - 48px); height:82px; margin:0 auto; padding:0 18px; border:0; border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.topbar::before,.topbar::after { display:none; }
.topbar nav a { color:#b7c2e2; font-weight:700; }
.topbar nav a.active,.topbar nav a:hover { color:white; background:rgba(87,110,255,.14); outline:1px solid rgba(145,164,255,.2); }
.topbar .brand { font-size:24px; letter-spacing:-.055em; color:#fff; }
.topbar .brand span span,.brand-mark { color:#b9c8ff; }
.brand-mark { width:35px; height:35px; border-radius:50%; background:repeating-linear-gradient(0deg,#f5f7ff 0 4px,transparent 4px 7px),linear-gradient(135deg,#4059df,#92a5ff); clip-path:circle(45%); font-size:0; box-shadow:none; }
.top-actions .primary.small,.primary,.hero-buttons .primary,.plan-card .primary { color:#071022; background:#f3f6ff; border:1px solid #eef2ff; box-shadow:0 14px 35px rgba(22,35,121,.2); }
.top-actions .ghost.small { background:rgba(16,28,61,.45); border:1px solid rgba(174,190,255,.2); }
.status-pill { background:rgba(19,30,71,.45); border:1px solid rgba(174,190,255,.17); }
#home.hero.active { position:relative; z-index:1; display:block; width:100%; max-width:none; min-height:770px; padding:70px 24px 0; overflow:hidden; background:radial-gradient(ellipse 59% 38% at 50% 60%,rgba(40,61,187,.24),transparent 72%); }
#home.hero::before { display:block; content:""; position:absolute; z-index:-1; width:76vw; height:76vw; max-width:1220px; max-height:1220px; left:50%; top:-64%; transform:translateX(-50%); border:1px solid rgba(116,137,255,.15); border-radius:50%; box-shadow:0 0 0 110px rgba(68,88,204,.035),0 0 0 250px rgba(68,88,204,.025); pointer-events:none; }
#home.hero::after { display:block; content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,transparent 54%,rgba(3,7,25,.86) 97%); pointer-events:none; }
#home .hero-copy { max-width:1080px; margin:0 auto; text-align:center; }
.raceweb-intro-pill { display:inline-flex; align-items:center; gap:12px; min-height:39px; padding:4px 15px 4px 5px; margin:0 0 24px; border:1px solid rgba(149,169,255,.25); border-radius:99px; background:rgba(14,26,68,.63); color:#c5cdea; font-size:13px; font-weight:700; }
.raceweb-intro-pill span { display:inline-grid; place-items:center; padding:6px 9px; border-radius:99px; background:#21d1a1; color:#06241e; font-size:10px; font-weight:900; letter-spacing:.03em; }
#home h1 { max-width:1080px; margin:0 auto 25px; font-size:clamp(60px,7.8vw,116px); line-height:.91; font-weight:900; letter-spacing:-.075em; text-wrap:balance; text-shadow:0 8px 48px rgba(8,15,52,.25); }
#home h1 span { color:#ccd6ff; background:linear-gradient(180deg,#fff 12%,#bccaff 63%,#768dea 100%); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
#home .hero-copy p { max-width:770px; margin:0 auto; color:#ccd4ec; font-size:clamp(17px,1.55vw,21px); line-height:1.58; }
#home .hero-buttons { display:flex; justify-content:center; gap:13px; margin-top:33px; }
#home .hero-buttons .primary,#home .raceweb-secondary { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:53px; padding:0 24px; border-radius:999px; text-decoration:none; font-weight:800; }
#home .raceweb-secondary { border:1px solid rgba(187,202,255,.29); background:rgba(8,14,37,.72); color:#f5f7ff; }
#home .hero-buttons a:hover { transform:translateY(-2px); filter:brightness(1.07); }
.raceweb-hero-note { margin-top:23px; color:#8d9bc0; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
#home .home-features { max-width:1180px; margin:94px auto 0; gap:16px; }
#home .home-features article,.glass,.plan-card,.plan-card:nth-child(4n),.stat-card,.step,.order-card { border-color:rgba(151,172,255,.18); background:linear-gradient(145deg,rgba(23,36,82,.7),rgba(10,17,44,.85)); box-shadow:inset 0 1px rgba(255,255,255,.04),0 18px 55px rgba(0,0,0,.12); }
#home .home-features article { min-height:184px; border-radius:18px; }
#home .home-feature-icon { color:#b9caff; background:rgba(73,96,212,.18); border:1px solid rgba(139,160,255,.18); }
.side { background:#08112a; }
.side-link.active,.side-link:hover { background:#17244a; color:#adc2ff; }
.support-avatar { background:linear-gradient(135deg,#475ded,#92a9ff); border-radius:50%; color:#fff; font-size:15px; }
.primary:hover { background:#fff; }

/* PNLCS style: animated blue light and framed feature panels. */
.page-orbs { height:1180px; }
.page-orbs::before { width:780px; height:780px; top:-360px; right:-180px; background:radial-gradient(circle,rgba(79,106,255,.7),rgba(37,54,165,.39) 38%,transparent 70%); filter:blur(56px); animation:racewebLightOne 14s ease-in-out infinite alternate; }
.page-orbs::after { width:820px; height:660px; top:140px; left:-220px; background:radial-gradient(ellipse,rgba(39,65,194,.5),rgba(25,43,140,.23) 48%,transparent 72%); filter:blur(64px); animation:racewebLightTwo 18s ease-in-out infinite alternate; }
#home.hero.active { background:radial-gradient(ellipse 65% 41% at 55% 54%,rgba(54,78,207,.21),transparent 73%); }
#home.hero.active::before { border-color:rgba(116,137,255,.2); animation:racewebHalo 22s ease-in-out infinite alternate; }
@keyframes racewebLightOne { 0% { transform:translate3d(0,0,0) scale(1); opacity:.72; } 50% { transform:translate3d(-18vw,105px,0) scale(1.13); opacity:1; } 100% { transform:translate3d(-4vw,235px,0) scale(.95); opacity:.8; } }
@keyframes racewebLightTwo { 0% { transform:translate3d(0,0,0) scale(.93); opacity:.6; } 50% { transform:translate3d(25vw,-90px,0) scale(1.13); opacity:.95; } 100% { transform:translate3d(55vw,50px,0) scale(1); opacity:.7; } }
@keyframes racewebHalo { from { transform:translateX(-50%) scale(.96); opacity:.55; } to { transform:translateX(-50%) scale(1.08); opacity:1; } }
#home .raceweb-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:94px; }
#home .raceweb-feature-grid .raceweb-feature-card { min-height:470px; margin:0; padding:5px; border:1px solid #1d2c54; border-radius:29px; background:#030817; box-shadow:0 0 0 1px rgba(1,3,12,.6),0 22px 65px rgba(0,0,0,.16); text-align:left; overflow:hidden; }
#home .raceweb-feature-grid .raceweb-feature-small,#home .raceweb-feature-grid .raceweb-feature-wide { min-height:326px; }
#home .raceweb-feature-grid .raceweb-feature-small { grid-column:span 1; }
#home .raceweb-feature-grid .raceweb-feature-wide { grid-column:span 1; }
#home .raceweb-feature-grid .raceweb-feature-card:nth-child(3) { width:70%; }
#home .raceweb-feature-grid .raceweb-feature-card:nth-child(4) { width:calc(130% - 4px); margin-left:-30%; }
#home .raceweb-feature-inner { position:relative; min-height:100%; padding:26px 30px; border:1px solid rgba(49,66,120,.24); border-radius:23px; background:linear-gradient(145deg,#0b142b 0%,#0c142a 35%,#080e20 100%); overflow:hidden; }
#home .raceweb-feature-inner::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow:inset 0 1px rgba(124,148,255,.04); }
#home .raceweb-card-kicker { margin:0 0 8px; color:#a3b7f0; font:500 11px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.13em; }
#home .raceweb-feature-grid h3 { max-width:570px; margin:0 0 11px; color:#f7f8ff; font:800 clamp(31px,3vw,41px)/.99 'Barlow Condensed','Arial Narrow',Impact,sans-serif; letter-spacing:.005em; }
#home .raceweb-feature-grid p:not(.raceweb-card-kicker) { max-width:540px; margin:0; color:#adb8d2; font-size:15px; line-height:1.55; }
.raceweb-console-card { margin-top:19px; min-height:165px; padding:16px; border:1px solid #213258; border-radius:16px; background:#030713; font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
.raceweb-console-card>div { display:flex; justify-content:space-between; color:#7e8daa; margin-bottom:10px; }
.raceweb-console-card>div span:last-child { color:#33d9a3; }
#home .raceweb-console-card p { margin:4px 0; color:#b9c4dd; font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; }
.raceweb-console-card i { display:inline-block; width:10px; height:10px; margin-right:9px; border-radius:50%; background:#4c76ff; box-shadow:0 0 0 3px #1a2a5b; }
.raceweb-card-bottom { display:flex; justify-content:space-between; gap:10px; margin-top:18px; color:#c3cce4; font-size:13px; }
.raceweb-badges { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.raceweb-badges span,.raceweb-feature-links a { padding:5px 11px; border:1px solid #2e437d; border-radius:8px; background:#111d3e; color:#abc0ff; font:12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; text-decoration:none; }
.raceweb-chart { position:absolute; left:30px; right:30px; bottom:27px; height:142px; display:flex; align-items:end; gap:4px; }
.raceweb-chart span { flex:1; height:calc(12% + var(--i,0) * 3.5%); border-radius:5px 5px 2px 2px; background:linear-gradient(180deg,#8da5ff,#2740cd); }
.raceweb-chart span:nth-child(1) { --i:0; }.raceweb-chart span:nth-child(2) { --i:1; }.raceweb-chart span:nth-child(3) { --i:2; }.raceweb-chart span:nth-child(4) { --i:3; }.raceweb-chart span:nth-child(5) { --i:4; }.raceweb-chart span:nth-child(6) { --i:5; }.raceweb-chart span:nth-child(7) { --i:6; }.raceweb-chart span:nth-child(8) { --i:7; }.raceweb-chart span:nth-child(9) { --i:8; }.raceweb-chart span:nth-child(10) { --i:9; }.raceweb-chart span:nth-child(11) { --i:10; }.raceweb-chart span:nth-child(12) { --i:11; }.raceweb-chart span:nth-child(13) { --i:12; }.raceweb-chart span:nth-child(14) { --i:13; }.raceweb-chart span:nth-child(15) { --i:14; }.raceweb-chart span:nth-child(16) { --i:15; }.raceweb-chart span:nth-child(17) { --i:16; }.raceweb-chart span:nth-child(18) { --i:17; }.raceweb-chart span:nth-child(19) { --i:18; }.raceweb-chart span:nth-child(20) { --i:19; }.raceweb-chart span:nth-child(21) { --i:20; }.raceweb-chart span:nth-child(22) { --i:21; }.raceweb-chart span:nth-child(23) { --i:22; }.raceweb-chart span:nth-child(24) { --i:23; }
.raceweb-card-bigword { display:flex; align-items:end; gap:13px; margin-top:29px; color:#b6c6ff; font:800 72px/.8 'Barlow Condensed',Impact,sans-serif; }
.raceweb-card-bigword small { padding-bottom:5px; color:#3ae1b8; font:700 12px/1.2 Manrope,sans-serif; }
.raceweb-feature-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:55px; }
.raceweb-feature-links a { padding:13px 18px; border-radius:999px; color:#edf1ff; font:700 13px/1 Manrope,sans-serif; }
.raceweb-feature-links a:hover { background:#283d83; }
.plan-card,.plan-card:nth-child(4n),.stat-card,.step,.order-card,.mini-plan,.included,.profile-hero { border:1px solid #25365c; border-radius:23px; background:#0b142b; box-shadow:inset 0 0 0 5px #050b1e,inset 0 0 0 6px #1c2e58,0 18px 45px rgba(0,0,0,.12); }
.plan-card:hover,.mini-plan:hover { border-color:#647ed6; box-shadow:inset 0 0 0 5px #050b1e,inset 0 0 0 6px #314984,0 22px 55px rgba(0,0,0,.18); }
.plan-card h3,.section-head h2,.game-card h3 { font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif; font-weight:800; }
@media (max-width:800px) { #home .raceweb-feature-grid { grid-template-columns:1fr; } #home .raceweb-feature-grid .raceweb-feature-card,#home .raceweb-feature-grid .raceweb-feature-card:nth-child(3),#home .raceweb-feature-grid .raceweb-feature-card:nth-child(4) { width:100%; min-height:0; margin:0; } #home .raceweb-feature-inner { min-height:320px; padding:22px; } .raceweb-chart { height:102px; left:22px; right:22px; } }
@media (max-width:520px) { #home .raceweb-feature-grid { margin-top:66px; } #home .raceweb-feature-inner { min-height:0; padding:20px; } #home .raceweb-feature-grid .raceweb-feature-card { min-height:0; } #home .raceweb-feature-grid .raceweb-feature-card:nth-child(1) .raceweb-feature-inner { min-height:390px; } #home .raceweb-feature-grid .raceweb-feature-card:nth-child(2) .raceweb-feature-inner { min-height:350px; } #home .raceweb-feature-grid h3 { font-size:32px; } .raceweb-card-bottom { font-size:11px; } .raceweb-feature-links { margin-top:30px; } }
@media (prefers-reduced-motion:reduce) { .page-orbs::before,.page-orbs::after,#home.hero.active::before { animation:none; } }
@media (max-width:760px) {
  .topbar,.topbar.glass { width:100%; height:auto; min-height:0; padding:12px 16px 9px; background:rgba(5,10,30,.88); border-bottom:1px solid rgba(140,160,255,.13); }
  .topbar .brand { font-size:19px; }
  .topbar .brand-mark { width:30px; height:30px; }
  .topbar nav { gap:4px; }
  #home.hero.active { min-height:0; padding:73px 18px 60px; }
  #home.hero::before { display:none; }
  #home h1 { font-size:clamp(46px,11vw,76px); line-height:.98; }
  #home .hero-copy p { font-size:16px; }
  #home .hero-buttons { flex-wrap:wrap; }
  #home .hero-buttons a { flex:1 1 100%; }
  #home .home-features { margin-top:68px; }
}
