#cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #38bdf8;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #38bdf8;
    z-index: 9999;
}

:root {
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
  background: radial-gradient(circle at top, #1e293b, var(--bg));
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.user-menu {
  position: relative;
  flex: 0 0 auto;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 4px 12px 4px 4px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.profile-button:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

.profile-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #020617;
  background: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.profile-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45);
}

.user-dropdown[hidden] {
  display: none;
}

.user-dropdown button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.user-dropdown button:hover {
  color: var(--accent);
  background: rgba(148, 163, 184, 0.08);
}

main {
  flex: 1;
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

h1, h2, h3 {
  color: white;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.container {
  padding: 10px;
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    color: #64748b;
}

@media (max-width: 640px) {
  nav {
    align-items: flex-start;
    gap: 12px;
    padding-inline: 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .profile-name {
    display: none;
  }

  .profile-button {
    padding-right: 4px;
  }
}




















