:root{
    --bg0:#070711;
    --bg1:#0b0b18;
    --card:rgba(255,255,255,.04);
    --card2:rgba(255,255,255,.06);
    --stroke:rgba(255,255,255,.10);
    --stroke2:rgba(255,255,255,.14);
    --text:#e9e9ff;
    --muted:rgba(233,233,255,.72);
    --muted2:rgba(233,233,255,.55);
    --accent:#9b5cff;
    --accent2:#6f3bff;
    --good:#55e6b1;
    --warn:#ffcc66;
    --shadow: 0 20px 80px rgba(0,0,0,.55);
    --radius:18px;
    --radius2:26px;
    --max:1120px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}

body {
    background: #0c0c18;
}
.GAME-CONFIG{
    margin:0;
    color:var(--text);
    background: #0c0c18;
    overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:22px 18px 80px}

/* Top nav (optional) */
.topbar{
    position:sticky; top:0; z-index:50;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(7,7,17,.85), rgba(7,7,17,.45));
    border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .inner{
    max-width:var(--max);
    margin:0 auto;
    padding:14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.brand{
    display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px;
}
.brand-badge{
    width:28px; height:28px; border-radius:10px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 10px 30px rgba(155,92,255,.25);
    border:1px solid rgba(255,255,255,.18);
}
.navlinks{
    display:flex; gap:14px; align-items:center; color:var(--muted);
    font-size:14px;
}
.navlinks a{padding:8px 10px; border-radius:12px}
.navlinks a:hover{background:rgba(255,255,255,.05); color:var(--text)}

/* Game Hero (image behind title) */
.game-hero{
    margin-top:18px;
    border-radius: calc(var(--radius2) + 6px);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
    overflow:hidden;
    position:relative;
    min-height: 260px;
    display:flex;
    align-items:flex-end;
    background:
            radial-gradient(900px 360px at 20% 10%, rgba(155,92,255,.22), transparent 60%),
            radial-gradient(700px 320px at 80% 0%, rgba(111,59,255,.18), transparent 60%),
            linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.32));
}
/* Replace the URL below with your game banner image */
.game-hero::before{
    content:"";
    position:absolute; inset:0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    transform: scale(1.02);
}
.game-hero > *{position:relative}
.hero-inner{
    width:100%;
    padding:22px 22px 18px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.hero-title{
    max-width: 72ch;
}
.hero-title .kicker{
    display:inline-flex;
    gap:10px;
    flex-wrap:wrap;
    color:rgba(233,233,255,.78);
    font-size:13px;
    margin-bottom:10px;
}
.pill{
    padding:7px 10px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.25);
    border-radius:999px;
    backdrop-filter: blur(8px);
}
.hero-title h1{
    margin:0 0 8px;
    font-size:44px;
    line-height:1.05;
    letter-spacing:-.6px;
    text-shadow: 0 14px 70px rgba(0,0,0,.55);
}
@media (max-width: 560px){
    .hero-title h1{font-size:36px}
}
.hero-title p{
    margin:0;
    color:rgba(233,233,255,.78);
    line-height:1.6;
    font-size:15px;
}
.hero-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.btn{
    display:inline-flex; gap:10px; align-items:center; justify-content:center;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color:var(--text);
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    transition:.15s ease;
    user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07)}
.btn.primary{
    border:1px solid rgba(255,255,255,.18);
    background: linear-gradient(135deg, rgba(155,92,255,.95), rgba(111,59,255,.95));
    box-shadow: 0 18px 50px rgba(155,92,255,.25);
}
.btn.primary:hover{filter:brightness(1.05)}

/* Main grid */
.grid{
    margin-top:18px;
    display:grid;
    grid-template-columns: 1.25fr .75fr;
    gap:18px;
    align-items:start;
}
@media (max-width: 980px){
    .grid{grid-template-columns:1fr}
}

.section{
    background: rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.09);
    border-radius:var(--radius2);
    padding:18px;
    box-shadow: 0 18px 70px rgba(0,0,0,.4);
    overflow:hidden;
}
.section-title{
    display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
    margin-bottom:12px;
}
.section-title h2{
    margin:0;
    font-size:16px;
    letter-spacing:.2px;
}
.section-title p{
    margin:6px 0 0; color:var(--muted2); font-size:13px;
}

.divider{
    height:1px; background: rgba(255,255,255,.07);
    margin:14px 0;
}

/* Form controls */
.form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
@media (max-width: 680px){
    .form{grid-template-columns:1fr}
}
label{
    display:block;
    font-size:13px;
    color:var(--muted);
    margin-bottom:8px;
}
.control{
    background: rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.11);
    border-radius:16px;
    padding:12px;
}
select, input[type="number"], input[type="text"]{
    width:100%;
    border:0;
    outline:0;
    background: transparent;
    color:var(--text);
    font-size:14px;
    font-family:var(--sans);
}
.hint{
    margin-top:8px;
    color:var(--muted2);
    font-size:12px;
    line-height:1.45;
}

