:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --brand: #38bdf8;
  --brand2: #a78bfa;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Thai", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 450px at 85% 20%, rgba(167,139,250,.15), transparent 55%),
    radial-gradient(900px 500px at 50% 90%, rgba(34,197,94,.10), transparent 55%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
.container{
  width:min(1040px, 92vw);
  margin:0 auto;
  padding: 28px 0 48px;
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight: 750; letter-spacing:.2px;
}
.badge{
  font-size: 12px;
  color: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

.hero{
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}
.hero h1{
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: .2px;
}
.hero p{
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.card{
  grid-column: span 12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  background: var(--panel2);
  border-color: rgba(56,189,248,.35);
}

.cardTop{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.cardTitle{ display:flex; align-items:center; gap:10px; }
.icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.22);
}
.icon.purple{ background: rgba(167,139,250,.12); border-color: rgba(167,139,250,.22); }
.icon.green{ background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.22); }

h3{ margin: 0; font-size: 16px; }
.desc{ margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.74);
  white-space: nowrap;
}
.pill.live{ border-color: rgba(34,197,94,.35); color: rgba(187,247,208,.92); }
.pill.soon{ border-color: rgba(56,189,248,.35); color: rgba(186,230,253,.95); }

.actions{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-weight: 650;
}
.btn.primary{
  border-color: rgba(56,189,248,.35);
  background: linear-gradient(180deg, rgba(56,189,248,.20), rgba(56,189,248,.10));
}
.btn:active{ transform: translateY(1px); }

.footer{
  margin-top: 16px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  text-align:center;
}

@media (min-width: 720px){
  .card.span6{ grid-column: span 6; }
  .card.span4{ grid-column: span 4; }
}

