:root{
  --bg: #071a26;
  --bg-2:#081f2e;
  --surface: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --text: #e8f3ff;
  --muted:#b6c7d6;
  --primary:#2cd3f5;
  --primary-2:#3aa8ff;
  --accent:#6ef3d6;
  --success:#58f39f;
  --danger:#ff6b6b;
  --shadow: 0 12px 28px rgba(0,0,0,0.28);
  --radius:16px;
  --radius-sm:12px;
  --radius-lg:28px;
  --speed: 240ms;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial;
  color:var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #091d2b 100%);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  scroll-behavior:smooth;
}

.container{width:min(1200px,92%);margin-inline:auto}
a{color:inherit; text-decoration:none}
code{background:rgba(255,255,255,0.08); padding:2px 6px; border-radius:6px}

.site-header{
  position:sticky; top:0; z-index:40;
  backdrop-filter:saturate(150%) blur(10px);
  background: linear-gradient(180deg, rgba(7,26,38,0.7) 0%, rgba(7,26,38,0.3) 100%);
  border-bottom:1px solid transparent;
  transition: box-shadow var(--speed), border-color var(--speed), background var(--speed);
}
.site-header.elevated{ box-shadow: var(--shadow); border-color: var(--border); background: rgba(7,26,38,0.95); }

.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand-logo{width:40px; height:40px; border-radius:10px; object-fit:cover}
.brand-text{display:flex; flex-direction:column; line-height:1.2}
.brand-text strong{font-size:1.1rem}
.brand-text small{color:var(--muted); font-size:0.8rem}

.menu{display:flex; align-items:center; gap:20px}
.menu a{opacity:0.9; transition:opacity var(--speed)}
.menu a:hover{opacity:1}

.nav-toggle{display:none; flex-direction:column; gap:5px; background:transparent; border:0; cursor:pointer; padding:8px}
.nav-toggle .bar{width:24px; height:2px; background:var(--text); display:block; border-radius:2px; transition:transform var(--speed), opacity var(--speed)}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){transform: translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){transform: translateY(-7px) rotate(-45deg)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem; padding:.65rem 1.1rem; border-radius:12px; border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color:var(--text); cursor:pointer; font-size:0.95rem; font-weight:500;
  transition: transform var(--speed), background var(--speed), border-color var(--speed), box-shadow var(--speed);
  will-change: transform;
}
.btn:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,0.28); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.btn:active{ transform: translateY(0); }
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: none; color:#02131b; font-weight:600;
  box-shadow: 0 8px 20px rgba(44,211,245,0.4);
}
.btn-primary:hover{box-shadow: 0 12px 28px rgba(44,211,245,0.5)}
.btn-secondary{ background: rgba(255,255,255,0.08); border-color:var(--border) }
.btn-ghost{ background: transparent; border-color:rgba(255,255,255,0.15) }
.btn-large{ padding:.9rem 1.4rem; font-size:1rem; border-radius:14px }

.hero{
  position:relative; padding: 100px 0 60px;
  overflow:hidden; min-height:85vh; display:flex; align-items:center;
}
.hero-bg{position:absolute; inset:0; overflow:hidden; z-index:-1}
.hero-bg .gradient{
  position:absolute; inset:-20% -10% auto -10%;
  height:70vh;
  background: radial-gradient(60% 60% at 50% 0%, rgba(44,211,245,0.15), transparent);
  filter:blur(60px);
}
.waves{
  position:absolute; bottom:0; left:0; width:100%; height:200px;
  fill:rgba(44,211,245,0.08);
}
.waves-1{animation: wave 12s ease-in-out infinite; opacity:0.6}
.waves-2{animation: wave 18s ease-in-out infinite reverse; opacity:0.4}
@keyframes wave{
  0%, 100%{transform: translateX(0) scaleY(1)}
  50%{transform: translateX(-25%) scaleY(0.9)}
}

.hero-inner{display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center}
.hero-copy h1{font-size:3rem; line-height:1.1; margin:0 0 1rem; font-weight:700; letter-spacing:-0.02em}
.hero-copy p{font-size:1.2rem; color:var(--muted); margin-bottom:2rem; line-height:1.6}
.cta-group{display:flex; gap:1rem; flex-wrap:wrap}
.mini{font-size:0.85rem; margin-top:1rem}
.muted{color:var(--muted)}