/* Budget/Performance selector */
.tier-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
@media (max-width: 680px){
    .tier-grid{grid-template-columns:1fr}
}
.tier{
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    background: rgba(0,0,0,.20);
    padding:14px;
    cursor:pointer;
    transition:.15s ease;
    display:flex;
    gap:12px;
    align-items:flex-start;
    justify-content:space-between;
    position:relative;
    overflow:hidden;
    user-select:none;
}
.tier:hover{transform: translateY(-1px); background: rgba(255,255,255,.04)}
.tier:focus-within{outline: 2px solid rgba(155,92,255,.35); outline-offset:2px}
.tier.active{
    border-color: rgba(155,92,255,.45);
    background: linear-gradient(180deg, rgba(155,92,255,.14), rgba(0,0,0,.22));
}
.tier .left{
    display:flex; flex-direction:column; gap:6px;
}
.tier .name{
    font-weight:800;
    font-size:14px;
    letter-spacing:.2px;
}
.tier .desc{
    color:var(--muted2);
    font-size:12px;
    line-height:1.45;
    max-width: 48ch;
}
.tier .meta{
    margin-top:8px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.tier .chip{
    padding:6px 10px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    color:var(--muted);
    font-size:12px;
}
.tier input{
    width:18px; height:18px; margin-top:2px;
    accent-color: var(--accent);
}

/* Toggle list */
.addons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
@media (max-width: 680px){
    .addons{grid-template-columns:1fr}
}
.addon{
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    background: rgba(0,0,0,.22);
    padding:12px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}
.addon .meta{display:flex; flex-direction:column; gap:4px}
.addon .name{font-weight:700; font-size:14px}
.addon .desc{color:var(--muted2); font-size:12px; line-height:1.4}
.addon .price{color:rgba(233,233,255,.8); font-family:var(--mono); font-size:12px}
.switch{
    display:flex; align-items:center; gap:8px;
    white-space:nowrap;
    color:var(--muted);
    font-size:13px;
}
.switch input{width:18px; height:18px; accent-color: var(--accent)}

/* Summary card */
.summary{
    position:sticky;
    top:74px;
}
.summary-top{
    display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.big-price{
    font-size:34px;
    font-weight:800;
    letter-spacing:-.6px;
    line-height:1;
}
.per{
    color:var(--muted2);
    font-size:13px;
    margin-top:6px;
}
.kv{
    margin-top:12px;
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
}
.kv-row{
    display:flex; justify-content:space-between; gap:12px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.18);
    border-radius:14px;
    color:var(--muted);
    font-size:13px;
}
.kv-row strong{color:var(--text)}
.fine{
    margin-top:10px;
    color:var(--muted2);
    font-size:12px;
    line-height:1.5;
}

/* Panel showcase */
.panel{
    margin-top:18px;
    display:grid;
    grid-template-columns: .9fr 1.1fr;
    gap:14px;
    align-items:stretch;
}
@media (max-width: 900px){
    .panel{grid-template-columns:1fr}
}
.panel-shot{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background:
            radial-gradient(420px 200px at 25% 10%, rgba(155,92,255,.18), transparent 60%),
            linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.25));
    box-shadow: var(--shadow);
    padding:16px;
    position:relative;
    overflow:hidden;
    min-height:260px;
}
.panel-shot .frame{
    position:absolute; inset:14px;
    border-radius:18px;
    border:1px dashed rgba(255,255,255,.18);
    background: rgba(0,0,0,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:14px;
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}
.panel-copy{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.03);
    box-shadow: var(--shadow);
    padding:18px;
}
.panel-copy h3{margin:0 0 8px; font-size:16px}
.bullets{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.7; font-size:14px}
.bullets li{margin:6px 0}
.tagrow{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.tag{
    border:1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    color:var(--muted);
}


.mono{font-family:var(--mono)}

/* ===== Dropdown (select) styling to match your dark theme ===== */

/* wrapper lets us draw the custom chevron */
.select-wrap{
    position: relative;
    width: 100%;
}

/* the <select> */
.select-wrap select{
    width: 100%;
    padding: 14px 44px 14px 14px;          /* room for chevron */
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(0,0,0,.28);
    color: rgba(233,233,255,.95);
    font-size: 14px;
    outline: none;

    /* remove native styling (works for most browsers) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* subtle “glow” like your cards */
    box-shadow: 0 18px 70px rgba(0,0,0,.25);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .15s ease;
}

/* hover */
.select-wrap select:hover{
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.045);
}

/* focus */
.select-wrap select:focus{
    border-color: rgba(155,92,255,.45);
    box-shadow:
            0 18px 70px rgba(0,0,0,.35),
            0 0 0 4px rgba(155,92,255,.18);
}

/* disabled */
.select-wrap select:disabled{
    opacity: .55;
    cursor: not-allowed;
}

/* custom chevron (matches the screenshot placement) */
.select-wrap::after{
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    pointer-events: none;
    transform: translateY(-55%) rotate(45deg);

    border-right: 2px solid rgba(233,233,255,.75);
    border-bottom: 2px solid rgba(233,233,255,.75);
    opacity: .9;
}

/* Optional: better text rendering */
.select-wrap select{
    text-rendering: geometricPrecision;
}

/* ===== Best-effort dropdown menu styling (limited by browser) =====
   Note: Most browsers DO NOT allow full styling of the opened menu.
   These rules help in Firefox and some Chromium builds, but not all. */
.select-wrap select option{
    background: #0b0b18;                   /* dark list */
    color: rgba(233,233,255,.95);
}

/* highlight color in some browsers */
.select-wrap select option:checked{
    background: linear-gradient(135deg, rgba(155,92,255,.95), rgba(111,59,255,.95));
    color: #fff;
}