body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10%;
  background-image: 
    linear-gradient(
      to bottom,
      rgba(250, 250, 250, 0.8) 0%,
      rgba(0, 0, 0, 0) 50%
    ),
    url("dreadout.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.title {
  font-family: "Parisienne", cursive;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

.container {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-top: 30px;
  border-radius: 15px;
  width: 700px;
  max-height:400px;
  background: white;
  border-width: 12px;
  border-style: solid;
  border-image: url("https://i.imgur.com/Kh6qtcn.png") 11 fill round;
  align-items: stretch; /* Ensures left and right columns have equal height */
}

/* Left column */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

/* Small boxes inside left column */
.small-box {
  flex: 1; /* Each box grows equally to fill left column height */
  max-height: 152px; /* Allows proper flex shrinking */
  padding: 1rem;
  color: white;
  font-family: "Italiana", serif;
  background: radial-gradient(circle at center, #7E7168 0%, #5c4e44 110%);
}

/* Right column */
.right-box {
  flex: 1; /* Same height as left column */
  min-width: 450px;
  max-height: 320px;
  padding: 1rem;
  overflow-y: auto; /* Scrollbar appears if content exceeds height */
  color: white;
  font-family: "Italiana", serif;
  background: radial-gradient(circle at center, #7E7168 0%, #5c4e44 110%);
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }
  .right-box {
    min-width: auto;
  }
}

/* Pictures inside right box */
.photo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding-right: 0.5rem;
}
.photo img {
  max-width: 100%;
  height: auto;
  border: 6px solid transparent;
  border-image: url("https://i.imgur.com/Kh6qtcn.png") 11 round;
  border-radius: 6px;
  cursor: pointer;
}
/* Links row */
.links-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.links-row h2 {
  margin: 0.3rem 0;
  font-size: 1.2rem;
}
.links-row a {
  color: white;
  font-family: "Italiana", serif;
  transition: color 0.3s, transform 0.2s;
}

/* Misc styles */
.tiny {
  font-size: 13px;
  text-align: right;
}

.scary-quote {
  font-family: "Parisienne", cursive;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin: 0 0 0.5rem 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  letter-spacing: 1px;
}

.coming-soon {
  font-family: "Italiana", serif;
  font-size: clamp(0.6rem, 1.5vw, 0.9rem);
  color: white;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

.footer-text {
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  letter-spacing: 2px;
}

#modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: flex; /* when visible */
}

#modal img {
  max-width: 90%;
  max-height: 90%;
}

/* Close button */
#close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}
