:root{
  --bg0:#07000f;
  --bg1:#130022;
  --bg2:#1a0030;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.10);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent: #ffd6ff;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  /* single smooth gradient (no stripes) */
  background: linear-gradient(180deg, #2d0070 0%, #140020 45%, #06000d 100%);
  background-attachment: fixed;
}

a{color:inherit}
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10,0,20,.55);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.brand .dot{
  width:10px;height:10px;border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,214,255,.10);
}

.search{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 1;
  max-width: 520px;
  min-width: 240px;
}
.search input{
  width:100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.28);
  color: var(--text);
  outline:none;
}
.search input::placeholder{color: rgba(255,255,255,.55)}
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.22);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

/* HOME LAYOUT LIKE YOUR 2ND IMAGE */
.home-stage{
  margin-top: 22px;
  min-height: calc(100vh - 120px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.tile-row{
  width: 100%;
  max-width: 980px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  padding-top: 40px;
}

@media (max-width: 980px){
  .tile-row{gap: 26px; grid-template-columns: 1fr}
}

.tile{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.tile-img{
  width: 360px;
  max-width: 92vw;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  background: rgba(0,0,0,.20);
}
.tile-img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.tile-title{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .4px;
}
.tile-sub{
  margin-top: -6px;
  font-size: 13px;
  color: var(--muted);
  text-align:center;
  max-width: 360px;
  line-height: 1.4;
}

/* Game page (same as before) */
.page-title{margin: 10px 0 14px 0; font-size: 28px; color: var(--accent)}
.backlink{
  display:inline-flex; align-items:center; gap:10px;
  text-decoration:none; color: var(--accent);
  font-weight: 650; margin-top: 12px;
}
.banner{
  width:100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(0,0,0,.22);
}
.sections{margin-top:16px; display:grid; gap: 14px}
.section{
  background: rgba(0,0,0,.18);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.section h3{margin:0 0 8px 0; color: var(--accent); font-size: 18px}
.section p{margin:0 0 10px 0; color: rgba(255,255,255,.88); line-height:1.55}
.section p:last-child{margin-bottom:0}
.small{font-size: 13px; color: var(--muted)}
.footer{margin: 28px 0 10px 0; color: rgba(255,255,255,.68); font-size: 13px; text-align:center}

/* Optional per-page background image */


/* COMING SOON MODAL */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.55);
  z-index: 999;
}
.modal.show{display:flex;}
.modal-card{
  width: min(520px, 92vw);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,0,20,.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  padding: 26px 22px;
  text-align:center;
}
.modal-title{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 10px 0;
}
.modal-sub{
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.modal-close{
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 10px 14px;
  cursor:pointer;
}
.modal-close:hover{background: rgba(255,255,255,.12);}
