:root {
  --blue: #0b3fff;
  --blue-dark: #082cb8;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #eef0f5;
  --gold: #ffb400;
  --good: #16a34a;
  --sad: #ef4444;
  --radius: 18px;
}

* { box-sizing: border-box; }

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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--black);
  color: var(--black);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(11,63,255,0.55), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(11,63,255,0.35), transparent 45%),
    var(--black);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.brand-mascot {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.brand-name {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 14px;
  margin: 0;
}

.card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px 30px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

.card.hidden {
  display: none;
}

.card h1 {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--black);
}

.card h2 {
  font-size: 20px;
  margin: 14px 0 6px;
  color: var(--black);
}

.subtitle {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 14px;
}

.star {
  background: none;
  border: none;
  font-size: 42px;
  line-height: 1;
  color: #dcdfe6;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star:hover {
  transform: scale(1.12);
}

.star.filled {
  color: var(--gold);
}

.rating-label {
  min-height: 20px;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 22px;
  font-size: 14.5px;
}

.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin-bottom: 12px;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-primary:disabled {
  background: #c7cde6;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 0;
}

.btn-ghost:hover {
  color: var(--black);
}

textarea {
  width: 100%;
  border: 1.5px solid var(--gray-light);
  border-radius: 14px;
  padding: 14px;
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
  margin-bottom: 18px;
  color: var(--black);
  background: var(--gray-light);
}

textarea:focus {
  outline: 2px solid var(--blue);
  background: var(--white);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  margin: 0 auto;
}

.icon-badge--good { background: var(--good); }
.icon-badge--sad { background: var(--sad); }

/* Submenú inferior: accesos a las otras páginas del sitio */
.foot-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 26px;
}

.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.foot-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
}

.foot-link:active { transform: scale(0.98); }

.foot-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.foot-link-icon { font-size: 17px; line-height: 1; }

.foot {
  margin-top: 18px;
  color: rgba(255,255,255,0.6);
  font-size: 12.5px;
  text-align: center;
}

.foot p { margin: 0; }

@media (max-width: 380px) {
  .star { font-size: 36px; }
  .card { padding: 26px 18px 26px; }
}
