/* ============================================================
   Fantasy Play Online — Aurora Editorial Observatory
   assets/css/main.css
   ============================================================ */

/* --- Fonts: Google Fonts — system fallbacks included in font-family stacks --- */
@import url("https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:wght@400;700&family=Roboto:wght@400;500;700&display=swap");

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F2F4FA;
  color: #1B2142;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* --- Scroll Lock --- */
.scroll-lock {
  overflow: hidden !important;
}

/* --- Visually Hidden --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   TOP RESPONSIBLE WARNING
   ============================================================ */
.top-warning {
  width: 100%;
  background: #10152C;
  padding: 10px 20px;
  text-align: center;
}
.top-warning p {
  color: #DCE5F1;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  width: 100%;
  max-width: 1100px;
  padding: 24px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: block;
  line-height: 0;
}
.site-logo img {
  width: 200px;
  height: auto;
}

/* --- Mobile Hamburger --- */
.burger-btn {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1B2142;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 33, 66, 0.97);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  color: #F2F4FA;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 10px 20px;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: #35B9B1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  max-width: 1100px;
  padding: 48px 20px 32px;
  text-align: center;
}
.hero h1 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #1B2142;
  margin-bottom: 16px;
}
.hero p {
  font-size: 17px;
  color: #4E667A;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Badges --- */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 20px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #DCE5F1;
  border-radius: 20px;
  padding: 6px 16px 6px 12px;
  font-size: 14px;
  color: #1B2142;
}
.badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35B9B1;
  flex-shrink: 0;
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.cards-section {
  width: 100%;
  max-width: 1100px;
  padding: 8px 20px 40px;
}
.card {
  display: flex;
  width: 100%;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(27, 33, 66, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(27, 33, 66, 0.10);
  transform: translateY(-2px);
}

/* --- Logo Panel --- */
.card-logo-panel {
  flex: 0 0 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.card-logo-panel img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* --- Card Body --- */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.card-anj {
  font-size: 12px;
  color: #8B6CC4;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.card-description {
  font-size: 14px;
  color: #4E667A;
  line-height: 1.6;
  margin-bottom: 12px;
}
.card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.card-bullets li {
  position: relative;
  font-size: 13px;
  color: #1B2142;
  padding-left: 14px;
  line-height: 1.5;
}
.card-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35B9B1;
}

/* --- Card Score & CTA --- */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #DCE5F1;
}
.card-score {
  text-align: right;
}
.card-score-value {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  color: #1B2142;
  line-height: 1;
}
.card-score-label {
  font-size: 11px;
  color: #8B6CC4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B2142;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  transition: background 0.25s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  text-align: center;
}
.card-cta:hover {
  background: #35B9B1;
}

/* ============================================================
   INFO BLOCK
   ============================================================ */
.info-block {
  width: 100%;
  max-width: 1100px;
  padding: 32px 20px 40px;
}
.info-block-inner {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 36px;
  border: 1px solid #DCE5F1;
}
.info-block h2 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 16px;
}
.info-block p {
  font-size: 15px;
  color: #4E667A;
  line-height: 1.7;
  max-width: 800px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  width: 100%;
  background: #10152C;
  color: #DCE5F1;
  padding: 48px 20px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: #DCE5F1;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover {
  opacity: 1;
  color: #35B9B1;
}
.footer-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-paragraphs p {
  font-size: 13px;
  line-height: 1.7;
  color: #B0C0D0;
  max-width: 900px;
}
.footer-resources-title {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  color: #F2F4FA;
  margin-bottom: 16px;
  text-align: center;
}
.footer-resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.footer-resources a {
  display: block;
  line-height: 0;
  transition: opacity 0.25s;
}
.footer-resources a:hover {
  opacity: 0.8;
}
.footer-resources img {
  height: 40px;
  width: auto;
}
.footer-mandatory {
  text-align: center;
  font-size: 13px;
  color: #8B6CC4;
  letter-spacing: 0.5px;
  padding-top: 20px;
  border-top: 1px solid rgba(220, 229, 241, 0.15);
}

/* ============================================================
   PUBLIC PAGE (generic)
   ============================================================ */
