@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=M+PLUS+Rounded+1c:wght@400;600&display=swap");

:root {
  --bg: #fff6fb;
  --bg-2: #f2f8ff;
  --ink: #3b2f3b;
  --muted: #7a6f7a;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(255, 255, 255, 0.6);
  --accent: #ff7fb3;
  --accent-2: #f7a3c7;
  --accent-3: #c9a6ff;
  --accent-4: #ffd6e8;
  --shadow: 0 24px 60px rgba(255, 143, 177, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1000px 700px at 10% 0%, #ffe1f0 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #f7e9ff 0%, transparent 55%),
    radial-gradient(800px 600px at 50% 20%, #fff0f7 0%, transparent 60%),
    linear-gradient(140deg, var(--bg), var(--bg-2));
  font-family: "M PLUS Rounded 1c", "Baloo 2", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(255, 127, 179, 0.12) 2px, transparent 3px),
    radial-gradient(circle at 24px 24px, rgba(247, 163, 199, 0.12) 2px, transparent 3px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -30% 0 0 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 214, 232, 0.35), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(179, 156, 255, 0.28), transparent 40%),
    radial-gradient(circle at 50% 30%, rgba(255, 143, 177, 0.25), transparent 45%);
  animation: glow 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sparkles::before,
.sparkles::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.2px, transparent 2px),
    radial-gradient(circle, rgba(255, 214, 232, 0.6) 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(179, 156, 255, 0.55) 1.6px, transparent 2.4px);
  background-size: 120px 120px, 180px 180px, 240px 240px;
  animation: sparkle 18s linear infinite;
  opacity: 0.7;
}

.sparkles::after {
  background-size: 140px 140px, 220px 220px, 300px 300px;
  animation-duration: 24s;
  opacity: 0.5;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 90px;
  position: relative;
}

.cloud {
  position: absolute;
  width: 220px;
  height: 120px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  filter: blur(2px);
  box-shadow: 0 18px 40px rgba(255, 163, 199, 0.2);
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.cloud.one {
  top: -20px;
  left: -40px;
  animation-duration: 12s;
}

.cloud.two {
  top: 40px;
  right: -60px;
  animation-delay: -4s;
  animation-duration: 14s;
}

header {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 1;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 127, 179, 0.18);
  color: #c94f78;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bob 6s ease-in-out infinite;
}

h1 {
  font-family: "Baloo 2", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  margin: 8px 0 12px;
  letter-spacing: 0.02em;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 680px;
}

.lead-compact {
  margin: 0 0 10px;
}

.lead-tight {
  margin: 0;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}

.cta a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta a.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 127, 179, 0.35);
  position: relative;
  overflow: hidden;
}

.cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 143, 177, 0.25);
}

.cta a.primary::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 60%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta a.primary:hover::after {
  opacity: 0.9;
  transform: translateY(0);
}

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  background: radial-gradient(circle at 40% 40%, rgba(255, 127, 179, 0.45), transparent 65%);
  filter: blur(12px);
  opacity: 0.9;
  z-index: 0;
  animation: float 9s ease-in-out infinite;
}

.hero-image {
  width: min(360px, 78vw);
  max-height: 480px;
  object-fit: contain;
  border-radius: 28px;
  border: none;
  box-shadow: 0 28px 60px rgba(255, 127, 179, 0.18);
  transform: translateY(6px);
  animation: popIn 0.8s ease forwards, flutter 6s ease-in-out infinite 1s;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

.hero-image:hover {
  transform: translateY(-6px) scale(1.01);
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  position: relative;
  animation: fadeUp 0.8s ease both;
}

.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 163, 199, 0.45);
  pointer-events: none;
}

.card::after {
  content: "♡";
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(255, 163, 199, 0.55);
  font-size: 1rem;
  animation: twinkle 3.8s ease-in-out infinite;
  pointer-events: none;
}

.card h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  color: #c25b83;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 214, 232, 0.7);
  color: #b65e8b;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.tags {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 2px;
}

.game-list li {
  display: grid;
  gap: 6px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  grid-template-columns: auto 1fr;
}

.game-name {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-size: 0.98rem;
}

.copy-id {
  appearance: none;
  border: none;
  width: fit-content;
  text-align: left;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 400;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  box-shadow: none;
  font-size: 0.98rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 143, 177, 0.35);
  text-decoration-thickness: 1px;
}

.copy-id::after {
  content: attr(data-status);
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.copy-id.copied::after {
  opacity: 1;
  color: #b5527d;
}

.copy-id:hover {
  color: #b5527d;
}

.copy-id:focus-visible {
  outline: 2px solid rgba(255, 143, 177, 0.5);
  outline-offset: 3px;
}

.copy-id.copied {
  color: #b5527d;
}

.copy-id.copied .copy-hint {
  color: #b25c7f;
}

.links-section {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 143, 177, 0.32);
  box-shadow: 0 22px 50px rgba(255, 143, 177, 0.2);
}

.section-gap {
  margin-top: 28px;
}

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 143, 177, 0.32);
  background: linear-gradient(135deg, #ffffff, #ffeef6);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(255, 143, 177, 0.3);
}

.socials img {
  width: 26px;
  height: 26px;
}

.socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 143, 177, 0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.socials a:hover::before {
  opacity: 1;
}

.socials img {
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 20px rgba(255, 163, 199, 0.25);
}

.socials a::after {
  content: "✦";
  position: absolute;
  top: 8px;
  left: 10px;
  color: rgba(179, 156, 255, 0.55);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.socials a:hover::after {
  opacity: 1;
}

footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -14px);
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

@keyframes sparkle {
  0% {
    transform: translateY(-6%);
  }
  100% {
    transform: translateY(6%);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes flutter {
  0%,
  100% {
    transform: translateY(6px) rotate(0deg);
  }
  50% {
    transform: translateY(2px) rotate(-1deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(6px) scale(1);
  }
}

@media (min-width: 820px) {
  header {
    text-align: left;
  }

  .cta {
    justify-content: flex-start;
  }

  .tags {
    justify-content: flex-start;
  }

  .game-list li {
    grid-template-columns: auto 1fr;
  }

  .hero {
    grid-template-columns: 1.6fr 1fr;
    justify-items: stretch;
  }

  .lead {
    max-width: none;
  }
}
