@import url("https://fonts.googleapis.com/css2?family=Sour+Gummy:wght@400;700&display=swap");

body,
html,
button,
input,
textarea {
  font-family: "Sour Gummy";
  text-transform: lowercase;
}

html,
body {
  margin: 0;
  padding: 0;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.top-nav a {
  color: #333;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.top-nav a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.top-nav a.active {
  background: rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #000;
  position: relative;
}

.top-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #ff7eb9;
  border-radius: 1px;
}

.top-nav {
  position: relative;
}

.top-nav .nav-toggle {
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  font-size: 1.1em;
  color: var(--color-text, #2a3a4b);
  transition: background 0.2s;
}

.top-nav .nav-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.top-nav .nav-dropdown {
  display: none;
}

@media (max-width: 900px) {
  .top-nav {
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    position: relative;
    align-items: center;
  }

  .top-nav .nav-links {
    display: none;
  }

  .top-nav .nav-toggle {
    display: inline-flex;
    position: relative;
    right: auto;
    margin-left: auto;
  }

  .top-nav a.active::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .top-nav {
    padding: 0.4rem 0.6rem;
  }

  .top-nav .nav-toggle {
    padding: 0.3rem 0.5rem;
    font-size: 1em;
  }
}

.nav-dropdown {
  position: absolute;
  right: 0.8rem;
  top: 2.6rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 1200;
}

@media (max-width: 600px) {
  .nav-dropdown {
    right: 0.6rem;
    top: 2.4rem;
    min-width: 140px;
  }
}

.nav-dropdown a {
  padding: 0.6rem 0.9rem;
}
.nav-dropdown a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-dropdown a.active {
  background: rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #000;
}

.home-centered {
  min-height: calc(100dvh - 48px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 20px;
  flex-direction: column;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .home-centered {
    padding-top: 15px;
    min-height: calc(100dvh - 40px);
  }
}

@media (max-width: 480px) {
  .home-centered {
    padding-top: 10px;
    min-height: calc(100dvh - 35px);
  }
}

.login-choice {
  display: inline-flex;
  gap: 0.5rem;
}
.login-choice button {
  border: 2px solid transparent;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.login-choice button[data-user="mei"] {
  color: #6c1aff;
  border-color: #a259ff;
}
.login-choice button[data-user="mei"]:hover {
  background: #ede4ff;
  border-color: #6c1aff;
  color: #6c1aff;
}
.login-choice button[data-user="mei"].active {
  background: #6c1aff;
  border-color: #6c1aff;
  color: #fff;
}
.login-choice button[data-user="zobby"] {
  color: #c9184a;
  border-color: #ff4d6d;
}
.login-choice button[data-user="zobby"]:hover {
  background: #ffe3e8;
  border-color: #c9184a;
  color: #c9184a;
}
.login-choice button[data-user="zobby"].active {
  background: #c9184a;
  border-color: #c9184a;
  color: #fff;
}
