/* Launcher Portal — styled to match your screenshot */
:root{
  --bg:#0b0f14;
  --bg2:#0a0e13;
  --panel:#0f1620;
  --panel2:#101a26;
  --border:rgba(255,255,255,.08);
  --text:#d7dde7;
  --muted:#90a0b6;

  --tab:#1a2432;
  --tab2:#121a25;

  --accent:#c8a44a;   /* logo accent */
  --green:#8bc34a;    /* play */
  --shadow: 0 16px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 28px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #0a0e13, #0b0f14 40%, #0a0e13);
}

/* TOPBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;

  height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 14px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,19,26,.78), rgba(11,15,20,.62));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topbar-left{display:flex; align-items:center; gap:16px; min-width:0}
.brand{
  display:flex; align-items:center; gap:12px;
  color:inherit; text-decoration:none;
  min-width:0;
}
.brand-mark{
  width:34px; height:34px;
  border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(200,164,74,.35), rgba(200,164,74,.10));
  border:1px solid rgba(200,164,74,.25);
  font-weight:1000;
  color:rgba(235,220,175,.95);
}
.brand-title{font-weight:1000; letter-spacing:.2px}
.brand-sub{display:block; color:rgba(144,160,182,.85); font-size:12px; margin-top:2px}

.tabs{
  display:flex;
  gap:14px;
  align-items:center;
  min-width:0;
  margin:0 auto;
}
.tab{
  appearance:none;
  border:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(26,36,50,.75), rgba(18,26,37,.65));
  color:rgba(215,221,231,.85);
  font-weight:900;
  letter-spacing:.6px;
  font-size:13px;
  padding:12px 16px;
  border-radius:6px;
  cursor:pointer;
}
.tab:hover{filter:brightness(1.07)}
.tab.active{
  background: linear-gradient(180deg, rgba(44,62,88,.75), rgba(18,26,37,.65));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.topbar-right{
  display:flex; align-items:center; gap:10px;
  font-weight:900;
  letter-spacing:.6px;
  font-size:12px;
}
.toplink{color:rgba(215,221,231,.78); text-decoration:none}
.toplink:hover{color:var(--text)}
.sep{color:rgba(215,221,231,.22)}

/* LAYOUT */
.layout{
  z-index:2;
  position:relative;
  min-height: calc(100vh - 64px);
display:grid;
  grid-template-columns: 1fr 340px;
  gap:14px;
  padding:14px;
  min-height:0;
}

/* DOWNLOAD BUTTON */
.download-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:40px;
  padding:0 14px;
  border-radius:8px;
  border:1px solid rgba(34,197,94,.28);
  background: linear-gradient(180deg, rgba(34,197,94,.36), rgba(34,197,94,.12));
  color:rgba(215,255,232,.96);
  text-decoration:none;
  font-weight:1000;
  letter-spacing:.8px;
  font-size:12px;
  text-transform:uppercase;
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
}
.download-btn:hover{filter:brightness(1.08)}
.dl-ic{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color:rgba(255,255,255,.90);
  line-height:1;
}

/* DOWNLOAD PANEL (right sidebar) */
.download-panel{padding:0 0 12px 0; margin-top:18px}
.download-btn--wide{
  width:calc(100% - 24px);
  margin:10px 12px 0 12px;
  justify-content:center;
}
.download-note{margin:10px 12px 0 12px}

