
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #000;
  display: flex;
  justify-content: center;
}

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


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

.nav-links {
  display: none;
  gap: 18px;
}
.nav-links a {
  color: #000;
  text-decoration: none;
  font-size: .95em;
}
.nav-links a.active {
  text-decoration: underline;
}

.menu-btn {
  font-size: 1.6em;
  background: none;
  border: none;
  cursor: pointer;
}


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


.foro-container {
  background: #fff;
  padding: 28px 20px;
  border-radius: 40px;
  margin-top: 20px;
}

.foro-container h2 {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
}
.intro {
  font-size: .85em;
  color: #444;
  margin-bottom: 20px;
}


.foro-mensajes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.mensaje {
  background: #f3eef7;
  padding: 14px 16px;
  border-radius: 20px;
}
.user {
  font-weight: 600;
  font-size: .85em;
  margin-bottom: 4px;
}
.mensaje p {
  font-size: .88em;
  margin-bottom: 6px;
}
.time {
  font-size: .75em;
  color: #555;
}


.foro-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foro-form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 18px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: .9em;
}
.foro-form button {
  background: #adc178;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 30px;
  cursor: pointer;
}


@media (min-width: 769px) {
  body {
    background: #d2c6da;
  }
  .app {
    max-width: 100%;
    border-radius: 0;
    background: #dde5b6;
  }
  .nav-links {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .foro-container {
    max-width: 900px;
    margin: 40px auto;
    border-radius: 30px;
    padding: 50px;
  }
}
