/* Vay Games – all artwork is original CSS/SVG. Fonts: Orbitron & Poppins (SIL Open Font License). */
:root {
  --bg: #07041a;
  --bg2: #120a35;
  --ink: #eef0ff;
  --muted: #a9a6d6;
  --pink: #ff3d9a;
  --cyan: #22e6ff;
  --violet: #7b4dff;
  --gold: #ffc94d;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: 'Orbitron', 'Poppins', sans-serif; letter-spacing: .04em; }
a { color: var(--cyan); }

/* ---------- Nav ---------- */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 5vw;
  background: linear-gradient(to bottom, rgba(7,4,26,.85), rgba(7,4,26,0));
  backdrop-filter: blur(6px);
}
.logo { font-weight: 900; font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--pink); text-shadow: 0 0 14px var(--pink); }
nav ul { display: flex; gap: 26px; list-style: none; }
nav ul a { color: var(--ink); text-decoration: none; font-size: .9rem; opacity: .8; transition: .2s; }
nav ul a:hover { opacity: 1; color: var(--cyan); }

/* ---------- Hero / parallax ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px; overflow: hidden;
  background: linear-gradient(to bottom, #05020f 0%, #1b0d4d 55%, #5a1b7a 80%, #ff5a8a 100%);
}
.layer { position: absolute; left: 0; width: 100%; will-change: transform; pointer-events: none; }
#stars, #stars2 { top: 0; height: 100%; }
.stars-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.planet {
  top: 14%; right: 12%; left: auto; width: clamp(110px, 18vw, 260px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe08a, #ff7a59 45%, #8a1f6b 100%);
  box-shadow: 0 0 80px rgba(255, 110, 120, .55), inset -25px -20px 50px rgba(40, 0, 60, .6);
}
.planet::after { /* ring */
  content: ""; position: absolute; left: -35%; top: 38%; width: 170%; height: 24%;
  border: 3px solid rgba(255, 220, 160, .55); border-radius: 50%; transform: rotate(-16deg);
  box-shadow: 0 0 16px rgba(255, 200, 140, .4);
}
.moon {
  top: 30%; left: 9%; width: clamp(40px, 6vw, 90px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #9ee9ff 50%, #3a5fb5);
  box-shadow: 0 0 40px rgba(34, 230, 255, .5);
}
/* Mountains keep their true proportions (height follows width). On narrow screens
   the art is held at a 900px minimum width and centred, so peaks never get squashed. */
.mount { bottom: -1px; overflow: hidden; display: flex; align-items: flex-end; }
.mount svg {
  display: block; flex: none; height: auto;
  width: max(100%, 900px);
  margin-left: min(0px, calc((100% - 900px) / 2));
}
.mount:not(.mount-far) { max-height: 60%; }
.legal-hero .mount { max-height: 70%; }
.hero-content {
  position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 6vw 8vh;
}
.eyebrow { color: var(--cyan); letter-spacing: .4em; font-size: .8rem; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 {
  font-size: clamp(3rem, 12vw, 9rem); font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(123, 77, 255, .6));
  animation: float 6s ease-in-out infinite;
}
.hero p.tag { max-width: 560px; margin: 18px auto 30px; color: #dcd8ff; font-size: clamp(1rem, 2vw, 1.25rem); }
@keyframes float { 50% { transform: translateY(-12px); } }

.btn {
  display: inline-block; padding: 14px 34px; border-radius: 50px; text-decoration: none; font-weight: 600;
  color: #fff; background: linear-gradient(90deg, var(--violet), var(--pink));
  box-shadow: 0 0 24px rgba(255, 61, 154, .5); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 40px rgba(255, 61, 154, .8); }
.btn.ghost { background: transparent; border: 2px solid var(--cyan); box-shadow: none; color: var(--cyan); margin-left: 12px; }
.btn.ghost:hover { box-shadow: 0 0 24px rgba(34, 230, 255, .6); }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; z-index: 11; width: 24px; height: 40px; margin-left: -12px;
  border: 2px solid var(--ink); border-radius: 14px; opacity: .7; }
.scroll-hint::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--ink); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
main { position: relative; z-index: 5; background: linear-gradient(var(--bg), var(--bg2) 40%, var(--bg)); }
section { padding: 110px 6vw; max-width: 75rem; margin: 0 auto; position: relative; }
/* Scale the whole UI up on 2K / 4K monitors (everything sized in rem grows with it) */
@media (min-width: 1900px) { html { font-size: 118%; } }
@media (min-width: 2500px) { html { font-size: 150%; } }
@media (min-width: 3400px) { html { font-size: 210%; } }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; }
h2 em { font-style: normal; color: var(--pink); text-shadow: 0 0 18px rgba(255, 61, 154, .6); }
.lead { color: var(--muted); max-width: 680px; font-size: 1.1rem; }

