@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&display=swap');

html {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #d4b896;
font-family: 'Nunito', sans-serif;     
  color: #1e0f06;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

.simple-home, .simple-about {
  background: none;
  border-radius: 0;
  padding: 0;
  max-width: 480px; 
  width: 100%;
  text-align: center;
  box-shadow: none;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.simple-home h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.7rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
  color: #1e0f06;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  align-self: center;
}

.simple-home .tagline {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b3e1e;
  font-weight: 600;
  opacity: 0.75;
}

.simple-about h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
  color: #1e0f06;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.simple-about .about-text {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #3a1e0c;
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 1.5;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.team-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.avatar-min {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #b8976e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: #1e0f06;
  margin-bottom: 0.1rem;
  overflow: hidden;
}

.avatar-min img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.person-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: #1e0f06;
}

.person-role {
  font-size: 1rem;
  color: #6b3e1e;
  font-weight: 400;
}

.page-container {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.simple-home h1.site-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 10vw, 5rem); /* let it breathe */
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(135deg, #3d1a08 0%, #8b4a10 40%, #c47a3a 70%, #3d1a08 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: latteSwade 5s linear infinite;
  margin-bottom: 0.4rem;
}

@keyframes latteSwade {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 500px) {
  .simple-home, .simple-about {
    max-width: 98vw;
  }
  .team-grid {
    gap: 0.7rem;
  }
  .avatar-min {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .simple-home h1 {
    font-size: 2rem;
  }
  .simple-home .tagline {
    font-size: 1.05rem;
  }
  .simple-about h1 {
    font-size: 1.3rem;
  }
}

#femboyQuiz {
  background: #c9a87c;
  border: 2px solid #9e7848;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 0 12px rgba(100, 60, 20, 0.2);
}

.quiz-question {
  margin-bottom: 1.5rem;
  text-align: left;
}

.quiz-question p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a2008;
  margin-bottom: 0.4rem;
}

.quiz-question label {
  display: block;
  margin: 0.35rem 0;
  font-size: 1rem;
  cursor: pointer;
  color: #2a1206;
  transition: color 0.2s ease;
}

.quiz-question label:hover {
  color: #7a3c10;
}

input[type="radio"] {
  margin-right: 0.5rem;
  accent-color: #8b4a10;
}

button {
  display: inline-block;
  background: linear-gradient(135deg, #8b4a10, #5a2e08);
  color: #f0dcc0;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 10px rgba(100, 55, 15, 0.4);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(100, 55, 15, 0.6);
}

#result {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a2008;
  text-shadow: 0 0 4px rgba(120, 70, 20, 0.3);
  animation: fadeInGlow 0.6s ease-in-out;
  text-align: center;
}

@keyframes fadeInGlow {
  from {
    opacity: 0;
    transform: scale(0.9);
    text-shadow: none;
  }
  to {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 4px rgba(120, 70, 20, 0.3);
  }
}

