/* =====================================================================
   Bestglimmra.top — stylesheet
   Palette:
   --bg: #7f91ac   (site background)
   --heading/accent/button: #001e88
   --text: #000e3f
   --btn-text: #7f91ac
   --btn-hover: #000e3f
   ===================================================================== */

:root{
  --bg: #7f91ac;
  --heading: #001e88;
  --text: #000e3f;
  --accent: #001e88;
  --btn-text: #7f91ac;
  --btn-hover: #000e3f;
  --card-bg: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --radius: 14px;
  --max-container: 1200px;
}

/* =====================================================================
   TYPOGRAPHY (updated)
   ===================================================================== */
:root{
  --font-heading: "Bebas Neue", "Rubik", system-ui, sans-serif; /* bold condensed headings */
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* Headings */
h1,h2,h3,h4,h5{
  font-family:var(--font-heading);
  color:var(--heading);
  letter-spacing:0.5px;
  font-weight:700;
  line-height:1.15;
  margin-bottom:1rem;
  text-transform:uppercase;
  text-shadow:1px 1px 3px rgba(0,0,0,0.12); /* subtle pop */
  position:relative;
  padding-left:14px;
}
h1::before,h2::before,h3::before,h4::before,h5::before{
  content:"";
  position:absolute;
  left:0;
  top:0.35em;
  width:6px;
  height:60%;
  background:var(--accent);
  border-radius:3px;
}

/* Section titles */
.bestglimmra-top-section-title{
  font-family:var(--font-heading);
  font-size:2.2rem;
  font-weight:800;
  text-align:center;
  margin:0 auto 1.4rem;
  color:var(--heading);
  letter-spacing:1px;
  position:relative;
  text-transform:uppercase;
  line-height:1.2;
}
.bestglimmra-top-section-title::after{
  content:"";
  display:block;
  width:70px;
  height:4px;
  background:var(--accent);
  margin:0.7rem auto 0;
  border-radius:3px;
  box-shadow:0 2px 6px rgba(0,0,0,0.18);
}


/* Base */
*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.container{max-width:var(--max-container);margin:0 auto;padding:0 18px}

/* --------------------
   NAVBAR
   -------------------- */
.bestglimmra-top-navbar{
  background:transparent;
  padding:1rem 0;
  border-bottom:1px solid rgba(0,30,136,0.08);
  text-align:center
}
.bestglimmra-top-navbar .navbar-brand{display:block;margin:0 auto}
.bestglimmra-top-logo{height:80px;max-width:320px;width:auto;transition:height .18s ease}
.navbar-toggler{border:0;background:none;color:var(--accent);font-size:1.2rem;margin-top:.6rem}

/* nav links */
.navbar-links { margin-top:0.5rem; }
.bestglimmra-top-navbar .navbar-nav{
  display:flex;
  justify-content:center;
  gap:1.3rem;
  flex-wrap:wrap;
  padding-left:0;
  margin-bottom:0;
  list-style:none
}
.bestglimmra-top-navbar .nav-link{
  color:var(--text);
  font-weight:600;
  font-family:var(--font-heading);
  padding:.4rem .6rem;
  border-radius:8px;
  transition:all .18s ease
}
.bestglimmra-top-navbar .nav-link:hover{
  color:var(--accent);
  background: rgba(0,30,136,0.04)
}
.bestglimmra-top-navbar .nav-link.active{
  color:var(--btn-text);
  background:var(--accent);
  box-shadow:0 8px 22px rgba(0,0,0,0.18)
}

/* responsive nav */
@media (min-width: 768px){
  .navbar-links.collapse { display:block !important; }
  .bestglimmra-top-navbar .navbar-nav{flex-direction:row !important}
}
@media (max-width: 767px){
  .bestglimmra-top-logo{height:64px}
  .bestglimmra-top-navbar .navbar-nav{flex-direction:column;gap:.75rem}
}

/* --------------------
   HERO
   -------------------- */
.bestglimmra-top-hero {
  padding: 64px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;

  /* Hero background image */
  background-image: url('../images/hero.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


}

.bestglimmra-top-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  pointer-events:none
}
.bestglimmra-top-hero-content{position:relative;z-index:2;max-width:980px;padding:18px}
.bestglimmra-top-hero-heading{
  font-family:var(--font-heading);
  color:var(--heading);
  font-size:clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:-0.5px;
  line-height:1.05;
  margin-bottom:.8rem;
  position:relative;
}
.bestglimmra-top-hero-heading::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:var(--accent);
  margin:0.6rem auto 0;
  border-radius:2px;
}
.bestglimmra-top-hero-text{
  color:rgba(0,14,63,0.9);
  font-size:1.05rem;
  margin-bottom:1.2rem
}

