@font-face {
  font-family: 'CafeParadis Script';
  src: url('Assets/CafeParadis-RegularScript.otf') format('opentype'),
       url('Assets/CafeParadis-RegularScript.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'CafeParadis Sans';
  src: url('Assets/CafeParadis-SansBold.otf') format('opentype'),
       url('Assets/CafeParadisSansBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: block;
}

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

body {
  font-family: 'CafeParadis Sans', sans-serif;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* Full-bleed blurred background */
.background {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.08);
}

.background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

/* Main container */
.container {
  width: 100%;
  max-width: 520px;
  padding: 3rem 2.5rem 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scalloped profile frame */
.profile {
  margin-bottom: 0.75rem;
}

.profile-frame {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
}

.scallop-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-photo {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

/* Text */
.text-content {
  margin-bottom: 1.75rem;
}

.author {
  font-family: 'CafeParadis Sans', sans-serif;
  font-size: 2.9rem;
  font-weight: bold;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

h1 {
  font-family: 'CafeParadis Script', cursive;
  font-size: 2.8rem;
  font-weight: normal;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Link buttons */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.link-btn {
  display: inline-block;
  padding: 0.6rem 2.5rem;
  min-width: 220px;
  max-width: 260px;
  background: #F7EEEE;
  color: #BB8588;
  text-decoration: none;
  border-radius: 2rem;
  font-family: 'CafeParadis Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 0;
  width: 260px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, transform 0.15s ease;
}

.link-btn:hover {
  background: #fdf6f6;
  transform: translateY(-2px);
}

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

/* Fly-in animation */
@keyframes flyIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile {
  animation: flyIn 0.6s ease-out both;
}

.text-content {
  animation: flyIn 0.6s ease-out 0.15s both;
}

.link-btn:nth-child(1) {
  animation: flyIn 0.5s ease-out 0.3s both;
}

.link-btn:nth-child(2) {
  animation: flyIn 0.5s ease-out 0.45s both;
}

.link-btn:nth-child(3) {
  animation: flyIn 0.5s ease-out 0.6s both;
}

.link-btn:nth-child(4) {
  animation: flyIn 0.5s ease-out 0.75s both;
}
