/* style.css */
html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: white;
    background-image: url('images/gem-stone-9.webp'); 
    background-repeat: repeat;
    background-size: auto;
    text-align: center;
    scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

h1, h2, h3 {
    font-family: 'Georgia', serif; /* Fantasy-like font, replace with a custom font if desired */
    text-transform: uppercase;
}



/* Header with background image */
.header {
    background: url('mobile-images/header-hambuger.webp') no-repeat center center;
    background-size: contain;           
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    max-width: 768px;
    aspect-ratio: 768 / 94;          
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hamburger-click-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 94px;
  cursor: pointer;
  z-index: 1001;
}

/* Hide nav by default on mobile */
.header nav ul {
  display: none;
}

.nav-overlay {
  display: none;
  background: url('mobile-images/popup-02.webp') no-repeat center center;
  background-size: contain;
  background-position: center center;
  width: 100%;
  max-width: 768px;
  aspect-ratio: 768 / 1435;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 9999;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 60px;
}

.nav-overlay.active {
  display: flex;
}

.nav-overlay a {
  color: #ffffff; /* make sure it's not blending in */
  font-size: 28px; /* make it a bit larger */
  font-weight: bold;
  text-decoration: none;
  margin: 16px 0;
  text-shadow: 1px 1px 2px black; /* helps text stand out */
  z-index: 10000;
}

.nav-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #ffc400;
  cursor: pointer;
}

#navList {
  position: absolute;
  top: 226px;
  left: 140px;
  width: 100%;
  z-index: 9999;
}

#navList ul {
    margin: 0;
}

#navList.show {
  z-index: 9999;
}

#navList li.nav-logo { display: none; }

#navList li {
  text-align: left;
  margin-top: 10px;
  list-style: none;
  z-index: 9999;
}

#navList a {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
}

#navList a:hover {
  color: #CCC;
}

/* Highlight the first link */
#navList li:first-child a {
  color: #ffc400;
  z-index: 9999;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px; 
  width: 100%;
  background: linear-gradient(to right, transparent, #FFF000, transparent);
}

/* hero section */

.hero {
    background: url('mobile-images/banner-01.webp') no-repeat center center;
    background-size: contain;           /* show full image */
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    max-width: 768px;
    aspect-ratio: 768 / 1328;           /* maintain proportion */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}


.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px; 
  width: 100%;
  background: linear-gradient(to right, transparent, #FFF000, transparent);
}

  .hero-text {
    display: block;
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Georgia', serif;
    font-size: 1.2em;
    font-weight: bold;
    width: 90%;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    color: white;
  }

/* hero section */

