/* Base Global Styles for Snorvik.sbs */
:root {
  --color-heading: #ffffff;
  --color-text: #ffffff;
  --color-accent: #ef8bf7;
  --color-button: #ef8bf7;
  --color-button-text: #203565;
  --color-link-active: #ef8bf7;
  --color-background: #203565;
  --font-primary: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #ffffff;
}

a:active {
  color: var(--color-link-active);
}

button,
input[type="submit"],
input[type="button"] {
  background-color: var(--color-button);
  color: var(--color-button-text);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #d778e3; /* Slightly darker accent for hover */
  transform: translateY(-2px);
}

button:active,
input[type="submit"]:active,
input[type="button"]:active {
  transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}
 
 
 /* Navbar Base */
.main-navbar {
  background-color: #203565;
  padding: 15px 0;
  font-family: 'Josefin Sans', sans-serif;
}

.logo {
  height: 75px;
}

.nav-toggler {
  border: none;
}

.nav-toggler-icon {
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  display: block;
  position: relative;
}
.nav-toggler-icon::before,
.nav-toggler-icon::after {
  content: '';
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
}
.nav-toggler-icon::before {
  top: -8px;
}
.nav-toggler-icon::after {
  top: 8px;
}

/* Nav Links */
.nav-list .nav-link {
  color: #ffffff;
  font-size: 1.1rem;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.nav-list .nav-link:hover,
.nav-list .nav-link.active {
  color: #ef8bf7;
}

/* Button */
.main-btn {
  background-color: #ef8bf7;
  color: #203565;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.main-btn:hover {
  background-color: #d26ad5;
  transform: translateY(-2px);
}

/* Mobile Menu */
@media (max-width: 991px) {
  .nav-list .nav-link {
    margin-left: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 800px;
  color: #ffffff;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
}

.hero-subtext {
  font-size: 1.25rem;
  color: #ffffff;
}

.main-btn {
  background-color: #ef8bf7;
  color: #203565;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
}

.main-btn:hover {
  background-color: #d671df;
  color: #ffffff;
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #203565; /* site background */
  color: #ffffff; /* text color */
}

.disclaimer-card {
  background-color: #2a4273; /* slightly lighter shade for card contrast */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.disclaimer-title {
  color: #ffffff; /* headings color */
  font-weight: 700;
}

.disclaimer-text {
  color: #ffffff; /* body text */
  line-height: 1.6;
  font-size: 1.05rem;
}



/* Game Showcase Section */
.game-showcase-section {
  background-color: #203565; /* site background */
  padding: 60px 0;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff; /* headings */
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ffffff; /* text */
  max-width: 650px;
  margin: 0 auto;
}

/* Game Card */
.game-card {
  background-color: #2b4375; /* slightly lighter than bg for contrast */
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ef8bf7; /* accent border */
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(239, 139, 247, 0.4); /* accent shadow */
}

/* Game Frame */
.game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}





/* Active Link Style */
a:active, a.active {
  color: #ef8bf7;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  
  .game-title {
    font-size: 1.1rem;
  }

  .game-description {
    font-size: 0.9rem;
  }
}


/* Features Section */
.features-section {
  background-color: #203565; /* site background */
  color: #ffffff; /* text color */
  padding: 60px 0;
}

.features-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ef8bf7; /* accent color */
}

.features-section .section-subtitle {
  font-size: 1.1rem;
  color: #ffffff; /* white text */
  opacity: 0.9;
}

.features-section .feature-card {
  background-color: #2b417d; /* slightly lighter than background for card contrast */
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.features-section .feature-card:hover {
  background-color: #334a8a; /* hover shade */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.features-section .feature-icon {
  color: #ef8bf7; /* accent */
  margin-bottom: 20px;
}

.features-section .feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ef8bf7;
}

.features-section .feature-text {
  font-size: 1rem;
  color: #ffffff;
  opacity: 0.85;
}

/* Button Styling if used inside */
.features-section .btn {
  background-color: #ef8bf7;
  color: #203565; /* button text color */
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.features-section .btn:hover {
  background-color: #d46edb; /* darker hover accent */
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .features-section .section-title {
    font-size: 1.8rem;
  }
}


/* About Section */
.about-section {
  background-color: #203565;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-subtitle {
  color: #ef8bf7;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: bold;
}

.about-description {
  color: #ffffff;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-btn {
  background-color: #ef8bf7;
  color: #203565;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background-color: #d66ee0; /* darker hover tone based on accent */
  color: #ffffff;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-height: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .about-title {
    font-size: 1.8rem;
  }
  .about-description {
    font-size: 0.95rem;
  }
}


/* Reviews Section */
.reviews-section {
  background-color: #203565; /* Site background */
  color: #ffffff; /* Text color */
}

.reviews-frame {
  background-color: #18294d;
}

.section-title {
  color: #ef8bf7; /* Accent */
  font-size: 2rem;
  font-weight: 700;
}

.section-subtitle {
  color: #ffffff;
  opacity: 0.85;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.review-card {
  background-color: #2b4170;
  color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(239, 139, 247, 0.3);
}

.review-card:hover {
  background-color: #324c80;
  transform: translateY(-5px);
}

.review-icon i {
  color: #ef8bf7;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
}

.review-author {
  font-weight: 600;
  margin-top: 10px;
  color: #ef8bf7;
}


.footer {
  background-color: #203565;
  color: #ffffff;
}

.footer-logo-wrap {
  text-align: center;
}

.footer-logo {
  min-height: 60px !important;
  max-height: 70px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-heading {
  color: #ef8bf7;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
}

.footer-link {
  color: #ef8bf7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  padding-top: 1rem;
}


/* Overlay Background */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Box */
.age-popup-box {
  background: #ffffff;
  color: #333333;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.3s ease-in-out;
}

/* Title */
.age-popup-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #203565; /* Matches site primary */
}

/* Text */
.age-popup-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Buttons */
.btn-age {
  background-color: #ef8bf7; /* Accent color */
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 0.5rem;
}

.btn-age:hover {
  background-color: #d36fda;
}

.btn-age.no {
  background-color: #ccc;
  color: #333;
}

.btn-age.no:hover {
  background-color: #999;
}

/* Animation */
@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 4px;
  height: 40px;
  background-color: #ef8bf7; /* button color */
  color: #203565; /* button text color */
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
  z-index: 999;
}

.scroll-top-btn:hover {
  background-color: #d86fe0; /* darker hover */
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-arrow {
  line-height: 1;
}

/* Contact Section */
.contact-section {
  background-color: #203565; /* site background */
  padding: 60px 20px;
  color: #ffffff;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #ef8bf7; /* accent */
}

.contact-section .section-subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 2px solid #ef8bf7; /* accent */
}

.btn-submit {
  background-color: #ef8bf7; /* button */
  color: #203565; /* button text */
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #d86fe0; /* darker hover */
}
