/* ------------------------- */
/* Root Variables */
/* ------------------------- */
:root {
  --heading-color: #ff7b02;
  --heading-border: 1px solid #ff7b02;
  --text-color: #a5d6a7;
  --accent-color: #ff7b02;
  --button-color: #ff7b02;
  --button-text: #181f2e;
  --button-hover: #a5d6a7;
  --bg-color: #181f2e;
  --font-family: 'Orbitron', sans-serif;
}

/* ------------------------- */
/* Body and General Styles */
/* ------------------------- */
body.happynordic-cloud-body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  scroll-behavior: smooth;
}

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

/* ------------------------- */
/* NAVBAR */
/* ------------------------- */
.happynordic-cloud-nav {
  background-color: var(--bg-color);
  padding: 1rem 0;
}
.happynordic-cloud-nav .navbar-brand img {
  max-height: 80px;
}
.happynordic-cloud-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  margin: 0 0.5rem;
}
.happynordic-cloud-nav .nav-link.active {
  color: var(--accent-color);
  font-weight: 700;
}
.navbar-toggler {
  border: none;
  color: var(--accent-color);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ------------------------- */
/* HERO SECTION */
/* ------------------------- */
.happynordic-cloud-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(
      rgba(24, 31, 46, 0.2),
      rgba(24, 31, 46, 0.2)
    ),
    url('../images/hero.jpg') no-repeat center center/cover;
}

