@font-face {
  font-family: "Georgia";
  src: url("/fonts/georgia.woff2") format("woff2"),
    url("/fonts/Georgia.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Georgia";
  src: url("/fonts/Georgia-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Palantino LT";
  src: url("/fonts/PalatinoLTStd-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Palantino LT";
  src: url("/fonts/PalatinoLTStd-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.page-main {
  font-family: "Georgia", serif;
  font-size: 16px;
  line-height: 24px;
  color: #42525b;
  background-color: #fff;
}

/* ---------- glass tablet ---------- */
.page-main__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 120px auto;
  padding: 2rem 1rem;
  min-width: 256px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;

  @media (min-width: 768px) {
    padding: 3rem 2rem;
    margin-top: 50px;
    max-width: 640px;
  }
  @media (min-width: 1200px) {
    max-width: 960px;
  }
}
.main-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
  align-items: center;
  @media (min-width: 380px) {
    align-items: flex-start;
  }
}
.main-title {
  text-align: center;
  font-size: 40px;
  line-height: 30px;
  font-weight: 400;
  @media (min-width: 768px) {
    font-size: 50px;
    line-height: 1;
  }
  @media (min-width: 1200px) {
    font-size: 65px;
  }
}

.main-title-text {
  font-size: 25px;
  color: transparent;
  background: linear-gradient(135deg, #ffb74d, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.7));

  @media (min-width: 768px) {
    font-size: 35px;
  }
  @media (min-width: 1200px) {
    font-size: 50px;
  }
}

.link-text {
  display: inline-block;
}

/* ---------- liquid-ink buttons ---------- */
.main-item-link {
  display: inline-block;
  margin: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 15px;
  color: #42525b;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(66, 82, 91, 0.4);
  transition: box-shadow 0.3s, background 0.3s;
  @media (min-width: 768px) {
    padding: 0.75rem 2rem;
  }
  @media (min-width: 1200px) {
    font-size: 20px;
  }
}
.main-item-link:hover {
  border: 0.5px solid transparent;
  color: transparent;
  background: linear-gradient(135deg, #ffb74d, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.6);
  filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.7));
}
/* ---- visible ink ripple ---- */
.ink-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  transform: scale(0);
  animation: ripple 0.8s ease-out;
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(6);
    opacity: 0;
  }
}
