/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background: #000;
  font-family: 'Cinzel', serif;
  color: #fff;
  overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  z-index: 0;
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 300px;
  z-index: 2;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 48px;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: #0b2a14;
  background: linear-gradient(135deg, #3aff6f, #1fa84a);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(58, 255, 111, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(58, 255, 111, 0.9), inset 0 0 10px rgba(255, 255, 255, 0.25);
}

.btn-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* HOW TO PLAY SECTION */
.how-to-play {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  font-size: 2rem;
  overflow: hidden;
}

.how-to-play-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.65);
}

.how-to-play-title {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(0,0,0,0.4);
}

/* Tutorial content */
.how-to-play-tutorial {
  width: 100%;
  background: #0a1a0f;
  color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.tutorial-content {
  max-width: 900px;
  text-align: left;
}

.tutorial-content h3 {
  font-size: 2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #3aff6f; /* goblin green */
}

.tutorial-content ul,
.tutorial-content ol {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 20px;
}

/* Quick Tips Button */
#quick-tips-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #3aff6f;
  color: #0b2a14;
  font-size: 1.2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#quick-tips-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(58, 255, 111, 0.6);
}

/* Bottom-Right Menu */
.menu-square {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 220px;
  height: 80px;
  background: rgba(20, 40, 25, 0.9);
  border: 2px solid #7dff8a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 22px;
  letter-spacing: 2px;
}

.menu-link {
  color: inherit;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.menu-link:hover {
  color: #b8ffbf;
}

/* Heart menu container */
.heart-menu-container {
  position: relative;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.heart-menu-default,
.heart-menu-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.heart-menu-hover {
  opacity: 0;
}

.heart-menu-container:hover .heart-menu-default {
  opacity: 0;
}

.heart-menu-container:hover .heart-menu-hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Email Section */
.email-section {
  position: relative;
  width: 100%;
  height: auto; /* height will adjust to image */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.email-bg {
  width: 100%;
  height: auto; /* ensures full image fits width */
  display: block;
  object-fit: contain; /* keep entire image visible */
  z-index: 0;
  opacity: 0.7; /* subtle transparency for text readability */
}

.email-title {
  position: absolute; /* layered on top */
  z-index: 1;
  font-size: 2.5rem;
  color: #3aff6f; /* goblin green */
  font-family: 'Cinzel', serif;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  text-align: center;
  padding: 0 20px;
  width: 100%;
}

/* Email Form */
.email-form-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.email-form {
  display: flex;
  gap: 10px;
  background: rgba(10, 26, 15, 0.9);
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(58, 255, 111, 0.4);
}

.email-form input[type="email"] {
  padding: 12px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  outline: none;
  flex: 1;
}

.email-form button {
  padding: 12px 24px;
  background-color: #3aff6f;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  color: #0b2a14;
  transition: all 0.3s ease;
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(58, 255, 111, 0.6);
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  background-color: #0a1a0f; /* dark greenish background */
  color: #fff;
  padding: 30px 20px;
  font-family: 'Cinzel', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-content p {
  margin: 5px 0;
  text-align: center;
  font-size: 1rem;
}

.footer-credit {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 0.9rem;
  color: #3aff6f;
}
