/* General Body Styles */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #121212; /* Dark, moody background for a classy vibe */
  color: #f1f1f1; /* Soft white text for readability */
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
}

/* Container to center content */
.container {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Heading Styles */
h1 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px; /* Elegant letter spacing */
}

p {
  font-size: 1.2em;
}

/* Intro Section */
.intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #b0b0b0; /* Soft grey for less contrast */
  font-style: italic;
  line-height: 1.4;
}

/* Settings Section */
.settings {
  margin-bottom: 30px;
}

label {
  font-size: 1.1em;
  color: #f8f1f1;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

select {
  padding: 10px;
  font-size: 1em;
  border-radius: 8px;
  margin-top: 10px;
  background-color: #1d1d1d; /* Dark background for a sleek look */
  color: #fff;
  border: none;
  width: 100%;
  transition: background-color 0.3s ease;
}

select:hover {
  background-color: #333; /* Subtle hover effect */
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 10px;
}

.feature {
  background-color: #1d1d1d; /* Dark background for depth */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}
.feature:hover {
  transform: translateY(-5px);
}

/* Buttons */
button {
  background-color: #f0f0f0;
  border: 0;
  color: #242424;
  border-radius: 0.5em;
  font-size: 1.2rem;
  padding: 0.375em 1em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #fff;
  box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
    0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
    0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #d3d3d3;
  transition: 0.15s ease;
  cursor: pointer;
  margin-bottom: 15px;
}

button:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
    0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
    0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #d3d3d3;
}

/* Footer */
footer {
  background-color: #121212; /* Keep the dark, elegant background */
  padding: 20px;
  text-align: center;
  margin-top: 10px;
}

.footer-text {
  color: #f8f1f1;
  font-size: 1.2em;
  margin: 10px 0;
  font-style: italic;
}

/* Spin Text Container */
.spin-text-container {
  width: 90%; /* A little more width for a modern feel */
  height: 50px;
  margin: 30px auto;
  overflow: hidden;
  position: relative;
  background-color: #333333; /* Deep, sensual background */
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Spinning Text */
.spin-text {
  position: absolute;
  font-weight: 600;
  color: #f1f1f1; /* Light, soft text */
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Fade Transition on Text Change */
.spin-text.show {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}


/* Style for the quote section */
.quote-section {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  font-style: italic;
  text-align: center;
  position: relative;
  border: 2px solid #1d1d1d;
}

.quote-text {
  font-size: 1.5em;
  color: #f8f1f1;
  font-weight: bold;
  transition: opacity 0.5s ease-in-out; /* Smooth transition for fading in and out */
  letter-spacing: 1px;
}

/* Age Modal Styles */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* High z-index to overlay everything */
}

.age-modal-content {
  background-color: #1d1d1d; /* Dark background to match theme */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #f8f1f1; /* Soft white text */
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Dice Styling */
.dice-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 20px;
}

.dice {
  width: 100px;
  height: 100px;
  background-color: #333333;
  color: white;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-out;
  text-align: center;
}

/* Dice Rolling Animation */
@keyframes rollDice {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.rolling {
  animation: rollDice 1s ease-out;
}

/* General modal styles */
#nudgeModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* To overlay everything */
}

.nudge-modal-content {
  background-color: #1d1d1d; /* Dark background to match theme */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #f8f1f1; /* Soft white text */
  width: 90%;
  max-width: 500px; /* Same max width as other components */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Nudge Display Centering */
.nudge-display {
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 0 auto; /* Center horizontally */
  color: #f1f1f1; /* Text color */
  font-size: 2em; /* Increased text size for nudges */
  font-weight: bold; /* Make text bold for emphasis */
}

/* Loading Bar (smaller and pink) */
#loadingBarContainer {
  width: 80%;
  max-width: 500px;
  height: 5px; /* Thinner loading bar */
  background-color: #444;
  border-radius: 5px;
  margin-top: 10px;
  margin: 0 auto; /* Center horizontally */
}

#loadingBar {
  height: 100%;
  width: 0;
  background-color: #e94560; /* Same pink as buttons */
  border-radius: 5px;
  transition: width 0.1s linear;
}

/* FAQ Section Styles */
#faq {
  background-color: #1d1d1d;
  color: #f8f1f1;
  padding: 20px;
  text-align: center;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

#faq h2 {
  text-transform: uppercase;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #1c1c1c;
  border: 0;
  color: #242424;
  border-radius: 0.5em;
  padding: 0.375em 1em;
  text-shadow: 0 0.0625em 0 #fff;
  color: #ffffff;
  box-shadow: inset 0 0.0625em 0 0 #1c1c1c, 0 0.0625em 0 0 #141414,
  0 0.125em 0 0 #141414, 0 0.25em 0 0 #131313, 0 0.3125em 0 0 #0f0f0f,
  0 0.375em 0 0 #0e0e0e, 0 0.425em 0 0 #080808, 0 0.425em 0.5em 0 #444444;
}

