@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #05070d;
  color: white;
  overflow: hidden;
}

/* 🔥 GOOD BACKGROUND (soft glow blobs) */
.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(100,150,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(170,100,255,0.15), transparent 40%),
    #05070d;
  filter: blur(40px);
  z-index: -1;
}

/* LOGO */
.logo {
  position: absolute;
  top: 20px;
  left: 30px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* 🎯 CENTER NAV */
.center-nav {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
}

/* NAV BUTTONS (equal size) */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 32px;
  padding: 0 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

/* hover */
.nav-btn:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* arrow */
.arrow {
  margin-left: 6px;
  font-size: 0.7rem;
  transition: transform 0.2s;
}

/* rotate when open */
.dropdown.open .arrow {
  transform: rotate(180deg);
}

/* underline animation */
.nav-btn::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -3px;
  left: 0;
  background: white;
  transition: 0.2s;
}

.nav-btn:hover::after {
  width: 100%;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 35px;
  left: 0;
  background: rgba(10,10,15,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px;
  display: none;
  min-width: 180px;
  backdrop-filter: blur(20px);
  animation: fadeIn 0.2s ease;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
}

.hero p {
  margin-top: 10px;
  opacity: 0.6;
}

/* SKYBLOCK DASHBOARD */

.skyblock-container {
  padding-top: 100px;
  text-align: center;
}

.skyblock-container h1 {
  margin-bottom: 30px;
}

.skyblock-container h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* MAIN STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 160px);
  gap: 20px;
  justify-content: center;
}

/* STAT CARD */
.stat-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
}

/* SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 250px);
  gap: 15px;
  justify-content: center;
}

/* SKILL CARD */
.skill-card {
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* SKILL HEADER */
.skill-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

/* PROGRESS BAR */
.bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: width 1s ease;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