/* PANELS */
.panel{
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background: linear-gradient(180deg, rgba(20,28,39,.45), rgba(10,14,19,.25));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.panel-title{
  padding:12px 12px 0 12px;
  font-size:12px;
  letter-spacing:1px;
  font-weight:1000;
  color: var(--accent); text-shadow: 0 0 10px rgba(200,164,74,.18);
  text-transform:uppercase;
}
.divider{height:1px; background:rgba(255,255,255,.08); margin:12px 0}
.muted{color:var(--muted)}
.small{font-size:13px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace}

/* LEFT */
.left{min-height:0; display:flex; flex-direction:column; gap:12px}
.left-links{
  color:rgba(215,221,231,.85);
  font-weight:900;
  font-size:13px;
  padding:6px 2px;
}
.left-link{color:rgba(215,221,231,.85); text-decoration:none}
.left-link:hover{color:#fff}
.left-link.active{color:#fff}
.dotsep{opacity:.35; margin:0 6px}

.player{padding:12px}
.player-top{display:flex; gap:12px; align-items:flex-start}
.avatar{
  width:58px; height:58px; border-radius:10px;
  border:2px solid rgba(80,140,220,.55);
  background: rgba(255,255,255,.04);
}
.player-meta{flex:1}
.player-name{font-weight:1000; font-size:18px}
.player-sub{color:rgba(144,160,182,.9); font-size:13px; margin-top:2px}
.badge-mini{
  width:46px; height:46px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.preview{
  margin-top:12px;
  height:160px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(30,45,66,.35);
  display:flex; align-items:center; justify-content:center;
  color:rgba(144,160,182,.9);
  font-weight:900;
  font-size:13px;
}
.stats{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  overflow:hidden;
}
.stat{
  padding:10px 10px;
  background: rgba(0,0,0,.18);
  border-right:1px solid rgba(255,255,255,.08);
  text-align:center;
}
.stat:last-child{border-right:none}
.stat-k{color:rgba(144,160,182,.9); font-weight:900; font-size:12px}
.stat-v{font-weight:1000; font-size:18px; margin-top:4px}

.contacts{padding:12px}
.searchrow{display:grid; grid-template-columns: 1fr; gap:10px}
.searchlabel{
  color:rgba(215,221,231,.72);
  font-weight:1000;
  letter-spacing:.8px;
  font-size:12px;
  text-transform:uppercase;
}
.search{
  display:flex; gap:8px; align-items:center;
}
.search input{
  flex:1;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  padding:10px 10px;
  color:var(--text);
  outline:none;
}
.searchbtn{
  width:40px; height:40px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
  color:rgba(215,221,231,.8);
  cursor:pointer;
}
.searchbtn:hover{background:rgba(255,255,255,.06)}
.icons{display:flex; gap:8px}
.icon{
  width:40px; height:40px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
  color:rgba(215,221,231,.8);
  cursor:pointer;
  font-weight:1000;
}
.icon:hover{background:rgba(255,255,255,.06)}
.tree{margin-top:10px}
details{
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background: rgba(0,0,0,.10);
  margin-top:8px;
  overflow:hidden;
}
summary{
  cursor:pointer;
  list-style:none;
  padding:10px 12px;
  font-weight:1000;
  letter-spacing:.6px;
  font-size:12px;
  text-transform:uppercase;
  color:rgba(215,221,231,.85);
}
summary::-webkit-details-marker{display:none}
.tree-item{padding:10px 12px}

/* CENTER */
.center{
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  min-height:0;
  overflow:hidden;
}
.center-wrap{  min-height: 100%;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:flex-start;
  padding:18px;
}
.center-message{
  text-align:center;
  max-width: 720px;
  padding:12px 10px;
}
.center-message h1{
  margin:0 0 8px;
  font-size:34px;
  font-weight:1100;
  letter-spacing:.2px;
}
.center-message p{
  margin:0;
  color:rgba(144,160,182,.92);
  font-weight:700;
}
.center-slot{
  min-height: 0;
margin-top:18px;
}

/* CENTER SLOT (simple content cards) */
.slot-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.slot-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding:12px;
  box-shadow: var(--shadow2);
}
.slot-title{
  font-weight:1000;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:12px;
  color: var(--accent); text-shadow: 0 0 10px rgba(200,164,74,.14);
}
.slot-text{
  margin-top:8px;
  color:rgba(144,160,182,.92);
  font-weight:700;
  font-size:13px;
  line-height:1.45;
}
.slot-list{margin-top:10px; display:grid; gap:6px}
.slot-note{margin-top:10px; font-size:12px; color:rgba(144,160,182,.92)}

/* RIGHT (keep structure like dota-like portal) */
.right{min-height:0; display:flex; flex-direction:column; gap:12px; justify-content:flex-start}
.news{padding:0 0 12px 0}
.news-card{
  margin:10px 12px 0 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding:12px;
}
.news-title{
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-size:13px;
}
.news-btn{
  display:inline-flex;
  margin-top:10px;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color:rgba(215,221,231,.9);
  font-weight:1000;
  letter-spacing:.7px;
  font-size:12px;
  text-transform:uppercase;
}
.news-btn:hover{background:rgba(255,255,255,.06)}
.server{padding:0 0 12px 0}
.srv{
  margin:10px 12px 0 12px;
  display:flex; gap:12px; align-items:center;
}
.status-dot{width:10px;height:10px;border-radius:999px; display:inline-block}
.status-dot.online{background:rgba(34,197,94,.95); box-shadow:0 0 18px rgba(34,197,94,.20)}
.srv-title{
  font-weight:1000;
  letter-spacing:.7px;
  text-transform:uppercase;
  font-size:13px;
}

/* BOTTOM BAR */
.bottombar{
  height:58px;
  border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(10,14,19,.65), rgba(16,22,30,.75));
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0 14px;
  gap:14px;
}
.chatbar{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.chatlabel{white-space:nowrap; font-weight:900; font-size:12px}
.warn{color:#ff6a3a}
.chatinput{
  flex:1;
  min-width:260px;
  height:36px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color:var(--text);
  padding:0 10px;
  outline:none;
}
.chaticon{
  width:34px; height:34px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color:rgba(215,221,231,.88);
  cursor:pointer;
  font-weight:1000;
}
.chaticon:hover{background:rgba(255,255,255,.06)}
.actions{display:flex; gap:10px; align-items:center}
.action-btn{
  height:40px;
  min-width:92px;
  padding:0 14px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(245,245,245,.92);
  color:#0b0f14;
  font-weight:1000;
  cursor:pointer;
}
.action-btn:hover{filter:brightness(1.04)}
.action-btn.primary{
  min-width:120px;
}

/* RESPONSIVE */
@media (max-width: 1200px){
  .layout{
  z-index:2;
  position:relative;grid-template-columns: 1fr; height:auto; min-height: calc(100vh - 64px);}
  .center{min-height: 620px;}
}
@media (max-width: 900px){
  .layout{
  z-index:2;
  position:relative;grid-template-columns: 1fr; height:auto}
  .center{min-height: 520px}
  .tabs{display:none}
  .bottombar{flex-direction:column; height:auto; padding:10px 14px; align-items:stretch}
  .actions{justify-content:flex-end}
}

@media (max-width: 720px){
  .slot-grid{grid-template-columns: 1fr;}
}



/* HERO TITLE COLORS */
#pageTitle{
  color: var(--green);
  text-shadow: 0 0 22px rgba(139,195,74,.18);
}
#pageDesc{
  margin-top:6px;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(200,164,74,.12);
}




/* BACKGROUND VIDEO */
.bg-video{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  pointer-events:none;
  filter: saturate(1.05) contrast(1.05) brightness(.92);
}
.bg-overlay{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(1200px 700px at 50% 15%, rgba(0,0,0,.20), rgba(0,0,0,.55)),
    linear-gradient(180deg, rgba(11,15,20,.28), rgba(11,15,20,.52));
}




/* HOME STORY */
.story-card{
  margin:18px auto 14px;
  max-width: 860px;
  padding:16px 16px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background: linear-gradient(180deg, rgba(20,28,39,.35), rgba(10,14,19,.18));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow2);
  text-align:left;
}
.story-card .story-lead{
  margin:0 0 12px;
  color: rgba(215,221,231,.92);
  font-weight:800;
  line-height:1.5;
}
.story-card h2{
  margin:14px 0 8px;
  font-size:13px;
  letter-spacing:.9px;
  text-transform:uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(200,164,74,.14);
}
.story-card p{
  margin:0 0 10px;
  color: rgba(215,221,231,.86);
  font-weight:700;
  line-height:1.55;
}
.story-card ul{
  margin:0 0 10px 18px;
  padding:0;
  color: rgba(215,221,231,.86);
  font-weight:700;
  line-height:1.55;
}
.story-card li{margin:6px 0}
.story-card .callout{
  margin:10px 0 12px;
  padding:12px 12px;
  border-radius:10px;
  border:1px solid rgba(200,164,74,.18);
  background: linear-gradient(180deg, rgba(200,164,74,.08), rgba(0,0,0,.12));
}
.story-card .callout b{color:rgba(255,255,255,.92)}
.story-card .emoji{filter: drop-shadow(0 0 10px rgba(200,164,74,.10))}
.quad-grid{
  max-width: 980px;
  margin: 12px auto 2px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.quad-grid .slot-card{
  height: 126px;
  overflow:hidden;
}
.quad-grid .slot-text{
  display:-webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
@media (max-width: 980px){
  .quad-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 520px){
  .quad-grid{grid-template-columns: 1fr;}
  .quad-grid .slot-card{height:auto}
}

