/* ===============
   Maelstrom Website Styles
   =============== */
:root{
  --bg:#0b1326;
  --bg-soft:#0f1a38;
  --ink:#e7ecff;
  --muted:#a9b3d9;
  --brand:#5ad1ff;
  --acc:#f7b267;
  --card:#101b36cc;
  --glass: rgba(16,27,54,0.7);
  --stroke: #223057;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1200px 600px at 70% -10%, #1a2a5a 0%, transparent 60%) , var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.container{width:min(1160px, 92%); margin-inline:auto}
.row{display:flex; align-items:center; justify-content:space-between; gap:1rem}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(11,19,38,.85), rgba(11,19,38,.6));
  border-bottom:1px solid var(--stroke);
}
.brand{
  display:flex; align-items:center; gap:.6rem; text-decoration:none;
  font-weight:800; letter-spacing:.08em; color:var(--ink);
}
.brand-mark{font-size:1.3rem}
.brand-word{font-family:"UnifrakturMaguntia", Inter, sans-serif; letter-spacing:.05em; font-size:1.1rem}

.nav-toggle{
  display:none; background:transparent; border:0; padding:.5rem; cursor:pointer;
}
.nav-toggle .bar{display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px}
.nav-menu{display:flex; list-style:none; padding:0; margin:0; gap:1rem}
.nav-menu a{color:var(--ink); text-decoration:none; opacity:.9}
.nav-menu a:hover{opacity:1; text-decoration:underline}

.hero{position:relative; min-height:86vh; display:grid; place-items:center; overflow:hidden}
.hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.9) contrast(1.05);
  transform:scale(1.04);
}
.hero-overlay{position:absolute; inset:0; background:
  radial-gradient(60% 50% at 60% 30%, transparent, rgba(0,0,0,.6)),
  linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.8))
}
.hero-inner{position:relative; text-align:center; padding-block:6rem}
.title{font-size:clamp(2rem,4vw,3.5rem); line-height:1.1; margin:0 0 .7rem}
.title-top{display:block; font-weight:800; color:var(--brand)}
.subtitle{max-width:60ch; margin:0 auto 1.3rem; color:var(--muted); font-size:1.05rem}

.cta{display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin:.8rem 0 1rem}
.btn{display:inline-flex; align-items:center; justify-content:center; padding:.8rem 1.1rem; border:1px solid var(--stroke); border-radius:.75rem; text-decoration:none; transition:transform .15s ease, background .2s ease, border-color .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(180deg, #3580ff, #3cc6ff); color:#061020; border-color:transparent; box-shadow: var(--shadow)}
.btn-ghost{background:transparent; color:var(--ink)}

.meta{display:flex; gap:1rem; justify-content:center; color:var(--muted); font-size:.95rem; opacity:.9}

.gradient-edge{
  position:absolute; inset:auto 0 0 0; height:90px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.section{padding:5rem 0; position:relative}
.section.alt{background:linear-gradient(180deg, rgba(16,27,54,.2), rgba(16,27,54,.45))}
.section-title{text-align:center; font-size:clamp(1.5rem, 2.6vw, 2.2rem); margin:0 0 2rem; letter-spacing:.02em}

.grid{display:grid; gap:1.1rem}
.features{grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))}
.factions{grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))}

.card{
  padding:1.2rem 1.1rem; border:1px solid var(--stroke); border-radius:1rem;
  background:var(--glass); box-shadow: var(--shadow);
}
.card h3{margin:.1rem 0 .4rem}
.card p{margin:0; color:var(--ink)}

.steps{max-width:840px; margin:0 auto 1.6rem; padding-left:1.2rem}
.steps li{margin:.4rem 0; color:var(--ink)}

.under{margin-top:1.2rem}

.gallery{display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:1rem}
.shot{margin:0; border-radius:1rem; overflow:hidden; border:1px solid var(--stroke); background:#000}
.shot img{display:block; width:100%; height:100%; object-fit:cover; transition: transform .5s ease}
.shot:hover img{transform:scale(1.05)}

.faq-item{border:1px solid var(--stroke); border-radius:.8rem; padding:1rem; background:var(--glass); margin:.6rem 0}
.faq-item > summary{cursor:pointer; font-weight:600}
.faq-item[open] {background:linear-gradient(180deg, rgba(16,27,54,.8), rgba(16,27,54,.65))}

.site-footer{border-top:1px solid var(--stroke); padding:1.4rem 0; background:rgba(6, 10, 24, .6); backdrop-filter: blur(6px)}
.foot{gap:.8rem; flex-wrap:wrap}
.brand.mini .brand-word{font-size:1rem}
.socials{display:flex; gap:.8rem}
.socials a{color:var(--muted); text-decoration:none}
.socials a:hover{color:var(--ink); text-decoration:underline}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:1rem; top:1rem; width:auto; height:auto; background:#fff; color:#000; padding:.5rem .75rem;
  border-radius:.5rem; z-index:100; outline:3px solid var(--brand);
}

/* Reveal animation */
.reveal{opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1; transform: translateY(0)}

/* Mobile nav */
@media (max-width: 860px){
  .nav-toggle{display:block}
  .nav-menu{
    position:absolute; right:1rem; top:64px; display:grid; gap:.6rem; padding:1rem;
    background:var(--card); border:1px solid var(--stroke); border-radius:.8rem; min-width:180px;
    transform-origin: top right; transform: scale(.98) translateY(-6px); opacity:0; pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.open{opacity:1; transform: scale(1) translateY(0); pointer-events:auto}
}

/* Typography polish */
h1,h2,h3{line-height:1.2}
p,li,small{color:var(--ink)}
small{opacity:.9}
