/* ================================
   Global Imports & Resets
================================ */

@import url('https://fonts.googleapis.com/css2?family=Capriola&family=Inter:wght@300;400&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  overscroll-behavior-y: none; /* disables pull-to-refresh / overscroll */
  overflow-x: hidden; /* prevents entire page background from scrolling horizontally */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}


/* ================================
   Basic footer styles
================================ */

.footer {
  background: #f5f5f5; /* your footer background */
  padding: 20px;
  text-align: center;
}

/* ================================
   Modal Styles
================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(85, 75, 75, 0.8);
}

.modal-content {
  background: #000;
  color: #2e2c2c;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

/* ================================
   Card Scroll & Sign Card Styles
================================ */

.card-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  justify-content: center;
}

.sign-card {
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  background: #111;
  transition: transform 0.2s, border-color 0.2s;
  text-align: center;
}

.sign-card:hover {
  transform: scale(1.05);
}

.sign-card p {
  margin: 5px 0 0 0;
  font-size: 25px;
  color: #fff;
}

.sign-card img {
  width: 60px;
  height: 60px;
}

/* ================================
   Onboarding Button
================================ */

.onboarding-button {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  margin-top: 50px;
  font-size: 16px;
  cursor: pointer;
}

.onboarding-button:hover {
  background: #222;
}


/* ================================
   Lucky Cat Page Styles
================================ */

body.luckycat {
  background-color: #0C0C0C;
}

.luckycat-container {
  background-color: #0C0C0C;
  color: white;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.luckycat-title {
  font-family: 'Capriola', sans-serif;
  font-size: 45px;
  margin-bottom: 40px;
}

.luckycat-button {
  background-color: black;
  color: white;
  border: 2px solid white;
  font-family: 'Capriola', sans-serif;
  font-size: 20px;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 40px;
  text-decoration: none;
}

.luckycat-button:hover {
  background-color: white;
  color: black;
}

.luckycat-image-wrapper {
  position: relative;
  width: 500px;
  max-width: 80%;
}

.luckycat-base-img {
  width: 100%;
  display: block;
}

.luckycat-answer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Removed fade transition for instant display */
}

@media screen and (min-width: 768px) {
  .luckycat-image-wrapper {
    width: 800px;
  }
}


/* ================================
   Typography
================================ */

h1 {
  font-family: 'Capriola', sans-serif;
  font-size: 45px;
}

h2 {
  font-family: 'Capriola', sans-serif;
  font-size: 32px;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
}

p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
}


.membership-form button {
  color: black !important;
}

.membership-cta a {
  color: black;
  text-decoration: none;
}

.signs-section {
  padding: 2rem 1rem;
  background: #000 url('/static/noise.png');
  background-size: cover;
  background-repeat: repeat;
  text-align: center;
}

.signs-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.signs-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.sign-card {
  position: relative;
  flex: 0 0 auto;
  background: black;
  border: none;
  cursor: pointer;
  width: 120px;
  height: 160px;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  overflow: hidden;
}

.sign-card:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.sign-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  z-index: 1;
}

.sign-name {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  z-index: 1;
}

/* Shiny moving noisy gradient overlay */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: url('/static/noise.png'), linear-gradient(45deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0) 75%);
  background-size: cover;
  animation: shiny 3s linear infinite;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

@keyframes shiny {
  0% {
    transform: translate(-25%, -25%) rotate(0deg);
  }
  100% {
    transform: translate(-25%, -25%) rotate(360deg);
  }
}


/* ================================
   Navbar
================================ */

.navbar {
  background-color: #D1D2CA;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.navbar-title {
  font-family: 'Capriola', sans-serif;
  font-size: 32px;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.navbar-title-link {
  text-decoration: none;
  color: black;
}

.nav-icon {
  width: 49px;
  height: 49px;
  flex-shrink: 0;
}

/* ================================
   Footer
================================ */

.footer {
    background-color: #F5F5F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    border-radius: 29px 29px 0 0;
  }
  
  .footer-logo {
    font-family: var(--font-capriola);
    font-size: 32px;
    text-decoration: none;
    color: black;
  }
  
  .footer-icon {
    width: 49px;
    height: 49px;
  }

  /* ================================
Payment
================================ */

  /* Modal overlay */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Sit on top of page */
    z-index: 9999; /* Ensure on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity for overlay effect */
  }
  
  /* Modal content */
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Centered vertically with margin from top */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Default width on mobile */
    max-width: 500px; /* Max width on desktop */
    border-radius: 10px;
  }
  
  /* Close button styling */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }  

/* ================================
   Mobile Menu
================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: #F5F5F5;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 999;
  padding-top: 100px;
  border-radius: 23px 0 0 23px;
  border-left: 3px solid black;
  overflow: hidden;
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  border-bottom: 1px solid black;
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul li a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 20px;
}

.mobile-menu ul li a h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.mobile-menu ul li a:hover {
  background-color: #eaeaea;
}

/* ================================
   Home Frame
================================ */

