* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.5s, color 0.5s;
}

/* =====================
   BACKGROUND ANIMATION
===================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg span {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  filter: blur(80px);
  animation: move 18s infinite alternate;
}

.bg span:nth-child(1) {
  top: -100px;
  left: -100px;
}

.bg span:nth-child(2) {
  bottom: -120px;
  right: -80px;
  animation-delay: 5s;
}

.bg span:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: 10s;
}

@keyframes move {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(60px) translateX(-40px); }
}

/* =====================
   THEME
===================== */
body.light {
  background: #f8fafc;
  color: #0f172a;
}

body.dark {
  background: #0f172a;
  color: #e5e7eb;
}

body.dark .bg span {
  background: radial-gradient(circle, #6366f1, transparent 70%);
}

/* =====================
   TOGGLE BUTTON
===================== */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.8);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

body.dark .theme-toggle {
  background: rgba(30,41,59,0.8);
  color: #fff;
}

/* =====================
   CONTAINER
===================== */
.container {
  max-width: 420px;
  margin: auto;
  padding: 32px 20px;
  animation: fadeUp 1s ease;
}

/* PROFILE */
.profile {
  text-align: center;
  margin-bottom: 32px;
}

.profile img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 4px solid rgba(255,255,255,0.6);
}

.username {
  font-size: 13px;
  opacity: 0.6;
}

.role {
  font-size: 14px;
  opacity: 0.8;
}

.time-text {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 6px;
}

/* LINKS */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card i {
  font-size: 18px;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
}

body.dark .card {
  background: rgba(30,41,59,0.7);
}

/* FOOTER */
footer {
  margin-top: 28px;
  text-align: center;
  font-size: 11px;
  opacity: 0.4;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
