:root {
    --pink: #B33B71;
    --teal: #1A5244;
    --white: #FFFFFF;
    --black: #000000;
    --warmwhite: #FAFAF8;
    --beige: #F6EDE7;
    --sage: #E8F0ED;
    --gold: #C19A6B;
}

.event-block, .mood-block { display: none; }

body {
  /*background: linear-gradient(145deg, #E8F0ED, #F6EDE7);*/
  background-color: var(--warmwhite);
    color: var(--black);
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    margin: 0;
}

.text-link {
  color:var(--pink);
  text-decoration: underline;
}

.text-link:hover {
  color:var(--teal);
}

.hero-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
    max-width: 100%;
    min-height: 60vh;
}

.hero-title {
    color: var(--pink);
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: var(--teal);
    font-size: 1.3rem;
    text-align: center;
    font-weight: 500;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 2rem;
}

.hero-btn:hover {
  background: var(--teal);
}

.event-block, .mood-block {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.event-heading, .mood-heading {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--pink);
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    justify-items: center;
    margin-bottom: 3.5rem;
}

.event-button, .mood-button {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--teal);
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    transition: background 0.18s, color 0.18s, border 0.18s;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(179,59,113,0.04);
}
.event-button:hover, .event-button.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--gold);
}

.mood-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.mood-button:hover, .mood-button.active {
    background: var(--teal);
    color: var(--white);
}

.mood-button {
    width: 100%;
    max-width: unset;
    min-width: 0;
    box-sizing: border-box;
}

.prompt-section {
    padding: 1.5rem;
    max-width: 650px;
    min-height: 400px;
    margin: 2.2rem auto 0 auto;
    text-align: center;
    background: var(--warmwhite);
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(193,154,107,0.07);
}

.prompt-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pink);
    margin-top: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.prompt-box {
    background: var(--warmwhite);
    border: 2px solid var(--gold);
    border-radius: 1.2rem;
    padding: 1.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: var(--black);
    min-height:200px;
    min-width: 270px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(218, 23, 111, 0.07);
    font-style: italic;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.prompt-box > .share-icon {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: var(--warmwhite);
}

.prompt-box > .share-icon .icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.big-quote {
  font-size: 4.2rem;
  color: var(--gold);
  font-family: serif;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  user-select: none;
}

.prompt-text {
  flex: 1;
  font-size: 1.7rem;
  font-style: italic;
  color:var(--black);
  text-align: center;
}

.prompt-controls {
    display: flex;
    flex-direction: row;
    gap: 1.1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.prompt-btn {
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.7rem 1.8rem;
    cursor: pointer;
    transition: background 0.18s;
    margin: 0 0.2rem;
    width: 270px;
    height: 50px;
}

.prompt-btn.secondary {
    background: var(--teal);
    color: var(--white);
    width: 270px;
    height: 50px;
}

.prompt-btn:hover {
    background: var(--gold);
    color: var(--white);
}
.random-link {
    color: var(--gold);
    text-decoration: underline;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: color 0.18s;
}
.random-link:hover {
    color: var(--teal);
}

.practice-banner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 10px;
    padding: 0.5rem;
    background-color: var(--gold);
    color: var(--white);
}
.practice-img {
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
    height: 120px;
    margin: 0;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(193, 154, 107, 0.7);
    min-height: 0;
}
.practice-text {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    margin: 0 0 0 1rem;
    text-align: justify;
    min-width: 0;
}
.practice-text h3 {
    margin: 0 0 0.2em 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.practice-text p {
    margin: 0 0 0.2em 0;
    font-size: 1rem;
}
.practice-text .text-link {
    font-size: 1rem;
    font-weight: 600;
}
.mobile-app-signup {
    background: var(--sage);
    border-radius: 1.2rem;
    padding: 2.2rem 1.2rem;
    max-width: 500px;
    margin: 2.7rem auto 2.2rem auto;
    text-align: center;
    box-shadow: 0 2px 8px rgba(26,82,68,0.06);
}
.mobile-app-title {
    color: var(--teal);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.mobile-app-desc {
    color: var(--teal);
    font-size: 1.1rem;
    margin-bottom: 2.1rem;
}
.mobile-app-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}
.mobile-app-input {
    background: var(--white);
    border: 1.5px solid var(--teal);
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
    width: 200px;
    max-width: 100%;
}
.mobile-app-btn {
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.7rem 2.1rem;
    cursor: pointer;
    transition: background 0.15s;
}
.mobile-app-btn:hover {
    background: var(--teal);
}

@media (max-width: 900px) {
  .hero-section {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-title {
      padding-top: 1rem;
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-btn {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
  }
  .event-block, .mood-block {
    max-width: 85%;
    margin: 1rem auto;
  }
  .event-heading, .mood-heading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
  }
  .mood-grid {
    display: grid;
    gap: 0.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    grid-template-columns: 1fr !important;
  }
  .event-button, .mood-button {
    font-size: 1.1rem;
    white-space: normal;
    width: 60%;
  }
  .prompt-section {
    max-width: 85%;
    margin: 1rem auto;
    font-size: 1rem;
    padding: 1.1rem 0.5rem;
  }
  .prompt-box {
    padding: 1rem;
  }
  .prompt-text {
      font-size: 1.1rem;
  }
  .big-quote {
    font-size: 2.1rem;
  }
  .center-selectors {
    gap: 0.2rem;
  }
  .prompt-btn {
      padding: 10px;
  }

  .prompt-btn, .random-link {
    font-size: 1rem;
  }
 
.practice-banner {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: flex-start;
        padding: 1rem;
    }

    .practice-img {
        flex: 0 0 80px;
        width: 80px;
        max-width: 80px;
        height: 80px;
        margin-right: 1rem;
    }

    .practice-text {
        margin: 0;
        width: 100%;
        align-items: flex-start;
    }

    .practice-text h3 {
        font-size: 1.1rem;
        margin: 0;
        flex: 1;
    }

    .practice-text p {
        font-size: 0.9rem;
    }

    .practice-text .text-link {
        font-size: 0.9rem;
        text-align: left;
        margin-top: auto;
    }

    .practice-text h3, .practice-img {
        order: -1; /* Moves h3 to the top */
    }
    
  .mobile-app-signup {
    max-width: 85%;
    margin: 0 auto;
    padding: 1.5rem 0.3rem;
  }
  .mobile-app-form {
    gap: 0.6rem;
  }
  .mobile-app-input {
    width: 120px;
    font-size: 0.9rem;
  }
  .mobile-app-title {
    font-size: 1.3rem;
    }
}
