/*--------------------------------------
  GENERAL RESET & TYPOGRAPHY
---------------------------------------*/
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', 'Ubuntu', sans-serif; /* Unique system/web font */
  scroll-behavior: smooth;
  background-color: #181f2e; /* Site background */
  color: #50deff; /* Default text color */
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #50deff;
}

a:hover {
  color: #ffc737; /* Accent on hover */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: #ffc737; /* Headings color */
  text-shadow: 1px 1px 2px #181f2e; /* Text border/shadow */
}

/*--------------------------------------
  NAVBAR
---------------------------------------*/
.aurorafun-sbs-navbar {
  background-color: #181f2e; /* Site background */
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  padding: 0.8rem 0;
  position: flex;
  top: 0;
  z-index: 999;
}

.aurorafun-sbs-logo {
  max-height: 80px;
}

.aurorafun-sbs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.aurorafun-sbs-nav .nav-link {
  font-weight: 600;
  color: #50deff;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.aurorafun-sbs-nav .nav-link:hover {
  color: #ffc737;
}

.aurorafun-sbs-nav .nav-link.active {
  color: #ffc737; /* Active link color */
  text-shadow: 1px 1px 2px #181f2e; /* subtle text border */
}

/*--------------------------------------
  TOGGLE BUTTON (MOBILE)
---------------------------------------*/
.navbar-toggler {
  border: 2px solid #ffc737;
  border-radius: 8px;
  background-color: transparent;
  color: #ffc737;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background-color: #50deff;
  color: #181f2e;
  border-color: #50deff;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255,199,55,0.6);
}

/*--------------------------------------
  COLLAPSED MENU (MOBILE)
---------------------------------------*/
.navbar-collapse {
  background-color: #181f2e;
}

.navbar-collapse .nav-link {
  padding: 0.7rem 1.5rem;
  color: #50deff;
  display: block;
  text-align: center;
}

.navbar-collapse .nav-link:hover {
  color: #ffc737;
  background-color: rgba(255,199,55,0.1);
  border-radius: 6px;
}

/*--------------------------------------
  RESPONSIVE ADJUSTMENTS
---------------------------------------*/
@media (max-width: 768px) {
  .aurorafun-sbs-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-toggler {
    font-size: 1.5rem;
    padding: 0.3rem 0.7rem;
  }
}

/*--------------------------------------
  HERO SECTION
---------------------------------------*/
.aurorafun-sbs-hero {
  position: relative;
  background: url('../images/hero.jpg') center center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #50deff;
}

.aurorafun-sbs-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24,31,46,0.2);
  z-index: 1;
}

.aurorafun-sbs-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.aurorafun-sbs-hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #ffc737;
  text-shadow: 1px 1px 2px #181f2e;
}

.aurorafun-sbs-hero-text {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #50deff;
}

.aurorafun-sbs-hero-btn {
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  background-color: #ffc737;
  border: none;
  color: #181f2e; /* Button text color */
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255,199,55,0.4);
  transition: all 0.3s ease;
}

.aurorafun-sbs-hero-btn:hover {
  background-color: #50deff;
  color: #181f2e;
  box-shadow: 0 6px 20px rgba(80,222,255,0.5);
}

/*--------------------------------------
  DISCLAIMER CARD
---------------------------------------*/
.aurorafun-sbs-disclaimer-section {
  background-color: #181f2e;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.aurorafun-sbs-disclaimer-card {
  background-color: #1f293e;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  color: #50deff;
}

.aurorafun-sbs-card-title {
  font-size: 1.8rem;
  color: #ffc737;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px #181f2e;
}

.aurorafun-sbs-card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #50deff;
}

.btn-outline-aurorafun {
  background-color: transparent;
  border: 2px solid #ffc737;
  color: #ffc737;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-aurorafun:hover {
  background-color: #50deff;
  border-color: #50deff;
  color: #181f2e;
}

/*--------------------------------------
  GAME SECTION
---------------------------------------*/
.funfjord-fun-game-section {
  background-color: #181f2e; /* Site background */
  color: #50deff;
  padding: 3rem 1rem;
}

.funfjord-fun-section-title {
  color: #ffc737;
  text-shadow: 1px 1px 2px #181f2e;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', 'Roboto', 'Ubuntu', sans-serif;
  text-align: center;
}

