body,
html {
  margin: 0;
  padding-top: 80px;
  background: #111;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

body {
  min-height: 100vh;
}

.intro-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
}

.main-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 20;
  will-change: transform;
}

.text-container {
  display: none;
}

.letter {
  display: none;
}

.intro-title {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 30rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.8s ease-out;
  pointer-events: none;
}

.small-photos {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.cluster-image {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  z-index: 11;
  will-change: transform;
  width: 10vw;
  height: auto;
}

.scroll-spacer {
  height: 250vh;
}

#about {
  position: relative;
  z-index: 20;
  background: #111;
  color: white;
  text-align: center;
  padding: 120px 20px;
  min-height: 70vh;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.3rem;
  margin-bottom: 60px;
}

.about-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-half {
  max-width: 300px;
}

.about-img {
  width: 80%;
  border-radius: 50%;
  margin-bottom: 16px;
}

.about-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* QUESTION SECTION */
.question-section {
  position: relative;
  min-height: 300vh;
  background: #111;
  z-index: 20;
  padding-top: 100px;
  padding-bottom: 500px;
}

.question-title {
  position: fixed;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  z-index: 21;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.accordion-wrapper {
  margin-left: 40%;
  padding: 0 5% 100px 7;
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 600px;
  padding-top: 300px;
}

.accordion-container {
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: black;
}

.accordion-item {
  position: relative;
}

.accordion-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 20px 15px;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
}

.accordion-button:hover {
  background: rgba(0, 0, 0, 0.03);
}

.accordion-button .plus {
  font-size: 24px;
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  font-size: 16px;
  transition:
    max-height 0.5s ease,
    padding 0.5s ease;
  background-color: #ffeef4;
  text-color: black;
}

.accordion-content p {
  margin: 15px 0;
  color: black;
}

.divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.question-header {
  font-size: 8rem;
  font-weight: bold;
  line-height: 1;
  margin: 40px 0 0 0;
  color: #ff9eb5;
  text-align: left;
}

/* PHRASES - Added more spacing */
.phrase-container {
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: black;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 800px; /* Added space between sections */
}

.phrase-card {
  padding: 20px;
  background: #ffeef4;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.phrase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.phrase {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
}

.phrase-header {
  font-size: 8rem;
  font-weight: bold;
  line-height: 1;
  margin: 40px 0 0 0;
  color: #ff9eb5;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-title {
    font-size: 14rem;
  }
  
  .question-section {
    padding-top: 60px;
  }

  .question-title {
    font-size: 14rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin-bottom: 40px;
    z-index: 1;
  }

  .accordion-wrapper {
    width: 90%;
    margin-left: 0;
    padding: 0 20px 60px;
    z-index: 2;
  }

  .accordion-button:focus {
  outline: none;
}

  .accordion-button {          
  color: black;   
}

.accordion-content p {
  color: black;            
}

.plus {
  color: black;            
}

  .question-header,
  .phrase-header,
  .timeline-title {
    font-size: 3.5rem;
    text-align: center;
    z-index: 2;
  }

  .phrase-container,
  .accordion-container {
    z-index: 2;
  }

  .marquee .marquee-content img {
    height: 120px !important;
  }
}

/* HORIZONTAL SCROLLING IMAGE GALLERY - Scroll-based */
.horizontal-gallery {
  position: relative;
  background: #111;
  padding: 120px 0;
  overflow: hidden;
  z-index: 50;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
  margin-bottom: 20px;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  min-width: 100%;
  will-change: transform;
}

.marquee-content img {
  height: 200px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

/* TIMELINE*/
.timeline-section {
  background: #111;
  padding: 80px 20px;
  position: relative;
  z-index: 20;
}

.timeline-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 40px;
}

.line {
  position: absolute;
  top: 0;
  left: 245px;
  width: 6px;
  height: 100%;
  background: white;
  border-radius: 3px;
  overflow: hidden;
}

.line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #ff9eb5;
  border-radius: 3px;
  will-change: height;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 120px 0;
  gap: 60px;
}

.timeline-year {
  font-size: 80px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px #e0e0e0;
  min-width: 180px;
  text-align: right;
  flex-shrink: 0;
}

.timeline-dot {
  position: absolute;
  left: 199px;
  width: 12px;
  height: 12px;
  background: #333;
  border-radius: 50%;
  border: 3px solid #eee;
  z-index: 3;
}

.timeline-dot.filled {
  background: #ff9eb5;
  border-color: #ff9eb5;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  margin-left: 60px;
}

.content img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.text h2 {
  margin: 0;
  font-size: 28px;
  color: #ff7b9c;
}

.text p {
  font-size: 18px;
  margin: 10px 0 0;
  color: #ccc;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .timeline {
    padding: 0 20px;
  }

  .line {
    left: 33px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin: 80px 0;
    gap: 20px;
    padding-left: 60px;
  }

  .timeline-year {
    font-size: 50px;
    min-width: auto;
    text-align: left;
    position: absolute;
    left: 60px;
    top: -10px;
    z-index: 10;
  }

  .timeline-dot {
    left: 8px;
    width: 10px;
    height: 10px;
    border: 3px solid #eee;
  }

  .content {
    margin-left: 0;
    padding: 20px;
    width: 100%;
  }

  .text h2 {
    font-size: 24px;
  }

  .text p {
    font-size: 16px;
  }
}

/* Carousel inside timeline */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto 20px auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  user-select: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 5;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.prev {
  left: 5px;
}

.next {
  right: 5px;
}

/* MESSAGES section */
.messages-section {
  padding: 20px 20px;
  background: #0f0f11;
  color: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
}

.messages-inner {
  max-width: 900px;
  width: 100%;
}

.messages-title {
  font-size: 2.2rem;
  margin: 0 0 24px 0;
  color: #ff9eb5;
  text-align: center;
}

.messages-card {
  background: #121214;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.shocked-emote {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin: auto;
  border-radius: 10px;
}

.secret-emote {
  width: 300px;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 10px;
}

.label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #ddd;
}

.code-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.code-row input[type="text"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b0c;
  color: #fff;
  font-size: 1rem;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #ff7b9c;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #ff94ae;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback {
  margin-top: 12px;
  color: #ffb3c6;
}

.revealed-messages {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.revealed-message {
  background: #0b0b0c;
  padding: 14px;
  border-radius: 10px;
  color: #ffeef4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

footer {
  position: relative;

  width: 100%;
  padding: 30px 40px;
  font-size: 12px;
  text-align: left;
  z-index: 1000;
  color: white;
}


.hover-link {
  position: relative;
  color: #ffb3c6;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.hover-link .hover-image {
  display: none;
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 150px;
  border: 1px #ffb3c6;
  border-radius: 5px;
  background-color: #fff;
  z-index: 1001;
}

.hover-link:hover .hover-image {
  display: block;
}

