/* Global styles */
* {
  transition: all 0.2s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  background-color: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Urbanist", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Utility classes */
.bg-radial-glow {
  background: radial-gradient(
    circle at center,
    #1a0b0b 0%,
    #000000 100%
  );
}

.text-accent {
  color: #ff5f6d;
}

.btn-pill {
  border-radius: 9999px;
}

.glass-nav {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glow animation */
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.animate-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

#toast {
    position: fixed;
    top: -20px;
    z-index: 120;
    background: #000;
    color: #fff;
    width: 80%;
    padding: 10px 15px;
    margin: auto 10%;
    display: none;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1em;
    transition: top 0.5s ease;
    opacity: 0.9;
}

#toast.visible {
    top: 60px;
}

#waiting_mask {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    text-align: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    background-image: url(ajax-loader.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 200;
}

.error-message {
	display: flex;
	flex-basis: 100%;
	align-items: center;
	gap: 0.25rem;
	margin-top: 0.75rem;
	margin-left: 2rem;
	color: #F65563;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.side-nav-active {
	display: flex;
	align-items: center;
	gap: 0.75rem;              /* gap-3 */
	padding: 0.75rem 1rem;     /* py-3 px-4 */
	border-radius: 0.75rem;    /* rounded-xl */
	background-color: rgb(246 85 99 / 0.1);
	color: #F65563;
	font-weight: 600;          /* font-semibold */
}

.side-nav-inactive {
	display: flex;
	align-items: center;
	gap: 0.75rem;              /* gap-3 */
	padding: 0.75rem 1rem;     /* py-3 px-4 */
	border-radius: 0.75rem;    /* rounded-xl */
	color: #bdc1ca;
	transition: background-color 150ms ease, color 150ms ease;
}

.side-nav-inactive:hover {
	background-color: rgb(255 255 255 / 0.05);
}

.nav-inactive {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;      /* gap-1 */
	padding: 0.5rem;   /* p-2 */
	color: #bdc1ca;
}

.nav-active {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;      /* gap-1 */
	padding: 0.5rem;   /* p-2 */
	color:#F65563;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #ff4d4d;
  border-radius: 50%;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #ff4d4d 0%, #f9cb28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth transition for all interactive elements */
a, button, .interactive-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.interactive-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:active {
  transform: scale(0.98);
  background-color: rgba(255, 255, 255, 0.08);
}

/* LINKS*/
 /* Custom Toggle Switch */
    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 44px;
      height: 24px;
    }
    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #262a33;
      transition: .4s;
      border-radius: 34px;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 2px;
      bottom: 2px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
      box-shadow: 0px 1px 2.5px 0px #171a1f12;
    }
    input:checked + .slider {
      background-color: #F65563;
    }
    input:checked + .slider:before {
      transform: translateX(20px);
    }

