/* ====================== */
/* HEADER                 */
/* ====================== */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:#0d1529;
  border-bottom:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(6px);
}

nav{
  max-width:1150px;
  margin:auto;
  padding:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav-left{
  font-size:22px;
  font-weight:800;
}

.nav-right a{
  margin-left:18px;
  font-weight:600;
  padding-bottom:4px;
  border-bottom:2px solid transparent;
  text-decoration:none;
  color:#70e1ff;
}

.nav-right a:hover{
  color:#9dffc6;
}

.nav-right a.active{
  color:#9dffc6;
  border-color:#9dffc6;
}

/* ====================== */
/* FOOTER                 */
/* ====================== */
footer{
  text-align:center;
  padding:30px;
  color:#b9c3da;
  border-top:1px solid rgba(255,255,255,.15);
  margin-top:40px;
}

.social-icons a{
  margin:0 6px;
  font-size:20px;
  color:#70e1ff;
}

.social-icons a:hover{
  color:#9dffc6;
}

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  color: var(--accent);
}

.tooltip i {
  font-size: 13px;
}

/* Hidden box */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  transition: opacity 0.2s ease;

  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);

  background: #111827;
  color: #c5c8d0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);

  width: 260px;
  font-size: 13px;
  line-height: 1.5;
  z-index: 100;
}

/* Show on hover */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}