.home-frame {
  max-width: 350px;
  background: #0C0C0C;
  border-radius: 29px;
  margin: 10px auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame-content {
  width: 100%;
  text-align: center;
  color: #FFFFFF;
}

.home-title {
  font-family: 'Capriola', sans-serif;
  font-size: 35px;
  line-height: 44px;
  margin-bottom: 40px;
}

.home-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 40px;
}

.home-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.home-star {
  width: 24px;
  height: 24px;
}

.home-coin {
  width: 290px;
  margin-top: 40px;
}

/* ================================
   Astrology Info Section
================================ */

.astrology-info-section {
  width: 80%;
  max-width: 800px;
  margin: 70px auto 0 auto;
  text-align: left;
}

.astrology-info-section h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 45px; /* matches your existing h2 */
}

.astrology-info-section h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 24px; /* matches your existing h3 */
}

.astrology-info-section p {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 16px; /* matches your existing p */
  line-height: 1.4;
}

/* ================================
   Mini Tarot Page Styles
================================ */

.tarot-message {
  font-size: 25px;
  margin-top: 20px;
  margin-bottom: 50px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  color: white;
}

.tarot-card {
  background-color: #111;
  color: white;
  border: 1px solid white;
  border-radius: 20px;
  padding: 20px;
  min-width: 200px;
  text-align: center;
}

.tarot-summary {
  margin-top: 30px;
  font-size: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.tarot-summary p {
  margin-bottom: 20px;
  font-size: 25px;
}

.minitarot-page {
  background-color: #0C0C0C;
  color: rgb(255, 255, 255);
}

.minitarot-page .luckycat-button {
  background-color: #222; /* dark subtle background */
  color: rgb(255, 255, 255);
  margin-top: 30px;
  margin-bottom: 30px;
  border: 1px solid rgb(183, 178, 168);
}

.minitarot-page .luckycat-button:hover {
  background-color: rgb(43, 63, 63);
  color: rgb(228, 228, 228);
}


.tarot-loading {
  display: none;
}

.tarot-summary {
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 20px;
  font-size: 25px;
  display: none;
  color: rgb(221, 212, 212);
  text-align: Left;
}

.tarot-results {
  display: none;
  width: 80%;
}

.tarot-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.tarot-card {
  background-color: #111;
  color: rgb(221, 212, 212);
  border: 1px solid rgb(55, 52, 52);
  border-radius: 20px;
  padding: 20px;
  min-width: 200px;
  text-align: center;
}

.tarot-card img {
  width: 100px;
  margin-bottom: 10px;
}

.tarot-message {
  min-height: 10px;
}


/* ================================
   Carousel Section
================================ */

.carousel-section {
  padding: 45px 20px;
}

.carousel-title {
  font-family: 'Capriola', sans-serif;
  font-size: 35px;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px; /* align title with cards */
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-left: 20px;
}

.carousel-card {
  flex: 0 0 80%;
  background: #fff;
  border-radius: 29px;
  padding: 0px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.carousel-image {
  width: 100%;
  border-radius: 29px;
  margin-bottom: 10px;
}

.carousel-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.carousel-card p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 19px;
}

/* ================================
   Wisdom Frame Section
================================ */

.wisdom-frame {
  max-width: 397px;
  background: #D1D2CA;
  border-radius: 29px;
  margin: 50px auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wisdom-content {
  width: 100%;
  text-align: center;
  color: #0C0C0C;
}

.wisdom-title {
  font-family: 'Capriola', sans-serif;
  font-size: 35px;
  line-height: 38px;
  margin-bottom: 20px;
}

.wisdom-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.wisdom-image {
  width: 100%;
  border-radius: 0px;
  margin-top: 0px;
  object-fit: cover;
}

/* ================================
   Media Queries
================================ */

/* Desktop adjustments */
@media screen and (min-width: 768px) {
  .navbar {
    height: 120px;
  }

  .navbar-title {
    font-size: 45px;
  }

  .home-frame {
    max-width: 1200px;
    padding: 60px 40px;
  }

  .home-title {
    font-size: 70px;
    line-height: 100px;
  }

  .home-subtitle {
    font-size: 20px;
    line-height: 26px;
  }

  .home-rating {
    font-size: 20px;
  }

  .home-star {
    width: 30px;
    height: 30px;
  }

  .home-coin {
    width: 800px;
  }

  .carousel-section {
    padding: 100px 100px;
  }
  
  .carousel-title {
    font-family: 'Capriola', sans-serif;
    font-size: 35px;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px; /* align title with cards */
  }
  
  .carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 20px;
  }
  
  .carousel-card {
    flex: 0 0 50%;
    background: #fff;
    border-radius: 29px;
    padding: 0px;
    box-sizing: border-box;
    scroll-snap-align: start;
  }
  
  .carousel-image {
    width: 100%;
    border-radius: 29px;
    margin-bottom: 10px;
  }
  
  .carousel-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0;
  }
  
  .carousel-card p {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    line-height: 40px;
  }
  
  /* ================================
     Wisdom Frame Section
  ================================ */
  
  .wisdom-frame {
    max-width: 1200px;
    background: #D1D2CA;
    border-radius: 29px;
    margin: 50px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .wisdom-content {
    width: 80%;
    text-align: center;
    color: #0C0C0C;
  }
  
  .wisdom-title {
    font-family: 'Capriola', sans-serif;
    font-size: 65px;
    line-height: 80px;
    margin-bottom: 20px;
  }
  
  .wisdom-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 45px;
    line-height: 55px;
  }
  
  .wisdom-image {
    width: 100%;
    border-radius: 0px;
    margin-top: 0px;
    object-fit: cover;
  }

}