.faq-question:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #1c1c1c, 0 0.03em 0 0 #141414,
    0 0.0625em 0 0 #141414, 0 0.125em 0 0 #131313, 0 0.125em 0 0 #0f0f0f,
    0 0.2em 0 0 #0e0e0e, 0 0.225em 0 0 #080808, 0 0.225em 0.375em 0 #444444;
}

.faq-answer {
  display: none;
  padding-top: 10px;
  font-size: 1.1em;
  line-height: 1.1;
  color: #b0b0b0;
  text-align: left;
  margin-bottom: 10px;
}

.faq-answer p {
  margin: 0;
}

/* Show FAQ answer on click */
.faq-item.active .faq-answer {
  display: block;
}

/* Add this to your site's CSS */
.custom-link {
  color: #a73144;  /* Match the theme color (use a color that matches your scheme) */
  text-decoration: none;  /* Remove underline */
  font-weight: bold;  /* Make the text bold */
  transition: color 0.3s ease;  /* Smooth transition for hover effect */
}

.custom-link:hover {
  color: #ff6363;  /* Change color when hovered (use a lighter or contrasting color) */
  text-decoration: underline;  /* Optional: add underline on hover */
}

/* Styling for the Edging Timer */
.edging-timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #1c1c1c;
  border-radius: 10px;
  width: 300px;
  margin: 0 auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.timer-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.time-input {
  margin-bottom: 15px;
  text-align: center;
}

#time-input {
  width: 60px;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border: none;
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
}

.timer-display {
  font-size: 2em;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  background-color: #333333;
  width: 100%;
  text-align: center;
}

.pulsing-circle {
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 50%;
  margin-bottom: 15px;
  opacity: 0.7; /* Default opacity */
  transform: scale(1); /* Default size */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

/* This animation applies when the active class is added */
.pulsing-circle.active {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.instructions {
  font-size: 1em;
  color: #e0245e;
  margin-bottom: 15px;
  text-align: center;
}

#reset-button:disabled {
  background-color: #1c1c1c;
  cursor: not-allowed;
  color: #ffffff;
  box-shadow: inset 0 0.0625em 0 0 #1c1c1c, 0 0.0625em 0 0 #141414,
  0 0.125em 0 0 #141414, 0 0.25em 0 0 #131313, 0 0.3125em 0 0 #0f0f0f,
  0 0.375em 0 0 #0e0e0e, 0 0.425em 0 0 #080808, 0 0.425em 0.5em 0 #444444;
}

#reset-button:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #1c1c1c, 0 0.03em 0 0 #141414,
    0 0.0625em 0 0 #141414, 0 0.125em 0 0 #131313, 0 0.125em 0 0 #0f0f0f,
    0 0.2em 0 0 #0e0e0e, 0 0.225em 0 0 #080808, 0 0.225em 0.375em 0 #444444;
}

header nav li {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

header nav ul li a {
  padding: 12px 24px;
  background-color: #a73144; /* Romantic accent color */
  color: white;
  border: none;
  font-size: 1.2em;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: inset 0 0.0625em 0 0 #a73144, 0 0.0625em 0 0 #a73144,
  0 0.125em 0 0 #972c3e, 0 0.25em 0 0 #8a2838, 0 0.3125em 0 0 #802534,
  0 0.375em 0 0 #681e2a, 0 0.425em 0 0 #641d29, 0 0.425em 0.5em 0 #505050;
}

header nav ul li a:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #a73144, 0 0.03em 0 0 #a73144,
    0 0.0625em 0 0 #972c3e, 0 0.125em 0 0 #8a2838, 0 0.125em 0 0 #802534,
    0 0.2em 0 0 #681e2a, 0 0.225em 0 0 #641d29, 0 0.225em 0.375em 0 #505050;
}

.header{
  border-bottom: 1px solid #E2E8F0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #101010;
}

.nav-menu {
  display: flex;
  justify-content:
  space-between;
  align-items: center;
  padding: 0;
}

.nav-menu.active {
  left: 0;
}

.nav-logo {
font-size: 2.1rem;
font-weight: 900;
color: #e94560;
text-decoration: none;
padding: 20px;
}

input[type="text"] {
  padding: 8px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.itinerary-container h4 {
  margin-bottom: 10px;
  color: #555;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.itinerary-container ul {
  list-style-type: none;
  padding-left: 0;
}

.itinerary-container li {
  background-color: #333333;
  margin: 5px 0;
  padding: 8px 10px;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.itinerary-container li:hover {
  transform: translateY(-3px);
}

#session-time {
  width: 60px;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border: none;
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
}

.session-options {
  margin-top: 10px;
  margin-bottom: 10px;
}

#num-items {
  width: 60px;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border: none;
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
  display: flex;
  margin: 0 auto;
  margin-bottom: 10px;
}

#custom-toys {
  width: 90%; /* A little more width for a modern feel */
  margin: 30px auto;
  overflow: hidden;
  position: relative;
  background-color: #333333; /* Deep, sensual background */
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

#keywords-input {
  width: 90%; /* A little more width for a modern feel */
  margin: 30px auto;
  overflow: hidden;
  position: relative;
  background-color: #333333; /* Deep, sensual background */
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

