body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("hutaohd.gif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.container {
  width: 80%;
  max-width: 1000px;
  margin: auto;
  padding-top: 40px;
}

.profile {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}

.pfp {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  object-fit: cover;
}

.glass {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.bio {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.section {
  margin-bottom: 25px;
}

.section h2 {
  margin: 0;
  font-size: 16px;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.box {
  position: relative;
  min-height: 90px;
}

.box h3 {
  margin: 0;
  font-size: 18px;
}

.box p {
  margin: 6px 0 0 0;
  opacity: 0.8;
  font-size: 13px;
}

.date {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 12px;
  opacity: 0.7;
  background: rgba(255,255,255,0.07);
  padding: 6px 10px;
  border-radius: 12px;
}

/* Animación hover */
.box:hover {
  transform: scale(1.03);
  transition: 0.2s;
  border: 1px solid rgba(255,255,255,0.25);
}

.wide {
  grid-column: span 2;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.2s;
}

.btn:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}

.wide {
  grid-column: span 2;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  height: 100vh;

  padding: 15px;
  border-radius: 0;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.container {
  margin-left: 250px;
  padding-top: 40px;
}

.sidebar {
  border-right: 3px solid rgba(255,255,255,0.25);
  box-shadow: 5px 0px 20px rgba(0,0,0,0.7);
}

.navbtn {
  display: block;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.10);
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  font-weight: bold;
  text-align: left;
}

.navbtn:hover {
  background: rgba(255,255,255,0.22);
}

.title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
}

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.popup-content {
  width: 80%;
  max-width: 600px;
  margin: 100px auto;
  padding: 25px;
  border-radius: 18px;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
}

.popup-content {
  width: 90%;
  max-width: 900px;
  margin: 70px auto;
  padding: 25px;
  border-radius: 18px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.popup-text {
  font-size: 15px;
  line-height: 1.6;
}

.popup-widget iframe {
  border-radius: 14px;
}

.imgbox {
  width: 6%;
  border-radius: 14px;
  margin-top: 10px;
}

.bg-server {
  background-image: url("serverbg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-server::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: 18px;
}

.bg-server * {
  position: relative;
  z-index: 2;
}

.iconimg {
  width: 60px;
  margin-top: 10px;
  opacity: 0.9;
}
