:root{
  --bg:#0b1220;
  --panel:#0f1a33;
  --card:#111f3f;
  --text:#e8eefc;
  --muted:#b6c3ea;
  --brand:#69a7ff;
  --brand2:#78ffd6;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 45px rgba(0,0,0,.35);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(180deg,var(--bg),#070b14);
  color:var(--text);
}

.wrap{
  max-width:var(--max);
  margin:auto;
  padding:30px 20px 60px;
}

/* Header */

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
}

.mark{
  width:42px;
  height:42px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
}

nav{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
}

nav a:hover{
  color:var(--brand);
}

/* Hero */

.hero{
  margin-top:40px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:25px;
  background:var(--panel);
  padding:25px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--muted);
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
}

.hero h2{
  font-size:32px;
  margin:15px 0;
}

.actions{
  margin-top:20px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn{
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  background:#1c2a4a;
  color:white;
  font-size:14px;
}

.btn.primary{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#001;
}

/* Hero card */

.heroCard img{
  width:100%;
  border-radius:12px;
}

.pad{
  padding:15px 0;
}

.statGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.mini{
  background:var(--card);
  padding:10px;
  border-radius:12px;
  font-size:13px;
}

/* Grid section */

.gridSection{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.card .pad{
  padding:15px;
}

/* Propagation */

.panel{
  margin-top:50px;
  background:var(--panel);
  border-radius:var(--radius);
  padding:20px;
}

.iframeWrap{
  width:100%;
  aspect-ratio:16/9;
  margin-top:20px;
}

iframe{
  width:100%;
  height:100%;
  border:none;
  border-radius:12px;
}

.fallback{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}

/* Contact */

.contact{
  margin-top:50px;
}

/* Footer */

footer{
  margin-top:60px;
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:13px;
  color:var(--muted);
}

/* Mobile Improvements */

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }

  .statGrid{
    grid-template-columns:1fr;
  }

  .hero h2{
    font-size:26px;
  }
}

.prop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  margin-top:20px;
}

/* 3-column propagation layout */
.prop-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.prop-card{
  background:var(--card);
  padding:15px;
  border-radius:var(--radius);
  text-align:center;
}

.prop-card img{
  width:100%;
  border-radius:12px;
  margin-top:10px;
}

.prop-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Cards */
.status-card {
  background: var(--card);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Kp number styling */
#kp-value {
  font-size: 38px;
  font-weight: bold;
  margin-top: 10px;
}

/* Status styling */
#kp-status {
  margin-top: 10px;
  font-size: 18px;
  color: var(--brand);
}

/* Aurora image */
.status-card img {
  width: 100%;
  margin-top: 15px;
  border-radius: 12px;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .prop-grid-3 {
    grid-template-columns: 1fr;
  }
}

.status-card h4 {
  margin-bottom: 10px;
}

#kp-value {
  font-size: 32px;
  font-weight: bold;
}

#kp-status {
  margin-top: 10px;
  font-size: 16px;
  color: var(--brand);
}