/* Game wrapper */
.funfjord-fun-game-wrapper {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* Game frame with 16:9 aspect ratio */
.funfjord-fun-game-frame {
  width: 100%;
  aspect-ratio: 16 / 9; /* Keeps 16:9 ratio automatically */
  max-height: 506px; /* Prevents excessive height on large screens */
  border: 2px solid #ffc737;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  overflow: hidden;
}

.funfjord-fun-game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*--------------------------------------
  RESPONSIVE
---------------------------------------*/
@media (max-width: 768px) {
  .funfjord-fun-section-title {
    font-size: 2rem;
  }
  .funfjord-fun-game-frame {
    max-height: 320px;
  }
}

@media (max-width: 576px) {
  .funfjord-fun-section-title {
    font-size: 1.7rem;
  }
  .funfjord-fun-game-frame {
    max-height: 200px;
  }
}

/*--------------------------------------
  FEATURES SECTION
---------------------------------------*/
.aurorafun-sbs-features {
  background-color: #181f2e;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: #50deff;
}

.aurorafun-sbs-feature-card {
  background-color: #1f293e;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  color: #50deff;
}

.aurorafun-sbs-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255,199,55,0.3);
}

.aurorafun-sbs-feature-icon {
  font-size: 2.5rem;
  color: #ffc737;
  margin-bottom: 1rem;
}

.aurorafun-sbs-feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffc737;
}

.aurorafun-sbs-feature-text {
  font-size: 1rem;
  color: #50deff;
}

/*--------------------------------------
  ABOUT SECTION
---------------------------------------*/
.funfjord-fun-about {
  background-color: #181f2e;
  color: #50deff;
  padding: 4rem 1rem;
}

.funfjord-fun-about-container {
  max-width: 800px; /* Center content width */
  margin: 0 auto;   /* Center horizontally */
  text-align: center;
}

.funfjord-fun-section-title {
  color: #ffc737;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', 'Roboto', 'Ubuntu', sans-serif;
  text-shadow: 1px 1px 2px #181f2e;
}

.funfjord-fun-about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #50deff;
  font-weight: 400;
}

.funfjord-fun-about-image-wrapper {
  display: flex;
  justify-content: center; /* Center image */
  align-items: center;
}

.funfjord-fun-about-img {
  width: 100%;
  max-width: 500px; /* Keep image contained */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  object-fit: contain;
}

/*--------------------------------------
  RESPONSIVE
---------------------------------------*/
@media (max-width: 768px) {
  .funfjord-fun-section-title {
    font-size: 2rem;
  }
  .funfjord-fun-about-text {
    font-size: 1rem;
  }
  .funfjord-fun-about-img {
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .funfjord-fun-section-title {
    font-size: 1.7rem;
  }
  .funfjord-fun-about-text {
    font-size: 0.95rem;
  }
  .funfjord-fun-about-img {
    max-width: 300px;
  }
}


/*--------------------------------------
  CONTACT SECTION
---------------------------------------*/
.aurorafun-sbs-input {
  border-radius: 10px;
  border: 1px solid #50deff;
  padding: 0.8rem;
  font-size: 1rem;
  background-color: #1f293e;
  color: #50deff;
  transition: all 0.3s ease;
}

.aurorafun-sbs-input:focus {
  outline: none;
  border-color: #ffc737;
  box-shadow: 0 0 10px rgba(255,199,55,0.3);
}

.btn-aurorafun {
  background-color: #ffc737;
  color: #181f2e;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-aurorafun:hover {
  background-color: #50deff;
  color: #181f2e;
  box-shadow: 0 6px 15px rgba(80,222,255,0.4);
}

/*--------------------------------------
  FOOTER
---------------------------------------*/
.funfjord-fun-footer {
  background-color: #181f2e; /* Site background */
  color: #50deff;
  padding: 4rem 1rem;
  font-family: 'Segoe UI', 'Roboto', 'Ubuntu', sans-serif;
}

.funfjord-fun-logo {
  max-height: 60px;
}

.funfjord-fun-footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.funfjord-fun-footer-link {
  color: #50deff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.funfjord-fun-footer-link:hover,
.funfjord-fun-footer-link:focus {
  color: #ffc737;
}

.funfjord-fun-footer-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.funfjord-fun-footer-disclaimer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffc737;
  text-shadow: 1px 1px 2px #181f2e;
}

.funfjord-fun-footer-disclaimer-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
}