.reveal { opacity: 0; transform: translateY(50px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 48px; }
.card {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(123, 77, 255, .18), rgba(255, 61, 154, .08));
  border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px) rotate(-.4deg); border-color: var(--cyan); box-shadow: 0 12px 40px rgba(34, 230, 255, .18); }
.card .ico { font-size: 2.2rem; margin-bottom: 10px; filter: drop-shadow(0 0 10px var(--cyan)); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--cyan); }
.card p { color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.orb-art {
  position: relative; aspect-ratio: 1; max-width: 420px; margin: auto; width: 100%;
}
.orb-art i { position: absolute; border-radius: 50%; inset: 0; border: 2px dashed rgba(34, 230, 255, .5); animation: spin 22s linear infinite; }
.orb-art i:nth-child(2) { inset: 12%; border-color: rgba(255, 61, 154, .6); animation-duration: 15s; animation-direction: reverse; }
.orb-art i:nth-child(3) { inset: 26%; border-color: rgba(255, 201, 77, .6); animation-duration: 9s; }
.orb-art b { position: absolute; inset: 38%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--cyan) 35%, var(--violet) 80%); box-shadow: 0 0 60px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }

.pledge { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pill { padding: 10px 20px; border-radius: 50px; border: 1px solid var(--pink); color: #ffd3e8; font-size: .9rem; background: rgba(255, 61, 154, .08); }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; }
.contact-box {
  margin: 40px auto 0; max-width: 620px; padding: 48px 30px; border-radius: 26px;
  background: linear-gradient(145deg, rgba(34, 230, 255, .12), rgba(123, 77, 255, .18));
  border: 1px solid rgba(34, 230, 255, .4); box-shadow: 0 0 60px rgba(123, 77, 255, .25);
}
.contact-box .mail { display: inline-block; margin: 14px 0 26px; font-family: 'Orbitron', sans-serif; font-size: clamp(1rem, 3.4vw, 1.5rem);
  color: var(--ink); text-decoration: none; word-break: break-all; border-bottom: 2px solid var(--pink); }
.contact-box .mail:hover { color: var(--cyan); }

footer { position: relative; z-index: 5; text-align: center; padding: 40px 6vw 50px; background: var(--bg); color: var(--muted); font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .08); }
footer a { margin: 0 10px; }

/* ---------- Privacy page ---------- */
.legal-hero { height: 46vh; min-height: 320px; }
.legal-hero .hero-content { padding-bottom: 4vh; }
.legal-hero h1 { font-size: clamp(2rem, 7vw, 4.5rem); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 10px; color: var(--cyan); }
.legal p, .legal li { color: #cfcdf0; }
.legal ul { margin: 10px 0 0 24px; }
.callout { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--pink); border-radius: 10px; background: rgba(255, 61, 154, .09); }

@media (max-width: 760px) {
  nav ul { gap: 14px; }
  nav ul li:nth-child(-n+2) { display: none; }
  .split { grid-template-columns: 1fr; }
  section { padding: 80px 6vw; }
  .btn.ghost { margin: 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
