:root {
  --bg: #0a0a0f;
  --panel: #121219;
  --panel-2: #181820;
  --panel-3: #20202a;
  --text: #f8f6fa;
  --muted: #9f9ba9;
  --dim: #767280;
  --line: rgba(255,255,255,.095);
  --line-strong: rgba(255,255,255,.17);
  --pink: #ff91c8;
  --purple: #a98bff;
  --green: #7de3b0;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: "DM Sans", system-ui, sans-serif; }
button, input { font: inherit; }
a { color: inherit; }
.ambient { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.ambient-one { width: 680px; height: 680px; right: -260px; top: -260px; background: radial-gradient(circle, rgba(169,139,255,.16), rgba(255,145,200,.035) 48%, transparent 69%); }
.ambient-two { width: 520px; height: 520px; left: -300px; top: 690px; background: radial-gradient(circle, rgba(255,145,200,.07), transparent 66%); }
.site-header { position: relative; z-index: 10; max-width: var(--max); height: 82px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 17px "Space Grotesk", sans-serif; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 2px; border-radius: 9px; color: #161119; background: linear-gradient(135deg, var(--pink), var(--purple)); font-weight: 800; }
.brand em { color: var(--muted); font-style: normal; font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.site-header nav a:hover { color: var(--text); }
.site-header .arcade-link { padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; }
.hero { position: relative; max-width: var(--max); min-height: 650px; margin: auto; padding: 112px 28px 96px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 72px; }
.eyebrow, .section-kicker { color: var(--pink); font: 700 11px "Space Grotesk", sans-serif; letter-spacing: 2.1px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 20px var(--pink); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 { max-width: 900px; margin: 0; font-size: clamp(62px, 7.4vw, 106px); line-height: .92; letter-spacing: -.06em; font-weight: 600; }
h1 em { display: inline-block; color: var(--muted); font-style: normal; }
.hero-copy { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 11px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 49px; padding: 0 19px; border-radius: 11px; text-decoration: none; font-size: 14px; font-weight: 700; }
.button.primary { color: #171119; background: var(--pink); }
.button.secondary { border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); }
.trust-row { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 27px; color: var(--dim); font-size: 12px; }
.trust-row span::first-letter { color: var(--green); }
.hero-panel { border: 1px solid var(--line); border-radius: 20px; background: rgba(18,18,25,.78); box-shadow: 0 36px 90px rgba(0,0,0,.32); backdrop-filter: blur(18px); overflow: hidden; }
.panel-top { height: 53px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: var(--dim); border-bottom: 1px solid var(--line); font: 600 10px "Space Grotesk"; letter-spacing: 1.5px; }
.status-dot { color: var(--green); }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero-panel ol { list-style: none; margin: 0; padding: 8px 20px; }
.hero-panel li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hero-panel li:last-child { border: 0; }
.hero-panel li > span { color: var(--purple); font: 700 11px "Space Grotesk"; }
.hero-panel strong { display: block; margin-bottom: 6px; font: 600 15px "Space Grotesk"; }
.hero-panel small { color: var(--muted); line-height: 1.45; }
.section-shell { position: relative; max-width: var(--max); margin: auto; padding: 90px 28px; }
.section-kicker { margin-bottom: 15px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading h2, .safety h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.045em; }
.section-heading p { margin: 11px 0 0; color: var(--muted); font-size: 15px; }
.count-pill { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.profiles { padding-top: 30px; }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.profile-card { position: relative; min-height: 190px; padding: 22px; text-align: left; color: inherit; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); cursor: pointer; overflow: hidden; transition: transform .22s, border-color .22s, background .22s; }
.profile-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.profile-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 12px; color: var(--profile-color); background: color-mix(in srgb, var(--profile-color) 10%, transparent); font-size: 19px; }
.profile-card h3 { margin: 0 0 7px; font-size: 18px; }
.profile-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.profile-count { position: absolute; right: 18px; top: 18px; color: var(--dim); font-size: 11px; }
.apps-section { padding-bottom: 120px; }
.catalog-controls { position: sticky; top: 10px; z-index: 7; margin: 0 0 22px; padding: 10px; display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,10,15,.88); backdrop-filter: blur(18px); }
.search-wrap { width: 310px; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.search-wrap:focus-within { border-color: rgba(255,145,200,.7); box-shadow: 0 0 0 3px rgba(255,145,200,.1); }
.search-wrap > span { color: var(--muted); font-size: 23px; transform: translateY(-2px); }
.search-wrap input { min-width: 0; flex: 1; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-wrap input::placeholder { color: var(--dim); }
kbd { padding: 2px 6px; color: var(--dim); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.filters { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter { flex: 0 0 auto; padding: 8px 12px; color: var(--muted); border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.filter:hover { color: var(--text); }
.filter.active { color: var(--text); border-color: var(--line); background: var(--panel-2); }
.select-visible { flex: 0 0 auto; min-height: 40px; padding: 0 13px; color: #171119; border: 0; border-radius: 9px; background: var(--pink); cursor: pointer; font-size: 11px; font-weight: 700; }
.select-visible:disabled { opacity: .4; cursor: not-allowed; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.app-card { position: relative; min-width: 0; min-height: 155px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.app-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.app-card.selected { border-color: rgba(255,145,200,.58); background: linear-gradient(145deg, rgba(255,145,200,.09), var(--panel) 55%); }
.app-top { display: flex; align-items: center; gap: 11px; padding-right: 28px; }
.app-monogram { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--app-color); background: color-mix(in srgb, var(--app-color) 12%, #16161e); font: 700 13px "Space Grotesk"; }
.app-title { min-width: 0; }
.app-title h3 { overflow: hidden; margin: 0 0 3px; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.app-title span { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.app-card p { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.48; }
.check { position: absolute; top: 17px; right: 17px; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel-2); }
.app-card.selected .check { border-color: var(--pink); background: var(--pink); }
.app-card.selected .check::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #161119; font-size: 13px; font-weight: 800; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }
.downloads-section { border-block: 1px solid var(--line); background: #0d0d13; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.download-card { min-height: 215px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); text-decoration: none; transition: transform .22s, border-color .22s; }
.download-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.download-top { display: flex; justify-content: space-between; align-items: start; }
.download-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--card-color); background: color-mix(in srgb, var(--card-color) 12%, #17171e); font: 700 14px "Space Grotesk"; }
.external { display: grid; place-items: center; width: 30px; height: 30px; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; }
.download-card h3 { margin: 24px 0 7px; font-size: 19px; }
.download-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.download-label { margin-top: auto; padding-top: 18px; color: var(--card-color); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.download-card.warning { border-color: rgba(255,187,112,.2); }
.recovery-section { padding-block: 110px; }
.recovery-grid { grid-template-columns: repeat(5, 1fr); }
.recovery-grid .download-card { min-height: 230px; }
.drivers-section { border-bottom: 1px solid var(--line); }
.driver-grid { grid-template-columns: repeat(4, 1fr); }
.safety { margin-bottom: 95px; padding-block: 58px; display: grid; grid-template-columns: 90px 1fr; gap: 34px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(120deg, rgba(255,145,200,.06), rgba(169,139,255,.045)); }
.safety-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 19px; color: var(--pink); background: rgba(255,145,200,.1); font-size: 35px; }
.safety h2 { font-size: 34px; }
.safety p:last-child { max-width: 850px; margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.selection-tray { position: fixed; z-index: 20; left: 50%; bottom: 18px; width: min(720px, calc(100% - 30px)); min-height: 70px; padding: 10px 11px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line-strong); border-radius: 17px; background: rgba(24,24,32,.94); box-shadow: 0 24px 70px rgba(0,0,0,.5); backdrop-filter: blur(22px); transform: translate(-50%, 0); transition: opacity .24s, transform .24s, visibility .24s; }
.selection-tray.is-empty { opacity: 0; visibility: hidden; transform: translate(-50%, 22px); pointer-events: none; }
.selection-copy span { display: block; font: 600 14px "Space Grotesk"; }
.selection-copy small { display: block; overflow: hidden; max-width: 400px; margin-top: 3px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.selection-actions { display: flex; gap: 7px; }
.tray-button { min-height: 46px; padding: 0 15px; border: 0; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 700; }
.tray-button.clear { color: var(--muted); background: transparent; }
.tray-button.download { color: #171119; background: var(--pink); }
.tray-button:disabled { opacity: .38; cursor: not-allowed; }
.toast { position: fixed; z-index: 30; left: 50%; top: 22px; padding: 11px 16px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel-3); box-shadow: 0 15px 45px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -18px); pointer-events: none; transition: .25s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
footer { max-width: var(--max); margin: auto; padding: 30px 28px 120px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; font-size: 12px; }
.footer-brand { color: var(--text); }
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 55px; }
  .hero-panel { max-width: 570px; }
  .profile-grid, .app-grid { grid-template-columns: repeat(3, 1fr); }
  .recovery-grid { grid-template-columns: repeat(3, 1fr); }
  .driver-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .site-header { height: 70px; padding-inline: 18px; }
  .site-header nav a:not(.arcade-link) { display: none; }
  .hero { min-height: 0; padding: 78px 18px 75px; }
  h1 { font-size: clamp(53px, 15vw, 78px); }
  .hero-copy { font-size: 16px; }
  .section-shell { padding: 70px 18px; }
  .profiles { padding-top: 10px; }
  .profile-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-controls { align-items: stretch; flex-direction: column; top: 6px; }
  .search-wrap { width: 100%; }
  .download-grid, .recovery-grid { grid-template-columns: repeat(2, 1fr); }
  .driver-grid { grid-template-columns: repeat(2, 1fr); }
  .safety { width: calc(100% - 36px); margin-inline: auto; grid-template-columns: 1fr; }
  .selection-copy small { max-width: 250px; }
}
@media (max-width: 500px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .trust-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .profile-grid, .app-grid, .download-grid, .recovery-grid, .driver-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 160px; }
  .app-card { min-height: 140px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .selection-tray { align-items: stretch; flex-direction: column; }
  .selection-actions { width: 100%; }
  .tray-button.download { flex: 1; }
  .selection-copy small { max-width: calc(100vw - 66px); }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
