@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");
@import url("./layout.css");
@import url("./components.css");

:root {
  --bg: #0b1020;
  --bg-soft: #11182d;
  --surface: rgba(17, 24, 45, 0.86);
  --surface-strong: #151d35;
  --surface-muted: rgba(24, 32, 58, 0.78);
  --border: rgba(165, 180, 252, 0.14);
  --border-soft: rgba(165, 180, 252, 0.08);
  --shadow: 0 26px 56px rgba(2, 6, 23, 0.42);
  --shadow-soft: 0 20px 38px rgba(15, 23, 42, 0.34);
  --text: #eef2ff;
  --text-soft: #cbd5f5;
  --muted: #93a0c5;
  --muted-2: #7d89b0;
  --primary: #7c5cff;
  --primary-2: #da62ff;
  --accent: #ffb84d;
  --accent-2: #ffd86d;
  --danger: #ff7d7d;
  --danger-2: #ff9f67;
  --success: #22c55e;
  --success-2: #2dd4bf;
  --dark: #0f172a;
  --dark-2: #0b1120;
  --nav-bg: rgba(11, 17, 32, 0.78);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sora", sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 184, 77, 0.18), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(218, 98, 255, 0.18), transparent 16%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.14), transparent 22%),
    linear-gradient(180deg, #0b1020 0%, #09111f 42%, #10182c 100%);
  position: relative;
  animation: pageFade 0.35s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -140px;
  background: rgba(255, 184, 77, 0.14);
}

body::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 40px;
  background: rgba(124, 92, 255, 0.16);
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

canvas {
  max-width: 100%;
}

button,
a {
  color: inherit;
  outline: 0 !important;
}

a {
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

button:active,
a:active {
  transform: scale(0.98);
}

input,
button,
select,
textarea {
  font: inherit;
}

.text-center {
  text-align: center;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* Global app dock so every themed page uses the same footer */
.appNavBar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(calc(100% - 34px), 390px);
  height: 66px;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(63, 55, 255, 0.96), rgba(32, 27, 224, 0.94));
  border: 1px solid rgba(171, 183, 255, 0.18);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow:
    0 18px 32px rgba(28, 24, 126, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 9999;
  backdrop-filter: blur(18px);
}

.navLink {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  text-align: center;
  color: rgba(227, 233, 255, 0.62);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.navIconWrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navLink i {
  font-size: 19px;
  margin: 0;
}

.navLink.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.navLink.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7ff0ff;
  box-shadow: 0 0 14px rgba(127, 240, 255, 0.75);
}

.navLink.center {
  top: auto;
  width: auto;
  height: auto;
  flex: 1;
  border-radius: 999px;
  background: transparent;
  color: rgba(227, 233, 255, 0.62);
  box-shadow: none;
}

.navLink p,
.badge-dot {
  display: none;
}

@media (max-width: 480px) {
  .appNavBar {
    width: calc(100% - 34px);
    bottom: 10px;
  }
}
