@charset "UTF-8";@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,600;1,9..144,600&display=swap");


/* ==========================================================================
   Premium Flashcard UI — V2 (Vibrant & Stunning Glassmorphism)
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  display: none;
}
body {
  background: #0a0a0f;
  color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  outline: none;
}
input, textarea {
  outline: none;
  font-family: inherit;
}
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes global-blob-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 40px) scale(1.1);
  }
}
@keyframes global-blob-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-40px, -40px) scale(1.15);
  }
}
@keyframes navbar-slide-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes chalk-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .navbar__links--open,
  .navbar__logo-underline path {
    animation: none !important;
  }
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.3);
  animation: navbar-slide-down 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.navbar__inner {
  max-width: 1700px;
  margin: 0 auto;
  height: 64px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar__logo {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  cursor: pointer;
  flex: 0 0 auto;
  margin-right: auto;
  padding-bottom: 5px;
  transition: opacity 150ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.navbar__logo:hover {
  opacity: 0.75;
}
.navbar__logo-accent {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar__logo-underline {
  display: none;
}
.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  margin: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.navbar__links::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
@media (max-width: 900px) {
  .navbar__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(15, 12, 41, 0.96);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
    overflow-y: auto;
  }
  .navbar__links--open {
    display: flex;
    animation: mobile-menu-in 0.22s ease forwards;
  }
}
.navbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 150ms cubic-bezier(0.22, 1, 0.36, 1), background 150ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__link svg {
  flex-shrink: 0;
  transition: color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.navbar__link:hover svg {
  color: #6c63ff;
}
.navbar__link--active {
  color: #fff;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
  font-weight: 600;
  border-left: 3px solid #6366f1;
  border-radius: 0 8px 8px 0;
}
.navbar__link--active svg {
  color: #a5b4fc;
}
.navbar__link--active:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), transparent);
}
@media (max-width: 900px) {
  .navbar__link--active {
    border-left: none;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
  }
}
@media (max-width: 900px) {
  .navbar__link {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    width: 100%;
    border-radius: 14px;
    background: transparent;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar__link svg {
    margin-right: 0.4rem;
    opacity: 0.8;
  }
  .navbar__link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }
}
@media (max-width: 900px) {
  .navbar__desktop-only {
    display: none !important;
  }
}
.navbar__mobile-actions {
  display: none;
}
@media (max-width: 900px) {
  .navbar__mobile-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar__mobile-actions .navbar__premium,
  .navbar__mobile-actions .navbar__signout {
    flex: 1;
    justify-content: center;
  }
}
.navbar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.navbar__user-info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.navbar__user-info:hover, .navbar__user-info--active {
  background: rgba(255, 255, 255, 0.08);
}
.navbar__user-info:hover .navbar__username, .navbar__user-info--active .navbar__username {
  color: #fff;
}
.navbar__user-info:hover .navbar__avatar, .navbar__user-info--active .navbar__avatar {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.8);
}
.navbar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  font-family: "Caveat", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}
.navbar__username {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .navbar__username {
    display: none;
  }
}
.navbar__premium {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.navbar__premium svg {
  flex-shrink: 0;
}
.navbar__premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}
.navbar__premium:active {
  transform: scale(0.98);
}
.navbar__signout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.18);
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1), border-color 150ms cubic-bezier(0.22, 1, 0.36, 1), transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.navbar__signout svg {
  flex-shrink: 0;
}
.navbar__signout:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}
.navbar__signout:active {
  transform: translateY(0);
}
@media (max-width: 900px) {
  .navbar__signout span {
    display: none;
  }
  .navbar__signout {
    padding: 0.45rem 0.65rem;
  }
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1), border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar__hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.navbar__hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.navbar__hamburger--open {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.25);
}
.navbar__hamburger--open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger--open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (max-width: 900px) {
  .navbar__hamburger {
    display: flex;
  }
}
.navbar__overlay {
  display: none;
}
@media (max-width: 900px) {
  .navbar__overlay {
    display: block;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 98;
  }
}
.navbar button:focus-visible, .navbar__logo:focus-visible {
  outline: 2px solid #6c63ff;
  outline-offset: 2px;
  border-radius: 10px;
}
.trial-banner {
  text-align: center;
  padding: 8px 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.trial-banner--info {
  background: rgba(108, 99, 255, 0.1);
  border-bottom: 1px solid rgba(108, 99, 255, 0.15);
  color: #a78bfa;
}
.trial-banner--warning {
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}
.trial-banner--danger {
  background: rgba(239, 68, 68, 0.08);
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.trial-banner__btn {
  background: #ef4444;
  color: #fff;
  padding: 5px 14px;
  border-radius: 8px;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.trial-banner__btn:hover {
  background: #dc2626;
}
@keyframes auth-orb-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes auth-card-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes auth-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
@keyframes auth-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(5px);
  }
  80% {
    transform: translateX(-3px);
  }
}
@keyframes auth-float-1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}
@keyframes auth-float-2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(16px) rotate(-4deg);
  }
}
.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(24px, 5vw, 48px) 16px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: #0a0a0f;
}
.auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 15% 10%, rgba(108, 99, 255, 0.2) 0%, transparent 60%), radial-gradient(ellipse 55% 50% at 88% 88%, rgba(167, 139, 250, 0.14) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 50% 50%, rgba(108, 99, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.auth::after {
  content: "";
  position: absolute;
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  background: radial-gradient(circle, rgba(108, 99, 255, 0.16) 0%, transparent 65%);
  top: clamp(-180px, -14vw, -80px);
  left: clamp(-180px, -14vw, -80px);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: auth-orb-pulse 14s ease-in-out infinite;
}
.auth .auth__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.auth .auth__deco--1 {
  width: 160px;
  height: 160px;
  top: 12%;
  right: 8%;
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: 28px;
  transform: rotate(20deg);
  animation: auth-float-1 10s ease-in-out infinite;
}
.auth .auth__deco--2 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 6%;
  border: 1px solid rgba(167, 139, 250, 0.1);
  border-radius: 18px;
  transform: rotate(-12deg);
  animation: auth-float-2 13s ease-in-out infinite;
}
.auth .auth__back {
  position: absolute;
  top: clamp(20px, 4vw, 32px);
  left: clamp(20px, 4vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.auth .auth__back:hover {
  color: #ffffff;
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.auth__orb {
  position: absolute;
  width: clamp(200px, 34vw, 420px);
  height: clamp(200px, 34vw, 420px);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.13) 0%, transparent 65%);
  bottom: clamp(-120px, -10vw, -50px);
  right: clamp(-120px, -10vw, -50px);
  border-radius: 50%;
  filter: blur(44px);
  pointer-events: none;
  animation: auth-orb-pulse 18s ease-in-out infinite reverse;
  z-index: 0;
}
.auth__card {
  width: 100%;
  max-width: 440px;
  padding: clamp(32px, 6vw, 52px) clamp(24px, 7vw, 48px);
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 8px 32px rgba(0, 0, 0, 0.4), 0 32px 80px rgba(108, 99, 255, 0.12);
  animation: auth-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.auth__card::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 0;
  height: 2px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, #6c63ff, #a78bfa, #6c63ff, transparent);
  background-size: 250% 100%;
  animation: auth-shimmer 3.5s linear infinite;
}
.auth__logo {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 32px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth__logo h1 {
  font-size: clamp(28px, 5.5vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(135deg, #6c63ff 0%, #a78bfa 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth__logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(13px, 2.2vw, 15px);
  margin-top: 8px;
  line-height: 1.5;
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 18px);
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.auth__field label {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.auth__field input {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: #ffffff;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.auth__field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.auth__field input:hover {
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}
.auth__field input:focus {
  border-color: #6c63ff;
  background: rgba(108, 99, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15), 0 1px 4px rgba(108, 99, 255, 0.08);
}
.auth__field input:-webkit-autofill, .auth__field input:-webkit-autofill:hover, .auth__field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px #1a1628 inset;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
}
.auth__forgot {
  text-align: right;
  margin-top: -8px;
}
.auth__link {
  font-size: 13px;
  color: rgba(167, 139, 250, 0.75);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.auth__link:hover {
  color: #a78bfa;
}
.auth__btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin-top: clamp(4px, 1.5vw, 8px);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6c63ff 0%, #8b84ff 50%, #a78bfa 100%);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35), 0 1px 4px rgba(108, 99, 255, 0.2);
  transition: all 0.15s ease;
}
.auth__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.auth__btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 99, 255, 0.45), 0 2px 8px rgba(108, 99, 255, 0.25);
}
.auth__btn:hover:not(:disabled)::after {
  transform: translateX(120%);
}
.auth__btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}
.auth__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.auth__divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: clamp(16px, 2.5vw, 20px) 0;
}
.auth__divider::before, .auth__divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth__divider span {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  font-weight: 500;
}
.auth__google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.auth__google-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.auth__google-btn:active {
  transform: translateY(0);
}
.auth__error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 3px solid #ef4444;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #fca5a5;
  line-height: 1.5;
  animation: auth-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.auth__info {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-left: 3px solid #10b981;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #6ee7b7;
  line-height: 1.5;
  animation: auth-card-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.auth__footer {
  text-align: center;
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: clamp(18px, 2.5vw, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(13px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.auth__footer a {
  color: #6c63ff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.auth__footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #6c63ff, #a78bfa);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.auth__footer a:hover {
  color: #a78bfa;
}
.auth__footer a:hover::after {
  width: 100%;
}
.auth__form a[style]:hover {
  color: #6c63ff !important;
}
@media (max-width: 520px) {
  html, body {
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
  }
  #root {
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  .auth {
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    background-attachment: fixed;
  }
  .auth__card {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    padding: 28px 20px 32px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 8px 40px rgba(108, 99, 255, 0.18);
  }
  .auth__logo {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  .auth__logo h1 {
    font-size: 28px;
  }
  .auth__logo p {
    font-size: 13px;
  }
  .auth__form {
    gap: 13px;
  }
  .auth__field {
    gap: 5px;
  }
  .auth__field label {
    font-size: 11px;
  }
  .auth__field input {
    padding: 12px 13px;
    font-size: 16px;
    border-radius: 11px;
  }
  .auth__btn {
    padding: 14px;
    font-size: 15px;
    border-radius: 11px;
    margin-top: 4px;
  }
  .auth__footer {
    margin-top: 18px;
    padding-top: 16px;
    font-size: 13px;
  }
}
@media (max-width: 390px) {
  .auth {
    padding: 20px 14px;
  }
  .auth__card {
    border-radius: 18px;
    padding: 24px 16px 28px;
  }
  .auth__logo h1 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth::before,
  .auth::after {
    animation: none;
  }
  .auth__orb {
    animation: none;
  }
  .auth__card {
    animation: none;
  }
  .auth__card::before {
    animation: none;
  }
  .auth__btn::after {
    display: none;
  }
  .auth__error {
    animation: none;
  }
  .auth__deco {
    animation: none;
  }
}
@keyframes dbFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dashboard-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.dashboard-page .dashboard__bg-grid {
  display: none;
}
.dashboard-page .dashboard__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.dashboard-page .dashboard__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.dashboard-page .dashboard__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.dashboard-page .dashboard__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.dashboard {
  position: relative;
  z-index: 10;
  width: 100%;
}
.dashboard__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .dashboard__inner {
    padding: 24px 16px 64px;
  }
}
.dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: dbFadeUp 0.5s ease-out;
}
.dashboard__header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  margin-bottom: 5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.dashboard__header h2 span {
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dashboard__header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.dashboard__header-date {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: #a5b4fc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
  .dashboard__header-date {
    display: none;
  }
}
.dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 1.5rem;
  animation: dbFadeUp 0.6s ease-out;
}
@media (max-width: 768px) {
  .dashboard__stats {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard__stats .dashboard__stat:nth-child(3) {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .dashboard__stats .dashboard__stat:nth-child(3) .dashboard__stat-icon {
    margin-bottom: 0;
  }
}
@media (max-width: 480px) {
  .dashboard__stats {
    gap: 12px;
  }
}
.dashboard__stat {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.dashboard__stat:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}
.dashboard__stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  cursor: default;
}
@media (max-width: 480px) {
  .dashboard__stat {
    padding: 1.2rem;
  }
}
.dashboard__stat:nth-child(1)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, rgb(249.0157480315, 196.9527559055, 108.9842519685));
  border-radius: 1.25rem 1.25rem 0 0;
}
.dashboard__stat:nth-child(1) .dashboard__stat-badge {
  background: rgba(245, 158, 11, 0.15);
  color: rgb(247.0078740157, 177.4763779528, 59.9921259843);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.dashboard__stat:nth-child(1) .dashboard__stat-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}
.dashboard__stat:nth-child(1) .dashboard__stat-value {
  background: linear-gradient(135deg, #fff, rgb(247.0078740157, 177.4763779528, 59.9921259843));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dashboard__stat:nth-child(1):hover {
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.3);
}
.dashboard__stat:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, rgb(104.0519480519, 228.9480519481, 150.025974026));
  border-radius: 1.25rem 1.25rem 0 0;
}
.dashboard__stat:nth-child(2) .dashboard__stat-badge {
  background: rgba(34, 197, 94, 0.15);
  color: rgb(60.5584415584, 221.4415584416, 119.7792207792);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.dashboard__stat:nth-child(2) .dashboard__stat-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}
.dashboard__stat:nth-child(2) .dashboard__stat-value {
  background: linear-gradient(135deg, #fff, rgb(60.5584415584, 221.4415584416, 119.7792207792));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dashboard__stat:nth-child(2):hover {
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}
.dashboard__stat:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6c63ff, rgb(204.1153846154, 201, 255));
  border-radius: 1.25rem 1.25rem 0 0;
}
.dashboard__stat:nth-child(3) .dashboard__stat-badge {
  background: rgba(108, 99, 255, 0.15);
  color: rgb(156.0576923077, 150, 255);
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.dashboard__stat:nth-child(3) .dashboard__stat-icon {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: #6c63ff;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.15);
}
.dashboard__stat:nth-child(3) .dashboard__stat-value {
  background: linear-gradient(135deg, #fff, rgb(156.0576923077, 150, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dashboard__stat:nth-child(3):hover {
  box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.3);
}
.dashboard__stat-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dashboard__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.dashboard__stat-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.dashboard__stat:hover .dashboard__stat-icon {
  transform: scale(1.1) rotate(5deg);
}
.dashboard__stat-value {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 4px;
}
.dashboard__stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dashboard__banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
  animation: dbFadeUp 0.7s ease-out;
}
.dashboard__banner {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.dashboard__banner:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}
.dashboard__banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 480px) {
  .dashboard__banner {
    padding: 1rem;
    gap: 0.75rem;
  }
}
.dashboard__banner--goal {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(108, 99, 255, 0.02));
  border-color: rgba(108, 99, 255, 0.2);
}
.dashboard__banner--goal:hover {
  border-color: rgba(108, 99, 255, 0.4);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}
.dashboard__banner--goal .dashboard__banner__icon {
  background: rgba(108, 99, 255, 0.2);
  color: #6c63ff;
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.dashboard__banner--goal .dashboard__banner__title {
  color: #a5b4fc;
}
.dashboard__banner--goal .dashboard__banner__progress {
  background: rgba(108, 99, 255, 0.15);
}
.dashboard__banner--goal .dashboard__banner__progress-fill {
  background: linear-gradient(90deg, #8b5cf6, #6c63ff);
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}
.dashboard__banner--goal .dashboard__banner__arrow {
  background: rgba(108, 99, 255, 0.15);
  color: #6c63ff;
}
.dashboard__banner--goal.is-complete {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.02));
  border-color: rgba(34, 197, 94, 0.3);
}
.dashboard__banner--goal.is-complete:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}
.dashboard__banner--goal.is-complete .dashboard__banner__icon {
  background: rgba(34, 197, 94, 0.25);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.dashboard__banner--goal.is-complete .dashboard__banner__title {
  color: #86efac;
}
.dashboard__banner--goal.is-complete .dashboard__banner__progress {
  background: rgba(34, 197, 94, 0.15);
}
.dashboard__banner--goal.is-complete .dashboard__banner__progress-fill {
  background: linear-gradient(90deg, #10b981, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
.dashboard__banner--goal.is-complete .dashboard__banner__arrow {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}
.dashboard__banner--review {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
  border-color: rgba(245, 158, 11, 0.2);
}
.dashboard__banner--review:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}
.dashboard__banner--review .dashboard__banner__icon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.dashboard__banner--review .dashboard__banner__title {
  color: #fcd34d;
}
.dashboard__banner--review .dashboard__banner__arrow {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.dashboard__banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
@media (max-width: 480px) {
  .dashboard__banner__icon {
    width: 40px;
    height: 40px;
  }
}
.dashboard__banner:hover .dashboard__banner__icon {
  transform: scale(1.1) rotate(-5deg);
}
.dashboard__banner__body {
  flex: 1;
  min-width: 0;
}
.dashboard__banner__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.dashboard__banner__sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.dashboard__banner__progress {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}
.dashboard__banner__progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dashboard__banner__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.dashboard__banner__count {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}
.dashboard__banner__arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.dashboard__banner:hover .dashboard__banner__arrow {
  transform: translateX(4px);
}
.dashboard__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  animation: dbFadeUp 0.8s ease-out;
}
@media (max-width: 1024px) {
  .dashboard__actions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .dashboard__actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.dashboard__action {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.dashboard__action:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}
.dashboard__action {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .dashboard__action {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
  }
}
.dashboard__action::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.dashboard__action:hover::after {
  transform: translate(-50%, -50%) scale(2);
}
.dashboard__action-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 480px) {
  .dashboard__action-icon {
    margin-bottom: 0;
    width: 42px;
    height: 42px;
  }
}
.dashboard__action:hover .dashboard__action-icon {
  transform: scale(1.1) rotate(4deg);
  background: rgba(255, 255, 255, 0.15);
}
.dashboard__action-text {
  flex: 1;
}
.dashboard__action-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.dashboard__action-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  font-weight: 500;
}
.dashboard__action-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  margin-top: 1rem;
  transition: all 0.3s;
}
@media (max-width: 480px) {
  .dashboard__action-arrow {
    margin-top: 0;
  }
}
.dashboard__action:hover .dashboard__action-arrow {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.15);
}
.dashboard__action--primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.02));
  border-color: rgba(99, 102, 241, 0.25);
}
.dashboard__action--primary:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25);
}
.dashboard__action--primary .dashboard__action-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.4);
}
.dashboard__action--primary .dashboard__action-title {
  color: #a5b4fc;
}
.dashboard__action--primary .dashboard__action-arrow {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}
.dashboard__action--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.02));
  border-color: rgba(34, 197, 94, 0.25);
}
.dashboard__action--success:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
}
.dashboard__action--success .dashboard__action-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}
.dashboard__action--success .dashboard__action-title {
  color: #86efac;
}
.dashboard__action--success .dashboard__action-arrow {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
@keyframes wdFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.words-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.words-page .words__bg-grid {
  display: none;
}
.words-page .words__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.words-page .words__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.words-page .words__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.words-page .words__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.words__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .words__inner {
    padding: 24px 16px 64px;
  }
}
.words__header {
  margin-bottom: 2rem;
  animation: wdFadeUp 0.5s ease-out;
}
.words__header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  margin-bottom: 5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.words__header h2 span {
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.words__form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: wdFadeUp 0.6s ease-out;
}
.words__form:focus-within {
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}
.words__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .words__inputs {
    grid-template-columns: 1fr;
  }
}
.words__inputs input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: all 0.25s ease;
}
.words__inputs input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.words__inputs input:focus {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}
.words__suggestions {
  margin-bottom: 20px;
  animation: wdFadeUp 0.3s ease-out;
  padding: 0 4px;
}
.words__suggestions-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 10px;
}
.words__suggestions-loading {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}
.words__suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.words__suggestion-chip {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}
.words__suggestion-chip:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}
.words__add-btn {
  width: 100%;
  padding: 15px 24px;
  border-radius: 1rem;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.words__add-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}
.words__add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.words__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
}
.words__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  animation: wdFadeUp 0.8s ease-out;
}
.words__item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
.words__item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  transform: translateY(-4px);
}
.words__item:hover .words__item-actions {
  opacity: 1;
  transform: translateX(0);
}
.words__item--selected {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border-color: #6366f1;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
}
.words__item--selected .words__item-checkbox {
  background: #6366f1;
  border-color: #6366f1;
}
.words__item-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.words__item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.words__item-en {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  word-break: break-word;
}
.words__item-uz {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  word-break: break-word;
}
.words__item-actions {
  display: flex;
  gap: 8px;
  opacity: 0.5;
  transform: translateX(5px);
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .words__item-actions {
    opacity: 1;
    transform: translateX(0);
  }
}
.words__item-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.words__item-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.1);
}
.words__item-btn--delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}
.words__item-btn--speak:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}
.words__action-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 12, 41, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 12px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
  animation: wdFadeUp 0.3s ease-out;
}
.words__action-bar span {
  font-weight: 700;
  color: #fff;
}
.words__action-bar-btns {
  display: flex;
  gap: 8px;
}
.words__action-bar-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.words__action-bar-btn--cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.words__action-bar-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.2);
}
.words__action-bar-btn--delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 6px;
}
.words__action-bar-btn--delete:hover {
  background: rgba(239, 68, 68, 0.3);
}
.words__toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(34, 197, 94, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 12px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86efac;
  font-weight: 700;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}
.words__modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.words__modal {
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.words__modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}
.words__modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.words__modal-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}
.words__modal-actions {
  display: flex;
  gap: 12px;
}
.words__modal-btn {
  flex: 1;
  padding: 12px;
  border-radius: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.words__modal-btn--cancel {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.words__modal-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.1);
}
.words__modal-btn--confirm {
  background: #ef4444;
  color: #fff;
}
.words__modal-btn--confirm:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}
@keyframes fcBlob1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}
@keyframes fcBlob2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 40px) scale(1.2);
  }
  66% {
    transform: translate(20px, -20px) scale(0.8);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}
@keyframes btnWave {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes btnWave {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes waterWave {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes fcFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.flashcard {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #0f0c29;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
  animation: fcFadeIn 0.5s ease-out;
}
.flashcard > * {
  flex-shrink: 0;
}
.flashcard > :first-child {
  margin-top: auto;
}
.flashcard > :last-child {
  margin-bottom: auto;
}
.flashcard::before, .flashcard::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.flashcard::before {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, #8a2387, #1d2671);
  animation: fcBlob1 15s infinite ease-in-out;
}
.flashcard::after {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, #c33764, transparent);
  animation: fcBlob2 18s infinite ease-in-out;
}
.flashcard__info {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.flashcard__info-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.flashcard__progress {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}
.flashcard__progress-known, .flashcard__progress-unknown {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 14px;
}
.flashcard__progress-known {
  color: #10b981;
}
.flashcard__progress-unknown {
  color: #f43f5e;
}
.flashcard__progress-counter {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.flashcard__progress-retry {
  color: #f59e0b;
  font-size: 12px;
  margin-left: 6px;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
}
.flashcard__progress-bar {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.flashcard__progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.flashcard__card-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 600px;
  height: min((100vw - 40px) * 1.3, 60vh, 450px);
  perspective: 2000px;
  cursor: pointer;
  margin: 10px 0;
}
.flashcard__card-container--animating {
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.flashcard__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.flashcard__card-inner--flipped {
  transform: rotateY(180deg);
}
.flashcard__card-front, .flashcard__card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 32px;
  backface-visibility: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
  text-align: center;
}
.flashcard__card-back {
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.12);
}
.flashcard__part-of-speech {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.flashcard__word, .flashcard__translation {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  word-break: break-word;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}
.flashcard__hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  bottom: 24px;
}
.flashcard__definition {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.flashcard__speak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.flashcard__speak-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.flashcard__speak-btn:active {
  transform: scale(0.95);
}
.flashcard__buttons {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 600px;
  margin-top: 10px;
}
.flashcard__btn {
  flex: 1;
  padding: 18px 0;
  border-radius: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
}
.flashcard__btn::before, .flashcard__btn::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: 50%;
  top: 50%;
  pointer-events: none;
}
.flashcard__btn::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 40%;
  animation: waterWave 5s infinite linear;
}
.flashcard__btn::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  border-radius: 45%;
  animation: waterWave 8s infinite linear reverse;
}
.flashcard__btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}
.flashcard__btn--unknown:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
}
.flashcard__btn--known:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}
.flashcard__btn:active:not(:disabled) {
  transform: translateY(2px) scale(0.95);
}
.flashcard__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  cursor: not-allowed;
  box-shadow: none;
  animation-play-state: paused;
}
.flashcard__tap-hint {
  z-index: 10;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}
.flashcard__back {
  z-index: 10;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s;
  padding: 10px;
}
.flashcard__back:hover {
  color: #fff;
}
.flashcard__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.flashcard__loading-card {
  width: 320px;
  height: 420px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.flashcard__loading-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: fcLoading 1.5s infinite;
}
.flashcard__loading-text {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
@keyframes fcLoading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.flashcard__result {
  z-index: 10;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: fcFadeIn 0.5s ease-out;
}
.flashcard__result-emoji {
  margin-bottom: 12px;
}
.flashcard__result-title {
  font-family: "Fraunces", serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}
.flashcard__result-scores {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
}
.flashcard__result-score {
  flex: 1;
  padding: 20px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.flashcard__result-score--known .score-value {
  color: #10b981;
}
.flashcard__result-score--unknown .score-value {
  color: #f43f5e;
}
.flashcard__result-score .score-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.flashcard__result-score .score-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.flashcard__result-restart {
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.flashcard__result-restart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}
.flashcard__result-restart:active {
  transform: translateY(0) scale(0.98);
}
.flashcard__result-back {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s;
}
.flashcard__result-back:hover {
  color: #fff;
}
.flashcard__streak {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.flashcard__sparkle {
  position: absolute;
  color: #fff;
  opacity: 0.5;
  animation: fcFloat 3s infinite;
}
.flashcard__sparkle--1 {
  top: 20px;
  left: 40px;
}
.flashcard__sparkle--2 {
  top: 40px;
  right: 40px;
  animation-delay: 1s;
}
.flashcard__sparkle--3 {
  bottom: 80px;
  left: 30px;
  animation-delay: 2s;
}
.score-value {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.score-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 480px) {
  .flashcard {
    padding: 30px 16px;
    gap: 16px;
  }
  .flashcard__card-container {
    height: min((100vw - 32px) * 1.3, 52vh);
  }
  .flashcard__card-front, .flashcard__card-back {
    padding: 24px;
  }
}
/* ─── SCSS O'zgaruvchilar ────────────────────────────────────────────────── */
/* Breakpoints */
/* Z-index tizimi */
/* Qayta ishlatiladigan clamp() qiymatlari */
/* ─── CSS Custom Properties — Dark Premium Palette ─────────────────────── */
:root {
  /* FIX: rgba() interpolation uchun CSS custom properties */
  --accent-rgb: 108, 99, 255;
  --accent-soft-rgb: 167, 139, 250;
  --accent: #6c63ff;
  --accent-soft: #a78bfa;
  --accent-glow: rgba(108, 99, 255, 0.25);
  --bg-base: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.60);
  --text-3: rgba(255, 255, 255, 0.30);
  /* Feature colors */
  --violet-bg: rgba(124, 58, 237, 0.12);
  --violet-txt: #c4b5fd;
  --violet-ico: #a78bfa;
  --green-bg: rgba(22, 163, 74, 0.12);
  --green-txt: #86efac;
  --green-ico: #4ade80;
  --amber-bg: rgba(217, 119, 6, 0.12);
  --amber-txt: #fcd34d;
  --amber-ico: #f59e0b;
  --teal-bg: rgba(13, 148, 136, 0.12);
  --teal-txt: #5eead4;
  --teal-ico: #2dd4bf;
  --sky-bg: rgba(2, 132, 199, 0.12);
  --sky-txt: #7dd3fc;
  --sky-ico: #38bdf8;
  --pink-bg: rgba(219, 39, 119, 0.12);
  --pink-txt: #f9a8d4;
  --pink-ico: #f472b6;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.20);
  --shadow-btn: 0 8px 24px rgba(108, 99, 255, 0.40);
  --shadow-btn-hover: 0 14px 36px rgba(108, 99, 255, 0.55);
  --transition-fast: 150ms cubic-bezier(.22, 1, .36, 1);
  --transition-med: 220ms cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ─── Mixins ─────────────────────────────────────────────────────────────── */