/* Buttons */
.bestglimmra-top-btn{
  display:inline-block;
  background:var(--accent);
  color:var(--btn-text);
  padding:.7rem 1.4rem;
  border-radius:999px;
  border:0;
  font-weight:700;
  cursor:pointer;
  transition:all .18s ease;
  text-decoration:none
}
.bestglimmra-top-btn:hover{
  background:var(--btn-hover);
  color:var(--btn-text);
  transform:translateY(-3px)
}
.bestglimmra-top-btn-outline{
  background:transparent;
  border:1px solid rgba(0,30,136,0.14);
  color:var(--text);
  padding:.6rem 1rem;
  border-radius:12px
}

/* --------------------
   SECTION TITLES
   -------------------- */
.bestglimmra-top-section-title{
  font-family:var(--font-heading);
  color:var(--heading);
  font-size:2rem;
  font-weight:700;
  text-align:center;
  margin:0 auto 1.2rem;
  letter-spacing:-0.3px;
  line-height:1.3;
  position:relative;
}
.bestglimmra-top-section-title::after{
  content:"";
  display:block;
  width:50px;
  height:3px;
  background:var(--accent);
  margin:0.5rem auto 0;
  border-radius:2px;
}

/* --------------------
   GAME FRAME
   -------------------- */
.bestglimmra-top-game-card {
  max-width: 900px;   /* lock max width */
  margin: 0 auto;
}

.bestglimmra-top-game-frame {
  width: 100%;
  aspect-ratio: 900 / 600;   /* always keep 900x600 proportion */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0,0,0,0.1);
}

.bestglimmra-top-game-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
  .bestglimmra-top-game-frame {
    position: relative;
    padding-top: 66.66%; /* 600/900 = 66.6% */
  }
  .bestglimmra-top-game-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* --------------------
   NOTICE CARD / FEATURES / REVIEWS / ABOUT
   -------------------- */
.bestglimmra-top-brief-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:18px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 28px rgba(0,0,0,0.18);
  padding:22px
}
.bestglimmra-top-notice-text{color:var(--text);font-size:1rem;line-height:1.6}
.bestglimmra-top-feature-card{background:var(--glass);border-radius:14px;padding:20px;color:var(--text);transition:transform .18s ease,box-shadow .18s ease}
.bestglimmra-top-feature-card:hover{transform:translateY(-6px);box-shadow:0 14px 36px rgba(0,0,0,0.16)}
.bestglimmra-top-feature-card h4{color:var(--heading);font-family:var(--font-heading);margin-bottom:.6rem}