.cool-stuff h2 {
  color: #3d5c20;
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.cool-stuff ul {
  padding-left: 1.2rem;
  margin: 0;
}

.cool-stuff li {
  margin-bottom: 0.5rem;
  color: #2a1206;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.cool-stuff a {
  color: #6b3010;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.18s;
}

.cool-stuff a svg {
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
  transition: fill 0.18s;
}

.daily-quote {
  border-left: 3px solid #8b4a10;
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 1rem 1.4rem;
  text-align: left;
  max-width: 400px;
}

.welcome-card {
  background: #bf9668;
  border-radius: 1.2rem;
  padding: 1.2rem 1rem;
  max-width: 340px;
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(100, 60, 20, 0.15);
}

.intro-line {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a2008;
  margin-bottom: 0.6rem;
}

.kawaii-info {
  background: #c9a87c;
  padding: 1.2rem 1rem;
  border-radius: 1rem;
  max-width: 340px;
  width: 100%;
  text-align: center;
  border: 1px solid #9e7848;
  margin: 1.5rem auto;
  box-shadow: 0 0 12px rgba(100, 60, 20, 0.1);
  overflow-wrap: break-word;
  word-break: break-word;
  align-self: center;
}

.kawaii-info h2 {
  color: #4a2008;
font-family: 'Fredoka One', cursive;  
font-size: 1.6rem;
  letter-spacing: 0.5px;

}

.kawaii-info p {
  font-size: 1rem;
  color: #2a1206;
  line-height: 1.5;
}

.quote-divider,
.star-divider {
  width: 60%;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #9e7848, #bf9668, transparent);
  margin: 1.5rem 0;
}

.footer {
  max-width: 340px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #6b5030;
  margin-bottom: 2rem;
}

.scrollable-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.scrollable-list::-webkit-scrollbar {
  width: 6px;
}

.scrollable-list::-webkit-scrollbar-thumb {
  background: #9e7848;
  border-radius: 6px;
}

.scrollable-list::-webkit-scrollbar-track {
  background: #bf9668;
}

form {
  background: #bf9668;
  padding: 1rem;
  border-radius: 1rem;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 0 10px rgba(100, 60, 20, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input, textarea {
  width: 100%;
  background: #d4b896;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: #3a1a06;
  resize: vertical;
font-family: 'Nunito', sans-serif;     
}

input::placeholder, textarea::placeholder {
  color: #7a5530aa;
}

/* confession section */

.confession-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.confession-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.confession-item {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 40, 10, 0.18);
}

.reaction-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.react-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  transition: transform .15s ease;
}

.react-btn:hover {
  transform: scale(1.2);
}

.reaction-counts span {
  margin-right: 6px;
  font-size: 14px;
  opacity: .7;
}

/* nav bar */

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  background-color: #d4b896;
  padding: 1rem;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid rgba(80, 40, 10, 0.15);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e0f06;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-style: double;
  border-radius: 8px;
  border-color: #5a2e08;
  border-width: 3px;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;
  height: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #1e0f06;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-btn {
  color: #1e0f06;
  background-color: #d4b896;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.15s ease;
  border: none;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  font-weight: 600;
}

.nav-btn:hover {
  background-color: #bf9668;
  transform: translateY(-1px);
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #1e0f06;
}

@media (max-width: 500px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #d4b896;
    flex-direction: column;
    padding: 1rem 0;
    display: none;
    border-top: 1px solid rgba(80, 40, 10, 0.15);
    z-index: 9999;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* NAVBAR END */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-card {
  background: #bf9668;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(60, 30, 5, 0.15);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}

.gallery-card:hover {
  box-shadow: 0 8px 24px rgba(60, 30, 5, 0.25);
}

.gallery-img {
  width: 300px;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(60, 30, 5, 0.15);
  background: #b8976e;
  display: block;
  margin: 0 auto;
}

.gallery-caption {
  margin-top: 0.8rem;
  color: #3d5c20;
  font-size: 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  word-break: break-word;
}

@media (max-width: 600px) {
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #d4b896;
font-family: 'Nunito', sans-serif;     
    color: #1e0f06;
    min-height: 100vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
    justify-items: center;
    width: 100vw;
    box-sizing: border-box;
  }

  .gallery-img {
    width: 80vw;
    max-width: 250px;
    border-radius: 0.7rem;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
  }
}

details {
  background: #c9a87c;
  border-radius: 8px;
  margin: 0.75rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid #9e7848;
  transition: all 0.3s ease;
}

details:hover {
  border-color: #5a2e08;
  background: #bf9668;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  outline: none;
  color: #1e0f06;
}

summary::marker {
  color: #5a2e08;
}

details[open] {
  box-shadow: 0 4px 10px rgba(60, 30, 5, 0.1);
}

#faq-general {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #5a2e08;
  border-left: 4px solid #5a2e08;
  padding-left: 0.75rem;
  letter-spacing: 0.5px;
}

.emoji-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 4px;
  image-rendering: pixelated;
}

.checkin-main {
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #c9a87c;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(80, 40, 10, 0.12);
}

.checkin-main h1 {
font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4a2008;
}

