/* ---------------------------------------------------
   Lumra.top - style.css
   Colors & tokens
--------------------------------------------------- */
:root{
  --bg: #342e4c;          /* site background */
  --heading: #a9b3ff;     /* headings & accents */
  --text: #f4e2df;        /* body text */
  --button: #a9b3ff;      /* button bg */
  --button-text: #342e4c; /* button text */
  --button-hover: #f4e2df;/* button hover */
  --radius: 14px;
  --container-max: 1200px;
  --glass: rgba(255,255,255,0.03);
  --muted: rgba(244,226,223,0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
  --font-stack: "Rajdhani", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset base */
* { box-sizing: border-box; }
html,body { height:100%; }
body {
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-stack);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size:16px;
}

/* Utility container */
.container {
  width: calc(100% - 48px);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Links */
a { color: var(--heading); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--button-hover); }

/* Headings with subtle text border */
h1,h2,h3,h4,h5 {
  color: var(--heading);
  margin:0 0 0.6rem 0;
  letter-spacing: 0.2px;
  text-wrap: balance;
  -webkit-text-stroke: 0.6px rgba(52,46,76,0.06);
  text-shadow: 0 2px 0 rgba(0,0,0,0.18);
}
h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight:700; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight:700; }
h4 { font-size:1.05rem; font-weight:600; }

/* NAVBAR */
.lumra-top-nav {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  padding: 0.6rem 0;
  position: sticky;
  top:0;
  z-index:90;
}
.lumra-top-brand img { height:80px; display:block; }
.navbar-toggler { border: none; color: var(--text); }
.lumra-top-navlist .nav-link {
  color: var(--text);
  margin-left: 0.9rem;
  font-weight:600;
  padding: 0.4rem 0.6rem;
}
.lumra-top-navlist .nav-link.active,
.lumra-top-navlist .nav-link:hover {
  color: var(--heading);
  background: transparent;
  text-decoration: none;
  border-radius: 8px;
}

/* -----------------------------
   HERO SECTION
----------------------------- */
.lumra-top-hero {
  position: relative;
  height: 80vh; /* occupy 80% of viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: 
    url('../images/hero.jpg') center center / cover no-repeat, /* main hero image */
    radial-gradient(800px 300px at 10% 10%, rgba(169,179,255,0.06), transparent),
    radial-gradient(700px 200px at 90% 90%, rgba(244,226,223,0.02), transparent);
  color: var(--text);
  overflow: hidden;
}

.lumra-top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(52,46,76,0.2); /* dark overlay for text readability */
  z-index: 1;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* above overlay */
  padding: 0 16px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #a9b3ff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-copy {
  color: #f4e2df;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.lumra-top-hero .btn {
  background-color: #a9b3ff;
  color: #342e4c;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s, box-shadow 0.2s;
}

.lumra-top-hero .btn:hover {
  background-color: #f4e2df;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight:700;
  text-decoration:none;
}
.lumra-top-cta {
  background: var(--button);
  color: var(--button-text);
  box-shadow: var(--shadow);
  transition: transform .16s ease, background .12s ease;
}
.lumra-top-cta:hover { transform: translateY(-4px); background: linear-gradient(180deg,var(--heading), var(--button)); color:var(--button-text); }
.lumra-top-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(169,179,255,0.12);
  padding: 0.55rem 1rem;
}
.lumra-top-submit {
  background: var(--button);
  color: var(--button-text);
  min-width: 160px;
}

/* NOTICE */
.lumra-top-notice .notice-box {
  max-width:920px;
  margin: 16px auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}
.notice-title { color: var(--heading); margin-bottom:8px; }

/* Game iframe container */
.lumra-top-main-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* Aspect ratio wrapper */
.lumra-top-main-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio (9/16*100) */
}

/* iframe styling */
.lumra-top-main-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lumra-top-main-frame {
    max-width: 100%;
  }
}




/* FEATURES GRID */
.lumra-top-features { padding: 48px 0; }
.lumra-top-features-grid {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.lumra-top-feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.03));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
  text-align:left;
}
.feature-icon { font-size:1.4rem; color: var(--heading); margin-bottom:8px; }
.feature-title { margin-bottom:6px; color: var(--heading); }
.feature-text { color: var(--text); opacity:0.95; }

/* ABOUT */
.lumra-top-about { padding: 52px 0; }
.about-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:center;
}
.about-image {
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* REVIEWS */
.lumra-top-reviews { padding: 48px 0; }
.lumra-top-reviews-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:16px;
}
.review-card {
  background: var(--glass);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.03);
  text-align:left;
}
.review-header { display:flex; gap:12px; align-items:center; margin-bottom:8px; }
.review-header .avatar {
  width:44px; height:44px; border-radius:50%;
  background: linear-gradient(180deg, rgba(169,179,255,0.12), rgba(244,226,223,0.03));
  display:flex; align-items:center; justify-content:center;
  font-weight:700; color: var(--heading);
}
.stars { color: var(--heading); font-weight:700; }

