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

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background-color: #dde5b6;
  border-radius: 40px;
  overflow: hidden;
}

.top-bar {
  background-color: #ad92bf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
}

.nav-links {display: none; gap: 18px;}
.nav-links a {text-decoration: none; color: #000;}
.nav-links a.active {border-bottom: 2px solid #000;}
.menu-btn {display: block; background: none; border: none; font-size: 1.4em; cursor: pointer;}

  .mobile-menu {
    display: none; flex-direction: column; background:#d2c6da; text-align:center;
  }
.mobile-menu a {
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
}
  .mobile-menu.open {display:flex;}


.perfil-header {
  text-align: center;
  background:#fff;
  border-bottom-left-radius:40px;
  border-bottom-right-radius:40px;
  padding:50px 20px 40px;
}

.perfil-foto {
  width:110px; height:110px;
  border-radius:50%;
  margin-bottom:12px;
  object-fit:cover;
  border:4px solid #d2c6da;
}

.perfil-header h2 {font-size:1.6em; margin-bottom:6px;}
.perfil-header p {font-size:.9em; color:#444; margin-bottom:20px;}


.perfil-stats {
  display:flex; justify-content:center; gap:22px;
  margin-bottom:20px;
}
.perfil-stats div {text-align:center;}
.perfil-stats strong {font-size:1.2em; display:block;}
.perfil-stats span {font-size:.75em; color:#666;}


.boton-editar {
  display:inline-block;
  background:#adc178;
  color:#fff;
  padding:10px 25px;
  border-radius:30px;
  font-size:.85em;
  cursor:pointer;
  transition:.2s;
}
.boton-editar:hover {background:#bba2dd;}


.perfil-contenido {
  padding:30px 20px;
}
.perfil-contenido {
  padding: 30px 20px;
  background: #fff;
  border-radius: 40px;
  margin: 20px 0;
}


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

.perfil-card {
  background:#f3eef7;
  border-radius:16px;
  overflow:hidden;
  text-align:center;
  transition:.3s;
}
.perfil-card img {width:100%; display:block;}
.perfil-card h4 {font-size:.85em; padding:8px;}

.rating {
  font-size: .85em;
  color: #cbb7e6;
  padding-bottom: 10px;
}


@media (min-width:769px){
  body {background:#d2c6da;}
  .app {max-width:100%; background:#dde5b6;}
  .nav-links{display:flex;}
  .menu-btn,.mobile-menu{display:none;}

  .perfil-header {
    max-width:900px;
    margin:50px auto 0;
    border-radius:40px;
    padding:60px;
  }

  .perfil-contenido {
    max-width:900px;
    margin:30px auto;
    background:#fff;
    border-radius:40px;
    padding:50px;
  }

  .perfil-grid {
    grid-template-columns: repeat(4,1fr);
  }
}
