:root{
  --bg0:#070A12;
  --bg1:#0C1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.10);
  --accent: #7C5CFF;
  --accent2:#1EC8FF;
  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(124,92,255,.45), transparent 55%),
    radial-gradient(900px 500px at 95% 10%, rgba(30,200,255,.28), transparent 55%),
    radial-gradient(850px 700px at 20% 120%, rgba(255,0,102,.20), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

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

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 0 8px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.logo{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(30,200,255,.75));
  box-shadow: 0 14px 35px rgba(0,0,0,.45);
  font-weight:800;
  letter-spacing:.5px;
}
.brandtext{min-width:0}
.brandtext .name{
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 56vw;
}
.brandtext .sub{
  margin-top:2px;
  color:var(--muted);
  font-size:.95rem;
}

.navbtns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  backdrop-filter: blur(10px);
}
.btn:hover{background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(30,200,255,.70));
  border-color: transparent;
}
.btn.primary:hover{filter: brightness(1.02)}
.btn .dot{
  width:8px;height:8px;border-radius:50%;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}

.card{
  margin-top:18px;
  padding:22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}
.badge .pulse{
  width:10px;height:10px;border-radius:50%;
  background: rgba(30,200,255,.95);
  box-shadow: 0 0 0 6px rgba(30,200,255,.12);
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 860px){
  .hero{grid-template-columns:1fr}
}

.h1{
  margin:14px 0 10px;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing:-.02em;
}
.p{
  margin:0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.side{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:space-between;
}
.panel{
  padding:18px;
  border-radius: 18px;
  background: rgba(0,0,0,.20);
  border: 1px solid var(--line);
}
.panel h3{
  margin:0 0 8px;
  font-size: 1.05rem;
}
.panel p{
  margin:0;
  color: var(--muted);
  line-height: 1.55;
}

.footer{
  margin-top:18px;
  color: rgba(255,255,255,.55);
  font-size:.92rem;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top: 16px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} }

.post{
  overflow:hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.post img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
  background: rgba(255,255,255,.03);
}
.post .content{
  padding:14px 14px 16px;
}
.post .date{
  color: rgba(255,255,255,.60);
  font-size:.9rem;
  margin-bottom:8px;
}
.post .caption{
  color: rgba(255,255,255,.86);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.small{
  color: rgba(255,255,255,.60);
  font-size: .95rem;
  margin-top: 10px;
}
.notice{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}
