
@font-face {
  font-family: 'Courier Prime';
  src: url('https://PalmPalm.b-cdn.net/SpaceMono-Regular.ttf') format('truetype');
}


body {
  background: url('https://PalmPalm.b-cdn.net/Final%2520Ilo%252011.24.png') center center fixed; 
  background-color: #DDC09A;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: 'Courier Prime', sans-serif;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 800px;
  margin: 0 auto;
  background-color: transparent;
  overflow: hidden;
}

@media (max-width: 600px) {
  .page-container {
    max-width: 100%;
    padding: 1rem;
    padding-top: 20px;
  }
}

.top-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column; 
  justify-content: top;
  background-color: #292826;
  padding: 3rem;
  border: none;
  border-radius: 0 0 6px 6px;
 
  @media (max-width: 600px) {
    padding: 1rem;
    justify-content: center;
  }
 }

.bottom-container {
  background-color: #F4DCCC;
  padding: 2rem;
  border: 4px solid #000000;
  border-top: none;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .bottom-container {
    padding: 1rem;
  }
}

.content-wrap {
  padding: 0;
}

.two-part-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
}

.left-container, .right-container {
  flex: 1;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.main-title {
  font-family: 'Courier Prime', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Styles */
.book-form {
  width: 100%;
  box-sizing: border-box;
}

.question-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .question-container {
    flex-direction: row;
  }

  .question-item {
    flex: 1;
  }
}

.question-item {
  display: flex;
  flex-direction: column;
}

.question-label {
  font-family: 'Courier Prime', sans-serif;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.book-form textarea {
  font-family: 'Courier Prime', sans-serif;
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #000000;
  border-radius: 4px;
  width: 100%;
  background-color: #FFFFFF;
  min-height: 120px;
  resize: vertical;
  box-sizing: border-box;
}

.book-form button[type="submit"] {
  font-family: 'Courier Prime', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  background-color: #DCDE7D;
  color: black;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.book-form button[type="submit"]:hover {
  background-color: #C5C76F;
}

/* Header Content */
.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
}

.header-illustration {
  flex: 1;
  max-width: 100%;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
}

.header-text {
  flex: 1;
  max-width: 100%;
}

.search-details {
  font-family: 'Courier Prime', monospace;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
  color: #D9FFDC;
  display: none;
}

.search-details .label {
  font-family: 'Courier Prime', monospace;
  color: #D9FFDC;
}

.search-details .seeking,
.search-details #desireDisplay {
  color: #F4DCCC;
}

.search-details strong {
  font-family: 'Courier Prime', monospace;
  color: #D9FFDC
}

/* Updated Cards Section */
.cards-wrapper {
  width: 90%;
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: top;
  margin: 0 auto 2rem auto;
  touch-action: pan-y pinch-zoom;
  z-index: 1;
}
.card * {
  user-select: none;
  -webkit-user-select: none;
}

/* Ensure content is scrollable */
.content-section {
  position: relative;
  z-index: 0;
}


.cards-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.card-wrapper {
  position: absolute;
  width: 100%;
  display: none;
  touch-action: pan-x;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.card-wrapper.active {
  display: block;
  opacity: 1;
}


.card {
  width: 100%;
  background-color: #F7F2E4;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 40px;
  box-sizing: border-box;
  transform-origin: center center; /* This helps maintain position during transform */
  will-change: transform; 
  transform-style: preserve-3d; /* Maintain 3D positioning */
  overflow-y: auto;
  backface-visibility: hidden; 
}


.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #F3F3ED;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}



.swipe-hint {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Courier Prime', sans-serif;
  font-size: 24px;
  color: #000;
  opacity: 0.7;
  pointer-events: none;
}
.navigation-container {
  position: relative;
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
}

.navigation-container .pointer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.navigation-container .pointer-left {
  left: 0px;
}

.navigation-container .pointer-right {
  right: 0px;
}

.cards-content {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 400px;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.navigation-container {
  position: relative;
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-text {
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.5rem;
  color: #F7F2E4;
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
}

@media (max-width: 768px) {
  .title-text {
    font-size: 1.25rem;
  }
}
/* Slide transitions */
.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

.slide-in-left {
  display: block;
  transform: translateX(-100%);
  opacity: 0;
}

.slide-in-right {
  display: block;
  transform: translateX(100%);
  opacity: 0;
}

/* Keywords */
.keywords-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  overflow-y: auto;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.keyword {
  padding: 6px 12px;
  font-size: 0.875rem;
  border: none;
  border-radius: 20px;
  color: #292826;
  display: inline-block;
  margin: 1px;
  white-space: nowrap;
}

.keyword:nth-child(10n+1) { background-color: rgba(253, 80, 102, 0.5); }
.keyword:nth-child(10n+2) { background-color: rgba(176, 219, 139, 0.5); }
.keyword:nth-child(10n+3) { background-color: rgba(181, 159, 41, 0.5); }
.keyword:nth-child(10n+4) { background-color: rgba(221, 192, 154, 0.5); }
.keyword:nth-child(10n+5) { background-color: rgba(227, 237, 86, 0.5); }
.keyword:nth-child(10n+6) { background-color: rgba(25, 151, 93, 0.5); }
.keyword:nth-child(10n+7) { background-color: rgba(67, 189, 172, 0.5); }
.keyword:nth-child(10n+8) { background-color: rgba(246, 160, 77, 0.5); }
.keyword:nth-child(10n+9) { background-color: rgba(254, 182, 183, 0.5); }
.keyword:nth-child(10n+10) { background-color: rgba(125, 210, 187, 0.5); }

/* Card Content */
.blind-date-blurb {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  overflow-y: auto;
  color: #292826;
}
@media (max-width: 768px) {
  .blind-date-blurb {
    font-size: 1rem;
  }
  .keyword {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .card {  
    padding: 20px;
  }
}

.metadata-divider {
  width: 100%;
  height: 2px;
  background-color: #292826;
  margin: 10px 0;
}

.metadata {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #292826;
  overflow-y: auto;
}

.cover-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.cover-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Buttons */
.button {
  background-color: #292826;
  color: #D9FFDC;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.25rem;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  justify-content: center;
}

.button:hover {
  transform: scale(1.05);
  background-color: #F0BEA4;
}

@media (max-width: 768px) {
  .button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.button.buy-now {
  width: 100%;
  padding: 12px;
  margin-top: auto;
  border: none;
  border-top: 2px solid #292826;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative;
  z-index: 10;
  background-color: #F7F2E4;
  color: #292826;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1rem;
}

.button.buy-now:hover {
  background-color: #F0BEA4;
  transform: scale(1.05);
}


.reveal-button {
  width: 100%;
  padding: 12px;
  margin-top: auto;
  border: none;
  border-top: 2px solid #292826;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative;
  z-index: 10;
  background-color: #F7F2E4;
  color: #292826;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1rem;
}

.reveal-button:hover {
  background-color: #F0BEA4;
  transform: scale(1.05);
}

.back-button {
  background-color: #f0f0f0;
  width: 100%;
  padding: 12px;
  margin-top: auto;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative;
  z-index: 10;
}

.back-button:hover {
  background-color: #e0e0e0;
}

/* Button Container */
.button-container {
  width: 90%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
}


.button.new-match,
.button.share {
  flex: 1;
  max-width: 45%;
}

.button.new-match {
  background-color: #292826;
  color: #F7F2E4;
  border: 2px solid #F7F2E4;
  border-radius: 4px;
  font-family: 'Courier Prime', sans-serif;
}

.button.new-match:hover {
  background-color: #292826;
  transform: scale(1.05);
}

.button.share {
  background-color: #F7F2E4;
  color: #292826;
  border: 2px solid #292826;
  border-radius: 4px;
  font-family: 'Courier Prime', sans-serif;
}

.button.share:hover {
  background-color: #C8EBCB;
  transform: scale(1.05);
}

/* Menu Button Styles */
.menu-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
}

.menu-icon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-icon .middle-line,
.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: #000;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-icon::before {
  transform: translateY(-8px);
}

.menu-icon::after {
  transform: translateY(8px);
}

.menu-button:hover .menu-icon .middle-line,
.menu-button:hover .menu-icon::before,
.menu-button:hover .menu-icon::after {
  background-color: #555;
}

.menu-button-text {
  display: none;
}

@media (min-width: 768px) {
  .menu-button {
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    clip-path: none;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .menu-button {
    top: 1rem;
    left: 1rem;
    padding: 0;
    clip-path: none;
  }
}

.menu-button:hover {
  transform: scale(1.05);
}

/* Close button styles */
.close-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  background-color: #000;
  transition: transform 0.3s;
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

/* Menu styles */
.main-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F5E4D6;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

.main-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.main-menu li {
  margin: 2rem 0;
}

.main-menu a {
  font-family: 'Courier Prime', sans-serif;
  font-size: 2rem;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: #555;
}

/* Error Handling */
.error {
  padding: 1rem;
  background: #FFCCCB;
  border: 1px solid #FF0000;
  border-radius: 4px;
  color: #FF0000;
  margin-bottom: 1rem;
}

/* Featured Links */
.featured-links {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #F5E4D6;
  border: 2px solid #000000;
  border-radius: 8px;
}

.featured-links h2 {
  font-family: 'Courier Prime', sans-serif;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: normal;
}

.featured-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.featured-link {
  background-color: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.featured-link p {
  margin-bottom: 0.5rem;
}

.featured-link .button {
  margin-top: auto;
}

.container.style1,
.container.style2 {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Landing page styles */
.landing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #D0F1EA;
  padding-top: 80px;
}

.landing-card {
  width: 100%;
  max-width: 1000px;
  background: #F7F2E4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #000000;
}

.illustration-container {
  background-image: url('https://palmpalm.b-cdn.net/landing-illustration.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  background-color: #E1F7E3;
  padding: 2rem;
  display: flex;
  align-items: center;
}

.landing-heading {
  max-width: 600px;
}

.landing-heading h1 {
  font-family: 'Courier Prime', sans-serif;
  font-size: 3rem;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.landing-content {
  background-color: #F5E4D6;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.landing-text {
  font-family: 'Courier Prime', monospace;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0;
  max-width: 600px;
}

.landing-button {
  background-color: #FFFF00;
  color: #000000;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.25rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-button:hover {
  transform: scale(1.05);
  background-color: #FFFF00;
}

/* Form page styles */
.form-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #D0F1EA;
  padding-top: 80px;
}

.form-card {
  width: 100%;
  max-width: 1000px;
  background: #F3F3ED;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 4px solid #000000;
}

.form-top {
  background-color: #F3F3ED;
  padding: 3rem;
  position: relative;
}

.form-divider {
  height: 4px;
  background-color: #000000;
  width: 100%;
}

.form-bottom {
  background-color: #F3F3ED;
  padding: 2rem 3rem;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.example-link {
  color: #000;
  text-decoration: underline;
  font-family: 'Courier Prime', monospace;
}

.example-link:hover {
  text-decoration: none;
}

.inputs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-group label {
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
}

.input-group textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border: 3px solid #000000;
  border-radius: 12px;
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  resize: none;
  background-color: #FFFFFF;
}

.input-group textarea:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.match-button {
  background-color: #FFFF00;
  color: #000000;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.25rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  min-width: 160px;
}

.match-button:hover {
  transform: scale(1.05);
}

/* Card swiping touch prevention */
.card-wrapper * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.card-wrapper > * {
  animation: fadeIn 0.5s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .landing-heading h1 {
    font-size: 2rem;
  }

  .landing-content {
    flex-direction: column;
    text-align: center;
  }

  .landing-text {
    font-size: 1.25rem;
  }

  .illustration-container {
    min-height: 300px;
  }

  .form-top {
    padding: 2rem;
  }

  .form-bottom {
    padding: 1.5rem 2rem;
  }

  .form-title {
    font-size: 2rem;
  }

  .inputs-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .input-group textarea {
    height: 120px;
  }

  .form-description {
    font-size: 1rem;
  }

  .match-button {
    width: 100%;
  }
  .page-container {
    padding: 1rem;
    padding-top: 20px;
  }
  .top-container,
  .bottom-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .landing-heading h1 {
    font-size: 1.5rem;
  }

  .landing-text {
    font-size: 1rem;
  }

  .landing-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .form-top {
    padding: 1.5rem;
  }

  .form-bottom {
    padding: 1rem 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .reader-illustration {
    width: 40px;
  }
}

/* Menu Page Styles */
.menu-page-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #F5E4D6;
}

.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.main-menu li {
  margin: 2rem 0;
}

.main-menu a {
  font-family: 'Courier Prime', sans-serif;
  font-size: 2rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-menu a:hover {
  color: #666;
}

/* Adjust containers to not cover the menu button */
.landing-container,
.form-container,
.page-container {
  padding-top: 20px;
}

/* Index Page Styles */
.top-container.index-top-container {
  flex: 0 0 auto;
  position: relative;
  background-image: url('https://palmpalm.b-cdn.net/landing-illustration.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  background-color: #E1F7E3;
  padding: 2rem;
  border: 4px solid #000000;
  border-bottom: none;
  border-radius: 24px 24px 0 0;
}

.index-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.index-illustration {
  display: none;
}

.landing-heading {
  max-width: 600px;
  font-family: 'Courier Prime', sans-serif;
  font-size: 3rem;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.bottom-container.index-bottom-container {
  flex: 0 0 auto;
  background-color: #F5E4D6;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 4px solid #000000;
  border-top: none;
  border-radius: 0 0 24px 24px;
}

.landing-text {
  font-family: 'Courier Prime', monospace;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0;
  max-width: 60%;
}

.landing-button {
  background-color: #FFFF00;
  color: #000000;
  font-family: 'Courier Prime', sans-serif;
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-block;
}

.landing-button:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .landing-heading {
    font-size: 2rem;
    max-width: 80%;
  }

  .landing-text {
    font-size: 1.25rem;
    max-width: 100%;
  }

  .index-bottom-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-button {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .landing-heading {
    font-size: 1.5rem;
    left: 1rem;
  }

  .landing-text {
    font-size: 1rem;
  }

  .index-bottom-container {
    padding: 1rem;
  }
}

/* Updated Form Page Layout Styles */
.form-top-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: min-content min-content;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

.form-illustration {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-text {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin-top: auto;
}

.form-input-left, .form-input-right {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding-right: 2rem;
}

.form-input-left {
  grid-row: 1;
}

.form-input-right {
  grid-row: 2;
}

.form-bottom-container {
  display: flex;
  justify-content: flex-end;
  padding: 2rem;
}

@media (max-width: 768px) {
  .landing-heading {
    font-size: 2rem;
  }
  .landing-text {
    font-size: 1.25rem;
  }
  .form-top-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .form-illustration,
  .form-text,
  .form-input-left,
  .form-input-right {
    grid-column: 1;
    width: 100%;
    padding-right: 0;
  }

  .form-illustration {
    grid-row: 1;
  }

  .form-text {
    grid-row: 2;
  }

  .form-input-left {
    grid-row: 3;
  }

  .form-input-right {
    grid-row: 4;
  }
}

@media (max-width: 480px) {
  .landing-heading {
    font-size: 1.5rem;
  }
  .landing-text {
    font-size: 1rem;
  }
  .landing-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Navigation buttons */
.desktop-nav-button {
  position: absolute;
  top: 10px;
  background: transparent;
  color: #292826;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

/* Bookmark icon */
.bookmark-icon {
  position: absolute;
  top: 0px;
  right: 10px;
  width: 20px;
  height: 30px;
  background-color: #292826;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%);
}
@media (min-width: 768px) {
  .bookmark-icon {
    position: absolute;
  top: 0px;
  right: 20px;
  width: 40px;
  height: 60px;
  background-color: #292826;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%);
  }
}
/* Add these new styles for the pointer images */
.pointer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  z-index: 20;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
@media (max-width: 768px) {
  .pointer-nav {
    width: 40px !important;
    height: 40px !important;
  }
}

.pointer-left {
  left: 0px;
  background-image: url('https://PalmPalm.b-cdn.net/leftpoint854457.png');
  display: none;
}

.pointer-right {
  right: -0px;
  background-image: url('https://PalmPalm.b-cdn.net/rightpoint854457.png');
}


.card {
  position: relative;
  width: 100%;
  height: 100%;

  transition: transform 0.6s;
}




.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #D9FFDC;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}



/* Remove desktop nav buttons as we're using pointers instead */
.desktop-nav-button {
  display: none;
}

