@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Gabarito:wght@400;500&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

h1 {
  margin: 0;
  font-family: 'Gaegu', cursive;
  font-weight: 700;
  font-size: 48px;
  color: #2b2b2b;
  letter-spacing: -0.08em;
  line-height: 90%;
}

.btn {
  font-family: 'Gabarito', sans-serif;
  font-size: 18px;
  color: #2b2b2b;
  background: #fff;
  border: 2.5px solid #2b2b2b;
  border-radius: 40px;
  padding: 12px 48px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 0 0 #2b2b2b;
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn:not(:disabled):active {
  transform: translateY(5px);
  box-shadow: none;
}

.corner-link {
  position: fixed;
  top: 14px;
  left: 20px;
  font-family: 'Gabarito', sans-serif;
  font-size: 11px;
  color: #2b2b2b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  z-index: 50;
  transition: color 0.15s;
}

.corner-link:hover {
  color: #555;
}

/* ── Info button ── */
.info-btn {
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: 50;
  background: none;
  border: none;
  cursor: pointer;
  color: #2b2b2b;
  padding: 2px;
  opacity: 0.5;
  transition: opacity 0.15s;
  line-height: 0;
}

.info-btn:hover {
  opacity: 1;
}

.info-btn svg {
  pointer-events: none;
}

/* ── Info overlay ── */
.info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-overlay[hidden] {
  display: none;
}

@keyframes info-rotate-in {
  from { opacity: 0; transform: translateY(100vh) rotate(45deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes info-rotate-out {
  from { opacity: 1; transform: translateY(0) rotate(0deg); }
  to   { opacity: 0; transform: translateY(100vh) rotate(45deg); }
}

.info-card {
  background: #fff;
  border: 2.5px solid #2b2b2b;
  border-radius: 20px;
  padding: 54px;
  max-width: 560px;
  width: 100%;
  position: relative;
  transform-origin: center;
  animation: info-rotate-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.info-overlay.closing .info-card {
  animation: info-rotate-out 0.2s ease-in both;
}

.info-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #2b2b2b;
  opacity: 0.4;
  transition: opacity 0.15s;
  line-height: 1;
  padding: 4px;
}

.info-close:hover {
  opacity: 1;
}

.info-catomato {
  display: block;
  width: 86px;
  height: auto;
  margin: 0 auto 16px;
}

.info-card h2 {
  font-family: 'Gaegu', cursive;
  font-weight: 700;
  font-size: 30px;
  color: #2b2b2b;
  margin: 0 0 10px;
  letter-spacing: -0.08em;
  line-height: 1.15;
  padding-right: 24px;
}

.info-tagline {
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  color: #444;
  margin: 0 0 42px;
  line-height: 1.55;
}

.info-section-title {
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  color: #2b2b2b;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 8px;
}

.info-body {
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.info-x-link {
  display: block;
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #89BB53;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 42px;
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
}
