:root {
  --metallic-blue: #00d2ff;
  --bg: #050a18;
  --glass: rgba(255, 255, 255, 0.08);
}

body {
  margin: 0; background: var(--bg); color: white;
  font-family: 'Outfit', sans-serif; overflow-x: hidden;
}

#energyCanvas { position: fixed; top: 0; left: 0; z-index: -1; }

/* 3-Dot Menu */
.top-bar { display: flex; justify-content: space-between; padding: 20px; z-index: 10002; position: relative; }
.dots-btn { background: var(--glass); border: 1px solid rgba(255,255,255,0.2); padding: 10px; border-radius: 50%; display: grid; gap: 3px; cursor: pointer; }
.dots-btn span { width: 4px; height: 4px; background: white; border-radius: 50%; }

.menu-dropdown {
  position: absolute; right: 20px; top: 70px; width: 180px;
  background: rgba(10, 20, 40, 0.95); backdrop-filter: blur(20px);
  border-radius: 15px; border: 1px solid var(--metallic-blue);
  display: none; flex-direction: column; z-index: 10003;
}
.menu-dropdown.show { display: flex; }
.menu-item { padding: 15px; cursor: pointer; font-size: 14px; }
.menu-item:hover { background: var(--metallic-blue); }

/* Chatbot Fix */
.draggable-bot { position: fixed; bottom: 90px; right: 20px; z-index: 9999; }
.bot-header { position: absolute; top: -10px; right: -5px; z-index: 10001; }
.close-bot-btn {
  background: #ff3b3b; color: white; border: none; width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer; font-weight: bold; box-shadow: 0 0 10px rgba(255,0,0,0.5);
}
.bot-hidden { display: none !important; }

/* Layout & Cards */
.mobile-wrapper { max-width: 480px; margin: 0 auto; padding-bottom: 100px; }
.avatar-ring { width: 100px; height: 100px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--metallic-blue); box-shadow: 0 0 20px var(--metallic-blue); }
.avatar { width: 100%; border-radius: 50%; }
.glass-card { background: var(--glass); backdrop-filter: blur(15px); border-radius: 20px; padding: 20px; margin: 15px; border: 1px solid rgba(255,255,255,0.1); }
.neon-border { border-left: 5px solid var(--metallic-blue); }

/* Bottom Nav */
.bottom-nav {
  position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%);
  width: 90%; background: rgba(10, 20, 40, 0.8); backdrop-filter: blur(20px);
  display: flex; justify-content: space-around; padding: 12px; border-radius: 25px;
}
.nav-btn { background: none; border: none; color: #888; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.nav-btn.active { color: var(--metallic-blue); transform: translateY(-5px); }
.nav-btn span { font-size: 10px; margin-top: 4px; }

.page { display: none; }
.page.active { display: block; animation: fadeInUp 0.4s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