.bestglimmra-review-reel {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.bestglimmra-review-track {
  display: flex;
  gap: 1.5rem;
  animation: scrollReviews 30s linear infinite;
}

.bestglimmra-top-review-card {
  flex: 0 0 auto;
  width: 280px;
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.bestglimmra-top-review-card i {
  color: var(--accent);
  margin-bottom: 10px;
}

/* Infinite scroll animation */
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Duplicate track for smooth loop */
.bestglimmra-review-track::after {
  content: '';
  display: inline-block;
  width: 100%;
}


/* --------------------
   ABOUT SECTION
   -------------------- */
.bestglimmra-top-about {
  padding: 64px 0;
  text-align: center;
}

.bestglimmra-top-about-text {
  max-width: 780px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.bestglimmra-top-about-text p {
  margin-bottom: 1rem;
}

.bestglimmra-top-about-image-wrapper {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bestglimmra-top-about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.bestglimmra-top-about-image-wrapper:hover .bestglimmra-top-about-img {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .bestglimmra-top-about {
    padding: 40px 0;
  }
  .bestglimmra-top-about-text {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .bestglimmra-top-about-image-wrapper {
    max-width: 100%;
  }
}


/* --------------------
   FOOTER
   -------------------- */
.bestglimmra-top-footer {
  padding-top: 64px;
  padding-bottom: 64px;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(0,0,0,0.03);
  color: var(--text);
  font-family: var(--font-body);
}

.bestglimmra-top-footer-logo {
  height: 78px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.bestglimmra-top-footer-logo:hover {
  transform: scale(1.05);
}

.bestglimmra-top-footer-links {
  margin-bottom: 1rem;
}

.bestglimmra-top-footer-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.bestglimmra-top-footer-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.bestglimmra-top-footer-heading {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.bestglimmra-top-footer-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bestglimmra-top-footer-bottom {
  font-size: 0.85rem;
  color: rgba(0,14,63,0.8);
}

.bestglimmra-top-footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

.bestglimmra-top-footer-bottom a:hover {
  text-decoration: underline;
  color: var(--btn-hover);
}

/* Responsive Footer */
@media (max-width: 767px) {
  .bestglimmra-top-footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .bestglimmra-top-footer-heading {
    font-size: 1.1rem;
  }
  .bestglimmra-top-footer-text {
    font-size: 0.9rem;
  }
}

/* --------------------
   POPUP (age)
   -------------------- */
.bestglimmra-top-popup-overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,14,63,0.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:1200;padding:20px}
.bestglimmra-top-popup-card{max-width:520px;width:100%;background:#fff;border-radius:16px;padding:26px;box-shadow:0 12px 36px rgba(0,0,0,0.35);text-align:center}
.bestglimmra-top-popup-title{font-family:var(--font-heading);color:var(--heading);font-size:1.6rem;font-weight:700;margin-bottom:.5rem}
.bestglimmra-top-popup-text{color:#222;line-height:1.6;margin-bottom:1rem}
.bestglimmra-top-popup-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* Popup buttons */
.bestglimmra-top-btn{background:var(--accent);color:var(--btn-text);padding:.65rem 1.4rem;border-radius:12px;border:0;font-weight:700}
.bestglimmra-top-btn-outline{background:transparent;border:2px solid var(--accent);color:var(--text);padding:.65rem 1.4rem;border-radius:12px}

/* --------------------
   SCROLL TOP BUTTON
   -------------------- */
.bestglimmra-top-scroll-top{display:none;position:fixed;right:18px;bottom:18px;width:46px;height:46px;border-radius:50%;background:var(--accent);color:var(--btn-text);border:none;box-shadow:0 8px 20px rgba(0,0,0,0.35);font-size:1.15rem;cursor:pointer;z-index:1000;transition:all .18s ease}
.bestglimmra-top-scroll-top:hover{transform:translateY(-4px);background:var(--btn-hover);color:var(--btn-text)}

/* --------------------
   FORMS / INPUTS
   -------------------- */
input,textarea,select{background:rgba(255,255,255,0.06);color:var(--text);border:1px solid rgba(0,0,0,0.06);padding:.6rem .8rem;border-radius:8px}
input:focus,textarea:focus{outline:none;box-shadow:0 0 0 6px rgba(0,30,136,0.06)}

/* --------------------
   TYPOGRAPHY
   -------------------- */
h1,h2,h3,h4,h5{font-family:var(--font-heading);color:var(--heading)}
p,li,span{font-family:var(--font-body)}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--btn-hover)}

/* --------------------
   RESPONSIVE
   -------------------- */
@media (max-width: 767px){
  .bestglimmra-top-hero{padding:40px 0;min-height:40vh}
  .bestglimmra-top-hero-heading{font-size:1.4rem}
  .bestglimmra-top-logo{height:64px}
  .bestglimmra-top-feature-card{padding:16px}
  .bestglimmra-top-brief-card{padding:18px}
  .bestglimmra-top-popup-card{padding:18px}
}




/* --------------------
   CONTACT SECTION
   -------------------- */
.bestglimmra-top-contact {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.01));
  padding-top: 64px;
  padding-bottom: 64px;
}

.bestglimmra-top-contact-form input,
.bestglimmra-top-contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.bestglimmra-top-contact-form input:focus,
.bestglimmra-top-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,30,136,0.08);
}

.bestglimmra-top-contact-form button {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .bestglimmra-top-contact {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .bestglimmra-top-contact-form input,
  .bestglimmra-top-contact-form textarea {
    font-size: 0.95rem;
  }
}


/* --------------------
   LEGAL PAGES
   -------------------- */
.bestglimmra-top-legal {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.01));
  padding-top: 64px;
  padding-bottom: 64px;
}

.bestglimmra-top-legal-text {
  max-width: 880px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.bestglimmra-top-legal-text h3 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.bestglimmra-top-legal-text p {
  margin-bottom: 1.2rem;
  color: rgba(0,14,63,0.9);
}

@media (max-width: 767px) {
  .bestglimmra-top-legal {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