/* Backdrop blur — Safari prefix bilan */
/* Feature card hover effekti */
/* ─── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes underline-grow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.68);
  }
}
@keyframes orb-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes home-float-a {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(6deg);
  }
}
@keyframes home-float-b {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(18px) rotate(-5deg);
  }
}
@keyframes home-glow-pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
/* ─── Page shell ─────────────────────────────────────────────────────────── */
.home {
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--bg-base);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
/* ─── Background ─────────────────────────────────────────────────────────── */
.home__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.home__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 12% 8%, rgba(var(--accent-rgb), 0.22) 0%, transparent 60%), radial-gradient(ellipse 55% 45% at 90% 90%, rgba(var(--accent-soft-rgb), 0.14) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 50% 45%, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
}
.home__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
}
.home__orb--1 {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.28) 0%, transparent 70%);
  animation: orb-in 1.4s ease forwards 0.1s;
}
.home__orb--2 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: -120px;
  background: radial-gradient(circle, rgba(var(--accent-soft-rgb), 0.2) 0%, transparent 70%);
  animation: orb-in 1.4s ease forwards 0.3s;
}
.home__orb--3 {
  width: 280px;
  height: 280px;
  top: 42%;
  left: 32%;
  background: radial-gradient(circle, rgba(34, 211, 153, 0.1) 0%, transparent 70%);
  filter: blur(70px);
  animation: orb-in 1.4s ease forwards 0.5s;
}
.home__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.home__deco--1 {
  width: 160px;
  height: 160px;
  top: 15%;
  right: 7%;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 28px;
  transform: rotate(18deg);
  animation: home-float-a 12s ease-in-out infinite;
}
.home__deco--2 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 4%;
  border: 1px solid rgba(var(--accent-soft-rgb), 0.09);
  border-radius: 18px;
  transform: rotate(-10deg);
  animation: home-float-b 15s ease-in-out infinite;
}
.home__deco--3 {
  width: 50px;
  height: 50px;
  bottom: 25%;
  right: 12%;
  border: 1px solid rgba(34, 211, 153, 0.1);
  border-radius: 12px;
  transform: rotate(30deg);
  animation: home-float-a 10s ease-in-out infinite 2s;
}
.home__content {
  position: relative;
  z-index: 1;
}
/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 5vw, 2rem) 3rem;
  max-width: 800px;
  margin: 0 auto;
  gap: 1.5rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-1);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 2px;
  animation: underline-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 1s;
}
.hero__desc {
  font-size: clamp(0.975rem, 2vw, 1.125rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.975rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  padding: 0.9rem 2rem;
  transition: transform var(--transition-med), opacity var(--transition-med);
  will-change: transform;
}
.hero__btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.hero__btn--primary:hover .hero__arrow svg {
  transform: translateX(4px);
}
.hero__btn--primary:active {
  transform: translateY(0);
}
.hero__btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  border: 1px solid var(--glass-border);
}
.hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-1);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
}
.hero__arrow {
  display: inline-flex;
  align-items: center;
}
.hero__arrow svg {
  transition: transform var(--transition-fast);
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stat {
  text-align: center;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.hero__stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 2px;
}
.hero__stat-divider {
  width: 1px;
  height: 34px;
  background: var(--glass-border);
}
/* ─── Features ───────────────────────────────────────────────────────────── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 2rem) clamp(4rem, 8vh, 5rem);
}
.features__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
@media (max-width: 700px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.features__card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  padding: 1.85rem 1.6rem;
  text-align: left;
  cursor: default;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.features__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition-med);
}
.features__card {
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}
.features__card--1::before {
  background: linear-gradient(90deg, transparent, var(--violet-ico), transparent);
}
.features__card--1:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.25);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.18), 0 4px 12px rgba(0, 0, 0, 0.3);
  background: rgba(108, 99, 255, 0.06);
}
.features__card--1:hover::before {
  opacity: 1;
}
.features__card--1:hover .features__card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}
.features__card--1:hover .features__card-title {
  color: var(--violet-txt);
}
.features__card--2::before {
  background: linear-gradient(90deg, transparent, var(--green-ico), transparent);
}
.features__card--2:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 222, 128, 0.22);
  box-shadow: 0 20px 50px rgba(22, 163, 74, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  background: rgba(22, 163, 74, 0.06);
}
.features__card--2:hover::before {
  opacity: 1;
}
.features__card--2:hover .features__card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}
.features__card--2:hover .features__card-title {
  color: var(--green-txt);
}
.features__card--3::before {
  background: linear-gradient(90deg, transparent, var(--amber-ico), transparent);
}
.features__card--3:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  background: rgba(217, 119, 6, 0.06);
}
.features__card--3:hover::before {
  opacity: 1;
}
.features__card--3:hover .features__card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}
.features__card--3:hover .features__card-title {
  color: var(--amber-txt);
}
@media (min-width: 701px) and (max-width: 900px) {
  .features__card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .features__card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-md);
  }
}
@media (max-width: 700px) {
  .features__card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 62px;
    align-self: stretch;
    border-right: 1px solid var(--glass-border);
    padding-right: 1rem;
  }
}
@media (max-width: 700px) {
  .features__card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    flex: 1;
    min-width: 0;
  }
}
.features__card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-med);
  margin-bottom: 1.1rem;
}
.features__card-icon-wrap--violet {
  background: var(--violet-bg);
}
.features__card-icon-wrap--green {
  background: var(--green-bg);
}
.features__card-icon-wrap--amber {
  background: var(--amber-bg);
}
@media (max-width: 700px) {
  .features__card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    margin-bottom: 0;
  }
}
.features__card-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}
.features__card-badge--violet {
  background: var(--violet-bg);
  color: var(--violet-txt);
}
.features__card-badge--green {
  background: var(--green-bg);
  color: var(--green-txt);
}
.features__card-badge--amber {
  background: var(--amber-bg);
  color: var(--amber-txt);
}
@media (max-width: 700px) {
  .features__card-badge {
    margin-bottom: 0;
    font-size: 0.58rem;
    padding: 0.12rem 0.4rem;
    align-self: center;
  }
}
.features__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  transition: color var(--transition-med);
}
@media (max-width: 700px) {
  .features__card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0;
  }
}
.features__card-text {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}
@media (max-width: 700px) {
  .features__card-text {
    font-size: 0.79rem;
    line-height: 1.48;
  }
}
/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero {
    padding-top: 2.5rem;
    gap: 1.25rem;
  }
  .hero__btn {
    width: 100%;
    justify-content: center;
  }
  .hero__actions {
    width: 100%;
    flex-direction: column;
  }
  .features {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 360px) {
  .hero__title {
    font-size: 2rem;
  }
}
/* ─────────────────────────────────────────────────────────────────────────── */
/* Home — New sections: How it works, Books, CEFR, Trial banner              */
/* ─────────────────────────────────────────────────────────────────────────── */
/* Shared: eyebrow label + section titles */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  margin-bottom: 1rem;
}
.section-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}
/* HOW IT WORKS */
.how-section {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.25rem, 5vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.how-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.steps-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  text-align: left;
}
@media (max-width: 700px) {
  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
}
.steps-list::before {
  display: none;
}
@media (max-width: 700px) {
  .steps-list::before {
    display: block;
    content: "";
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.4), transparent);
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  .steps-list::before {
    left: 22px;
  }
}
.step {
  margin-top: 10px;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  will-change: transform;
}
.step:hover {
  transform: translateX(5px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.12);
}
.step__num {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}
@media (max-width: 480px) {
  .step__num {
    min-width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
}
.step__body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-1);
  margin-bottom: 0.28rem;
  letter-spacing: -0.015em;
}
@media (max-width: 480px) {
  .step__body h4 {
    font-size: 0.9rem;
  }
}
.step__body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}
@media (max-width: 480px) {
  .step__body p {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .step {
    padding: 1rem 1.1rem;
    gap: 0.9rem;
  }
}
/* BOOKS */
.books-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.books-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 540px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}
@media (max-width: 340px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
}
.book-card {
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
  cursor: default;
  will-change: transform;
}
.book-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), 0.14);
}
.book-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.04em;
}
.book-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.book-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.14rem 0.48rem;
  border-radius: 100px;
}
.book-badge--cefr {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent-soft);
}
.book-badge--units {
  background: var(--green-bg);
  color: var(--green-txt);
}
/* CEFR */
.cefr-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cefr-section .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.cefr-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
}
@media (max-width: 500px) {
  .cefr-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }
}
.cefr-pill {
  border-radius: var(--radius-md);
  padding: 0.95rem 0.6rem;
  text-align: center;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  will-change: transform;
  cursor: default;
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cefr-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.cefr-pill--1 {
  background: var(--green-bg);
}
.cefr-pill--2 {
  background: var(--teal-bg);
}
.cefr-pill--3 {
  background: var(--sky-bg);
}
.cefr-pill--4 {
  background: var(--amber-bg);
}
.cefr-pill--5 {
  background: var(--pink-bg);
}
.cefr-level {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.22rem;
}
.cefr-pill--1 .cefr-level {
  color: var(--green-ico);
}
.cefr-pill--2 .cefr-level {
  color: var(--teal-ico);
}
.cefr-pill--3 .cefr-level {
  color: var(--sky-ico);
}
.cefr-pill--4 .cefr-level {
  color: var(--amber-ico);
}
.cefr-pill--5 .cefr-level {
  color: var(--pink-ico);
}
.cefr-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
}
/* TRIAL / CTA SECTION */
.trial-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2rem) clamp(4rem, 8vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trial-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.trial-banner {
  width: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(var(--accent-soft-rgb), 0.2) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(34, 211, 153, 0.1) 0%, transparent 50%), linear-gradient(135deg, rgba(var(--accent-rgb), 0.85) 0%, rgba(124, 58, 237, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-soft-rgb), 0.25);
  box-shadow: 0 24px 60px rgba(var(--accent-rgb), 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.trial-banner::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -80px;
  right: -60px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.trial-banner::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  bottom: -40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}
.trial-big {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.45rem;
}
.trial-sub {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.65;
  opacity: 0.82;
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.trial-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.trial-perk {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.trial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  color: #4c1d95;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.975rem;
  cursor: pointer;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  will-change: transform;
}
.trial-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.trial-btn:active {
  transform: translateY(0);
}
.trial-stripe-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.55;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
/* ─── Testimonials Section ─────────────────────────────────────────────────── */
.testimonials-section {
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.25rem, 5vw, 2rem);
  max-width: 1100px;
  margin: 0 auto;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 255, 255, 0.15);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.testimonial-info {
  display: flex;
  flex-direction: column;
}
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-1);
  font-size: 1.05rem;
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-2);
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  font-style: italic;
}
/* ─── FAQ Section ───────────────────────────────────────────────────────── */
.faq-section {
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.25rem, 5vw, 2rem);
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}
.faq-item--open {
  border-color: var(--accent-glow);
  background: rgba(108, 99, 255, 0.05);
}
.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-soft);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-1);
  font-size: 1.05rem;
  gap: 1rem;
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.faq-answer {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pricing-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pricing-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
@keyframes pricing-badge-pop {
  0% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }
  70% {
    transform: translateX(-50%) scale(1.08);
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}
@keyframes pricing-glow-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}
@keyframes pricing-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}
.pricing {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 24px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #0a0a0f;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 8% 5%, rgba(108, 99, 255, 0.18) 0%, transparent 60%), radial-gradient(ellipse 55% 50% at 92% 95%, rgba(167, 139, 250, 0.12) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 50% 50%, rgba(108, 99, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.pricing::after {
  content: "";
  position: absolute;
  width: clamp(280px, 45vw, 560px);
  height: clamp(280px, 45vw, 560px);
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 65%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: pricing-glow-pulse 14s ease-in-out infinite;
}
.pricing__bg-orb {
  position: absolute;
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 65%);
  bottom: -80px;
  right: -80px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  animation: pricing-glow-pulse 18s ease-in-out infinite reverse;
  z-index: 0;
}
.pricing__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.pricing__deco--1 {
  width: 140px;
  height: 140px;
  top: 18%;
  right: 6%;
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: 24px;
  transform: rotate(18deg);
  animation: pricing-float 12s ease-in-out infinite;
}
.pricing__deco--2 {
  width: 80px;
  height: 80px;
  bottom: 22%;
  left: 5%;
  border: 1px solid rgba(167, 139, 250, 0.1);
  border-radius: 16px;
  transform: rotate(-10deg);
  animation: pricing-float 16s ease-in-out infinite reverse;
}
.pricing__inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 40px);
  position: relative;
  z-index: 1;
  animation: pricing-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pricing__header {
  text-align: center;
}
.pricing__header h2 {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
}
.pricing__header p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.pricing__plans {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.5vw, 20px);
  align-items: stretch;
  padding-top: 28px;
}
.pricing__plan {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 8px 32px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(108, 99, 255, 0.06);
  padding: clamp(24px, 4vw, 32px) clamp(20px, 3.5vw, 28px);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing__plan::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 0;
  height: 1.5px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #6c63ff, #a78bfa, #6c63ff, transparent);
  background-size: 250% 100%;
  animation: pricing-shimmer 8s linear infinite;
}
.pricing__plan:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 99, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 12px 40px rgba(0, 0, 0, 0.45), 0 32px 72px rgba(108, 99, 255, 0.12);
}
.pricing__plan--premium {
  border-color: rgba(108, 99, 255, 0.25);
  background: rgba(108, 99, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 8px 40px rgba(0, 0, 0, 0.4), 0 24px 72px rgba(108, 99, 255, 0.15), 0 0 0 1px rgba(108, 99, 255, 0.15);
}
.pricing__plan--premium::before {
  background: linear-gradient(90deg, transparent, #6c63ff, #a78bfa, #6c63ff, transparent);
  background-size: 250% 100%;
  animation: pricing-shimmer 5s linear infinite;
  height: 2px;
}
.pricing__plan--premium:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 16px 48px rgba(0, 0, 0, 0.45), 0 32px 80px rgba(108, 99, 255, 0.22), 0 0 0 1px rgba(108, 99, 255, 0.22);
}
.pricing__plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  padding: 5px 16px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.5), 0 1px 4px rgba(108, 99, 255, 0.25);
  white-space: nowrap;
  animation: pricing-badge-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.pricing__plan-header {
  margin-bottom: clamp(18px, 3vw, 24px);
  padding-bottom: clamp(16px, 2.5vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing__plan-name {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 10px;
}
.pricing__plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__plan-amount {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: #ffffff;
}
.pricing__plan--premium .pricing__plan-amount {
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing__plan-period {
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  padding-bottom: 2px;
}
.pricing__features {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.pricing__feature {
  font-size: clamp(13px, 2.2vw, 14px);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.6);
}
.pricing__feature::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}
.pricing__feature--yes::before {
  background-color: rgba(108, 99, 255, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='%236c63ff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing__feature--no {
  color: rgba(255, 255, 255, 0.3);
}
.pricing__feature--no::before {
  background-color: rgba(255, 255, 255, 0.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5M7.5 2.5l-5 5' stroke='rgba(255,255,255,0.25)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.pricing__btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.15s ease;
}
.pricing__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.pricing__btn:hover:not(:disabled)::after {
  transform: translateX(120%);
}
.pricing__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.pricing__btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35), 0 1px 4px rgba(108, 99, 255, 0.2);
}
.pricing__btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 99, 255, 0.48), 0 2px 8px rgba(108, 99, 255, 0.25);
}
.pricing__btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}
.pricing__btn--outline {
  color: #a78bfa;
  background: rgba(108, 99, 255, 0.06);
  border: 1.5px solid rgba(108, 99, 255, 0.2);
}
.pricing__btn--outline:hover:not(:disabled) {
  background: rgba(108, 99, 255, 0.12);
  border-color: rgba(108, 99, 255, 0.35);
  transform: translateY(-1px);
}
.pricing__btn--outline:active:not(:disabled) {
  transform: translateY(0);
}
.pricing__trial-note {
  text-align: center;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  line-height: 1.4;
}
.pricing__modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pricing-fade-in 0.3s ease-out forwards;
}
.pricing__modal {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}
.pricing__modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
}
.pricing__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pricing__modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}
.pricing__modal-header .pricing__modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.pricing__modal-header .pricing__modal-close:hover {
  color: #ffffff;
}
.pricing__modal-body {
  padding: 24px;
}
.pricing__modal-instruction {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
  line-height: 1.6;
}
.pricing__modal-card {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(108, 99, 255, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.pricing__modal-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(108, 99, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.pricing__modal-card-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pricing__modal-card-info .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}
.pricing__modal-card-info .info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pricing__modal-card-info .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing__modal-card-info strong {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.pricing__modal-card-info .amount {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #6C63FF, #00D2FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing__modal-card-info .card-number-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pricing__modal-card-info .card-number {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 17px;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}
.pricing__modal-card-info .copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pricing__modal-card-info .copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.pricing__modal-card-info .copy-btn:active {
  transform: translateY(0);
}
.pricing__modal-telegram {
  text-align: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}
.pricing__modal-telegram p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
}
.pricing__modal-telegram .telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2AABEE;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.pricing__modal-telegram .telegram-btn:hover {
  background: rgb(18.8108695652, 161.552173913, 235.6891304348);
  transform: translateY(-2px);
}
.pricing__modal-telegram .user-id-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}
.pricing__modal-telegram .user-id-note .user-id {
  display: inline-block;
  margin-top: 6px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing__modal-telegram .user-id-note .user-id:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 600px) {
  .pricing {
    padding: 24px 14px 40px;
  }
  .pricing__inner {
    gap: 20px;
  }
  .pricing__plans {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .pricing__plan--premium {
    order: -1;
  }
  .pricing__plan {
    padding: 22px 18px;
    height: auto;
  }
  .pricing__plan-badge {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .pricing__plan-amount {
    font-size: 36px;
  }
  .pricing__features {
    gap: 9px;
    margin-bottom: 20px;
  }
  .pricing__feature {
    font-size: 13px;
  }
  .pricing__btn {
    padding: 13px;
    font-size: 14px;
  }
  .pricing__test-info {
    padding: 12px 14px;
  }
  .pricing__test-info p {
    font-size: 12px;
  }
  .pricing__deco {
    display: none;
  }
  .pricing__modal-card-info .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pricing__modal-card-info .card-number-wrapper {
    width: 100%;
    justify-content: space-between;
  }
  .pricing__modal-card-info .card-number {
    font-size: 15px;
    letter-spacing: 0.5px;
  }
}
@media (max-width: 390px) {
  .pricing {
    padding: 20px 12px 32px;
  }
  .pricing__header h2 {
    font-size: 22px;
  }
  .pricing__plan {
    padding: 20px 16px;
  }
  .pricing__plan-amount {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing__inner {
    animation: none;
  }
  .pricing__plan-badge {
    animation: none;
    transform: translateX(-50%);
  }
  .pricing__plan::before {
    animation: none;
  }
  .pricing__btn::after {
    display: none;
  }
  .pricing::before,
  .pricing::after {
    animation: none;
  }
  .pricing__bg-orb {
    animation: none;
  }
  .pricing__deco {
    animation: none;
  }
}
@keyframes test-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes test-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes test-card-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes test-option-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes test-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
@keyframes test-correct-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes test-glow-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}
.test-state {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #09090b;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.test-state::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(108, 99, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.test-state__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #6c63ff;
  border-radius: 50%;
  animation: test-spin 0.8s linear infinite;
  position: relative;
  z-index: 1;
}
.test-state__icon {
  font-size: 4rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(108, 99, 255, 0.4);
}
.test-state__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.test-state__text, .test-state__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  max-width: 400px;
}
.test-state__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, #6c63ff, #8b5cf6);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}
.test-state__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.6);
}
.test-state__btn:active {
  transform: translateY(0);
}
.test-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09090b;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.test-result__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.test-result__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(108, 99, 255, 0.25) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.2) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  animation: test-glow-pulse 8s ease-in-out infinite;
}
.test-result__card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: 3rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  animation: test-card-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.test-result__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #6c63ff, #8b5cf6, transparent);
  opacity: 0.8;
}
.test-result__emoji {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}
.test-result__emoji--gold {
  background: rgba(250, 204, 21, 0.15);
  box-shadow: 0 0 0 8px rgba(250, 204, 21, 0.05), 0 0 40px rgba(250, 204, 21, 0.3);
}
.test-result__emoji--blue {
  background: rgba(108, 99, 255, 0.15);
  box-shadow: 0 0 0 8px rgba(108, 99, 255, 0.05), 0 0 40px rgba(108, 99, 255, 0.3);
}
.test-result__emoji--amber {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.05), 0 0 40px rgba(245, 158, 11, 0.3);
}
.test-result__emoji--red {
  background: rgba(239, 68, 68, 0.15);
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.05), 0 0 40px rgba(239, 68, 68, 0.3);
}
.test-result__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.test-result__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
}
.test-result__ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}
.test-result__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.test-result__ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 1;
  gap: 2px;
}
.test-result__score-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}
.test-result__score-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}
.test-result__percent {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  font-weight: 600;
}
.test-result__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}
.test-result__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.test-result__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.test-result__btn--primary {
  background: linear-gradient(135deg, #6c63ff, #8b5cf6);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
}
.test-result__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.5);
}
.test-result__btn--primary:active {
  transform: translateY(0);
}
.test-result__btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}
.test-result__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.test {
  min-height: 100vh;
  background: #09090b;
  font-family: "Plus Jakarta Sans", sans-serif;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.test__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.test__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(108, 99, 255, 0.25) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(167, 139, 250, 0.2) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  animation: test-glow-pulse 8s ease-in-out infinite;
}
.test__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem clamp(1rem, 5vw, 2rem);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  gap: 1.5rem;
}
.test__topbar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: test-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.test__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.test__back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.test__progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.test__progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}
.test__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6c63ff, #8b5cf6);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(108, 99, 255, 0.5);
}
.test__progress-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}
.test__score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}
.test__question-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: test-card-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
}
.test__question-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.6), transparent);
  border-radius: 0 0 4px 4px;
}
.test__question-hint {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.test__question-word {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(108, 99, 255, 0.4);
}
.test__options {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .test__options {
    grid-template-columns: 1fr;
  }
}
.test__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: blur(12px);
}
.test__option:nth-child(1) {
  animation: test-option-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0ms;
}
.test__option:nth-child(2) {
  animation: test-option-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 80ms;
}
.test__option:nth-child(3) {
  animation: test-option-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 160ms;
}
.test__option:nth-child(4) {
  animation: test-option-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 240ms;
}
.test__option:hover:not(:disabled) {
  background: rgba(108, 99, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.4);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.2);
}
.test__option:disabled {
  cursor: default;
}
.test__option--correct {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.5) !important;
  color: #4ade80 !important;
  animation: test-correct-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3) !important;
}
.test__option--correct .test__option-letter {
  background: rgba(34, 197, 94, 0.3);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.5);
}
.test__option--wrong {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  animation: test-shake 0.5s ease both !important;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3) !important;
}
.test__option--wrong .test__option-letter {
  background: rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}
