* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

[hidden] {
  display: none !important;
}

.blank-button-page {
  min-height: 100vh;
  overflow-y: auto;
  background:
    radial-gradient(circle at 9% 18%, rgba(248, 68, 163, 0.84) 0 4.4vw, transparent 4.6vw),
    radial-gradient(circle at 24% 72%, rgba(31, 214, 199, 0.82) 0 5.2vw, transparent 5.45vw),
    radial-gradient(circle at 38% 27%, rgba(131, 231, 104, 0.8) 0 4.8vw, transparent 5.1vw),
    radial-gradient(circle at 57% 63%, rgba(255, 240, 74, 0.78) 0 4vw, transparent 4.25vw),
    radial-gradient(circle at 76% 23%, rgba(248, 68, 163, 0.76) 0 5.4vw, transparent 5.7vw),
    radial-gradient(circle at 90% 78%, rgba(31, 214, 199, 0.78) 0 4.6vw, transparent 4.9vw),
    linear-gradient(135deg, #fff7fb 0%, #dffcff 27%, #fff4ff 50%, #fff0fa 72%, #e9ffe5 100%);
}

.home-button {
  position: fixed;
  top: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 2px solid #050505;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 72% 62%, rgba(248, 68, 163, 0.6) 0 12%, transparent 13%),
    linear-gradient(135deg, #fff7fb 0%, #dffcff 34%, #fff0fa 68%, #e9ffe5 100%);
  box-shadow:
    inset 0 5px 8px rgba(255, 255, 255, 0.84),
    inset 0 -7px 10px rgba(74, 55, 104, 0.2),
    4px 5px 0 rgba(5, 5, 5, 0.78);
  color: #17121c;
  font: 900 clamp(13px, 1.5vw, 18px) / 1 Impact, "Arial Black", sans-serif;
  padding: 9px 16px;
  text-decoration: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    1px 1px 0 rgba(21, 183, 176, 0.48),
    -1px -1px 0 rgba(255, 79, 175, 0.44);
  text-transform: uppercase;
}

.home-button:active {
  box-shadow:
    inset 0 4px 7px rgba(255, 255, 255, 0.78),
    inset 0 -5px 9px rgba(74, 55, 104, 0.26),
    2px 3px 0 rgba(5, 5, 5, 0.82);
  transform: translateY(2px);
}

.home-button:focus-visible {
  outline: 4px solid #050505;
  outline-offset: 4px;
}

.blank-button-surface {
  position: relative;
  min-height: 100vh;
  border: clamp(12px, 2.2vw, 28px) solid rgba(14, 16, 18, 0.94);
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(38, 216, 201, 0.64) 6% 10%, transparent 10% 22%, rgba(243, 93, 169, 0.62) 22% 27%, transparent 27% 39%, rgba(123, 228, 107, 0.62) 39% 44%, transparent 44% 58%, rgba(38, 216, 201, 0.56) 58% 62%, transparent 62% 76%, rgba(243, 93, 169, 0.58) 76% 81%, transparent 81%),
    radial-gradient(circle at 15% 40%, rgba(248, 68, 163, 0.94) 0 2.5vw, transparent 2.7vw),
    radial-gradient(circle at 31% 26%, rgba(31, 214, 199, 0.92) 0 2.2vw, transparent 2.4vw),
    radial-gradient(circle at 48% 71%, rgba(131, 231, 104, 0.9) 0 2.7vw, transparent 2.9vw),
    radial-gradient(circle at 67% 35%, rgba(248, 68, 163, 0.84) 0 2.3vw, transparent 2.55vw),
    radial-gradient(circle at 84% 66%, rgba(31, 214, 199, 0.86) 0 2.4vw, transparent 2.65vw),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(229, 251, 255, 0.92) 30%, rgba(247, 244, 255, 0.9) 52%, rgba(255, 241, 250, 0.94) 74%, rgba(232, 255, 244, 0.96));
  box-shadow:
    inset 0 3.2vw 5vw rgba(255, 255, 255, 0.82),
    inset 0 -4vw 6vw rgba(74, 55, 104, 0.22),
    inset 0 0 0 clamp(6px, 1vw, 14px) rgba(255, 255, 255, 0.46);
}

