
:root {
  --ghibli-cream: #fff8f0;
  --ghibli-brown: #5d3a00;
  --ghibli-light: #f6d6ad;
  --ghibli-green: #c8e4b2;
  --ghibli-sky: #d4e6f1;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--ghibli-sky);
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 80vh;
}

section {
  background: var(--ghibli-cream);
  padding: 2.5rem;
  border-radius: 8px 8px 20px 20px;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
  border-top: 12px solid var(--ghibli-green);
}

/* Folded paper corner effect */
section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 40px 40px 0;
  border-style: solid;
  border-color: transparent var(--ghibli-light) transparent transparent;
  box-shadow: -5px 5px 5px rgba(0,0,0,0.1);
}

section h2 {
  font-size: 2rem;
  color: var(--ghibli-brown);
  margin-bottom: 2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

/* Decorative underline */
section h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -8px;
  left: 0;
  background: linear-gradient(90deg, var(--ghibli-green), var(--ghibli-light));
  border-radius: 2px;
}

section div {
  margin: 1.5rem 0;
}

/* Ghibli-style links (used for index.html page) */
section a {
  display: block;
  padding: 1rem;
  background: var(--ghibli-light);
  color: var(--ghibli-brown);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(211, 165, 136, 0.5);
  transition: all 0.3s ease;
}

section a:hover {
  background: #eec49a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* Responsive adjustments */
@media (max-width: 600px) {
  section {
    padding: 2rem 1.5rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  section a {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  section {
    padding: 1.8rem 1.2rem;
    border-radius: 6px 6px 16px 16px;
  }

  section h2 {
    font-size: 1.6rem;
  }

  section a {
    padding: 0.8rem;
  }
}