.happynordic-cloud-hero-title {
  font-size: 3rem;
  color: #ff7b02; /* heading color */
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.happynordic-cloud-hero-sub {
  font-size: 1.3rem;
  color: #a5d6a7; /* text color */
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.happynordic-cloud-btn {
  background-color: #ff7b02; /* button color */
  color: #181f2e; /* button text */
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  transition: 0.3s;
}

.happynordic-cloud-btn:hover {
  background-color: #a5d6a7; /* hover color */
  color: #181f2e; /* hover text color */
}

/* ------------------------- */
/* DISCLAIMER */
/* ------------------------- */
.happynordic-cloud-disclaimer {
  background-color: #1f283e;
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 2rem 0;
}
.happynordic-cloud-disclaimer-title {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
}
.happynordic-cloud-disclaimer-text {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ------------------------- */
/* PLAY / GAME SECTION */
/* ------------------------- */
.happynordic-cloud-play {
  padding: 4rem 1rem;
  text-align: center;
}

.happynordic-cloud-section-title {
  font-size: 2.5rem;
  color: #ff7b02; /* heading color */
  text-shadow: 1px 1px 3px #000;
  margin-bottom: 2rem;
}

.happynordic-cloud-game-wrap {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.happynordic-cloud-video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.happynordic-cloud-video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.happynordic-cloud-video-ratio iframe:hover {
  transform: scale(1.02);
}

/* ------------------------- */
/* FEATURES SECTION */
/* ------------------------- */
.happynordic-cloud-features {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #181f2e 0%, #1f283e 100%);
}

.happynordic-cloud-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.happynordic-cloud-feature-card {
  background: rgba(255, 123, 2, 0.1);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.happynordic-cloud-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 123, 2, 0.4);
}

.happynordic-cloud-feature-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff7b02;
  border-radius: 50%;
  color: #181f2e;
  font-size: 1.8rem;
}

.happynordic-cloud-feature-title {
  font-size: 1.5rem;
  color: #ff7b02;
  margin-bottom: 0.5rem;
}

.happynordic-cloud-feature-text {
  color: #a5d6a7;
  font-size: 1rem;
  line-height: 1.6;
}

/* ------------------------- */
/* ABOUT SECTION */
/* ------------------------- */
.happynordic-cloud-about {
  background: linear-gradient(135deg, #1f283e 0%, #181f2e 100%);
  padding: 5rem 1rem;
}

.happynordic-cloud-about-text {
  flex: 1 1 450px;
  color: #a5d6a7;
  padding-right: 2rem;
}

.happynordic-cloud-about-text h2 {
  color: #ff7b02;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 1.5rem;
}

.happynordic-cloud-about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.happynordic-cloud-about-btn {
  background-color: #ff7b02;
  color: #181f2e;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.happynordic-cloud-about-btn:hover {
  background-color: #a5d6a7;
  color: #181f2e;
}

.happynordic-cloud-about-image {
  flex: 1 1 400px;
  text-align: center;
}

.happynordic-cloud-about-img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(255, 123, 2, 0.3);
}


/* ------------------------- */
/* REVIEWS SECTION */
/* ------------------------- */
.happynordic-cloud-reviews {
  padding: 5rem 1rem;
}
.happynordic-cloud-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.happynordic-cloud-review-card {
  background-color: #1f283e;
  border-radius: 12px;
  padding: 2rem;
  max-width: 300px;
  position: relative;
  transition: transform 0.3s, background 0.3s;
}
.happynordic-cloud-review-card:hover {
  transform: translateY(-5px);
  background-color: #2c3a50;
}
.happynordic-cloud-review-quote {
  font-size: 3rem;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: 10px;
}
.happynordic-cloud-review-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.happynordic-cloud-reviewer {
  font-weight: 600;
  color: var(--heading-color);
}

/* ------------------------- */
/* CONTACT SECTION */
/* ------------------------- */
.happynordic-cloud-contact {
  padding: 5rem 1rem;
}
.happynordic-cloud-contact-form input,
.happynordic-cloud-contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: 50px;
  border: none;
  background-color: #2c3a50;
  color: var(--text-color);
  font-size: 1rem;
}
.happynordic-cloud-contact-form input:focus,
.happynordic-cloud-contact-form textarea:focus {
  outline: 2px solid var(--accent-color);
}
.happynordic-cloud-contact-form button {
  width: 100%;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  background-color: var(--button-color);
  color: var(--button-text);
  font-weight: 600;
  transition: 0.3s;
}
.happynordic-cloud-contact-form button:hover {
  background-color: var(--button-hover);
  color: var(--bg-color);
}

/* ------------------------- */
/* FOOTER */
/* ------------------------- */
.happynordic-cloud-footer {
  background-color: #1f283e;
  color: var(--text-color);
}
.happynordic-cloud-footer-logo {
  max-height: 80px;
}
.happynordic-cloud-footer-nav a {
  color: var(--text-color);
  margin: 0 0.3rem;
}
.happynordic-cloud-footer-nav a:hover {
  color: var(--accent-color);
}
.happynordic-cloud-footer-disclaimer {
  background-color: #2c3a50;
  color: var(--text-color);
  text-align: left;
}
.happynordic-cloud-footer-copy {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* ------------------------- */
/* SCROLL TO TOP BUTTON */
/* ------------------------- */
.happynordic-cloud-scroll {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;          /* fixed width */
  height: 40px;         /* equal height for perfect circle */
  background-color: var(--accent-color);
  color: var(--button-text);
  border: none;
  border-radius: 50%;     /* keeps it circular */
  font-size: 1.5rem;
  line-height: 3.5rem;    /* vertically centers the arrow */
  text-align: center;     /* horizontally centers the arrow */
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 999;
  transition: 0.3s;
}

.happynordic-cloud-scroll:hover {
  background-color: var(--button-hover);
  color: var(--bg-color);
}


/* ------------------------- */
/* DISCLAIMER POPUP */
/* ------------------------- */
.happynordic-cloud-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 31, 46, 0.95); /* semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.happynordic-cloud-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.happynordic-cloud-popup-inner {
  background-color: #181f2e;
  color: #a5d6a7;
  padding: 2.5rem 2rem;
  max-width: 500px;
  width: 90%;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.happynordic-cloud-popup-title {
  font-size: 1.8rem;
  color: #ff7b02;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px #000;
}

.happynordic-cloud-popup-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.happynordic-cloud-popup-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.happynordic-cloud-popup-actions .happynordic-cloud-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.happynordic-cloud-popup-actions .happynordic-cloud-btn:hover {
  background-color: #a5d6a7;
  color: #181f2e;
}

.happynordic-cloud-popup-actions .ghost {
  background-color: transparent;
  border: 2px solid #ff7b02;
  color: #ff7b02;
}

.happynordic-cloud-popup-actions .ghost:hover {
  background-color: #ff7b02;
  color: #181f2e;
}


/* ------------------------- */
/* LEGAL PAGES - Disclaimer, Privacy, Terms */
/* ------------------------- */
.happynordic-cloud-legal {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 4rem 1rem;
  font-family: 'Rubik', sans-serif;
  line-height: 1.7;
}

.happynordic-cloud-legal-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff7b02; /* heading color */
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.happynordic-cloud-legal-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ff7b02;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  padding-left: 1.5rem;
}

.happynordic-cloud-legal-subtitle::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.6rem;
  color: #ff7b02;
}

.happynordic-cloud-legal p {
  color: #a5d6a7; /* main text color */
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.happynordic-cloud-legal a {
  color: #ff7b02;
  text-decoration: underline;
  transition: color 0.3s;
}

.happynordic-cloud-legal a:hover {
  color: #a5d6a7;
}

.happynordic-cloud-legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.happynordic-cloud-legal ul li {
  margin-bottom: 0.8rem;
  color: #a5d6a7;
}

.happynordic-cloud-legal blockquote {
  border-left: 3px solid #ff7b02;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #a5d6a7;
  font-style: italic;
  background-color: rgba(255, 123, 2, 0.05);
  border-radius: 5px;
}

@media (max-width: 992px) {
  .happynordic-cloud-legal-title {
    font-size: 2.2rem;
  }
  .happynordic-cloud-legal-subtitle {
    font-size: 1.4rem;
  }
  .happynordic-cloud-legal p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .happynordic-cloud-legal-title {
    font-size: 1.8rem;
  }
  .happynordic-cloud-legal-subtitle {
    font-size: 1.2rem;
    padding-left: 1rem;
  }
  .happynordic-cloud-legal-subtitle::before {
    font-size: 1.4rem;
  }
  .happynordic-cloud-legal p {
    font-size: 0.95rem;
  }
}