/* Small mobile adjustments */
@media screen and (max-width: 350px) {
  .navbar-title {
    font-size: 20px;
  }

  .nav-icon {
    width: 35px;
    height: auto;
  }

  .navbar {
    padding: 0 10px;
  }
}

.membership-container {
    width: 100%;
    max-width: none; /* remove max-width constraint */
    margin: 0;
    padding: 20px;
    background-color: #D1D2CA;
    min-height: 100vh;
    box-sizing: border-box;
  }  
  
  .membership-title {
    font-family: 'Capriola', sans-serif;
    font-size: 45px;
    margin: 40px 0 20px 0;
    text-align: center; /* centers the text */
  }  
  
  .membership-box {
    background-color: #0C0C0C;
    border-radius: 29px;
    padding: 70px 40px;
  }
  
  .membership-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .membership-form input {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
  }
  
  .membership-form button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #D1D2CA;
    font-family: 'Capriola', sans-serif;
    font-size: 18px;
    cursor: pointer;
  }
  
  .membership-cta {
    font-family: 'Inter', sans-serif;
    text-align: left;
    font-size: 25px;
    margin: 80px 0 20px 20px; /* bigger top margin and left margin */
  }
  
  .join-button {
    display: inline-block;
    background-color: black;
    color: white;
    text-decoration: none;
    font-family: 'Capriola', sans-serif;
    font-size: 18px;
    text-align: center;
    padding: 12px 30px;
    border-radius: 30px;
    margin: 0 0 20px 20px; /* align left with text */
  }  
  

  @media screen and (min-width: 768px) {
    .membership-container {
      max-width: none; /* remove max-width constraint */
      margin: 0 auto;
      padding: 40px 20px;
    }
  
    .membership-title {
      font-size: 45px;
      margin: 60px 0 30px 0;
    }
  
    .membership-box {
      max-width: 500px; /* restrict width of black box */
      margin: 0 auto 40px auto;
      padding: 40px 30px;
      border-radius: 29px;
    }
  
    .membership-form input {
      font-size: 18px;
      padding: 12px;
    }
  
    .membership-form button {
      font-size: 20px;
      padding: 14px;
    }
  
    .membership-cta {
        font-family: 'Inter', sans-serif;
        text-align: center; /* centers the text */
        font-size: 30px;
        margin: 100px 0 40px 0;
        margin-top: 40px;
  }
  .join-button {
    display: block; /* makes margin auto center properly */
    width: fit-content; /* button width fits content */
    margin: 0 auto; /* centers horizontally with no top margin */
    background-color: black;
    color: white;
    text-decoration: none;
    font-family: 'Capriola', sans-serif;
    font-size: 20px;
    text-align: center;
    padding: 14px 30px;
    border-radius: 30px; /* rounded corners */
  }

  .membership-cta a {
    font-family: 'Inter', sans-serif;
    font-size: 25px; /* same as .membership-cta */
    color: black;
    text-decoration: none; /* remove underline */
  }
  
  .membership-cta a:hover {
    text-decoration: underline; /* optional: underline on hover for clarity */
  }
  
  @media screen and (max-width: 350px) {
    .membership-cta {
      font-size: 18px;
      text-align: center;
      margin: 40px 0 20px 0; /* reduce left margin for mobile */
    }
  
    .join-button {
      display: block;
      margin: 20px auto; /* center button below text */
    }
  
    .membership-cta a {
      display: block;
      text-align: center;
      font-size: 18px;
      margin: 20px 0;
    }
  }
 /* ================================
Lucky cat
================================ */
  .luckycat-container {
    background-color: #0C0C0C; /* black background */
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
  }
  
  .luckycat-container h1 {
    font-family: 'Capriola', sans-serif;
    font-size: 35px;
    margin-bottom: 20px;
  }
  
  .luckycat-container p {
    font-size: 18px;
  }
  

  
    
  
  