body {
  margin: 0;
  font-family: Arial;
  background: black;
  color: white;
  overflow: hidden;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.hidden { display: none; }

#login {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.topbar {
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

.profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: cyan;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.settings {
  position: absolute;
  right: 20px;
  top: 60px;
  background: rgba(0,0,0,0.8);
  padding: 10px;
  border-radius: 10px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tabs button {
  padding: 8px;
  cursor: pointer;
}

.panel {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
}

.panel.active {
  display: flex;
}

.card {
  width: 220px;
  margin: 10px;
  padding: 15px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

/* TAB UPGRADE */
.tabs button.active {
  background: cyan;
  color: black;
  border-radius: 10px;
  transform: scale(1.15);
  box-shadow: 0 0 15px cyan;
  transition: 0.3s ease;
}

.tabs button {
  transition: 0.3s ease;
}

.tabs button:hover {
  background: rgba(0,255,255,0.2);
  transform: scale(1.1);
}

.panel {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

input:focus {
  outline: none;
  border: 1px solid cyan;
  box-shadow: 0 0 10px cyan;
}

.card {
  transition: 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px cyan;
}

/* LOGIN BRUNO SIMON UPGRADE */
#login {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,255,255,0.08), transparent 40%),
              radial-gradient(circle at 20% 20%, rgba(255,0,255,0.08), transparent 50%);
  overflow: hidden;
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.15;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0px); }
  to { transform: translateY(-200px); }
}

.loginBox {
  transform-style: preserve-3d;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  animation: breathe 4s ease-in-out infinite;
  transition: 0.3s;
}

.loginBox:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0,255,255,0.2);
}

#login input:focus {
  transform: scale(1.03);
  box-shadow: 0 0 25px cyan;
}

#login button {
  position: relative;
  overflow: hidden;
}

#login button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
}

#login button:hover::after {
  animation: shine 0.7s ease;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes breathe {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* LOGO */
.logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  font-weight: bold;
  color: white;
  animation: logoColorSpin 5s linear infinite;
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}

@keyframes logoColorSpin {
  0%   { background: cyan; transform: rotate(0deg); }
  25%  { background: hotpink; }
  50%  { background: lime; }
  75%  { background: orange; }
  100% { background: cyan; transform: rotate(360deg); }
}

/* ===================================================== */
/* ONLY ADDITIONS BELOW (INPUTS + MODERN TABS) */
/* ===================================================== */

/* INPUT FIX (VISIBLE LINES + MODERN LOOK) */
input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25);
  border-bottom: 2px solid rgba(0,255,255,0.5);
  border-radius: 10px;
  padding: 10px;
  color: white;
  outline: none;
  transition: 0.3s ease;
}

input::placeholder {
  color: rgba(255,255,255,0.4);
}

input:focus {
  border-bottom: 2px solid cyan;
  box-shadow: 0 0 12px rgba(0,255,255,0.25);
  transform: scale(1.02);
}

/* MODERN CIRCULAR CATEGORY TABS */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px;
}

/* remove box style */
.tabs button {
  border: none;
  outline: none;
  background: transparent;
  color: white;

  padding: 10px 18px;
  border-radius: 999px;

  position: relative;
  cursor: pointer;

  font-weight: 500;
  letter-spacing: 0.5px;

  transition: all 0.35s ease;
  overflow: hidden;
}

/* sliding underline */
.tabs button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: cyan;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.tabs button:hover {
  color: cyan;
  transform: translateY(-2px);
}

.tabs button:hover::after {
  width: 70%;
}

.tabs button.active {
  background: rgba(0,255,255,0.15);
  color: cyan;
  box-shadow: 0 0 20px rgba(0,255,255,0.25);
  transform: scale(1.1);
}

.tabs button.active::after {
  width: 80%;
  background: cyan;
}

