:root {
  color-scheme: light;
  --bg-base: #d0bbb0;
  --card-bg: #ffffff;
  --card-shadow: 0 20px 48px rgba(31, 41, 55, 0.14);
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --btn-bg: #f9fafb;
  --btn-border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.corner-logo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(33vw, 280px);
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 28px 20px;
}

#page-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 800;
  text-align: center;
}

#page-subtitle {
  margin: 10px 0 0;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  color: var(--text-secondary);
  text-align: center;
}

.links-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
}

.link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
  background: #ffffff;
}

.link-button:active {
  transform: translateY(0);
}

.color-blue {
  color: #1d4ed8;
}

.color-green {
  color: #15803d;
}

.color-purple {
  color: #7e22ce;
}

.color-orange {
  color: #c2410c;
}

.color-red {
  color: #b91c1c;
}

.color-teal {
  color: #0f766e;
}

@media (min-width: 640px) {
  .card {
    padding: 36px 28px;
  }

  .links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
  }
}

@media (max-width: 639px) {
  .corner-logo {
    width: min(44vw, 220px);
    bottom: 12px;
    right: 10px;
    opacity: 0.22;
  }
}
