:root {
  --bg: #f6f7f3;
  --text-main: #121212;
  --text-soft: #404040;
  --line: rgba(18, 18, 18, 0.12);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow: 0 30px 80px -40px rgba(20, 20, 20, 0.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: var(--bg);
}

body {
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(64px);
  opacity: 0.48;
  border-radius: 50%;
  animation: drift 12s ease-in-out infinite;
}

.blob-a {
  width: 35vw;
  height: 35vw;
  min-width: 260px;
  min-height: 260px;
  background: radial-gradient(circle at 20% 20%, #ffb16f 0%, #f8ce93 45%, transparent 80%);
  top: -10vw;
  left: -7vw;
}

.blob-b {
  width: 42vw;
  height: 42vw;
  min-width: 300px;
  min-height: 300px;
  background: radial-gradient(circle at 50% 30%, #9fd2c8 0%, #6fa3de 50%, transparent 82%);
  right: -12vw;
  top: -8vw;
  animation-delay: -4s;
}

.blob-c {
  width: 38vw;
  height: 38vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle at 50% 40%, #f7d28b 0%, #f0b8b5 55%, transparent 85%);
  bottom: -15vw;
  left: 20vw;
  animation-delay: -7s;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.2;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 64px 0 40px;
}

.hero {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 16px;
  color: rgba(18, 18, 18, 0.66);
}

h1 {
  margin: 12px 0 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.12;
}

.hero p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  color: var(--text-soft);
  max-width: 700px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.site-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 200px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.site-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.35), transparent 38%, rgba(255, 255, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.site-card.is-disabled {
  opacity: 0.86;
}

.site-card.is-disabled .go-link {
  color: rgba(18, 18, 18, 0.7);
}

.site-card:hover::after {
  opacity: 1;
}

.site-name {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 600;
}

.site-desc {
  margin-top: 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #555;
  line-height: 1.55;
  flex-grow: 1;
}

.go-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: transform 0.2s ease;
}

.go-link:hover {
  transform: translateX(4px);
}

.tip {
  margin: 20px 0 0;
  font-size: 0.95rem;
  color: rgba(18, 18, 18, 0.78);
}

.tip code {
  background: rgba(255, 255, 255, 0.58);
  padding: 2px 6px;
  border-radius: 8px;
}

.notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 20, 24, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.notice-backdrop[hidden] {
  display: none !important;
}

.notice-card {
  width: min(440px, 92vw);
  border-radius: 22px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: notice-in 0.25s ease;
}

.notice-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.notice-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.notice-close {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: rgba(22, 22, 22, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.notice-close:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.68s var(--delay, 0s) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2vw, -2vw) scale(1.05);
  }
}

@keyframes notice-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 700px) {
  .hero {
    margin-bottom: 26px;
  }

  .shell {
    padding-top: 52px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-card {
    min-height: 190px;
    padding: 24px;
  }

}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 4px 20px 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.55;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.shell {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.footer-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
}