.test__option--dim {
  opacity: 0.3;
  transform: scale(0.98);
}
.test__option-letter {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.test__option-text {
  flex: 1;
  line-height: 1.3;
}
.test__option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  color: #4ade80;
}
@keyframes prFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes prDotReveal {
  to {
    opacity: 1;
  }
}
@keyframes prProgFill {
  from {
    width: 0%;
  }
  to {
    width: var(--prog, 0%);
  }
}
.profile {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  display: flex;
  flex-direction: row;
  height: calc(100vh - 60px);
  min-height: 0;
  overflow: hidden;
}
.profile .profile__bg-grid {
  display: none;
}
.profile .profile__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.profile .profile__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.profile .profile__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.profile .profile__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.profile__sidebar {
  width: 280px;
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-top: none;
  border-bottom: none;
  z-index: 1;
}
.profile__sidebar::-webkit-scrollbar {
  width: 4px;
}
.profile__sidebar-hero {
  padding: 40px 24px 24px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.profile__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.profile__tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.profile__tier-badge i {
  font-size: 14px;
}
.profile__tier-badge--premium {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  color: #fff;
  border: none;
}
.profile__tier-badge--free {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.profile__sidebar-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  position: relative;
  z-index: 1;
}
.profile__sidebar-email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  position: relative;
  z-index: 1;
}
.profile__sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.profile__stat-cell {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}
.profile__stat-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}
.profile__stat-cell:nth-child(2n) {
  border-right: none;
}
.profile__stat-cell:nth-child(3), .profile__stat-cell:nth-child(4) {
  border-bottom: none;
}
.profile__stat-icon {
  font-size: 18px;
  margin-bottom: 4px;
}
.profile__stat-icon--amber {
  color: #fbbf24;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}
.profile__stat-icon--purple {
  color: #a5b4fc;
  filter: drop-shadow(0 2px 4px rgba(165, 180, 252, 0.3));
}
.profile__stat-icon--green {
  color: #34d399;
  filter: drop-shadow(0 2px 4px rgba(52, 211, 153, 0.3));
}
.profile__stat-num {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  font-family: "Fraunces", serif;
}
.profile__stat-num--amber {
  color: #fcd34d;
}
.profile__stat-num--purple {
  color: #fff;
}
.profile__stat-num--green {
  color: #86efac;
}
.profile__stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}
.profile__sidebar-nav {
  flex: 1;
  padding: 20px 0;
}
.profile__nav-section {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 24px 12px;
  margin-top: 16px;
}
.profile__nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}
.profile__nav-item i {
  font-size: 20px;
  flex-shrink: 0;
}
.profile__nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.profile__nav-item--active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
  color: #a5b4fc;
  border-left-color: #6366f1;
}
.profile__sidebar-foot {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.profile__logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
}
.profile__logout-btn i {
  font-size: 18px;
}
.profile__logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.profile__main {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
  z-index: 1;
}
.profile__card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.profile__card:hover {
  border-color: rgba(108, 99, 255, 0.2);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.profile__fade-up {
  opacity: 0;
  animation: prFadeUp 0.5s ease-out forwards;
}
.profile__fade-up--d1 {
  animation-delay: 0.1s;
}
.profile__fade-up--d2 {
  animation-delay: 0.2s;
}
.profile__fade-up--d3 {
  animation-delay: 0.3s;
}
.profile__activity-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.profile__activity-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.profile__dots {
  display: flex;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
}
.profile__dot {
  width: 14px;
  min-width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: prDotReveal 0.4s ease forwards;
  cursor: default;
  flex-shrink: 0;
  transition: transform 0.2s, background-color 0.2s;
}
.profile__dot:hover {
  transform: scale(1.5);
  position: relative;
  z-index: 2;
}
.profile__dot--l1 {
  background: rgba(167, 139, 250, 0.25);
}
.profile__dot--l2 {
  background: rgba(167, 139, 250, 0.55);
}
.profile__dot--l3 {
  background: rgba(108, 99, 255, 0.85);
}
.profile__dot--l4 {
  background: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}
.profile__streak-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  color: #fcd34d;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.profile__streak-tag i {
  font-size: 16px;
}
.profile__membership-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  flex-wrap: wrap;
}
.profile__membership-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
.profile__membership-text strong {
  color: #fff;
  font-weight: 800;
}
.profile__membership-icon {
  width: 50px;
  height: 50px;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.profile__membership-icon i {
  font-size: 24px;
  color: #a5b4fc;
}
.profile__trial-ended {
  color: #f87171;
  font-weight: 800;
}
.profile__prog-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: visible;
  margin-top: 16px;
  width: 220px;
  max-width: 100%;
}
.profile__prog-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #6366f1, #a5b4fc);
  width: 0%;
  animation: prProgFill 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  position: relative;
}
.profile__prog-fill::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}
.profile__upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all 0.3s;
}
.profile__upgrade-btn i {
  font-size: 18px;
}
.profile__upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}
.profile__upgrade-btn:active {
  transform: scale(0.97);
}
.profile__section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 32px 0;
  margin-bottom: 24px;
}
.profile__section-head i {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.5);
}
.profile__section-head h2 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.profile__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 32px;
  margin-bottom: 24px;
}
.profile__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile__field-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
.profile__field:focus-within .profile__field-label {
  color: #a5b4fc;
}
.profile__field-input {
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}
.profile__field-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.profile__field-input:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.profile__field-input:focus {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.profile__field-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.profile__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.profile__joined-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 16px;
}
.profile__joined-tag i {
  font-size: 16px;
}
.profile__form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile__saved-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #34d399;
  font-weight: 800;
}
.profile__saved-msg i {
  font-size: 18px;
}
.profile__save-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all 0.3s;
}
.profile__save-btn i {
  font-size: 18px;
}
.profile__save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}
.profile__save-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.profile__save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 60px);
    overflow: visible;
  }
  .profile__sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .profile__main {
    height: auto;
    padding: 24px 16px;
  }
  .profile__form-row {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .profile__section-head, .profile__form-footer, .profile__activity-bar, .profile__membership-row {
    padding-left: 16px;
    padding-right: 16px;
  }
  .profile__form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@keyframes l-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes l-pop {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  60% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes l-arrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}
@keyframes l-spin {
  to {
    transform: rotate(360deg);
  }
}
.learn {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.learn::before, .learn::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.learn::before {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.4);
  top: -100px;
  left: -100px;
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.learn::after {
  width: 500px;
  height: 500px;
  background: rgba(236, 72, 153, 0.3);
  bottom: -150px;
  right: -150px;
  animation: global-blob-2 20s infinite alternate ease-in-out;
}
.learn__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .learn__inner {
    padding: 24px 16px 64px;
  }
}
.learn__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.learn__header {
  margin-bottom: clamp(24px, 4vw, 36px);
  animation: l-fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-align: center;
}
.learn__header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 900;
  margin: 0 0 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.learn__header p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.learn__section {
  margin-bottom: clamp(20px, 3.5vw, 28px);
  animation: l-fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.learn__section:nth-child(2) {
  animation-delay: 0.06s;
}
.learn__section:nth-child(3) {
  animation-delay: 0.12s;
}
.learn__section:nth-child(4) {
  animation-delay: 0.18s;
}
.learn__section:nth-child(5) {
  animation-delay: 0.24s;
}
.learn__section:nth-child(6) {
  animation-delay: 0.3s;
}
.learn__section:nth-child(7) {
  animation-delay: 0.36s;
}
.learn__section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.learn__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}
.learn__levels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .learn__levels {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
.learn__level {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.learn__level:hover:not(.learn__level--active) {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}
.learn__level--active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.15));
  border-color: #6366f1;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.05);
  transform: translateY(-3px) scale(1.02);
}
.learn__level-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.learn__level--active .learn__level-name {
  color: #a5b4fc;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.5);
}
.learn__level-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  font-weight: 600;
}
.learn__level--active .learn__level-desc {
  color: rgba(255, 255, 255, 0.8);
}
.learn__units {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.learn__unit-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.learn__unit-btn:hover:not(.learn__unit-btn--active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.learn__unit-btn--active {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
  animation: l-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.learn__counts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.learn__count {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.learn__count:hover:not(.learn__count--active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.learn__count--active {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 5px 25px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  animation: l-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.learn__start {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin-top: clamp(16px, 4vw, 32px);
  padding: 20px 32px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  transition: all 0.2s;
}
.learn__start::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.learn__start:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.5);
}
.learn__start:hover:not(:disabled)::after {
  transform: translateX(130%);
}
.learn__start:hover:not(:disabled) .l-arrow {
  animation: l-arrow 0.6s ease infinite;
}
.learn__start:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}
.learn__start:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.l-arrow {
  display: inline-block;
  margin-left: 8px;
}
.learn__loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.learn__loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: l-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .learn {
    padding: 20px 16px 80px;
  }
  .learn__header {
    margin-bottom: 24px;
  }
  .learn__header h2 {
    font-size: 28px;
  }
  .learn__level {
    padding: 16px 20px;
    border-radius: 1rem;
  }
  .learn__level-name {
    font-size: 1rem;
  }
  .learn__level-desc {
    font-size: 0.8rem;
  }
  .learn__count {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .learn__unit-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .learn__start {
    padding: 16px 24px;
    font-size: 1.1rem;
  }
}
@keyframes pFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.progress-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.progress-page .progress__bg-grid {
  display: none;
}
.progress-page .progress__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.progress-page .progress__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.progress-page .progress__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.progress-page .progress__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.progress-page__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .progress-page__inner {
    padding: 24px 16px 64px;
  }
}
@media (max-width: 480px) {
  .progress-page__inner {
    padding: 0 16px;
  }
}
.progress-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 0 32px;
  animation: pFadeUp 0.5s ease-out;
}
@media (max-width: 480px) {
  .progress-page__header {
    padding: 32px 0 24px;
  }
}
.progress-page__header h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  font-family: "Fraunces", serif;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.progress-page__header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.progress-page__streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #fcd34d;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
  white-space: nowrap;
}
.progress-page__streak-pill-emoji {
  display: flex;
  align-items: center;
  color: currentColor;
}
.progress-page__streak-pill-emoji svg {
  width: 18px;
  height: 18px;
}
.progress-page__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  animation: pFadeUp 0.6s ease-out;
}
@media (max-width: 600px) {
  .progress-page__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .progress-page__stats .progress-page__stat--words {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .progress-page__stats .progress-page__stat--words .progress-page__stat-icon {
    margin-bottom: 0;
  }
}
.progress-page__stat {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.progress-page__stat:hover {
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.progress-page__stat {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.progress-page__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.progress-page__stat-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.progress-page__stat:hover .progress-page__stat-icon {
  transform: scale(1.1) rotate(5deg);
}
.progress-page__stat-value {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  font-family: "Fraunces", serif;
  line-height: 1;
  margin-bottom: 6px;
  color: #fff;
}
.progress-page__stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.progress-page__stat--words .progress-page__stat-icon {
  background: rgba(108, 99, 255, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.progress-page__stat--mastered .progress-page__stat-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.progress-page__stat--due .progress-page__stat-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.progress-page__section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.progress-page__section:hover {
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.progress-page__section {
  margin-bottom: 24px;
  animation: pFadeUp 0.7s ease-out;
}
.progress-page__section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.progress-page__chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.progress-page__chart-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.progress-page__chart-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.progress-page__chart-tab--active {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}
.progress-page__mastery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.progress-page__mastery-header-left p {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.progress-page__mastery-pct {
  font-size: 32px;
  font-weight: 900;
  font-family: "Fraunces", serif;
  color: #fff;
  text-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}
.progress-page__bar-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: visible;
  margin-bottom: 12px;
}
.progress-page__bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #6c63ff, #a5b4fc);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}
.progress-page__bar-fill::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.3), 0 0 12px rgba(108, 99, 255, 0.6);
}
.progress-page__bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}
.progress-page__member-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 1.25rem;
}
.progress-page__member-badge-icon {
  color: #fcd34d;
}
.progress-page__member-badge-icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}
.progress-page__member-badge-name {
  font-size: 16px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 2px;
}
.progress-page__member-badge-sub {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 158, 11, 0.7);
}
.progress-page__trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.progress-page__trial p {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.progress-page__trial span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.progress-page__trial button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.progress-page__trial button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}
.progress-page__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  animation: pFadeUp 0.8s ease-out;
}
@media (max-width: 768px) {
  .progress-page__actions {
    grid-template-columns: 1fr;
  }
}
.progress-page__action {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.progress-page__action:hover {
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.progress-page__action {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.progress-page__action:hover .progress-page__action-arrow {
  color: #fff;
  transform: translateX(5px);
}
.progress-page__action:hover .progress-page__action-icon {
  transform: scale(1.1) rotate(5deg);
}
.progress-page__action-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.progress-page__action-icon svg {
  width: 24px;
  height: 24px;
}
.progress-page__action-text {
  flex: 1;
}
.progress-page__action-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.progress-page__action-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.progress-page__action-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.progress-page__action--review .progress-page__action-icon {
  background: rgba(108, 99, 255, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.progress-page__action--learn .progress-page__action-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.progress-page__action--vocab .progress-page__action-icon {
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.progress-page__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  gap: 8px;
}
.progress-page__loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a5b4fc;
  animation: pdot 1.2s ease-in-out infinite;
}
.progress-page__loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.progress-page__loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pdot {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.recharts-cartesian-grid-horizontal line,
.recharts-cartesian-grid-vertical line {
  stroke: rgba(255, 255, 255, 0.1) !important;
}
.recharts-tooltip-wrapper {
  outline: none;
}
@keyframes gFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.goals-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.goals-page .goals-page__bg-grid {
  display: none;
}
.goals-page .goals-page__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.goals-page .goals-page__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.goals-page .goals-page__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.goals-page .goals-page__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.goals-page__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .goals-page__inner {
    padding: 24px 16px 64px;
  }
}
.goals-page__header {
  margin-bottom: 2rem;
  animation: gFadeUp 0.4s ease-out;
}
.goals-page__header h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  font-family: "Fraunces", serif;
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.goals-page__header h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.goals-page__header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}
.goals-page__error {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  animation: gFadeUp 0.5s ease-out;
}
.goals-page__today {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: gFadeUp 0.5s ease-out 0.1s both;
}
.goals-page__today:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.goals-page__today-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.goals-page__today-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  margin-bottom: 0;
}
.goals-page__today-count {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.goals-page__today-count span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}
.goals-page__bar-wrap {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: visible;
  margin-bottom: 12px;
}
.goals-page__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399);
  position: relative;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  transition: width 0.8s ease;
}
.goals-page__bar::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 10px rgba(16, 185, 129, 0.6);
}
.goals-page__completed {
  font-size: 13px;
  font-weight: 800;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 6px;
}
.goals-page__section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 20px;
  animation: gFadeUp 0.6s ease-out 0.2s both;
}
.goals-page__section:hover {
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.goals-page__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  margin-bottom: 20px;
}
.goals-page__book {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.goals-page__book:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.2);
  transform: translateY(-2px);
}
.goals-page__book:hover .goals-page__book-arrow {
  transform: translateX(5px);
  color: #fff;
}
.goals-page__book-emoji {
  font-size: 40px;
  flex-shrink: 0;
  line-height: 1;
}
.goals-page__book-info {
  flex: 1;
  min-width: 0;
}
.goals-page__book-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
@media (max-width: 480px) {
  .goals-page__book-title {
    font-size: 14px;
  }
}
.goals-page__book-reason {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.goals-page__book-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.goals-page__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.goals-page__option {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 auto;
  text-align: center;
}
.goals-page__option:hover {
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.15);
  color: #fff;
  transform: translateY(-2px);
}
.goals-page__option--active {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.goals-page__option--active:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}
.goals-page__levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
}
.goals-page__level {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.goals-page__level:hover {
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.15);
  transform: translateY(-2px);
}
.goals-page__level--active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
  border-color: #6366f1;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}
