* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: system-ui, sans-serif;
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

body.ready {
  opacity: 1;
}

.grid-container {
  display: grid;
  min-height: 100vh;
  gap: 0;
}

.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.cell-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 90%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.title {
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.1;
  max-width: 100%;
}

.subtitle {
  opacity: 0.8;
  margin-top: 0.5rem;
  line-height: 1.3;
  max-width: 100%;
}

.tide-curve {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 200;
}

.tide-curve svg {
  width: 100%;
  height: 100%;
}

.feedback-buttons {
  position: fixed;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: monospace;
  font-size: 11px;
  line-height: 1;
  z-index: 300;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(128, 128, 128, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.feedback-btn {
  opacity: 0.5;
  cursor: pointer;
  padding: 0 3px;
  transition: opacity 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
  vertical-align: baseline;
}

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

.feedback-btn:disabled {
  cursor: default;
  opacity: 0.2;
}

.feedback-btn.sent {
  opacity: 0.8;
}

.seed-info {
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-left: 4px;
}

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

.seed-info.copied {
  opacity: 1;
}

.center-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: var(--logo-blend-mode, difference);
  transition: top 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.center-logo svg {
  height: 60vh;
  width: auto;
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .cell {
    min-height: 25vh;
  }
  .title {
    font-size: 1.2rem !important;
    letter-spacing: 2px !important;
  }
  .subtitle {
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
  }
  .center-logo svg {
    height: 40vh;
  }
  .feedback-buttons {
    font-size: 10px;
    padding: 3px 6px;
  }
}