#numPhases {
  width: 60px;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border: none;
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
  display: flex;
  margin: 0 auto;
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

/* Style the Phase Name inputs */
input[id^="phase-name-"] {
  width: 90%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #ccc; /* Change this to match your theme's border color */
  border-radius: 5px; /* Optional for rounded corners */
  font-size: 16px; /* Adjust to fit your theme */
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
  box-sizing: border-box; /* Ensures padding does not affect width */
}

/* Style the Phase Duration (Time) inputs */
input[id^="phase-duration-"] {
  width: 90%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #ccc; /* Border color */
  border-radius: 5px;
  font-size: 16px; /* Adjust as needed */
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
  box-sizing: border-box;
}

/* Style the Phase Notes Textarea */
textarea[id^="phase-notes-"] {
  width: 90%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #ccc; /* Border color */
  border-radius: 5px;
  font-size: 16px; /* Font size */
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
  box-sizing: border-box;
  resize: vertical; /* Allow users to resize vertically */
}

/* Style the container that holds the phase inputs */
#phases-container {
  margin-top: 20px;
}

#phases-container input, #phases-container textarea {
  margin-bottom: 15px; /* Space between each input */
}

.suggestions {
  width: 90%; /* A little more width for a modern feel */
  height: 50px;
  margin: 30px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
  background-color: #333333; /* Deep, sensual background */
  color: #ffffff;
}

mark {
  background: linear-gradient(-100deg, hsla(0, 0%, 40%, 0.3), hsla(0, 0%, 40%, 0.7) 95%, hsla(0,0%,40%,.1));
  border-radius: 5px;
  padding: 5px;
  border: 2px solid #121212;
  color: white;
}

/* Category Styling */
.category {
  margin-bottom: 30px;
}

/* List Styling */
.ranked-list {
  list-style-type: none;
  padding: 0;
}

.ranked-list li {
  background-color: #1d1d1d; /* Dark background for depth */
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  gap: 30px;
  margin-top: 10px;
}

.ranked-list li:hover {
  transform: translateY(-5px);
}

/* Item Header (Rank and Button) */
.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rank {
  font-weight: bold;
  padding: 10px 15px;
}

.expand-btn {
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border: 0;
  color: #242424;
  border-radius: 0.5em;
  font-size: 1.2rem;
  padding: 0.375em 1em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #fff;
  box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
    0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
    0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #d3d3d3;
  transition: 0.15s ease;
  cursor: pointer;
}

/* Item Details */
.item-details {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.item-details p {
  margin: 8px 0;
}

.item-details img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
}

.buy-btn {
  font-weight: 500;
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  margin-top: 10px;
  background-color: #31a74b; /* Romantic accent color */
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: inset 0 0.0625em 0 0 #31a74b, 0 0.0625em 0 0 #31a74b,
  0 0.125em 0 0 #2c9743, 0 0.25em 0 0 #2a8f40, 0 0.3125em 0 0 #2b9141,
  0 0.375em 0 0 #258039, 0 0.425em 0 0 #257c38, 0 0.425em 0.5em 0 #505050;
}

.buy-btn:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #31a74b, 0 0.03em 0 0 #31a74b,
    0 0.0625em 0 0 #2c9743, 0 0.125em 0 0 #2a8f40, 0 0.125em 0 0 #2b9141,
    0 0.2em 0 0 #258039, 0 0.225em 0 0 #257c38, 0 0.225em 0.375em 0 #505050;
}

#list-name {
  text-align: left;
  text-transform: uppercase;
}

#highlightButton {
  background-color: #31a74b; /* Romantic accent color */
  color: white;
  border: none;
  box-shadow: inset 0 0.0625em 0 0 #31a74b, 0 0.0625em 0 0 #31a74b,
  0 0.125em 0 0 #2c9743, 0 0.25em 0 0 #2a8f40, 0 0.3125em 0 0 #2b9141,
  0 0.375em 0 0 #258039, 0 0.425em 0 0 #257c38, 0 0.425em 0.5em 0 #505050;
}

#highlightButton:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #31a74b, 0 0.03em 0 0 #31a74b,
    0 0.0625em 0 0 #2c9743, 0 0.125em 0 0 #2a8f40, 0 0.125em 0 0 #2b9141,
    0 0.2em 0 0 #258039, 0 0.225em 0 0 #257c38, 0 0.225em 0.375em 0 #505050;
}

.pros-cons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.pros, .cons {
  width: 48%;
}

.pros ul, .cons ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pros li, .cons li {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
  box-shadow: none;
}

.pros li {
  color: #4caf50; /* Green for Pros */
}

.cons li {
  color: #f44336; /* Red for Cons */
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  select {
    width: 100%;
  }
  .nav-menu {
    top: 5rem;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin: 0;
  }
  .menu-container .navbar {
    display: none;
  }
  .menu-container.active .navbar {
    display: block;
  }
  .hamburger {
    display: block;
    background-color: #ffffff;
    cursor: pointer;
  }
}