/* ================= RESET ================= */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body{
  background: radial-gradient(circle at top, #122b3a, #0b1a22);
  color: #fff;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;
}

/* ================= CONTAINER ================= */
.profile-container{
  width: 100%;
  max-width: 900px;
}

/* ================= MAIN CARD ================= */
.profile-card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  border-radius: 24px;
  padding: 40px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);

  position: relative;
  overflow: hidden;
}

/* glow effect */
.profile-card::before{
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;

  width: 200px;
  height: 200px;

  background: #ffcc00;
  filter: blur(120px);
  opacity: 0.25;
}

/* ================= TOP ================= */
.profile-top{
  text-align: center;
  margin-bottom: 30px;
}

.profile-image{
  width: 110px;
  height: 110px;

  margin: 0 auto 15px;

  border-radius: 50%;
  padding: 4px;

  background: linear-gradient(45deg, #ffcc00, #ff9900);
}

.profile-image img{
  width: 100%;
  height: 100%;

  border-radius: 50%;
  object-fit: cover;
}

.profile-top h1{
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.profile-top p{
  color: #9fb3bd;
  font-size: 0.9rem;
}

/* badge */
.badge{
  display: inline-block;
  margin-top: 10px;

  padding: 6px 12px;
  border-radius: 50px;

  font-size: 0.75rem;
  font-weight: 500;

  background: rgba(255,204,0,0.15);
  color: #ffcc00;

  border: 1px solid rgba(255,204,0,0.3);
}

/* ================= INFO GRID ================= */
.profile-info{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;
  margin-top: 30px;
}

/* card */
.info-box{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  padding: 20px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  gap: 15px;

  transition: 0.3s ease;

  position: relative;
  overflow: hidden;
}

/* hover glow */
.info-box:hover{
  transform: translateY(-6px);
  border-color: #ffcc00;
  box-shadow: 0 10px 30px rgba(255,204,0,0.1);
}

.info-box i{
  font-size: 1.8rem;
  color: #ffcc00;
}

.info-box h3{
  font-size: 0.95rem;
}

.info-box p{
  font-size: 0.85rem;
  color: #9fb3bd;
}

/* ================= ACTIONS ================= */
.actions{
  display: flex;
  justify-content: space-between;
  gap: 15px;

  margin-top: 35px;
}

/* BUTTON BASE */
.btn{
  flex: 1;
  padding: 12px;

  border-radius: 14px;
  text-align: center;

  font-weight: 600;
  cursor: pointer;

  border: none;
  transition: 0.3s ease;

  text-decoration: none;
}

/* SECONDARY */
.secondary-btn{
  background: rgba(255,255,255,0.06);
  color: #fff;

  border: 1px solid rgba(255,255,255,0.1);
}

.secondary-btn:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

/* LOGOUT */
.logout-btn{
  background: rgba(255, 204, 0, 0.12);
  color: #ffcc00;

  border: 1px solid rgba(255, 204, 0, 0.25);
}

.logout-btn:hover{
  background: #ffcc00;
  color: #0b1a22;

  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
}

/* ================= MOBILE ================= */
@media(max-width: 600px){

  .profile-card{
    padding: 25px;
  }

  .actions{
    flex-direction: column;
  }

}