/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #060b1a, #02040a);
  color: #e6f1ff;
  overflow-x: hidden;
}

/* Animated neon background */
body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #00f, #0ff, #8a2be2, #00ffcc);
  background-size: 400% 400%;
  animation: bgMove 18s ease infinite;
  opacity: 0.06;
  z-index: -1;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* NAVBAR */
.topbar {
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(0,255,255,0.2);
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nav-title {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 22px;
  color: #00ffff;
  text-shadow: 0 0 12px #00ffff;
  padding-left: 0%;
  margin-left: 0%;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-menu li {
  margin-left: 0;
}

.nav-menu a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

/* PAGE */
.page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

/* SECTIONS → GLASS UI */
section {
  margin-bottom: 35px;
  padding: 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 30px rgba(0,255,255,0.05);
  transition: 0.3s;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 45px rgba(0,255,255,0.15);
}

/* HEADINGS */
h1, h2, h3 {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

h3 {
  margin-top: 18px;
  font-size: 18px;
}

/* TEXT */
p, li {
  color: #bcd;
  line-height: 1.5;
}

ol, ul {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 28px;
}

/* DROPZONE */
.dropzone {
  border: 2px dashed rgba(0,255,255,0.5);
  border-radius: 16px;
  padding: 45px;
  margin-top: 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(0,255,255,0.05);
  transition: 0.3s;
}

.dropzone:hover {
  transform: scale(1.03);
  border-color: #00ffff;
  box-shadow: 0 0 25px #00ffff88;
}

/* STATUS */
.status {
  margin-top: 15px;
  font-weight: 600;
  color: #00ffff;
}

.error {
  color: #ff4d4d;
}

/* BUTTON */
.btn {
  margin-top: 15px;
  background: linear-gradient(90deg, #00ffff, #8a2be2);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffff;
}

/* RESULTS LIST */
.list-inline {
  list-style: none;
  margin-top: 15px;
}

.list-inline li {
  margin: 6px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  transition: 0.2s;
}

.list-inline li:hover {
  background: rgba(0,255,255,0.1);
  transform: translateX(5px);
}

/* LINKS */
.list-inline a {
  color: #00ffff;
  text-decoration: none;
}

/* SUMMARY */
.summary {
  margin: 12px 0;
  font-weight: 600;
  color: #00ffff;
}

/* COUNTS BOX */
.pre {
  white-space: pre-wrap;
  background: rgba(0,0,0,0.4);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,255,0.2);
  margin-top: 10px;
}

/* HIDDEN */
.hidden {
  display: none;
}

.site-footer {
  text-align: center;
  padding: 24px 20px 40px;
  color: #a6d9ff;
  font-size: 0.98rem;
}

.site-footer a {
  color: #00ffff;
  text-decoration: none;
}

.site-footer a:hover {
  text-shadow: 0 0 8px #00ffff;
}

section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.summary {
  font-family: monospace;
  color: #00ffff;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,255,255,0.3);
}

.list-inline li {
  position: relative;
  overflow: hidden;
}

.list-inline li::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,255,255,0.3), transparent);
  transition: 0.5s;
}

.list-inline li:hover::after {
  left: 100%;
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px #00ffff;
}

.dropzone::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,255,255,0.3), transparent);
  transition: 0.6s;
}

.dropzone:hover::before {
  left: 100%;
}

.dropzone {
  position: relative;
  overflow: hidden;
}

img.nav-logo {
  margin-right: 12px;
  filter: drop-shadow(0 0 4px #00ffff);
  padding-right: 0%;
  margin-right: 0%;
}

html, body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}
