/* Landing Page Styles - Using the ready design */

.landing-page-container {
    margin-top: 120vh; /* Position it below the game viewport */
    position: relative;
    z-index: 1; /* Ensure it's above the game when scrolling */
}
@media only screen and (max-height: 900px) and (orientation:landscape){
    .landing-page-container {
        margin-top: 52rem;
    }
}


.site-footer {
    background-color: #f8f9fa;
    padding: 2rem 0 1rem;
    margin-top: auto;
    border-top: 1px solid #eee;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-section h4 {
    .footer-section .section-title {
      color: #333;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
  }

  .footer-section ul {
    list-style: none;
  }
  a {
color: black !important;
text-decoration: none !important;

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

  .footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-section ul li a:hover {
    color: #333;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 1rem;
  }

  .footer-bottom p {
    color: #666;
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      text-align: center;
    }

    .site-footer {
      padding: 1.5rem 0 1rem;
    }
  }
  .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  div {
white-space: normal !important;
word-break: normal !important;
}

  /* Enhanced styles for landing page */
  .landing-section {
    padding: 50px 0;
    position: relative;
  }

  .main-section {
  
    background-color: #ffd700;
    padding: 110px 0;
    padding-top: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  #app {
    height: 95vh;
  }
 

  .main-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .main-description {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
  }

  .instruction-block {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #dfdfdf;
    margin-bottom: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    transition: transform 0.3s ease;
  }

  .instruction-block:hover {
    transform: translateY(-5px);
  }

  .block-title {
    color: #000;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .block-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #FFD924;
    border-radius: 2px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    color: #000;
    position: relative;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #FFD924;
    margin: 20px auto 0;
    border-radius: 2px;
  }

  .faq-section {
    background-color: #f8f9fa;
    position: relative;
  }

  .faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #dfdfdf;
    margin-bottom: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  }

  .faq-title {
    color: #000;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .faq-list {
    padding-left: 24px;
    margin: 20px 0;
  }

  .faq-list li {
    margin-bottom: 12px;
    color: #555;
    position: relative;
    padding-left: 8px;
  }

 

  .about-section {
    text-align: center;
    position: relative;
    padding: 30px 0;
  }

.lc-img {
  display: flex;
  margin: auto;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

  .about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
  }

  /* Enhanced responsive styles */
  @media (max-width: 768px) {
    .landing-section {
      padding: 60px 0;
    }

    .main-section {
      padding: 80px 0;
    }

    .main-title {
      font-size: 1.5rem;
    }
    
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
    
    .block-title {
      font-size: 1.5rem;
    }

    .instruction-block,
    .faq-item {
      padding: 24px;
    }
    
    .main-description,
    .about-text {
      font-size: 1.1rem;
    }
  }

  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    .instruction-block,
    .faq-item {
      background: #1a1a1a;
      color: #fff;
    }

    .main-description,
    .faq-list li {
      color: #e0e0e0;
    }

    .block-title,
    .faq-title,
    .section-title {
      color: #fff;
    }

    .faq-section {
      background-color: #111;
    }
  }
  a.link {
    color: #000;
    text-decoration: underline!important;
  }

  /* Modified loading styles to only cover app area */
  .app-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffda24b7;
    font-size: 24px;
    font-weight: 600;
    z-index: 9999;
    transition: opacity 0.3s;
  }
  
  .app-loading.hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* Dark mode styles specifically for #app */
  #app.dark-mode {
    background: #1a1a1a;
    color: #fff;
  }

  #app.dark-mode .instruction-block,
  #app.dark-mode .faq-item {
    background: #1a1a1a;
    color: #fff;
  }

  #app.dark-mode .main-description,
  #app.dark-mode .faq-list li {
    color: #e0e0e0;
  }

  #app.dark-mode .block-title,
  #app.dark-mode .faq-title,
  #app.dark-mode .section-title {
    color: #fff;
  }

  #app.dark-mode .faq-section {
    background-color: #111;
  } 

body.dark-mode .landing-page-container,
body.dark-mode .main-section,
body.dark-mode .about-section {
  background-color: #181818 !important;
  color: #fff !important;
}
body.dark-mode .main-title,
body.dark-mode .section-title,
body.dark-mode .block-title,
body.dark-mode .faq-title {
  color: #fff !important;
}
body.dark-mode .main-section::after,
body.dark-mode .about-section::before {
  background: #222 !important;
}
body.dark-mode .instruction-block,
body.dark-mode .faq-item {
  background: #232323 !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
body.dark-mode .faq-list li,
body.dark-mode .main-description,
body.dark-mode .about-text {
  color: #e0e0e0 !important;
}
body.dark-mode .site-footer {
  background: #181818 !important;
  color: #ccc !important;
  border-top: 1px solid #333 !important;
}
body.dark-mode .footer-section .section-title,
body.dark-mode .footer-section ul li a {
  color: #ccc !important;
}
body.dark-mode .footer-bottom p {
  color: #888 !important;
}
body.dark-mode a.link {
  color: #ffd924 !important;
} 
body.dark-mode .faq-section {
  background: #181818 !important;
}
body.dark-mode .section-title::after {
  background: #ffd924 !important;
  opacity: 1 !important;
}
body.dark-mode .faq-section,
body.dark-mode .faq-section * {
  color: #fff !important;
}
body.dark-mode .faq-list li::before {
  color: #ffd924 !important;
} 
body, .landing-page-container, .main-section, .main-title, .main-description, .section-title, .block-title, .instruction-block, .faq-section, .faq-item, .faq-title, .faq-list, .about-section, .about-text, .site-footer, .footer-content, .footer-section, .footer-bottom, .container {
  font-family: 'Inter', sans-serif !important;
} 
.footer-section {
  text-align: center;
} 

/* Font size and weight improvements */
.main-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
}

.block-title, .faq-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.main-description, .about-text, .faq-item p, .instruction-block p {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.7;
}

.faq-list li, .footer-section ul li {
  font-size: 1rem;
}

/* Spacing improvements */
.landing-section {
  padding: 70px 0;
}

.instruction-block, .faq-item {
  padding: 48px 32px;
  margin-bottom: 48px;
  border-radius: 20px;
}

/* Card hover effect */
.instruction-block:hover, .faq-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.01);
}

/* Footer improvements */
.footer-bottom p {
  font-size: 0.95rem;
  color: #aaa;
  letter-spacing: 0.2px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .main-title { font-size: 1.7rem; }
  .section-title { font-size: 1.3rem; }
  .landing-section { padding: 36px 0; }
  .instruction-block, .faq-item { padding: 20px 8px; }
} 

.block-title {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Remove the old yellow bar */
.block-title::before {
  display: none !important;
}

.block-title-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  min-width: 1.4em;
  min-height: 1.4em;
  border-radius: 50%;
  background: #ffd700;
  color: #181818;
  font-size: 1em;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-right: 0.5em;
}

@media (max-width: 600px) {
  .block-title-number {
    width: 1.6em;
    height: 1.6em;
    min-width: 1.6em;
    min-height: 1.6em;
    font-size: 1em;
  }
} 
body.dark-mode .instruction-block p,
body.dark-mode .main-description,
body.dark-mode .about-text {
  color: #e0e0e0 !important;
} 
body.dark-mode .block-title-number {
  background: #98985A !important;
  color: #fff !important;
}
body.dark-mode a.link {
  color: #fff !important;
}
body.dark-mode .footer-section .section-title::after,
body.dark-mode .section-title::after {
  background: #98985A !important;
} 


.faq-item p{
  color:rgb(255, 255, 255);
}
.instruction-block p{
  color:rgb(255, 255, 255);
}