/* ==================================================================
   Casium — landing page
   One flat #0f0f0f stage: word, sentence, two slab buttons, fixed
   footer bar. Hero fades in up, staggered. Nothing else on purpose.
   ================================================================== */

/* ------------------------------------------------------------------ hero */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 0 20px 70px; /* clear the fixed footer bar */
  text-align: center;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(3.4rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 5px;
}

.hero p {
  font-size: 1.2rem;
  color: #aaa;
  margin: 0 0 30px;
}

.hero-buttons {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end; /* slabs share a baseline; the WIP tag floats above */
}

.modern-button {
  display: inline-block;
  width: 220px;
  padding: 12px 0;
  border: none;
  border-radius: 3px;
  background: rgb(18, 18, 18);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  outline: 1px solid #454545;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.modern-button:hover { background-color: rgb(38, 38, 38); }
.modern-button:active { transform: translateY(1px); }
.modern-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ------------------------------------------------------------------ taped-up WIP button */

.taped {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.wip-tag {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-indent: 0.38em; /* balance the tracking so it centres optically */
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
}

.taped-btn {
  position: relative;
  display: inline-block;
}

.taped .modern-button {
  cursor: not-allowed;
  color: #8f8f8f;
}

.taped .modern-button:hover { background-color: rgb(18, 18, 18); }
.taped .modern-button:active { transform: none; }

.tape {
  position: absolute;
  left: 50%;
  width: 134%;
  height: 20px;
  background: linear-gradient(180deg, #f6cf27, #e9b900 60%, #f2c200);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  opacity: 0.96;
  pointer-events: none;
  user-select: none;
}

/* crossed like taped-over boards: one \ and one / through the centre */
.tape-1 { top: 50%; width: 122%; transform: translate(-50%, -50%) rotate(16deg); }
.tape-2 { top: 50%; width: 122%; transform: translate(-50%, -50%) rotate(-16deg); }

/* ------------------------------------------------------------------ footer bar */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background-color: #0f0f0f;
  border-top: 1px solid #333;
  color: #666;
  padding: 10px;
  font-size: 0.9rem;
  user-select: none;
}

.footer a {
  color: #666;
  text-decoration: none;
}

.footer a:hover { color: #aaa; }

.foot-links { display: flex; gap: 18px; }

/* ------------------------------------------------------------------ entrance motion */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { animation: none; opacity: 1; }
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 560px) {
  .modern-button { width: min(320px, 100%); }
  .footer { flex-direction: column; gap: 4px; }
}
