:root {
  --primary-accent: #00d1ff;
  --bg-dark: #0a0f1d;
  --glass-bg: rgba(10, 15, 29, 0.8);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

body {
  font-family: 'Inter', 'Raleway', sans-serif;
  color: var(--text-main);
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

.navbar {
  flex: 0 0 80px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

#inputBox {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 1000px;
  align-items: center;
}

input, select {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
}

select {
  padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300d1ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  cursor: pointer;
}

select option {
  background-color: #0a0f1d;
  color: #fff;
  padding: 15px;
}

input:focus, select:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
  background-color: rgba(0, 209, 255, 0.05);
}

#search {
  background: linear-gradient(45deg, #00d1ff, #004e66);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 20px rgba(0, 209, 255, 0.4);
  white-space: nowrap;
}

#search:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 209, 255, 0.6);
  filter: brightness(1.2);
}

.content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
}

.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1600px;
}

#result {
  flex: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 40px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  margin-bottom: 20px;
  box-sizing: border-box;
}

#pages {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 10px 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

#pages ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

#pages ul li {
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 700;
  transition: all 0.2s;
  color: var(--text-muted);
}

#pages ul li:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

#pages ul li.active {
  background: var(--primary-accent);
  color: #000;
}

::placeholder { color: #475569; }

.loading {
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
}