/* ============================================================
   Free Entry Page — free-entry.css
   ============================================================ */

/* ----- Hero ----- */
.fe-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.fe-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.fe-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.fe-hero__logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 30px;
}
.fe-hero__heading {
  font-family: var(--rm-font-body);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
  max-width: 700px;
}
.fe-hero__sub {
  font-family: var(--rm-font-ui);
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin: 0 0 32px;
  letter-spacing: 0.5px;
}
.fe-hero__cta {
  display: inline-block;
  padding: 14px 48px;
  background-color: var(--rm-cta-bg);
  color: var(--rm-black);
  font-family: var(--rm-font-ui);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
.fe-hero__cta:hover {
  background-color: var(--rm-black);
  color: var(--rm-white);
}

/* ----- Shared section / container ----- */
.fe-section {
  padding: 60px 0;
}
.fe-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Narrative Copy Block ----- */
.fe-narrative {
  background: var(--rm-white);
}
.fe-narrative__text {
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--rm-text);
}
.fe-narrative__benefits {
  list-style: none;
  padding: 0;
  max-width: 560px;
  margin: 0 auto;
}
.fe-narrative__benefits li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 18px;
  line-height: 1.6;
}
.fe-narrative__benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--rm-gold);
  font-weight: 700;
  font-size: 18px;
}

/* ----- Form Card ----- */
.fe-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--rm-white);
  border: 1px solid var(--rm-border);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.fe-card__heading {
  font-family: var(--rm-font-body);
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 8px;
}
.fe-card__sub {
  text-align: center;
  color: var(--rm-text-light);
  font-size: 16px;
  margin: 0 0 32px;
}

/* ----- Two-step transitions ----- */
.fe-step--hidden {
  display: none !important;
}

/* ----- Form fields ----- */
.fe-field {
  margin-bottom: 20px;
}
.fe-field label {
  display: block;
  font-family: var(--rm-font-ui);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--rm-text);
}
.fe-field input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--rm-font-body);
  font-size: 18px;
  border: 1px solid var(--rm-border);
  border-radius: 8px;
  background: #fff;
  color: var(--rm-text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.fe-field input:focus {
  outline: none;
  border-color: var(--rm-gold);
  box-shadow: 0 0 0 3px rgba(175,121,27,0.15);
}
.fe-field input::placeholder {
  color: #bbb;
}

/* Error messages */
.fe-error {
  display: block;
  font-family: var(--rm-font-ui);
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
  min-height: 18px;
}

/* ----- Buttons ----- */
.fe-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--rm-gold);
  color: var(--rm-white);
  font-family: var(--rm-font-ui);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.fe-btn:hover {
  background: var(--rm-gold-hover);
}
.fe-btn--secondary {
  background: transparent;
  color: var(--rm-gold);
  border: 2px solid var(--rm-gold);
  margin-bottom: 12px;
}
.fe-btn--secondary:hover {
  background: var(--rm-gold);
  color: var(--rm-white);
}

/* Back / link button */
.fe-link {
  display: block;
  text-align: center;
  background: none;
  border: none;
  color: var(--rm-text-light);
  font-family: var(--rm-font-ui);
  font-size: 14px;
  cursor: pointer;
  padding: 12px 0 0;
  text-decoration: none;
}
.fe-link:hover {
  color: var(--rm-text);
}

/* ----- Duplicate email notice ----- */
.fe-duplicate {
  background: #fef9e7;
  border: 1px solid #f0e6c0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}
.fe-duplicate p {
  margin: 0 0 12px;
  font-size: 15px;
}

/* ----- Confirmation screen ----- */
.fe-confirm {
  text-align: center;
}
.fe-confirm__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 32px;
  margin-bottom: 20px;
}
.fe-confirm__qr {
  margin: 24px auto;
}
.fe-confirm__qr img {
  margin: 0 auto;
  border-radius: 8px;
}
.fe-confirm__instruction {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}
.fe-confirm__detail {
  font-size: 15px;
  color: var(--rm-text-light);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- Verification code input ----- */
.fe-code-input {
  text-align: center;
  font-size: 28px !important;
  font-family: monospace !important;
  letter-spacing: 8px;
  font-weight: 700;
}

/* ----- Loading spinner ----- */
.fe-loading {
  text-align: center;
  padding: 40px 0;
}
.fe-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--rm-border);
  border-top-color: var(--rm-gold);
  border-radius: 50%;
  animation: fe-spin 0.8s linear infinite;
  margin-bottom: 16px;
}
@keyframes fe-spin {
  to { transform: rotate(360deg); }
}

/* ----- Recovery link ----- */
.fe-recover-link {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
}
.fe-recover-link a {
  color: var(--rm-text-light);
  text-decoration: underline;
}
.fe-recover-link a:hover {
  color: var(--rm-text);
}

/* ----- Recover section ----- */
.fe-recover {
  background: var(--rm-bg);
}

/* ----- What to Expect ----- */
.fe-expect {
  background: var(--rm-white);
}
.fe-expect__heading {
  font-family: var(--rm-font-body);
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 40px;
}
.fe-expect__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.fe-expect__item {
  text-align: center;
}
.fe-expect__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.fe-expect__item h3 {
  font-family: var(--rm-font-body);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 8px;
}
.fe-expect__item p {
  font-size: 16px;
  color: var(--rm-text-light);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .fe-hero {
    min-height: 500px;
    height: 80vh;
  }
  .fe-hero__logo {
    max-width: 200px;
    margin-bottom: 20px;
  }
  .fe-hero__heading {
    font-size: 30px;
  }
  .fe-hero__sub {
    font-size: 18px;
  }
  .fe-hero__cta {
    font-size: 17px;
    padding: 12px 36px;
  }
  .fe-section {
    padding: 40px 0;
  }
  .fe-card {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .fe-card__heading {
    font-size: 24px;
  }
  .fe-narrative__text {
    font-size: 17px;
  }
  .fe-expect__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fe-expect__item img {
    height: 180px;
  }
}
