﻿:root{
  --bg1:#051712;
  --bg2:#0c2f25;
  --glow:#5cf2a5;
  --text:#e8f7ec;
  --glass: rgba(255,255,255,0.09);
}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body {
  font-family:"Montserrat",sans-serif;
  color:var(--text);
  background-color:#041611;
  background-image: url("/static/background.png");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:cover;
  overflow-x:hidden;
  position:relative;
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  background: rgba(255,255,255,0.08);
  mix-blend-mode:screen;
  pointer-events:none;
  z-index:-1;
}
.page-content { position:relative; z-index:2; }

/* Navigation */
.navbar {
  height: 70px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 23, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 242, 165, 0.1);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  opacity: 0.85;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  opacity: 1;
  text-shadow: 0 0 6px var(--glow);
}

.nav-link.active {
  opacity: 1;
  color: var(--glow);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow);
}

.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:calc(100vh - 70px);
  text-align:center;
  position:relative;
  z-index:3;
  padding: 20px 12px;
}

.shield { display:flex; align-items:center; justify-content:center; margin-bottom:18px; background:none !important; border:none !important; box-shadow:none !important; }
.shield-img { width:120px; height:auto; filter: drop-shadow(0 0 16px rgba(92,242,165,0.55)); }

h1{
  letter-spacing:5px;
  font-size:48px;
  font-weight:800;
  margin:6px 0 26px;
  text-shadow:0 0 14px rgba(92,242,165,.55);
  position:relative;
  z-index:4;
}

form{ width:100%; max-width:460px; display:flex; flex-direction:column; gap:12px; position:relative; z-index:4; }

input{
  padding:13px 14px;
  border-radius:6px;
  border:none;
  background:var(--glass);
  color:var(--text);
  font-size:15px;
  outline:none;
  backdrop-filter:blur(6px);
}
input::placeholder{color:#9fb7ac}

button{
  margin-top:10px;
  padding:11px 20px;
  width:140px;
  align-self:center;
  background:#ffffff;
  color:#0a1813;
  border:none;
  border-radius:6px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 22px rgba(255,255,255,0.25);
}
button:hover{transform:scale(1.04)}
button:active{transform:scale(1)}

.percent{
  position:absolute;
  font-weight:800;
  color:var(--text);
  opacity:.95;
  text-shadow:0 6px 18px rgba(0,0,0,0.6);
  letter-spacing:0.6px;
  transition:transform .25s ease, opacity .25s ease;
  pointer-events:none;
  z-index:1;
}

.percent.small{ font-size:20px; opacity:0.85;}
.percent.default{ font-size:34px; }
.percent.big{ font-size:56px; font-weight:900; }

.percent.glow{
  color: #e8fff0;
  text-shadow:
     0 0 18px rgba(92,242,165,0.25),
     0 6px 26px rgba(2,8,6,0.6);
}

@keyframes pulseGlow {
  0%{filter:drop-shadow(0 0 6px rgba(92,242,165,0.15)); transform:translateY(0)}
  50%{filter:drop-shadow(0 0 18px rgba(92,242,165,0.34)); transform:translateY(-2px)}
  100%{filter:drop-shadow(0 0 6px rgba(92,242,165,0.15)); transform:translateY(0)}
}
.percent.pulse { animation: pulseGlow 2.2s infinite linear; }

.p1{ left:6%; top:24%; }
.p2{ right:6%; top:24%; }
.p3{ left:8%; bottom:18%; }
.p4{ right:8%; bottom:18%; }
.p5{ left:22%; top:42%; }
.p6{ right:22%; bottom:36%; }

.percent:hover{ transform:scale(1.06); opacity:1 }

@media (max-width:1500px) and (max-height:1000px) {
  .hero {
    position: relative;
  }

  .p5 {
    left: 50% !important;
    top: 30% !important;
    transform: translate(-50%, -140px) !important;
    z-index: 6 !important;
    pointer-events: none;
  }
}

@media(max-width:1024px){
  .percent.big{ font-size:48px; }
}

@media(max-width:768px){
  h1{font-size:34px}
  .percent{font-size:20px}
  .percent.big{font-size:36px}
  .p1{left:4%; top:16%}
  .p2{right:4%; top:14%}
  .p3{left:6%; bottom:12%}
  .p4{right:6%; bottom:12%}
  .p5{left:8%; top:40%}
  .p6{right:8%; bottom:26%}
  .navbar{padding:0 20px}
  .nav-links{gap:20px; font-size:12px}
}

@media (max-width:480px) {
  .p5, .p6 { display:none; }
  .percent.default { font-size:18px; }
  .percent.big { font-size:28px; }
  .p1 { left:6%; top:10%; }
  .p2 { right:6%; top:10%; }
  .p3 { left:6%; bottom:8%; }
  .p4 { right:6%; bottom:8%; }
  h1 { font-size:28px; margin-top:6px; margin-bottom:16px; z-index:4;}
  form { z-index:4; }
}

.logo-img { width: 42px; height: 42px; }

.login-error {
  max-width:460px;
  margin:8px auto 6px;
  padding:10px 12px;
  border-radius:8px;
  background: rgba(255,100,100,0.12);
  color: #ffdede;
  border: 1px solid rgba(255,100,100,0.14);
  font-weight:700;
}

