@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-black.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #FC9BC4;
  --cheek: #FA75AC;
  --navy: #181343;
  --navy-2: #221b5a;
  --navy-3: #2d2470;
  --sky: #6CDDFC;
  --pale: #BEF3FC;
  --white: #FDFCFD;
  --muted: #b9b4dc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(5, 3, 25, .45);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ok: #8ef0c4;
  --warn: #ffd28a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: radial-gradient(1200px 600px at 80% -10%, #2f2580 0%, transparent 60%), var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: var(--pale); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
main.wrap { flex: 1; padding: 36px 0 64px; }

.skip, .skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--white); color: var(--navy);
  padding: 8px 12px; border-radius: 8px; z-index: 10;
}
.skip:focus, .skip-link:focus { left: 8px; }

.site-header, header.app {
  position: sticky; top: 0; z-index: 5;
  background: rgba(24, 19, 67, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(190, 243, 252, .08);
}
.header-row, header.app .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white); flex: none;
}
.brand img { width: 56px; height: auto; image-rendering: pixelated; }
.brand-name {
  font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--pink); line-height: 1.15;
}
.brand-name span { color: var(--white); font-weight: 600; display: block; font-size: .82rem; }
header.app nav, .site-header nav {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
header.app nav a, .site-header nav a {
  color: var(--white); text-decoration: none; font-weight: 600;
  font-size: .92rem; opacity: .85;
}
header.app nav a:hover, .site-header nav a:hover { opacity: 1; color: var(--pink); }
header.app nav a[aria-current="page"], .site-header nav a[aria-current="page"] {
  opacity: 1; color: var(--pink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 2rem 0 1rem; color: var(--pink); }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.eyebrow {
  margin: 0 0 12px; color: var(--sky); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
}
.lede, .lead { font-size: 1.15rem; color: #e6e3fa; max-width: 40em; margin: 0 0 24px; }
.meta { color: var(--muted); font-size: .9rem; }

.btn, button, .secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-family: inherit;
  font-size: .95rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-primary, button:not(.secondary):not(.ghost) {
  background: var(--pink); color: var(--navy); box-shadow: 0 4px 0 var(--cheek);
}
.btn-primary:hover, button:not(.secondary):not(.ghost):hover {
  background: #ffb3d4; color: var(--navy); transform: translateY(-1px);
}
button:not(.secondary):not(.ghost):active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cheek); }
.secondary, .btn-ghost, .ghost {
  color: var(--white); border-color: rgba(253, 252, 253, .35);
  background: transparent; box-shadow: none;
}
.secondary:hover, .btn-ghost:hover, .ghost:hover { border-color: var(--sky); color: var(--sky); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .list > li, form, pre, .news-box {
  background: var(--navy-2);
  border: 1px solid rgba(190, 243, 252, .1);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.list > li h3 { margin-top: 0; }
.badge, .room-meta li {
  display: inline-block; font-size: .78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(108, 221, 252, .12); color: var(--pale);
  margin: 0 6px 6px 0;
}
.badge.pink { background: rgba(252, 155, 196, .18); color: var(--pink); }
.stars { color: var(--pink); letter-spacing: .05em; font-weight: 800; }

.callout, .news-box {
  display: block;
  background: linear-gradient(120deg, rgba(252, 155, 196, .16), rgba(108, 221, 252, .1));
  border: 1px solid rgba(252, 155, 196, .35);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
}
.callout.warn { border-color: rgba(255, 210, 138, .5); }
.callout p:last-child { margin-bottom: 0; }

form { display: grid; gap: 10px; max-width: 36em; }
label { font-weight: 700; color: var(--pale); }
input, textarea, select {
  font: inherit; color: var(--white); background: rgba(24, 19, 67, .7);
  border: 1px solid rgba(190, 243, 252, .2); border-radius: 10px; padding: 10px 12px;
}
input:focus, textarea:focus, select:focus { border-color: var(--sky); outline: none; }
pre, code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
pre { overflow: auto; color: #e6e3fa; }
code { background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; }
pre code { background: none; padding: 0; }

table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(190, 243, 252, .1); vertical-align: top; }
th { color: var(--pale); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.overflow { overflow-x: auto; }

.hero { padding: 24px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 40px; align-items: center; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(280px, 100%); image-rendering: pixelated;
  filter: drop-shadow(0 18px 40px rgba(252, 155, 196, .25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.profile-head { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0 20px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(190, 243, 252, .1); border-radius: 12px; padding: 12px 16px; min-width: 8rem; }
.stat b { display: block; font-size: 1.4rem; color: var(--pink); }

.site-footer, footer {
  border-top: 1px solid rgba(190, 243, 252, .1);
  background: #120e35;
  padding: 36px 0 28px;
  font-size: .93rem;
  color: var(--muted);
  margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer h2, footer h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--white); margin: 6px 0 8px;
}
.footer-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(190, 243, 252, .08); font-size: .85rem; }
.footer-note strong { color: var(--white); }
.brand-small img { width: 40px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 140px; }
  .header-row, header.app .wrap {
    flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 10px 0; min-height: 0;
  }
  .site-header, header.app { position: static; }
  header.app nav, .site-header nav { gap: 12px; }
  body { font-size: 16px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
