/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  overflow-x: hidden;
  background-color: #000;
  scroll-behavior: smooth;
}

/* Background slideshow */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.background img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.background img.active {
  opacity: 1;
}

/* Scroll container */
.scroll-container {
  position: relative;
  z-index: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Section layout */
@media (min-width: 769px) {
  .scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  .scroll-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .scroll-container {
    height: auto;
    overflow: auto;
  }

  .scroll-section {
    min-height: 100vh;
    padding: 100px 20px 60px 20px;
    scroll-snap-align: none;
  }
}

/* Foreground & help section */
.foreground,
.help-section {
  position: relative;
  z-index: 2;
}

.foreground {
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px 20px;
  text-align: center;
  min-height: 100vh;
}

/* help-content: match hero style */
.help-content {
  background: rgba(0, 0, 0, 0.55);
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  color: #f1f1f1;
  text-align: center;
  z-index: 2;
  max-height: 100%;
  overflow-y: auto;
}

.help-content h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 20px;
}

.help-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

.help-content ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 2;
  color: #eee;
}

.help-content li {
  margin-bottom: 10px;
}

.cta-button {
  background-color: #ff9900;
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffaa33;
}

/* Responsive 3-button layout with improved spacing and visibility */
.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin: 20px auto 0 auto;
  padding: 0 12px;
}

.card {
  height: 100px;
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.1);
}

.card-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

/* Fixed logo for desktop - ensure always visible with background */
.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  text-align: left;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 10px;
}

.logo img {
  height: 60px;
  max-width: 80vw;
}

@media (max-width: 768px) {
  .logo {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
    text-align: center;
    pointer-events: auto;
    background: none;
    padding: 0;
  }

  .buttons {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    height: 110px;
  }

  .foreground {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .arrow-nav {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .foreground {
    padding-top: 120px;
    padding-bottom: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .foreground {
    padding-top: 100px;
    padding-bottom: 20px;
  }

  .card {
    height: 100px;
  }
}

/* Typography */
h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 10px;
}

h2 {
  color: #ddd;
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 400;
}

p {
  color: #f1f1f1;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 40px;
}

/* Arrow nav */
.arrow-nav {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.arrow {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  font-size: 1.8rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background: #ff9900;
  transform: scale(1.1);
}
