:root {
  --bg-1: #f7efe5;
  --bg-2: #f0d9bf;
  --card: rgba(255, 255, 255, 0.82);
  --text: #3a2b21;
  --accent: #bf6f3d;
  --accent-hover: #a85c2f;
  --shadow: 0 12px 30px rgba(61, 39, 25, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background-image:
    url("files/background-pattern.png"),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.3), transparent 35%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, auto, auto;
}

.page {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 44px 0 56px;
}

.hero {
  text-align: center;
  margin-bottom: 26px;
}

.logo {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(1.6rem, 4.3vw, 2.1rem);
}

.hero p {
  margin: 0;
  opacity: 0.88;
}

.link-groups {
  display: grid;
  gap: 16px;
}

.group {
  background: var(--card);
  backdrop-filter: blur(4px);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.group h2 {
  margin: 0 0 2px;
  font-size: 1.03rem;
}

.link-btn {
  text-decoration: none;
  color: #fff;
  background: var(--link-color, var(--accent));
  border-radius: 12px;
  min-height: 66px;
  padding: 18px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.link-btn:hover {
  background: var(--link-hover, var(--accent-hover));
  transform: translateY(-2px);
}

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

.link-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .page {
    padding-top: 28px;
  }

  .logo {
    width: 116px;
    height: 116px;
  }
}