.funfjord-fun-footer-copy {
  font-size: 0.875rem;
  color: #50deff;
  margin-bottom: 0.25rem;
}

.funfjord-fun-footer-copy a {
  color: #ffc737;
  text-decoration: none;
}

.funfjord-fun-footer-copy a:hover {
  color: #50deff;
  text-decoration: underline;
}

/*--------------------------------------
  RESPONSIVE FOOTER
---------------------------------------*/
@media (max-width: 768px) {
  .funfjord-fun-footer-disclaimer-title {
    font-size: 1.25rem;
  }
  .funfjord-fun-footer-disclaimer-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .funfjord-fun-footer-disclaimer-title {
    font-size: 1.1rem;
  }
  .funfjord-fun-footer-disclaimer-text {
    font-size: 0.9rem;
  }
  .funfjord-fun-footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/*--------------------------------------
  SCROLL TO TOP BUTTON
---------------------------------------*/
.aurorafun-sbs-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: #ffc737;
  color: #181f2e;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(255,199,55,0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.aurorafun-sbs-scroll-top.visible {
  display: flex;
}

.aurorafun-sbs-scroll-top:hover {
  background-color: #50deff;
  color: #181f2e;
}
/*--------------------------------------
  REVIEWS
---------------------------------------*/
.funfjord-fun-reviews {
  background-color: #181f2e;
  color: #50deff;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.funfjord-fun-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc737;
  text-shadow: 1px 1px 2px #181f2e;
}

.funfjord-fun-review-card {
  background-color: #1f273e;
  border: 2px solid #ffc737;
  transition: transform 0.3s, box-shadow 0.3s;
}

.funfjord-fun-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 199, 55, 0.4);
}

.funfjord-fun-review-title {
  color: #ffc737;
  font-weight: 600;
}

.funfjord-fun-review-text {
  color: #50deff;
  font-size: 0.95rem;
  line-height: 1.6;
}

/*--------------------------------------
  RESPONSIVE GRID
---------------------------------------*/
@media (max-width: 768px) {
  .funfjord-fun-review-card {
    margin-bottom: 1rem;
  }
}

/*--------------------------------------
  POPUP / DISCLAIMER
---------------------------------------*/
.aurorafun-sbs-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(24,31,46,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.aurorafun-sbs-popup.visible {
  opacity: 1;
  visibility: visible;
}

.aurorafun-sbs-popup-inner {
  background-color: #1f293e;
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #50deff;
}

.aurorafun-sbs-popup-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffc737;
  text-shadow: 1px 1px 2px #181f2e;
}

.aurorafun-sbs-popup-inner p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.aurorafun-sbs-popup-actions button {
  min-width: 120px;
  margin: 0.2rem;
}

/*--------------------------------------
  RESPONSIVE
---------------------------------------*/
@media (max-width: 768px) {
  .aurorafun-sbs-hero-title { font-size: 2rem; }
  .aurorafun-sbs-hero-text { font-size: 1rem; }
  .aurorafun-sbs-feature-card { padding: 1.5rem; }
}

@media (max-width: 576px) {
  .aurorafun-sbs-navbar .nav-link { padding: 0.3rem 0.5rem; font-size: 0.95rem; }
  .aurorafun-sbs-hero { height: 60vh; }
}



/*--------------------------------------
  LEGAL SECTIONS
---------------------------------------*/
.funfjord-fun-legal-section {
  background-color: #181f2e;
  color: #50deff;
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  padding-top: 60px;
  padding-bottom: 60px;
}

.funfjord-fun-legal-title {
  color: #ffc737;
  font-weight: 800;
  font-size: 2.5rem;
  text-shadow: 1px 1px 2px #000;
  text-align: center;
  margin-bottom: 40px;
}

.funfjord-fun-legal-subtitle {
  color: #ffc737;
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.funfjord-fun-legal-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #50deff;
  text-align: justify;
  margin-bottom: 20px;
}

.funfjord-fun-legal-section strong {
  color: #ffc737;
}