/* CONTACT FORM */
.lumra-top-contact { padding: 48px 0; }
.lumra-top-input { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03); color:var(--text); }
.lumra-top-input::placeholder { color: rgba(244,226,223,0.45); }
.form-label { color: var(--text); font-weight:600; }

/* FOOTER */
.lumra-top-footer { padding: 34px 0; color:var(--text); border-top: 1px solid rgba(255,255,255,0.03); margin-top:36px; }
.lumra-top-footer-logo { height:74px; margin-bottom:12px; }
.lumra-top-footer-links li { margin: 0 8px; display:inline-block; }
.footer-disclaimer { max-width:860px; margin:16px auto 8px auto; text-align:left; }
.footer-divider { border-top:1px solid rgba(255,255,255,0.03); margin: 20px auto; width:80%; }

/* -----------------------------
   LUMRA.TOP DISCLAIMER POPUP
----------------------------- */
.lumra-top-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85); /* dark overlay for focus */
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lumra-top-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.lumra-top-popup-inner {
  width: calc(100% - 40px);
  max-width: 640px;
  background: #342e4c; /* site background */
  color: #f4e2df;      /* readable text */
  padding: 32px 28px;
  border-radius: 20px;
  border: 2px solid #a9b3ff; /* accent border for prominence */
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  text-align: center;
  position: relative;
  animation: popupScale 0.25s ease forwards;
}

@keyframes popupScale {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.popup-title {
  color: #a9b3ff; /* prominent heading */
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.popup-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f4e2df;
  margin-bottom: 24px;
}

/* -----------------------------
   POPUP BUTTONS
----------------------------- */
.popup-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.lumra-top-accept {
  background-color: #a9b3ff;
  color: #342e4c;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lumra-top-accept:hover {
  background-color: #f4e2df;
  color: #342e4c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.lumra-top-exit {
  background-color: #f44336;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lumra-top-exit:hover {
  background-color: #d32f2f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* -----------------------------
   POPUP PULSE ANIMATION (Optional)
----------------------------- */
.lumra-top-popup.active .lumra-top-popup-inner {
  animation: popupPulse 1.2s ease-in-out;
}

@keyframes popupPulse {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* -----------------------------
   MOBILE RESPONSIVE
----------------------------- */
@media (max-width: 480px) {
  .lumra-top-popup-inner {
    padding: 24px 16px;
  }
  .lumra-top-accept, .lumra-top-exit {
    width: 100%;
    text-align: center;
  }
}


/* SCROLL TOP */
.lumra-top-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width:48px; height:48px;
  border-radius: 10px;
  border:none;
  display:flex; align-items:center; justify-content:center;
  background: rgba(169,179,255,0.06);
  color: var(--text);
  font-weight:700;
  transform:translateY(6px);
  opacity:0; pointer-events:none;
  transition: all .16s ease;
  z-index:99;
}
.lumra-top-scroll-top.show { opacity:1; pointer-events:auto; transform:none; }

/* Responsive rules */
@media (max-width: 980px) {
  .lumra-top-features-grid { grid-template-columns: 1fr 1fr; }
  .lumra-top-reviews-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .lumra-top-main-frame iframe { height: 420px; }
  .lumra-top-thumb { width: 140px; height:84px; }
}

@media (max-width: 640px) {
  .lumra-top-features-grid { grid-template-columns: 1fr; }
  .lumra-top-reviews-grid { grid-template-columns: 1fr; }
  .lumra-top-main-frame iframe { height: 360px; border-radius:10px; }
  .lumra-top-hero { padding: 46px 0; }
  .lumra-top-thumb { width: 120px; height:72px; }
  .lumra-top-navlist .nav-link { margin-left: 0.3rem; font-size:0.95rem; }
}

/* Accessibility helpers */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


/* -----------------------------
   LEGAL PAGES (Disclaimer / Privacy / Terms)
----------------------------- */
.lumra-top-legal {
  padding: 80px 0;
  background-color: #342e4c;
  color: #f4e2df;
}

.lumra-top-legal .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.lumra-top-legal .legal-title {
  color: #a9b3ff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 24px;
  text-align: center;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.lumra-top-legal .legal-subtitle {
  color: #a9b3ff;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-top: 24px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.lumra-top-legal p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  opacity: 0.95;
}

/* Links in legal text */
.lumra-top-legal a {
  color: #a9b3ff;
  text-decoration: underline;
}

.lumra-top-legal a:hover {
  color: #f4e2df;
  text-decoration: none;
}

/* Lists (if used) */
.lumra-top-legal ul,
.lumra-top-legal ol {
  margin-left: 1.5rem;
  margin-bottom: 16px;
  list-style-position: inside;
}

.lumra-top-legal li {
  margin-bottom: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .lumra-top-legal .legal-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
  .lumra-top-legal .legal-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
  }
  .lumra-top-legal p {
    font-size: 0.95rem;
  }
}