.card{
  background: rgba(255,255,255,0.05);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem;
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed);
}
.card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.glass{
  backdrop-filter:blur(12px) saturate(150%);
  background: rgba(10,30,46,0.6);
  border-color:rgba(255,255,255,0.15);
}
.card-row{display:flex; align-items:center; gap:12px; padding:10px 0}
.card-row span:nth-child(2){flex:1}
.divider{height:1px; background:var(--border); margin:8px 0}
.dot{display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--muted)}
.dot-online{background:var(--success); box-shadow:0 0 8px var(--success); animation:pulse 2s ease-in-out infinite}
@keyframes pulse{
  0%, 100%{opacity:1}
  50%{opacity:0.6}
}

.section{padding:80px 0}
.section.alt{background: rgba(255,255,255,0.02)}
.section.emphasis{background: linear-gradient(135deg, rgba(44,211,245,0.08), rgba(110,243,214,0.05)); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section-title{font-size:2.5rem; text-align:center; margin-bottom:1rem; font-weight:700}
.section-subtitle{text-align:center; color:var(--muted); font-size:1.1rem; margin-bottom:3rem}

.grid{display:grid; gap:24px}
.features{grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))}
.modes{grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))}
.features .card .icon{font-size:3rem; margin-bottom:1rem}
.features .card h3{margin-bottom:0.75rem; font-size:1.3rem}
.features .card p{color:var(--muted); line-height:1.6}

.mode-card{
  background: rgba(255,255,255,0.04);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:2rem;
  transition: all var(--speed);
}
.mode-card:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.mode-card h3{margin-bottom:0.75rem; color:var(--primary)}
.mode-card p{color:var(--muted); margin-bottom:1.5rem; line-height:1.6}
.link{color:var(--accent); font-weight:500; transition:opacity var(--speed)}
.link:hover{opacity:0.8}

.status-wrap{text-align:center; max-width:500px; margin:0 auto; padding:2rem; background:rgba(255,255,255,0.04); border:1px solid var(--border); border-radius:var(--radius)}
.status-indicator{display:flex; align-items:center; justify-content:center; gap:12px; font-size:1.2rem; margin-bottom:1rem}
.status-meta{color:var(--muted)}

.community-cards{display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:24px; margin-top:2rem}
.community-cards .card h3{margin-bottom:0.75rem}
.community-cards .card p{color:var(--muted); margin-bottom:1.5rem}

.cta-panel{text-align:center; max-width:700px; margin:0 auto}
.cta-panel h2{font-size:2.5rem; margin-bottom:1rem}
.cta-panel p{font-size:1.2rem; color:var(--muted); margin-bottom:2rem}
.cta-panel .cta-group{justify-content:center}

.site-footer{background:rgba(0,0,0,0.3); border-top:1px solid var(--border); padding:3rem 0}
.footer-grid{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:2rem}
.footer-links{display:flex; gap:24px; flex-wrap:wrap}
.footer-links a{opacity:0.8; transition:opacity var(--speed)}
.footer-links a:hover{opacity:1}

.reveal-up{opacity:0; transform:translateY(30px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-delay: var(--reveal-delay, 0ms)}
.reveal-up.visible{opacity:1; transform:translateY(0)}

@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr; gap:40px; text-align:center}
  .hero-copy h1{font-size:2.2rem}
  .hero-copy p{font-size:1.05rem}
  .cta-group{justify-content:center}
  .nav-toggle{display:flex}
  .menu{position:fixed; top:70px; left:0; right:0; flex-direction:column; background:rgba(7,26,38,0.98); padding:2rem; gap:1.5rem; transform:translateY(-120%); transition:transform 0.4s; border-bottom:1px solid var(--border); backdrop-filter:blur(20px)}
  .menu.open{transform:translateY(0)}
  .section-title{font-size:2rem}
  .footer-grid{flex-direction:column; text-align:center}
}
@media(max-width:600px){
  .hero-copy h1{font-size:1.8rem}
  .features{grid-template-columns:1fr}
  .modes{grid-template-columns:1fr}
  .btn-large{padding:0.8rem 1.2rem; font-size:0.95rem}
}