/* =====================
   HOUSE RITUAL
===================== */

.house-ritual {
  text-align: center;
}

.house {
  width: 240px;
  margin: 2rem auto 3rem;
  position: relative;
}

/* Roof */
.roof {
  width: 0;
  height: 0;

  border-left: calc(240px / 2) solid transparent;
  border-right: calc(240px / 2) solid transparent;
  border-bottom: 70px solid rgba(182,167,255,0.25);

  margin: 0 auto -10px;
}



/* Windows */
.windows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
}

.window {
  width: 100%;
  padding-top: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Lit window */
.window.active {
  background: #b6a7ff;
  box-shadow:
    0 0 12px rgba(182,167,255,0.8),
    0 0 24px rgba(182,167,255,0.6);
}

/* Text */
.year-info {
  max-width: 420px;
  margin: 0 auto;
}

.year {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.house-name {
  font-size: 1.8rem;
  margin: 0.6rem 0;
  font-family: 'Playfair Display', serif;
}

.house-text {
  font-style: italic;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 600px) {
  .house {
    width: 200px;
  }

  .house-name {
    font-size: 1.5rem;
  }
}

/* =====================
   CONTROLS
===================== */

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.controls button {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.controls button:hover {
  background: rgba(182,167,255,0.15);
  box-shadow: 0 0 12px rgba(182,167,255,0.5);
}

.controls .age {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

