* {
  box-sizing: border-box;
}

:root {
  --panel: rgba(15, 20, 28, 0.82);
  --panel-border: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --accent: #d8b56d;
  --accent-dark: #9d7937;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2px;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(8, 12, 18, 0.58), rgba(8, 12, 18, 0.72)),
    url("fundo.png") center / 100% 100% fixed,
    #202630;
}

.menu-container,
.content-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 48px);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.03em;
}

.subtitle {
  margin: 0 0 28px;
  color: #e0e0e0;
  font-size: 1.05rem;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #b9914b);
  color: #1c1a16;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.12);
  outline: 2px solid white;
  outline-offset: 3px;
}

.content-card {
  text-align: left;
}

.content-card h1 {
  margin-top: 24px;
  color: var(--accent);
}

.content-card p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #f0f0f0;
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    padding: 14px;
    background-attachment: scroll;
  }
  .menu-container,
  .content-card {
    padding: 26px 20px;
  }
}
