  /* CSS Document — layout.css for index_freshy.html (Diurnal) */
  /* Fresh styling layered on top of layout.css (background image stays) */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px 60px;
    overflow-y: auto;
    overflow-y: scroll; /* always show the vertical scrollbar */
    /* Background: fill the screen once, no repeat */
    background: url(achter2.gif) center center / 100% 100% no-repeat fixed;
    background-size: cover;
    background-repeat: no-repeat;
  }

/* Dark top bar: title centered inside it */
.top-bar {
  width: 100%;
  height: 48px;               /* match the black bar in achter2.gif */
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.top-bar h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  background: linear-gradient(120deg, #00e5a0, #4dc9ff, #b18cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 14px 0 18px;
}

.tagline {
  display: inline-block;
  padding: 6px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.wrap {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Intro section (~400 words) */
.intro {
  width: 100%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 20px;
  padding: 20px 26px;
  margin-bottom: 22px;
  color: #fff;
  line-height: 1.6;
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.intro h2 {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #c9ffe9;
}

.intro p + p { margin-top: 12px; }

/* Link cards */
.links {
  width: 100%;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.8s ease both;
}
  .card:nth-child(1) { animation-delay: 0.30s; }
  .card:nth-child(2) { animation-delay: 0.38s; }
  .card:nth-child(3) { animation-delay: 0.46s; }
  .card:nth-child(4) { animation-delay: 0.54s; }
  .card:nth-child(5) { animation-delay: 0.62s; grid-column: 1 / -1; text-align: center; }

.card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(0,229,160,0.30);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.card.wide {
  grid-column: 1 / -1;
  text-align: center;
}

.card .big {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: block;
}

.card .label {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: block;
}

.card .desc {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}


  .wrap { width: 100%; max-width: 1100px; }

  /* Hero */
  header.hero {
    text-align: center;
    margin-bottom: 24px;
    animation: fadeDown 0.8s ease both;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    transform: translateY(-0.75em);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #00e5a0, #4dc9ff, #b18cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 30px rgba(0,0,0,0.25);
  }
  .hero .tagline {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 22px;
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }

  /* Intro section — ~400 words go here */
  section.intro {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 20px;
    padding: 20px 26px;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    animation: fadeUp 1s 0.2s ease both;
  }
  section.intro h2 {
    font-size: 1.3rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #c9ffe9;
  }
  section.intro p + p { margin-top: 14px; }

  /* Link cards */
  section.links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
 
  footer {
    margin-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }

  @keyframes fadeDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
  @keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); }  to { opacity: 1; transform: none; } }
</style>