.goals-page__level-name {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}
.goals-page__level--active .goals-page__level-name {
  color: #a5b4fc;
}
.goals-page__level-desc {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.goals-page__level--active .goals-page__level-desc {
  color: #818cf8;
}
.goals-page__achievements-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  margin-bottom: 20px;
}
.goals-page__achievements-header .count {
  color: #a5b4fc;
  font-weight: 800;
  background: rgba(108, 99, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
}
.goals-page__achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) {
  .goals-page__achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.goals-page__achievement-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 20px 12px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.goals-page__achievement-item:hover {
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(108, 99, 255, 0.1);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.15);
  transform: translateY(-4px);
}
.goals-page__ach-icon {
  font-size: 36px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}
.goals-page__ach-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.goals-page__ach-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.goals-page__save-wrap {
  margin-top: 24px;
  animation: gFadeUp 0.8s ease-out 0.3s both;
}
.goals-page__saved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.goals-page__saved--show {
  opacity: 1;
  pointer-events: auto;
}
.goals-page__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 1rem;
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.goals-page__save:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}
.goals-page__save:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  cursor: not-allowed;
}
@media (min-width: 768px) {
  .goals-page__save {
    max-width: 320px;
    margin: 0 auto;
  }
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
.achievement-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  background: rgba(34, 197, 94, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 1rem;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.2);
  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.achievement-toast--exit {
  animation: toastOut 0.3s ease forwards;
}
.achievement-toast__emoji {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.achievement-toast__body {
  flex: 1;
}
.achievement-toast__label {
  font-size: 11px;
  font-weight: 800;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.achievement-toast__title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.achievement-toast__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.achievement-toast__close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.achievement-toast__close:hover {
  color: #fff;
}
@keyframes v-fade-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes v-pop {
  0% {
    transform: scale(0.93);
    opacity: 0;
  }
  65% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.vocabulary {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.vocabulary .vocabulary__bg-grid {
  display: none;
}
.vocabulary .vocabulary__bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.vocabulary .vocabulary__bg-orb--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.vocabulary .vocabulary__bg-orb--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.vocabulary .vocabulary__bg-orb--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.vocabulary__inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) 72px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .vocabulary__inner {
    padding: 24px 16px 64px;
  }
}
.vocabulary__header {
  margin-bottom: 24px;
  animation: v-fade-up 0.4s ease-out both;
}
.vocabulary__header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 900;
  margin: 0 0 6px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vocabulary__header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}
.vocabulary__search {
  position: relative;
  margin-bottom: 24px;
  animation: v-fade-up 0.5s ease-out 0.05s both;
}
.vocabulary__search::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' stroke='rgba(255,255,255,0.40)' stroke-width='1.5'/%3E%3Cpath d='M10 10l3 3' stroke='rgba(255,255,255,0.40)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.vocabulary__search input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  font-size: 16px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.vocabulary__search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.vocabulary__search input:focus-visible {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}
.vocabulary__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  animation: v-fade-up 0.5s ease-out 0.1s both;
}
.vocabulary__filter {
  appearance: none;
  cursor: pointer;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.vocabulary__filter:hover:not(.vocabulary__filter--active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.vocabulary__filter--active {
  background: linear-gradient(135deg, #6366f1, #a5b4fc);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  animation: v-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.vocabulary__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
  animation: v-fade-up 0.6s ease-out 0.15s both;
}
@media (max-width: 640px) {
  .vocabulary__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.vocabulary__stat {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.vocabulary__stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.vocabulary__stat-value {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1;
  font-family: "Fraunces", serif;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vocabulary__stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.5);
}
.vocabulary__groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: v-fade-up 0.7s ease-out 0.2s both;
}
.vocabulary__group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.vocabulary__group-date {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.vocabulary__group-count {
  font-size: 12px;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(167, 139, 250, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  backdrop-filter: blur(10px);
}
.vocabulary__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vocabulary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 16px 24px;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: default;
}
.vocabulary__item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
}
.vocabulary__item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.vocabulary__item-level {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(108, 99, 255, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(108, 99, 255, 0.3);
}
.vocabulary__item[data-level=A1] .vocabulary__item-level {
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.3);
}
.vocabulary__item[data-level=A2] .vocabulary__item-level {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.3);
}
.vocabulary__item[data-level=B1] .vocabulary__item-level {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.3);
}
.vocabulary__item[data-level=B2] .vocabulary__item-level {
  background: rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.3);
}
.vocabulary__item[data-level=C1] .vocabulary__item-level {
  background: rgba(244, 114, 182, 0.15);
  color: #f9a8d4;
  border-color: rgba(244, 114, 182, 0.3);
}
.vocabulary__item-words {
  min-width: 0;
  flex: 1;
}
.vocabulary__item-en {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.vocabulary__item-en h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}
.vocabulary__item-speak {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}
.vocabulary__item-speak:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  transform: scale(1.1);
}
.vocabulary__item-words p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}
.vocabulary__item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vocabulary__item-pos {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .vocabulary__item-pos {
    display: none;
  }
}
.vocabulary__item-mastery {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
}
.vocabulary__item-reps {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .vocabulary__inner {
    padding: 24px 16px 64px;
  }
  .vocabulary__item {
    padding: 14px 16px;
  }
  .vocabulary__search input {
    padding: 14px 20px 14px 44px;
  }
  .vocabulary__filters {
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: space-between;
  }
  .vocabulary__filter {
    padding: 6px 8px;
    font-size: 11px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.dskel__sp-xs {
  margin-top: 5px;
}
.dskel__sp-sm {
  margin-top: 6px;
}
.dskel__sp-md {
  margin-top: 14px;
}
.dskel__no-hover {
  cursor: default;
  pointer-events: none;
}
.dskel__stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dskel__stat--wide {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.dskel__banner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dskel__banner-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dskel__action {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dskel__action-icon {
  flex-shrink: 0;
}
.dskel__action-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 2px;
}
.dskel__action-title { /* sizing comes from Skeleton props */ }
@keyframes sk-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
@keyframes sk-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}
.skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 25%, rgba(108, 99, 255, 0.1) 45%, rgba(255, 255, 255, 0.09) 50%, rgba(108, 99, 255, 0.1) 55%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 400% 100%;
  animation: sk-shimmer 2.2s ease-in-out infinite;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: rgba(255, 255, 255, 0.06);
  }
}
.skeleton--pulse {
  background: rgba(255, 255, 255, 0.06);
  animation: sk-pulse 1.8s ease-in-out infinite;
}
.skeleton--accent {
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.06) 0%, rgba(108, 99, 255, 0.06) 25%, rgba(167, 139, 250, 0.14) 48%, rgba(108, 99, 255, 0.12) 52%, rgba(108, 99, 255, 0.06) 75%, rgba(108, 99, 255, 0.06) 100%);
  background-size: 400% 100%;
  animation: sk-shimmer 2.2s ease-in-out infinite;
}
.skeleton-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.skeleton-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.18), transparent);
}
.vskel__sp-xs {
  margin-top: 6px;
}
.vskel__center {
  margin: 0 auto;
}
.vskel__pos {
  display: none;
}
@media (min-width: 480px) {
  .vskel__pos {
    display: inline-block;
  }
}
/* ─── Top notification banner (Navbar ostidagi) ──────────────────────── */
.top-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}
.top-banner p {
  margin: 0;
}
.top-banner--info {
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.18), rgba(167, 139, 250, 0.14));
  color: #c4b5fd;
  border-bottom: 1px solid rgba(108, 99, 255, 0.2);
}
.top-banner--warning {
  background: rgba(217, 119, 6, 0.15);
  color: #fcd34d;
  border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}
