:root {
  --bg-start: #0b0f14;
  --bg-end: #141b22;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.16);
  --text: #f2f5f8;
  --muted: #b7c0c8;
  --accent-start: #ff7a18;
  --accent-end: #ff3c7e;
  --accent: #ff6a3d;
  --focus: #8bd3ff;
  --maxw: 720px;
  --brand-pink: #72005B;
  --brand-blue: #327BCD;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #1e2a36 0%, transparent 60%),
              radial-gradient(1000px 600px at 110% 10%, #1f1238 0%, transparent 55%),
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
  display: grid;
  place-items: center;
  line-height: 1.5;
}

.page {
  width: 100%;
  max-width: var(--maxw);
  padding: 28px 20px 40px;
  position: relative;
  z-index: 2;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin: 12px auto 22px;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Background carousel container */
.bg-carousel {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-carousel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.9) blur(2px);
  opacity: 0;
  transition: opacity 1200ms ease;
}

.bg-carousel__img.is-active {
  opacity: 0.25;
}

/* Brand-colored vignette from sides toward center */
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 0% 50%, color-mix(in oklab, var(--brand-pink) 35%, transparent) 0%, transparent 60%),
    radial-gradient(60% 100% at 100% 50%, color-mix(in oklab, var(--brand-blue) 35%, transparent) 0%, transparent 60%),
    radial-gradient(140% 120% at 50% 50%, transparent 65%, rgba(0, 0, 0, 0.35) 100%);
}

.brand {
  font-size: 34px;
  letter-spacing: 0.5px;
  margin: 2px 0 0;
}

.tag {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.links {
  display: grid;
  gap: 14px;
  margin: 28px auto 26px;
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

.link__icon {
  font-size: 20px;
}

.link__label {
  font-size: 16px;
  font-weight: 600;
}

.link--primary {
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  border-color: transparent;
  color: #111318;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 28px rgba(255, 96, 117, 0.35), 0 10px 22px rgba(0, 0, 0, 0.25);
  justify-content: center;
  padding: 16px 20px;
}

.link--primary:hover {
  transform: translateY(-3px) scale(1.01);
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 24px;
}

.qr-note a {
  color: var(--text);
}

/* Focus styles for accessibility */
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Responsive tweaks */
@media (min-width: 720px) {
  .links { gap: 16px; }
  .link__label { font-size: 17px; }
  .brand { font-size: 38px; }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-start: #f6f7fb;
    --bg-end: #e9ecf3;
    --text: #17212a;
    --muted: #4a5a68;
    --card-bg: rgba(0, 0, 0, 0.04);
    --card-border: rgba(0, 0, 0, 0.08);
  }
  body {
    background: radial-gradient(1200px 600px at 10% -10%, #ffffff 0%, transparent 60%),
                radial-gradient(1000px 600px at 110% 10%, #ffe8f2 0%, transparent 55%),
                linear-gradient(180deg, var(--bg-start), var(--bg-end));
  }
  .link {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  }
  .link--primary { color: #0d0f14; }
}