.blank-button-surface::before,
.blank-button-surface::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.blank-button-surface::before {
  inset: 9% -8% auto;
  height: 34%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 52%, #26d8c9 0 5%, transparent 5.6%),
    radial-gradient(circle at 23% 24%, #f35da9 0 4.8%, transparent 5.4%),
    radial-gradient(circle at 37% 62%, #7be46b 0 5.2%, transparent 5.8%),
    radial-gradient(circle at 55% 33%, #26d8c9 0 4.4%, transparent 5%),
    radial-gradient(circle at 72% 58%, #f35da9 0 5.4%, transparent 6%),
    radial-gradient(circle at 88% 30%, #7be46b 0 4.4%, transparent 5%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28));
  opacity: 0.88;
  transform: rotate(-7deg);
}

.blank-button-surface::after {
  inset: clamp(12px, 2vw, 30px);
  border: clamp(3px, 0.45vw, 8px) solid rgba(255, 255, 255, 0.56);
  border-radius: clamp(30px, 7vw, 90px);
  box-shadow:
    inset 0 -2vw 4vw rgba(10, 10, 12, 0.12),
    inset 0 1vw 2vw rgba(255, 255, 255, 0.54);
}

.content-page {
  display: flex;
  justify-content: center;
  padding: clamp(76px, 8vw, 118px) clamp(18px, 4vw, 72px) clamp(42px, 6vw, 86px);
}

.content-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  border: 3px solid rgba(5, 5, 5, 0.92);
  border-radius: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 14% 12%, rgba(248, 68, 163, 0.2) 0 7%, transparent 7.6%),
    radial-gradient(circle at 82% 18%, rgba(31, 214, 199, 0.18) 0 8%, transparent 8.6%),
    radial-gradient(circle at 78% 86%, rgba(131, 231, 104, 0.16) 0 9%, transparent 9.6%),
    rgba(255, 247, 251, 0.72);
  backdrop-filter: blur(3px);
  box-shadow:
    inset 0 10px 18px rgba(255, 255, 255, 0.5),
    inset 0 -14px 28px rgba(74, 55, 104, 0.16),
    8px 10px 0 rgba(5, 5, 5, 0.76),
    0 24px 48px rgba(0, 0, 0, 0.38);
  color: #17121c;
  padding: clamp(26px, 4vw, 52px);
}

.content-panel h1 {
  margin: 0 0 10px;
  font: 900 clamp(34px, 6vw, 78px) / 0.92 Impact, "Arial Black", sans-serif;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.88),
    2px 3px 0 rgba(21, 183, 176, 0.52),
    -2px -1px 0 rgba(255, 79, 175, 0.46);
  text-transform: uppercase;
}

.content-byline {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font: 900 clamp(15px, 2vw, 22px) / 1.2 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.content-panel p {
  margin: 0 0 1.05em;
  font: 700 clamp(16px, 1.6vw, 20px) / 1.48 Arial, Helvetica, sans-serif;
}

.content-panel p:last-child {
  margin-bottom: 0;
  font-weight: 900;
}

.calendar-page {
  display: flex;
  justify-content: center;
  padding: clamp(78px, 8vw, 118px) clamp(14px, 3vw, 48px) clamp(40px, 5vw, 76px);
}

.calendar-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: clamp(16px, 3vw, 34px);
}

.calendar-hero,
.calendar-board,
.event-panel {
  border: 3px solid rgba(5, 5, 5, 0.92);
  border-radius: clamp(18px, 4vw, 36px);
  background:
    radial-gradient(circle at 12% 18%, rgba(248, 68, 163, 0.22) 0 8%, transparent 8.7%),
    radial-gradient(circle at 86% 16%, rgba(31, 214, 199, 0.18) 0 8%, transparent 8.7%),
    radial-gradient(circle at 72% 82%, rgba(131, 231, 104, 0.18) 0 8%, transparent 8.7%),
    rgba(255, 247, 251, 0.76);
  backdrop-filter: blur(3px);
  box-shadow:
    inset 0 10px 18px rgba(255, 255, 255, 0.54),
    inset 0 -14px 26px rgba(74, 55, 104, 0.14),
    7px 8px 0 rgba(5, 5, 5, 0.74),
    0 22px 42px rgba(0, 0, 0, 0.32);
}

.calendar-hero {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(16px, 3vw, 30px);
  align-items: end;
  padding: clamp(24px, 4vw, 42px);
}

.calendar-hero h1 {
  margin: 0 0 8px;
  font: 900 clamp(38px, 7vw, 92px) / 0.88 Impact, "Arial Black", sans-serif;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.88),
    2px 3px 0 rgba(21, 183, 176, 0.52),
    -2px -1px 0 rgba(255, 79, 175, 0.46);
  text-transform: uppercase;
}

.calendar-hero p,
.locked-note,
.empty-events {
  margin: 0;
  font: 800 clamp(15px, 1.5vw, 19px) / 1.35 Arial, Helvetica, sans-serif;
}

.admin-login {
  display: grid;
  gap: 8px;
}

.admin-login label,
.event-form label,
.selected-date span {
  font: 900 13px / 1 Impact, "Arial Black", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.password-row,
.form-actions,
.calendar-topline {
  display: flex;
  gap: 10px;
}

.password-row input,
.event-form input,
.event-form textarea {
  width: 100%;
  border: 2px solid rgba(5, 5, 5, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #17121c;
  font: 800 15px / 1.25 Arial, Helvetica, sans-serif;
  padding: 11px 12px;
}

.event-form textarea {
  resize: vertical;
}

.calendar-shell button,
.password-row button,
.form-actions button,
.admin-unlocked button {
  border: 2px solid rgba(5, 5, 5, 0.9);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.95) 0 16%, transparent 17%),
    radial-gradient(circle at 74% 62%, rgba(248, 68, 163, 0.52) 0 11%, transparent 12%),
    linear-gradient(135deg, #fff7fb 0%, #dffcff 34%, #fff0fa 68%, #e9ffe5 100%);
  box-shadow:
    inset 0 4px 7px rgba(255, 255, 255, 0.82),
    inset 0 -6px 9px rgba(74, 55, 104, 0.2),
    3px 4px 0 rgba(5, 5, 5, 0.78);
  color: #17121c;
  cursor: pointer;
  font: 900 13px / 1 Impact, "Arial Black", sans-serif;
  padding: 10px 14px;
  text-transform: uppercase;
}

.calendar-shell button:active {
  box-shadow:
    inset 0 4px 7px rgba(255, 255, 255, 0.76),
    inset 0 -5px 8px rgba(74, 55, 104, 0.24),
    1px 2px 0 rgba(5, 5, 5, 0.8);
  transform: translateY(2px);
}

.admin-status {
  min-height: 18px;
  margin: 0;
  color: #9d004a;
  font: 900 13px / 1.2 Arial, Helvetica, sans-serif;
}

.admin-unlocked {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  font: 900 14px / 1 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.calendar-board,
.event-panel {
  padding: clamp(18px, 3vw, 30px);
}

.calendar-topline {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-topline h2 {
  margin: 0;
  text-align: center;
  font: 900 clamp(24px, 4vw, 48px) / 0.95 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.weekday-row {
  margin-bottom: 8px;
}

.weekday-row span {
  text-align: center;
  font: 900 12px / 1 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-height: clamp(58px, 8vw, 96px);
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 18px;
  padding: 9px;
  text-align: left;
}

.calendar-day.empty {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-day.today {
  outline: 4px solid rgba(31, 214, 199, 0.66);
  outline-offset: -6px;
}

.calendar-day.selected {
  background:
    radial-gradient(circle at 14% 34%, rgba(248, 68, 163, 0.95) 0 12%, transparent 12.8%),
    radial-gradient(circle at 78% 22%, rgba(31, 214, 199, 0.86) 0 11%, transparent 11.8%),
    linear-gradient(135deg, #fff7fb, #e9ffe5);
}

.day-number {
  display: block;
  font: 900 clamp(16px, 2vw, 24px) / 1 Impact, "Arial Black", sans-serif;
}

.event-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 24px;
  border-radius: 999px;
  background: #f35da9;
  color: #050505;
  font: 900 12px / 24px Impact, "Arial Black", sans-serif;
  text-align: center;
}

.event-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.selected-date {
  display: grid;
  gap: 6px;
}

.selected-date strong {
  font: 900 clamp(22px, 3vw, 34px) / 1 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.event-form {
  display: grid;
  gap: 12px;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-card {
  display: grid;
  gap: 12px;
  border: 2px solid rgba(5, 5, 5, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  padding: 14px;
}

.event-time {
  display: inline-flex;
  margin-bottom: 6px;
  border-radius: 999px;
  background: rgba(31, 214, 199, 0.34);
  font: 900 12px / 1 Impact, "Arial Black", sans-serif;
  padding: 6px 9px;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0;
  font: 900 clamp(20px, 3vw, 30px) / 1 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.event-card p {
  margin: 8px 0 0;
  font: 800 15px / 1.35 Arial, Helvetica, sans-serif;
}

.event-actions {
  display: flex;
  gap: 10px;
}

.project-page {
  min-height: 100vh;
  overflow-y: auto;
  background: #050505;
}

.project-surface {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: clamp(76px, 8vw, 118px) clamp(18px, 4vw, 72px) clamp(42px, 6vw, 86px);
  background:
    linear-gradient(rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.22)),
    url("photos/project-button.jpg") center / cover fixed no-repeat;
}

.project-about {
  width: min(760px, 100%);
  border: 3px solid rgba(5, 5, 5, 0.92);
  border-radius: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 14% 12%, rgba(248, 68, 163, 0.2) 0 7%, transparent 7.6%),
    radial-gradient(circle at 82% 18%, rgba(31, 214, 199, 0.18) 0 8%, transparent 8.6%),
    radial-gradient(circle at 78% 86%, rgba(131, 231, 104, 0.16) 0 9%, transparent 9.6%),
    rgba(255, 247, 251, 0.68);
  backdrop-filter: blur(3px);
  box-shadow:
    inset 0 10px 18px rgba(255, 255, 255, 0.46),
    inset 0 -14px 28px rgba(74, 55, 104, 0.16),
    8px 10px 0 rgba(5, 5, 5, 0.76),
    0 24px 48px rgba(0, 0, 0, 0.38);
  color: #17121c;
  padding: clamp(26px, 4vw, 48px);
}

.project-about h1 {
  margin: 0 0 10px;
  font: 900 clamp(34px, 6vw, 78px) / 0.92 Impact, "Arial Black", sans-serif;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.88),
    2px 3px 0 rgba(21, 183, 176, 0.52),
    -2px -1px 0 rgba(255, 79, 175, 0.46);
  text-transform: uppercase;
}

.project-byline {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font: 900 clamp(15px, 2vw, 22px) / 1.2 Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.project-about p {
  margin: 0 0 1.05em;
  font: 700 clamp(16px, 1.6vw, 20px) / 1.48 Arial, Helvetica, sans-serif;
}

.project-about p:last-child {
  margin-bottom: 0;
  font-weight: 900;
}

@media (max-width: 720px) {
  .calendar-shell,
  .calendar-hero {
    grid-template-columns: 1fr;
  }

  .admin-unlocked {
    justify-self: start;
  }

  .weekday-row,
  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 52px;
    border-radius: 14px;
    padding: 7px;
  }

  .day-number {
    font-size: 15px;
  }

  .event-count {
    right: 5px;
    bottom: 5px;
    min-width: 20px;
    line-height: 20px;
  }

  .project-surface {
    background-attachment: scroll;
  }
}