.top-banner--danger {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  flex-wrap: wrap;
}
.top-banner__btn {
  background: #fff;
  color: #4c1d95;
  border: none;
  border-radius: 6px;
  padding: 0.28rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.top-banner__btn:hover {
  opacity: 0.85;
}
/* ==========================================================================
   Leaderboard UI — Premium Glassmorphism
   ========================================================================== */
.lb-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}
.lb-page .lb-page__bg-grid {
  display: none;
}
.lb-page .lb-page__bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.lb-page .lb-page__bg-blob--1 {
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: rgba(108, 99, 255, 0.35);
  animation: global-blob-1 15s infinite alternate ease-in-out;
}
.lb-page .lb-page__bg-blob--2 {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(34, 197, 94, 0.25);
  animation: global-blob-2 18s infinite alternate ease-in-out;
}
.lb-page .lb-page__bg-blob--3 {
  top: 50%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.2);
  transform: translate(-50%, -50%);
  animation: global-blob-1 20s infinite alternate-reverse ease-in-out;
}
.lb-page {
  display: flex;
  flex-direction: column;
}
.lb {
  position: relative;
  z-index: 10;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lb__header {
  text-align: center;
  margin-bottom: 0rem;
  animation: lbFadeIn 0.5s ease-out;
}
.lb__title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.lb__title .ti {
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}
.lb__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 500;
}
.lb__tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.lb__tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb__tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.lb__tab--active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #a5b4fc;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.lb__search {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}
.lb__search .ti {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
}
.lb__search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb__search input:focus {
  border-color: #6366f1;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}
.lb__search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.lb__username-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb__username-cta .cta-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: white;
}
.lb__username-cta .cta-text .ti {
  color: #ec4899;
  font-size: 1.5rem;
}
.lb__username-cta button {
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.lb__username-cta button:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}
.lb__error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fca5a5;
  margin-bottom: 2rem;
}
.lb__error button {
  background: rgba(239, 68, 68, 0.2);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
}
.lb__error button:hover {
  background: rgba(239, 68, 68, 0.4);
}
.lb__loading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lb__skel {
  height: 80px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  animation: lbPulse 1.5s infinite ease-in-out alternate;
}
.lb__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
}
.lb__card {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  padding: 1rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  gap: 1.5rem;
  cursor: pointer;
}
.lb__card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}
.lb__card--me {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border-color: rgba(99, 102, 241, 0.3);
}
.lb__card--me:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.1));
  border-color: rgba(99, 102, 241, 0.5);
}
.lb__card.rank-1 {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(250, 204, 21, 0.05));
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}
.lb__card.rank-2 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.05));
  border-color: rgba(148, 163, 184, 0.4);
}
.lb__card.rank-3 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(217, 119, 6, 0.05));
  border-color: rgba(217, 119, 6, 0.4);
}
.lb__card--sticky {
  position: sticky;
  top: 1rem;
  z-index: 20;
  margin-bottom: 2rem;
  background: rgba(15, 12, 41, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #6366f1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}
.lb__card--sticky::before {
  content: "YOU";
  position: absolute;
  top: -12px;
  right: 15px;
  background: #6366f1;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}
.lb__rank {
  width: 45px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.lb__rank .medal {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}
.lb__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}
.lb__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.lb__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.lb__name-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lb__display-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb__username {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}
.lb__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb__stat .label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.lb__stat .val {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.lb__stat .val .ti-flame {
  color: #f59e0b;
}
.lb__stat .val .ti-books {
  color: #a5b4fc;
}
.lb__empty {
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(255, 255, 255, 0.5);
}
.lb__empty .ti {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.2);
}
@keyframes lbFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lbPulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}
@keyframes floatCrown {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
.lb__arena-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  margin: 2rem auto 4rem;
  max-width: 900px;
  min-height: 400px;
  position: relative;
}
.lb__arena-podium::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 5%;
  right: 5%;
  height: 15px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
  filter: blur(10px);
}
.arena-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 2rem;
  cursor: pointer;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.arena-item--1 {
  width: 290px;
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(160deg, rgba(250, 204, 21, 0.15), rgba(15, 12, 41, 0.95));
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 30px 60px rgba(250, 204, 21, 0.15), inset 0 2px 20px rgba(250, 204, 21, 0.1);
  z-index: 3;
}
.arena-item--1 .arena-avatar {
  width: 140px;
  height: 140px;
  border-width: 4px;
  font-size: 3rem;
}
.arena-item--1 .arena-name {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.arena-item--1 .arena-score {
  font-size: 1.15rem;
  padding: 0.5rem 1rem;
}
.arena-item--1:hover {
  box-shadow: 0 40px 80px rgba(250, 204, 21, 0.3), inset 0 2px 30px rgba(250, 204, 21, 0.2);
}
.arena-item--2 {
  width: 240px;
  padding: 3.5rem 1.5rem 3rem;
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.15), rgba(15, 12, 41, 0.95));
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 40px rgba(148, 163, 184, 0.1);
  z-index: 2;
}
.arena-item--2 .arena-avatar {
  width: 100px;
  height: 100px;
  border-width: 3px;
  font-size: 2.2rem;
}
.arena-item--2 .arena-name {
  font-size: 1.2rem;
}
.arena-item--2:hover {
  border-color: rgba(148, 163, 184, 0.6);
}
.arena-item--3 {
  width: 240px;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(160deg, rgba(217, 119, 6, 0.15), rgba(15, 12, 41, 0.95));
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.1);
  z-index: 1;
}
.arena-item--3 .arena-avatar {
  width: 100px;
  height: 100px;
  border-width: 3px;
  font-size: 2.2rem;
}
.arena-item--3 .arena-name {
  font-size: 1.2rem;
}
.arena-item--3:hover {
  border-color: rgba(217, 119, 6, 0.6);
}
.arena-item:hover {
  transform: translateY(-20px) scale(1.03);
}
.arena-item:hover .arena-avatar {
  transform: scale(1.1) rotate(5deg);
}
.arena-item--me::before {
  content: "YOU";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366f1;
  color: white;
  font-size: 0.8rem;
  padding: 0.35rem 1.2rem;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.6);
  z-index: 50;
}
.arena-item-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.arena-rank-bg {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Fraunces", serif;
  font-size: 11rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}