.checkin-form,
.checkin-status {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkin-form input[type="text"],
.checkin-status input[type="hidden"] {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background-color: #bf9668;
  color: #1e0f06;
  font-size: 1rem;
}

.checkin-form button,
.checkin-status button {
  background-color: #8b4a10;
  color: #f0dcc0;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.checkin-form button:hover,
.checkin-status button:hover {
  background-color: #a05a20;
}

.checkin-history,
.checkin-leaderboard {
  margin-top: 1rem;
}

.checkin-history h3,
.checkin-leaderboard h3 {
  font-size: 1.25rem;
  color: #4a2c10;
  margin-bottom: 0.5rem;
}

.checkin-history ul,
.checkin-leaderboard ol {
  list-style: none;
  padding-left: 0;
}

.checkin-history li,
.checkin-leaderboard li {
  background-color: #bf9668;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  color: #1e0f06;
  font-size: 0.95rem;
}

.checkin-leaderboard li strong {
  color: #5a2e08;
}

.note {
  background: #c9a87c;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 4px solid #5a2e08;
}

.note small {
  opacity: 0.6;
}

#confessions-container {
  margin-top: 2rem;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  max-height: 50vh;
  padding-right: 0.5rem;
}

.confession {
  background: #bf9668;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 8px rgba(80, 40, 10, 0.15);
}

.confession strong {
  color: #5a2e08;
}

.confession small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #7a5530aa;
  font-style: italic;
}

#confessions-container::-webkit-scrollbar-track {
  background: #d4b896;
}

#confessions-container::-webkit-scrollbar-thumb {
  background-color: #9e7848;
  border-radius: 10px;
}

#confessions-container::-webkit-scrollbar-thumb:hover {
  background-color: #6b4820;
}

#confessions-container {
  scrollbar-width: thin;
  scrollbar-color: #9e7848 #d4b896;
}

.quote-divider {
  width: 100%;
  max-width: 340px;
  border: none;
  border-top: 2px solid #9e784888;
  margin: 3rem auto 2rem;
  position: relative;
  height: 1px;
  background: transparent;
  overflow: visible;
  z-index: 0;
}

.quote-divider::after {
  content: "(っ˘ڡ˘ς) ∿∿ (っ˘ڡ˘ς)";
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #8b4a10;
  background-color: #d4b896;
  padding: 0 0.6rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 480px) {
  .star-divider {
    max-width: 260px;
    margin: 1.6rem auto 1.2rem;
    border-top-width: 1.8px;
  }

  .star-divider::after {
    top: -0.75rem;
    font-size: 1.15rem;
    padding: 0 0.4rem;
  }
}

.footer {
  max-width: 340px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #4a3018;
  margin: 1.5rem auto;
  margin-bottom: 2rem;
}











@media (max-width: 480px) {
  .page-container {
    padding: 14px 10px 28px;
  }

  .page-container h1 {
    font-size: 1.4rem;
    text-align: left;
  }

  .note {
    padding: 12px 12px 10px;
    margin-bottom: 10px;
  }

  form[action="/dev-notes/add"] {
    padding: 12px;
    margin-top: 14px;
  }
}


   #intro-screen {
            position: fixed;
            inset: 0;
            background: #f5e6d3; /* light latte */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 1;
            transition: opacity 1s ease;
        }

        #intro-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .intro-content {
            text-align: center;
            animation: fadeIn 1s ease forwards;
        }

        .intro-logo {
            width: 120px;
            height: auto;
            margin-bottom: 12px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
        }

        .intro-title {
            font-family: "Poppins", sans-serif;
            font-size: 2.4rem;
            color: #6b4e3d; /* coffee brown */
            letter-spacing: 2px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 700px) {

    #intro-screen {
        padding: 0 20px;
        background: #f5e6d3; 
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

        height: 100vh;
        width: 100vw;
        overflow: hidden;
    }

    .intro-content {
        transform: translateY(-10px);
    }

    .intro-logo {
        width: 90px;    
        margin-bottom: 10px;
    }

    .intro-title {
        font-size: 1.9rem;  
        letter-spacing: 1.5px;
    }
}
