:root {
  --rose: #d337b8;
  --leaf: #a2d43c;
  --rose-soft: #f7d6f2;
  --leaf-soft: #eef8d4;
  --peach: #fff1eb;
  --cream: #fffaf7;
  --ink: #33253a;
  --muted: #735d79;
  --card: rgba(255, 250, 247, 0.82);
  --border: rgba(211, 55, 184, 0.16);
  --shadow: 0 24px 60px rgba(127, 75, 118, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 55, 184, 0.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(162, 212, 60, 0.24), transparent 24%),
    linear-gradient(180deg, #fff9fb 0%, #fffef8 48%, #fff7f1 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem clamp(1.25rem, 2vw, 2rem) 4rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  pointer-events: none;
}

.hero::before {
  width: 18rem;
  height: 18rem;
  top: -5rem;
  right: -6rem;
  background: rgba(211, 55, 184, 0.12);
}

.hero::after {
  width: 22rem;
  height: 22rem;
  left: -8rem;
  bottom: -10rem;
  background: rgba(162, 212, 60, 0.14);
}

.topbar,
.hero-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1.5rem;
}

.brand,
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
  padding-top: 2rem;
}

.hero-copy,
.hero-card {
  backdrop-filter: blur(12px);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.75rem, 3vw, 3rem);
  border-radius: 32px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.hero-text,
.server-note {
  color: var(--muted);
}

.hero-text {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--rose), #ea7cd6);
  color: #fff;
  box-shadow: 0 18px 36px rgba(211, 55, 184, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid var(--border);
}

.hero-card {
  padding: 1.5rem;
  border-radius: 28px;
}

.badge {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: #4e6e08;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-card h2 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.server-ip {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--rose);
  word-break: break-word;
  line-height: 1.02;
}

.copy-ip {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.copy-ip:hover,
.copy-ip:focus-visible {
  color: #b02a98;
  transform: translateY(-1px);
}

.copy-ip:focus-visible {
  outline: 2px solid rgba(211, 55, 184, 0.3);
  outline-offset: 6px;
  border-radius: 10px;
}

.copy-ip.copied {
  color: #8e2395;
}

.server-note {
  margin: 0;
  line-height: 1.7;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  background: rgba(46, 34, 53, 0.92);
  color: #fffaf7;
  box-shadow: 0 20px 45px rgba(33, 24, 39, 0.24);
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: rgba(134, 36, 78, 0.94);
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

}