.page-content {
  width: 100%;
  max-width: 900px;
  padding: 48px 20px 60px;
}
.page-content h1 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 24px;
}
.page-content h2 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  color: #1B2142;
  margin-top: 32px;
  margin-bottom: 12px;
}
.page-content p {
  font-size: 15px;
  color: #4E667A;
  line-height: 1.7;
  margin-bottom: 16px;
}
.page-content ul,
.page-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.page-content li {
  font-size: 15px;
  color: #4E667A;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ============================================================
   18+ OVERLAY
   ============================================================ */
.age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 21, 44, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.age-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.age-modal {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 36px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.age-modal-icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}
.age-modal h2 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 8px;
}
.age-modal p {
  font-size: 14px;
  color: #4E667A;
  margin-bottom: 24px;
  line-height: 1.5;
}
.age-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.age-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.age-btn-yes {
  background: #1B2142;
  color: #FFFFFF;
}
.age-btn-yes:hover {
  background: #35B9B1;
}
.age-btn-no {
  background: #DCE5F1;
  color: #1B2142;
}
.age-btn-no:hover {
  background: #E87970;
  color: #FFFFFF;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1B2142;
  z-index: 9998;
  padding: 16px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.active {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p {
  font-size: 13px;
  color: #DCE5F1;
  line-height: 1.5;
}
.cookie-banner a {
  color: #35B9B1;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.25s;
}
.cookie-btn-accept {
  background: #35B9B1;
  color: #FFFFFF;
}
.cookie-btn-accept:hover {
  background: #2D9E97;
}
.cookie-btn-refuse {
  background: #DCE5F1;
  color: #1B2142;
}
.cookie-btn-refuse:hover {
  background: #C0CDDF;
}

/* ============================================================
   LECTURE PAGE (card redirect)
   ============================================================ */
.lecture-container {
  width: 100%;
  max-width: 600px;
  padding: 60px 20px;
  text-align: center;
}
.lecture-container h1 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 16px;
}
.lecture-container p {
  font-size: 15px;
  color: #4E667A;
  line-height: 1.7;
  margin-bottom: 12px;
}
.lecture-loader {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 28px 0;
}
.lecture-loader span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35B9B1;
  animation: pulse-dot 1.2s infinite ease-in-out;
}
.lecture-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.lecture-loader span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
.lecture-btn {
  display: inline-block;
  background: #1B2142;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 10px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  transition: background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.lecture-btn:hover {
  background: #35B9B1;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 560px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1B2142;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #DCE5F1;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Roboto", Arial, sans-serif;
  background: #FFFFFF;
  color: #1B2142;
  margin-bottom: 16px;
  transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #35B9B1;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  background: #1B2142;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s;
}
.contact-form button:hover {
  background: #35B9B1;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thank-you-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  border: 1px solid #DCE5F1;
}
.thank-you-box h1 {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 12px;
}
.thank-you-box p {
  font-size: 15px;
  color: #4E667A;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   TURNSTILE VERIFICATION OVERLAY
   ============================================================ */
.turnstile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(16, 21, 44, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.turnstile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.turnstile-modal {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 48px rgba(16, 21, 44, 0.25);
}
.turnstile-modal-title {
  font-family: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: #1B2142;
  margin-bottom: 8px;
}
.turnstile-modal-text {
  font-size: 14px;
  color: #4E667A;
  line-height: 1.5;
  margin-bottom: 24px;
}
.turnstile-widget {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .card-logo-panel { flex: 0 0 130px; }
  .card-logo-panel img { width: 90px; height: 90px; }
}

/* Mobile */
@media (max-width: 640px) {
  .site-header { padding: 16px 16px 6px; }
  .site-logo img { width: 160px; }
  .burger-btn { display: flex; }

  .hero { padding: 32px 16px 24px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }

  .badges { gap: 8px; }
  .badge { font-size: 12px; padding: 4px 12px 4px 10px; }

  .card { flex-direction: column; border-radius: 12px; }
  .card-logo-panel {
    flex: none;
    padding: 20px;
    border-radius: 12px 12px 0 0;
  }
  .card-logo-panel img { width: 80px; height: 80px; }
  .card-body { padding: 16px; }
  .card-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .card-score { text-align: left; }
  .card-cta { justify-content: center; }

  .info-block-inner { padding: 24px 20px; }
  .info-block h2 { font-size: 22px; }

  .page-content h1 { font-size: 28px; }
  .age-modal { padding: 28px 20px 24px; }
  .age-modal h2 { font-size: 20px; }

  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-buttons { justify-content: center; }

  .footer-links { flex-direction: column; align-items: center; gap: 6px; }
  .footer-resources img { height: 32px; }

  .lecture-container h1 { font-size: 24px; }
  .turnstile-modal { padding: 32px 20px 24px; }
  .turnstile-modal-title { font-size: 20px; }
}
