/* themes - i hate this file */
/* Aetheris Themes */

body[theme="main"] {
  --text-color: #fff;
  --background: linear-gradient(135deg, #3b0a3f 0%, #5b1a6e 40%, #3c1361 100%);
  --navbar: #140a1a;
  --accent: #d946ef;
}

body[theme="dark"] {
  --text-color: #e5e5e5;
  --background: linear-gradient(135deg, #0f0f0f 0%, #161616 40%, #0a0a0a 100%);
  --navbar: #0a0a0a;
  --accent: #6b7280;
}

body[theme="dark blue"],
body[theme="dark-blue"] {
  --text-color: #e5e7eb;
  --background:
    radial-gradient(circle at top left,  #020617 0, #020617 35%, #02061700 60%),
    radial-gradient(circle at top right, #020617 0, #020617 35%, #02061700 60%),
    linear-gradient(#020617, #000);
  --navbar: #020617;
  --accent: #60a5fa;
  color: #e5e7eb;
}

/* home layout - different for dark mode */
.main-home { display: block; }
.dark-home  { display: none;  }

body[theme="dark"] .main-home { display: none; }

body[theme="dark"] .dark-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: min(800px, 90%);
  margin: 0 auto;
  text-align: center;
}

body[theme="dark"] .dark-title {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 6px;
}

body[theme="dark"] .dark-subtitle {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 26px;
}

body[theme="dark"] .dark-search-wrap {
  width: 100%;
  margin-bottom: 22px;
}

body[theme="dark"] .dark-search {
  width: 100%;
  max-width: 720px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.45);
  color: #e5e5e5;
  font-size: 18px;
  padding: 0 24px;
  outline: none;
  margin: 0 auto;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

body[theme="dark"] .dark-search:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.65);
}

body[theme="dark"] .dark-search::placeholder {
  color: rgba(229, 231, 235, 0.5);
}