*{
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #151A22, #0B0F14);
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
  background: rgba(21, 26, 34, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 55px;
  filter: drop-shadow(0px 0px 12px rgba(245, 158, 11, 0.35));
}

.logo h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: 1px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-weight: bold;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.2s;
}

.navbar nav a:hover {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0px 0px 15px rgba(245, 158, 11, 0.25);
}

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 20px;
}

.hero-box{
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 40px 25px;
  border-radius: 18px;
  background: rgba(21, 26, 34, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0px 0px 30px rgba(0,0,0,0.45);
}

.hero-box h1{
  margin: 0;
  font-size: 50px;
  letter-spacing: 2px;
  text-shadow: 0px 0px 18px rgba(245, 158, 11, 0.25);
}

.hero-box p{
  margin-top: 10px;
  color: #A1A1AA;
  font-size: 16px;
}

.hero-actions{
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* SECTIONS */
.section {
  padding: 40px 30px;
  max-width: 1100px;
  margin: auto;
}

.section h2{
  font-size: 34px;
  margin-bottom: 6px;
  text-shadow: 0px 0px 10px rgba(245, 158, 11, 0.18);
}

.subtitle{
  color: #A1A1AA;
  margin-bottom: 25px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: rgba(21, 26, 34, 0.75);
  padding: 20px;
  border-radius: 18px;
  flex: 1;
  min-width: 240px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0px 0px 25px rgba(0,0,0,0.35);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #F59E0B;
  color: black;
  font-weight: bold;
  border-radius: 14px;
  text-decoration: none;
  margin-top: 12px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0px 0px 20px rgba(245, 158, 11, 0.35);
}

.btn-outline{
  background: transparent;
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.6);
}

.btn-outline:hover{
  background: rgba(245, 158, 11, 0.12);
}

/* FORM */
.form-card{
  max-width: 600px;
  margin: auto;
}

label{
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #E5E7EB;
  font-weight: bold;
}

input{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(11, 15, 20, 0.8);
  color: white;
  outline: none;
}

input:focus{
  border: 1px solid rgba(245, 158, 11, 0.7);
  box-shadow: 0px 0px 18px rgba(245, 158, 11, 0.25);
}

/* POLICIES */
.policies{
  margin-top: 15px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.policies ul{
  margin: 10px 0 0 20px;
  color: #A1A1AA;
  font-size: 14px;
}

.checkbox{
  margin-top: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* RESULT PIN */
.result-box{
  max-width: 600px;
  margin: 80px auto;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  background: rgba(21, 26, 34, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.pin-code{
  margin: 18px auto;
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 8px;
  color: #F59E0B;
  text-shadow: 0px 0px 18px rgba(245, 158, 11, 0.35);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: rgba(21, 26, 34, 0.85);
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  margin-top: 40px;
  color: #A1A1AA;
}

/* HERO BACKGROUND LOGO */
.hero-bg{
  position: relative;
  overflow: hidden;
}

.hero-watermark{
  position: absolute;
  inset: 0;
  background-image: url("/gym/img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 520px;
  opacity: 0.08; /* transparencia */
  filter: blur(0.3px) drop-shadow(0px 0px 35px rgba(245, 158, 11, 0.25));
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 1;
}

/* para que el contenido esté arriba del logo */
.hero-box{
  position: relative;
  z-index: 2;
}
/* LINK POLICIES */
.policies-link-box{
  margin-top: 15px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(11, 15, 20, 0.55);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.policies-link-box p{
  margin: 0;
  color: #A1A1AA;
  font-size: 14px;
}

.policies-link{
  color: #F59E0B;
  font-weight: bold;
  text-decoration: none;
  margin-left: 6px;
}

.policies-link:hover{
  text-decoration: underline;
  text-shadow: 0px 0px 10px rgba(245, 158, 11, 0.35);
}

/* POLICIES PAGE */
.policies-page h3{
  margin-top: 18px;
  margin-bottom: 8px;
  color: #F59E0B;
  text-shadow: 0px 0px 10px rgba(245, 158, 11, 0.15);
}

.policies-page ul{
  margin-top: 0;
  margin-left: 18px;
  color: #A1A1AA;
  line-height: 1.7;
}
