:root{
  --c1:#0ea5e9;
  --c2:#7c3aed;
  --card-bg: rgba(255,255,255,.92);
  --text:#0b1220;
  --muted:#52637a;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --radius:16px;
  --maxw: 1100px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  min-height:100vh;
}
a{color:inherit}
.container{max-width:var(--maxw); margin:0 auto; padding:18px;}
.header{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.brand{display:flex; align-items:center; gap:12px; min-width: 0;}
.brand img{width:54px; height:54px; object-fit:contain; border-radius:12px; background: rgba(255,255,255,.85); padding:6px;}
.brand h1{margin:0; font-size:20px; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.social{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.icon{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:12px;
  background: rgba(255,255,255,.85);
  text-decoration:none;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .12s ease, filter .12s ease;
}
.icon:hover{transform: translateY(-2px); filter: brightness(1.02);}
.icon svg{width:20px; height:20px}
.card{
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.section{margin-top:16px;}
.slider{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.14);
}
.slides{display:flex; transition: transform .4s ease;}
.slide{min-width:100%; aspect-ratio: 16/6; background: rgba(255,255,255,.2); display:block; position:relative;}
.slide img{width:100%; height:100%; object-fit:cover; display:block}
.slide .caption{
  position:absolute; left:14px; bottom:12px;
  padding:8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.45);
  color:#fff;
  font-size: 14px;
  max-width: 90%;
}
.slider-controls{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:space-between;
  pointer-events:none;
}
.slider-controls button{
  pointer-events:auto;
  margin:0 8px;
  border:0; border-radius: 14px;
  width:44px; height:44px;
  background: rgba(255,255,255,.9);
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 860px){
  .grid{grid-template-columns: 1fr;}
  .slide{aspect-ratio: 16/9;}
  .brand h1{font-size:18px}
}
.news-card .thumb{width:100%; aspect-ratio:16/9; background: rgba(0,0,0,.06); overflow:hidden}
.news-card .thumb img{width:100%; height:100%; object-fit:cover; display:block}
.thumb-fallback{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  color: rgba(0,0,0,.55);
}
.news-card .pad{padding:12px 14px}
.news-card h3{margin:0 0 6px; font-size:16px}
.meta{display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:12px}
.badge{
  padding:3px 8px;
  border-radius:999px;
  background: rgba(14,165,233,.14);
  color:#075985;
}
.actions{display:flex; gap:10px; margin-top:10px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  border:0;
  padding:10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.06);
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{filter: brightness(0.98)}
.btn.primary{background: rgba(14,165,233,.18)}
.sponsor{
  display:block;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.04);
}
.sponsor img{width:100%; height:100%; object-fit:cover; display:block}
.footer{
  margin-top:18px;
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: rgba(255,255,255,.95);
}
.footer small{opacity:.9}
.splash{
  position:fixed; inset:0;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  z-index:9999;
  transition: opacity .35s ease, visibility .35s ease;
}
.splash.hide{opacity:0; visibility:hidden; pointer-events:none;}
.splash-inner{
  text-align:center;
  color:#fff;
  padding: 20px;
}
.splash-inner img{
  width:110px; height:110px; object-fit:contain;
  background: rgba(255,255,255,.92);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.splash-inner h2{margin:12px 0 0; font-size: 26px; line-height:1.15}
.notice{
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
}
.pager{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:center;
  margin: 18px 0 6px;
}
.pager a{
  text-decoration:none;
  background: rgba(255,255,255,.85);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

@media (max-width: 1100px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 700px){
  .grid{grid-template-columns: 1fr;}
}