.arena-item--1 .arena-rank-bg {
  font-size: 15rem;
  color: rgba(250, 204, 21, 0.06);
}
.arena-item--2 .arena-rank-bg {
  color: rgba(148, 163, 184, 0.06);
}
.arena-item--3 .arena-rank-bg {
  color: rgba(217, 119, 6, 0.06);
}
.arena-avatar-box {
  position: relative;
  z-index: 10;
  margin-bottom: auto;
  margin-top: 1rem;
}
.arena-avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.arena-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arena-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgb(15, 12, 41);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 15;
}
.arena-item--1 .arena-badge {
  width: 48px;
  height: 48px;
  bottom: -2px;
  right: -2px;
}
.arena-info {
  position: relative;
  z-index: 10;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.arena-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  max-width: 100%;
  padding: 0 10px;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arena-score {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}
@media (max-width: 950px) {
  .lb__arena-podium {
    gap: 1rem;
    height: auto;
    min-height: 250px;
    margin: 4rem auto 3rem;
  }
  .arena-item--1 {
    width: 220px;
    padding: 3.5rem 1rem 3rem;
  }
  .arena-item--1 .arena-avatar {
    width: 110px;
    height: 110px;
    font-size: 2rem;
  }
  .arena-item--1 .arena-name {
    font-size: 1.4rem;
  }
  .arena-item--2 {
    width: 180px;
    padding: 3rem 1rem 2.5rem;
  }
  .arena-item--2 .arena-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  .arena-item--2 .arena-name {
    font-size: 1.1rem;
  }
  .arena-item--3 {
    width: 180px;
    padding: 2.5rem 1rem 2rem;
  }
  .arena-item--3 .arena-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  .arena-item--3 .arena-name {
    font-size: 1.1rem;
  }
  .arena-rank-bg {
    font-size: 12rem;
  }
  .arena-item--1 .arena-rank-bg {
    font-size: 16rem;
  }
  .arena-score {
    font-size: 0.95rem;
    padding: 0.35rem 0.85rem;
  }
}
@media (max-width: 640px) {
  .lb {
    padding: 1rem;
  }
  .lb__card {
    padding: 0.75rem 0.75rem;
    gap: 0.5rem;
    border-radius: 1rem;
  }
  .lb__rank {
    width: 32px;
    font-size: 1.1rem;
  }
  .lb__rank .medal {
    font-size: 1.5rem;
  }
  .lb__avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .lb__display-name {
    font-size: 0.85rem;
  }
  .lb__username {
    font-size: 0.7rem;
  }
  .lb__stats {
    gap: 0.75rem;
  }
  .lb__stat .label {
    display: none;
  }
  .lb__stat .val {
    font-size: 0.95rem;
  }
  .lb__stat .val .ti {
    font-size: 0.9rem;
  }
  .lb__username-cta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .lb__username-cta button {
    width: 100%;
  }
  .lb .lb__arena-podium {
    gap: 0.5rem;
    margin: 1.5rem auto 1rem;
    width: 100%;
    min-height: auto;
  }
  .lb .arena-item {
    border-radius: 1rem;
    width: auto;
    height: auto;
  }
  .lb .arena-item--1 {
    flex: 1.15;
    padding: 1.75rem 0.25rem 1.25rem;
  }
  .lb .arena-item--1 .arena-avatar {
    width: 56px;
    height: 56px;
    border-width: 2px;
    font-size: 1.2rem;
  }
  .lb .arena-item--1 .arena-name {
    font-size: 0.75rem;
    max-width: 95%;
  }
  .lb .arena-item--2 {
    flex: 1;
    padding: 1.25rem 0.25rem 1rem;
  }
  .lb .arena-item--2 .arena-avatar {
    width: 44px;
    height: 44px;
    border-width: 2px;
    font-size: 1rem;
  }
  .lb .arena-item--2 .arena-name {
    font-size: 0.7rem;
    max-width: 95%;
  }
  .lb .arena-item--3 {
    flex: 1;
    padding: 1rem 0.25rem 0.75rem;
  }
  .lb .arena-item--3 .arena-avatar {
    width: 44px;
    height: 44px;
    border-width: 2px;
    font-size: 1rem;
  }
  .lb .arena-item--3 .arena-name {
    font-size: 0.7rem;
    max-width: 95%;
  }
  .lb .arena-item--me::before {
    top: -10px;
    font-size: 0.55rem;
    padding: 0.15rem 0.5rem;
    letter-spacing: 1px;
  }
  .lb .arena-rank-bg {
    font-size: 6rem;
  }
  .lb .arena-item--1 .arena-rank-bg {
    font-size: 8rem;
  }
  .lb .arena-badge {
    width: 20px;
    height: 20px;
    border-width: 2px;
    bottom: -2px;
    right: -2px;
  }
  .lb .arena-badge svg {
    width: 10px;
    height: 10px;
  }
  .lb .arena-item--1 .arena-badge {
    width: 24px;
    height: 24px;
    bottom: -2px;
    right: -2px;
  }
  .lb .arena-item--1 .arena-badge svg {
    width: 12px;
    height: 12px;
  }
  .lb .arena-score {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    gap: 0.15rem;
  }
  .lb .arena-score svg {
    width: 10px;
    height: 10px;
  }
  .lb .arena-info {
    margin-top: 0.5rem;
    gap: 0.3rem;
  }
}
/* ==========================================================================
   Word Battle Styles (Premium & Responsive)
   ========================================================================== */
@keyframes btlShake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}
@keyframes btlFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes btlScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.battle {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 20% 40%, rgba(108, 99, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.1), transparent 30%);
  background-color: #0f0c29;
  position: relative;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  padding: clamp(0.5rem, 3vw, 2rem);
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.battle__center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.battle__glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  box-sizing: border-box;
  width: 100%;
}
.battle__lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.battle__search {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.battle__search input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}
.battle__search input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}
.battle__btn {
  padding: 0.8rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.battle__btn--primary {
  background: #6366f1;
  color: white;
}
.battle__btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}
.battle__btn--success {
  background: #4caf50;
  color: white;
}
.battle__btn--success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}
.battle__btn--outline-danger {
  background: transparent;
  border: 1px solid #ff4444;
  color: #ff4444;
}
.battle__btn--outline-danger:hover:not(:disabled) {
  background: rgba(255, 68, 68, 0.1);
}
.battle__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.battle__user-card {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  animation: btlFadeIn 0.3s ease-out;
}
.battle__user-card-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 150px;
}
.battle__user-card-actions {
  display: flex;
  gap: 0.5rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.battle__user-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.battle__user-card-name {
  font-weight: 700;
  font-size: 1.1rem;
}
.battle__user-card-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.battle__select-view {
  max-width: 500px;
  margin: 4rem auto;
  text-align: center;
}
.battle__select-view .custom-select {
  position: relative;
  margin-bottom: 1rem;
  text-align: left;
}
.battle__select-view .custom-select__header {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.battle__select-view .custom-select__header:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.battle__select-view .custom-select__header.active {
  border-color: #6366f1;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}
.battle__select-view .custom-select__options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #0f0c29;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.battle__select-view .custom-select__options::-webkit-scrollbar {
  width: 6px;
}
.battle__select-view .custom-select__options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.battle__select-view .custom-select__option {
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.battle__select-view .custom-select__option:hover {
  background: rgba(255, 255, 255, 0.1);
}
.battle__select-view .custom-select__option.selected {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  font-weight: bold;
}
.battle__select-view .btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.battle__select-view .btn-group > * {
  flex: 1;
}
.battle__playing {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: btlScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.battle__scoreboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1.5rem);
}
.battle__scoreboard .vs-text {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  font-family: "Fraunces", serif;
}
.battle__player {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}
.battle__player--right {
  text-align: right;
}
.battle__player-avatar {
  width: clamp(40px, 10vw, 56px);
  height: clamp(40px, 10vw, 56px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.5rem);
  flex-shrink: 0;
}
.battle__player-avatar.p1 {
  background: #6366f1;
}
.battle__player-avatar.p2 {
  background: #ff4444;
}
.battle__player-name {
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.battle__player-you {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.battle__player-score {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  margin-top: 4px;
}
.battle__player-score.s1 {
  color: #a5b4fc;
}
.battle__player-score.s2 {
  color: #fca5a5;
}
.battle__arena {
  position: relative;
  padding: clamp(1rem, 2vw, 3rem) clamp(0.5rem, 4vw, 2rem);
  text-align: center;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.battle__timer-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
}
.battle__timer-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #10b981);
  transition: width 1s linear, background 0.3s;
}
.battle__timer-bar-fill--warning {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.battle__timer-bar-fill--danger {
  background: linear-gradient(90deg, #f87171, #ef4444);
}
.battle__round-info {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.battle__time {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  font-family: "Fraunces", serif;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.battle__time--danger {
  color: #ff4444;
  animation: btlShake 0.5s infinite;
  text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}
.battle__word {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: break-word;
}
.battle__input {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(1rem, 3vw, 1.2rem);
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  text-align: center;
  font-weight: 600;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.battle__input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.battle__input--correct {
  border-color: #4caf50 !important;
  background: rgba(76, 175, 80, 0.1);
  color: #4ade80;
}
.battle__input--wrong {
  border-color: #ff4444 !important;
  background: rgba(255, 68, 68, 0.1);
  color: #f87171;
  animation: btlShake 0.4s ease-in-out;
}
.battle__feedback {
  margin-top: clamp(0.5rem, 2vw, 1.5rem);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
}
.battle__feedback--correct {
  color: #4ade80;
}
.battle__feedback--wrong {
  color: #f87171;
}
.battle__result {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.battle__result-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  z-index: 0;
  pointer-events: none;
}
.battle__result-glow--draw {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}
.battle__result-glow--win {
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 60%);
}
.battle__result-glow--lose {
  background: radial-gradient(circle, rgba(255, 68, 68, 0.15) 0%, transparent 60%);
}
.battle__result-content {
  position: relative;
  z-index: 1;
}
.battle__result-title {
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.battle__result-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.battle__result-pcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.battle__result-pcard .username {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}
.battle__result-pcard .score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.battle__result-pcard .score-circle.s1 {
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid rgba(99, 102, 241, 0.5);
  color: #818cf8;
}
.battle__result-pcard .score-circle.s2 {
  background: rgba(255, 68, 68, 0.1);
  border: 2px solid rgba(255, 68, 68, 0.5);
  color: #fca5a5;
}
.battle__result-vs {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
}
.battle__result-verdict {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}
.battle__result-verdict.draw {
  color: #a5b4fc;
  text-shadow: 0 0 20px rgba(165, 180, 252, 0.4);
}
.battle__result-verdict.win {
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}
.battle__result-verdict.lose {
  color: #f87171;
  text-shadow: 0 0 20px rgba(248, 113, 113, 0.4);
}
.battle__result-msg {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.battle .loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #6366f1;
  border-radius: 50%;
  animation: btlSpin 1s linear infinite;
}
@keyframes btlSpin {
  to {
    transform: rotate(360deg);
  }
}
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  font-family: var(--font-body);
  color: var(--text-2);
  margin-top: 4rem;
}
.footer__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}
.footer__brand-section {
  flex: 1 1 300px;
  max-width: 400px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__tagline {
  line-height: 1.6;
  font-size: 0.95rem;
}
.footer__links-section {
  display: flex;
  flex: 2 1 auto;
  gap: 3rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer__links-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 120px;
}
.footer__title {
  font-family: var(--font-display);
  color: var(--text-1);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer__link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}
.footer__link:hover {
  color: var(--accent-soft);
}
.footer__bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer__copy {
  opacity: 0.7;
}
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__bottom-links a {
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer__bottom-links a:hover {
  color: var(--text-1);
}
.footer__dot {
  color: var(--text-3);
}
@media (max-width: 700px) {
  .footer__links-section {
    justify-content: flex-start;
  }
  .footer__bottom {
    flex-direction: column-reverse;
    text-align: center;
  }
}
/* ─── Admin Panel Styles ─────────────────────────────────────────── */
.admin {
  min-height: 100vh;
  background: #0a0a0f;
  padding: 2rem;
  padding-top: 90px;
}
.admin__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin__badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.admin__header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Tabs */
.admin__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
  flex-wrap: wrap;
}
.admin__tab {
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}
.admin__tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.admin__tab.active {
  background: #6c63ff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}
/* Stats Grid */
.admin__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.admin__stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, background 0.2s;
}
.admin__stat-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
}
.admin__stat-card .icon {
  font-size: 2rem;
}
.admin__stat-card .value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.admin__stat-card .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
/* Table */
.admin__table-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin__table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
  flex-wrap: wrap;
}
.admin__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  flex: 1;
  max-width: 300px;
}
.admin__search input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  width: 100%;
}
.admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin__table th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.admin__table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  vertical-align: middle;
}
.admin__table tr:last-child td {
  border-bottom: none;
}
.admin__table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge--premium {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}
.badge--free {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.2);
}
.badge--admin {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
/* Action Buttons */
.admin__btn {
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.admin__btn--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.admin__btn--danger:hover {
  background: #ef4444;
  color: #fff;
}
.admin__btn--success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.admin__btn--success:hover {
  background: #22c55e;
  color: #fff;
}
.admin__btn--warning {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.admin__btn--warning:hover {
  background: #eab308;
  color: #fff;
}
/* Pagination */
.admin__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin__pagination button {
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.15s;
}
.admin__pagination button:hover:not(:disabled) {
  background: #6c63ff;
  color: #fff;
  border-color: #6c63ff;
}
.admin__pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Loading */
.admin__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: rgba(255, 255, 255, 0.6);
  gap: 0.8rem;
}
/* Recent Users */
.admin__recent {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.admin__recent h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}
.admin__recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.admin__recent-item:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .admin {
    padding: 1rem;
    padding-top: 80px;
  }
  .admin__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .admin__table {
    font-size: 0.8rem;
    min-width: 600px; /* Ensures scroll on small devices */
  }
  .admin__table th,
  .admin__table td {
    padding: 0.6rem 0.6rem;
  }
  .admin__tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .admin__tab {
    white-space: nowrap;
  }
  .admin__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .admin__stats {
    grid-template-columns: 1fr;
  }
}