/* two-epics */
  .two-epics {
    background: url('mobile-images/two-epics-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1287;
    position: relative;
    overflow: hidden;
  }

  .two-epics::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px; 
  width: 100%;
  background: linear-gradient(to right, transparent, #FFF000, transparent);
}

  .two-epics-container {
    flex-direction: column;
    gap: 16px;
    max-width: 88%;
    margin: 0 auto;
    padding: 0;
    margin-top: 93%; /* pushes text down near where box ends */
  }

.two-epics-left h2 {
  font-size: 22px;
  color: #f7ad1c;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

.two-epics-left .subtitle {
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
  color: #ffc54d;
  text-align: center;
  line-height: 1.3;
  margin: 2px 0 0 0;
}

.two-epics-left .unlock {
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  color: white;
  text-align: center;
  line-height: 1.4;
  margin: 2px 0 0 0;
}

.two-epics-left h3 {
  font-size: 16px;
  color: white;
  margin: 20px 0 0 0; /* add top space to h3, none below */
  text-align: left;
}

.two-epics-left p {
  font-size: 14px;
  color: white;
  line-height: 1.4;
  text-align: left;
  margin: 0 0 5px 0; /* no top margin */
}

.two-epics-left p em {
  display: inline;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 0;
}

/* two-epics */

/*what-is-reckoning*/
  .what-is-reckoning {
    background: url('mobile-images/what-is-final-fate-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1389;
    position: relative;
    overflow: hidden;
  }

  .what-is-reckoning::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px; 
  width: 100%;
  background: linear-gradient(to right, transparent, #FFF000, transparent);
}

  .reckoning-left-text {
    position: absolute;
    top: 84%;
    left: 7%;
    right: 7%;
    color: #f1b600;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.5;
    max-width: 86%;
    text-align: center;
  }

  .reckoning-right-text {
    position: absolute;
    top: 26%;
    left: 7%;
    right: 7%;
    color: white;
    max-width: 86%;
    text-align: center;
  }

  .reckoning-right-text h2 {
    color: #f1b600;
    font-size: 20px;
    margin-bottom: 8px;
  }

  .reckoning-right-text p {
    font-size: 14px;
    line-height: 1.5;
  }
/*what-is-reckoning*/
/* how-to-play-core */
  .how-to-play-core {
    background: url('mobile-images/How-to-play-background-03.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1785;
    position: relative;
    overflow: hidden;
  }

  .how-to-play-core::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }
    
/* Headline */
.how-to-play-core h2 {
  position: absolute;
  top: 3%;
  left: 2%;
  right: 2%;
  font-size: 20px;
  color: #ffc400;
  text-align: center;
  margin: 0;
}

/* Description */
.how-to-play-core > p:first-of-type {
  position: absolute;
  top: 7%;
  left: 2%;
  right: 2%;
  font-size: 14px;
  font-style: italic;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* Quote */
.how-to-play-core .quote-line {
  position: absolute;
  top: 10%;
  left: 2%;
  right: 2%;
  font-style: italic;
  font-size: 13px;
  color: #f5f5f5;
  text-align: center;
  margin: 0;
}

/* Play Steps */
.how-to-play-core .play-steps {
  position: absolute;
  top: 17%;
  left: 6%;
  right: 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.how-to-play-core .play-steps div {
  width: 47%;
  text-align: center;
}

.how-to-play-core .play-steps img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.how-to-play-core .play-steps p {
  margin-top: 8px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
}

/* Video */
.how-to-play-core .video-wrapper {
  position: absolute;
  top: 72%;
  left: 3%;
  width: 90%;
  padding-bottom: 46.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: 8px solid #1c003d;
}

.how-to-play-core .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Note */
.how-to-play-core .note {
  position: absolute;
  top: 94%;
  left: 3%;
  right: 3%;
  font-size: 14px;
  color: #ffc400;
  font-style: italic;
  text-align: center;
  margin: 0;
}
/* how-to-play-core */

/* game-mode-clash */
  .game-mode-clash {
    background: url('mobile-images/How-to-play-background-03.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1785;
    position: relative;
    overflow: hidden;
  }

  .game-mode-clash::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }
    
/* Headline */
.game-mode-clash h2 {
  position: absolute;
  top: 3%;
  left: 2%;
  right: 2%;
  font-size: 20px;
  color: #ffc400;
  text-align: center;
  margin: 0;
}

/* Description */
.game-mode-clash > p:first-of-type {
  position: absolute;
  top: 9%;
  left: 2%;
  right: 2%;
  font-size: 14px;
  font-style: italic;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* Quote */
.game-mode-clash .quote-line {
  position: absolute;
  top: 12%;
  left: 2%;
  right: 2%;
  font-style: italic;
  font-size: 13px;
  color: #f5f5f5;
  text-align: center;
  margin: 0;
}

/* Play Steps */
.game-mode-clash .clash-steps {
  position: absolute;
  top: 17%;
  left: 6%;
  right: 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.game-mode-clash .clash-steps div {
  width: 47%;
  text-align: center;
}

.game-mode-clash .clash-steps img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.game-mode-clash .clash-steps p {
  margin-top: 8px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
}

/* Video */
.game-mode-clash .video-wrapper {
  position: absolute;
  top: 72%;
  left: 3%;
  width: 90%;
  padding-bottom: 46.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: 8px solid #1c003d;
}

.game-mode-clash .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Note */
.game-mode-clash .note {
  position: absolute;
  top: 95%;
  left: 3%;
  right: 3%;
  font-size: 14px;
  color: #ffc400;
  font-style: italic;
  text-align: center;
  margin: 0;
}
/* how-to-play-core */

/* card-art */
  .card-art {
    background: url('mobile-images/card-art-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1234;
    position: relative;
    overflow: hidden;
  }

  .card-art::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }

.card-art h2 {
  margin-top: 20px;
  font-size: 24px;
  color: #ffc400;
  margin-bottom: 5px;
}

.card-art > p:first-of-type {
  font-size: 16px;
  margin-bottom: 5px;
  font-style: italic;
  max-width: 800px;
  margin-left: 30px;
  margin-right: 30px;
}
/* card-art */


/* final-fate */
  .final-fate {
    background: url('mobile-images/the-seal-of-reckoning-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 1049;
    position: relative;
    overflow: hidden;
  }

  .final-fate::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }

.final-fate-content {
  max-width: 620px;
  margin-top: 270px;
  margin-left: 20px;
  margin-right: auto;
  text-align: left;
}

.final-fate h2 {
  font-size: 24px;
  color: #ffc400;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.final-fate h2 .twist {
  font-size: 18px;
  display: block;
  color: #ffae00;
}

.final-fate p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 5px;
}

.final-fate .blessing {
  color: #ffffff;
  font-weight: bold;
}

.final-fate .curse {
  color: #ffffff;
  font-weight: bold;
}

.final-fate .final-quote {
  font-style: italic;
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffae00; /* warm gold */
  margin-top: 20px;
  line-height: 1.6;
}
/* final-fate */

/* whats-in-box */
.whats-in-box {
    background: url('mobile-images/whats-in-the-box-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 816;
    position: relative;
    overflow: hidden;
  }

 .whats-in-box::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }

.whats-in-box-left-text {
  position: absolute;
  top: 1%;
  left: 5%;
  color: #fff;
  text-align: left;
}

.whats-in-box-left-text h2 {
  font-size: 24px;
  color: #ffc400;
  margin-bottom: 0;
  marging-top: -2px;
}

.whats-in-box-left-text h3 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 0;
  marging-top: 0;
}

.whats-in-box-left-text ul {
  margin-top: 4px;
  list-style: none;
  padding-left: 0;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
}

.whats-in-box-left-text ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.whats-in-box-left-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #ffc400;
  border-radius: 50%;
}

/* whats-in-box */

/* editions-bg */
.editions-bg {
    background: url('mobile-images/edition-party-mode-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 2973;
    position: relative;
    overflow: hidden;
  }

 .editions-bg::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }
/* editions-bg */


/* scene01-bg */
.editions-bg {
    background: url('mobile-images/edition-party-mode-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 2973;
    position: relative;
    overflow: hidden;
  }

 .editions-bg::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }


/* scene01-bg */
.scene01-bg {
    background: url('mobile-images/scene-01.webp') no-repeat center top;
    background-size: contain;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    aspect-ratio: 768 / 512;
    position: relative;
    overflow: hidden;
  }

 .scene01-bg::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px; 
      width: 100%;
      background: linear-gradient(to right, transparent, #FFF000, transparent);
    }
/* scene01-bg */

/* Overall footer */
#di-footer.di-footer {
  background-color: #0b0b15; /* dark background */
  color: #fff;
  text-align: center;
  padding: 20px 20px;
  font-family: 'Open Sans', sans-serif;
}

/* Logo styling */
.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

/* Navigation links */
.footer-nav {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0 8px;
  border-right: 1px solid #fff;
}

.footer-nav a:last-child {
  border-right: none;
}

/* Bottom text */
.footer-bottom-text p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
}

@media (max-width: 899px) {
  h2 {
    font-size: 18px !important;
  }
  
.two-epics-container {
    margin-top: 91% !important;
  }
}
