:root{
  --nav-h: 64px;
  --accent: #b7c3ff;
  --border: #1f1f1f;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family: "Montserrat", Arial, sans-serif;
  background:#000;
  color:#fff;
  min-height: 100dvh;
  overflow-x: hidden;
}

main{
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 14px calc(var(--nav-h) + 26px) 14px;
}

.about-hero{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  background: #000;
  display: grid;
  gap: 12px;
}

h1{
  font-size: 22px;
  letter-spacing: 0.2px;
  font-weight: 800;
}

.lead{
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.about-block{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: #000;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.about-block p{
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.signature{
  margin-top: 4px;
  opacity: 0.95;
}

.links{
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.cta{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  width: 100%;
  padding: 12px 12px;

  background: transparent;
  color: var(--accent);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;

  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.cta:hover{
  border-color: rgba(183,195,255,0.75);
  color:#fff;
}

.cta small{
  font-weight: 400;
  opacity: 0.85;
  color: #fff;
}

footer{ height: var(--nav-h); }

.bottom-nav{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--nav-h);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.bottom-nav-links{
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.bottom-nav-links::-webkit-scrollbar{ display:none; }

.bottom-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size: 13px;

  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 8px 10px;
}

.bottom-nav a:hover{
  border-color: rgba(183,195,255,0.45);
}

.footer-credit{
  grid-column: 3;
  justify-self: end;
  opacity: 0.75;
  font-size: 12px;
  white-space: nowrap;
  padding-right: 6px;
}

.about-card{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #000;
  padding: 18px 16px;
  display: grid;
  gap: 12px;
}

.about-hero,
.about-block{
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.about-block{ margin-top: 0; }

.about-divider{
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}


#matrix{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main, footer{
  position: relative;
  z-index: 1;
}

@media (max-width: 992px){
  :root { --nav-h: 92px; }

  main{
    padding: 14px 12px calc(var(--nav-h) + 18px) 12px;
  }

  footer{ height: 0; }

  .bottom-nav{
    height: var(--nav-h);

    display: flex;          
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;
  }

  .bottom-nav-links{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;

    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bottom-nav-links::-webkit-scrollbar{ display:none; }

  .footer-credit{
    width: 100%;
    text-align: center;      
    padding: 0;
    margin-top: 8px;  
    font-size: 11px;
    opacity: 0.6;
    pointer-events: none;
  }
}