/* EvolveNetwork website: one dark, starry look in the network's colours (purple to cyan, pink for buying). */
:root {
  --bg: #0c0919;
  --bg2: #120d24;
  --card: #1a1431;
  --card2: #211940;
  --line: #2e2556;
  --text: #efeafb;
  --muted: #a99fc9;
  --purple: #a855f7;
  --violet: #7c3aed;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --pink2: #f472b6;
  --gold: #facc15;
  --green: #4ade80;
  --blurple: #5865f2;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

/* A starfield behind every page. */
.stars {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(34, 211, 238, .14), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(236, 72, 153, .12), transparent 60%),
    var(--bg);
}
.stars canvas { width: 100%; height: 100%; display: block; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

h1, h2, h3, .display {
  font-family: "Lilita One", "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
.grad {
  background: linear-gradient(90deg, var(--purple), #7c8cff 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ the menu */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 9, 25, .72);
  border-bottom: 1px solid rgba(46, 37, 86, .7);
}
.nav .wrap { display: flex; align-items: center; gap: 10px; min-height: 74px; flex-wrap: wrap; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 12px; }
.logo img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(168, 85, 247, .45), 0 6px 20px rgba(124, 58, 237, .45); }
.logo span { font-family: "Lilita One", sans-serif; font-size: 22px; letter-spacing: .03em; }
.links { display: flex; gap: 6px; flex-wrap: wrap; }
.links a {
  text-decoration: none; font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 15px;
  padding: 9px 18px; border-radius: 999px; color: var(--text); transition: background .2s, color .2s;
}
.links a:hover { background: rgba(168, 85, 247, .16); }
.links a.on { background: var(--gold); color: #1a1033; }
.nav .right { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --c: var(--pink); --c2: #be185d;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 italic 16px "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  color: #fff; text-decoration: none; cursor: pointer;
  padding: 13px 24px; border: 0; border-radius: 16px;
  background: var(--c);
  box-shadow: 0 5px 0 var(--c2), 0 10px 26px color-mix(in srgb, var(--c) 40%, transparent);
  transition: transform .12s, box-shadow .12s, filter .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--c2); }
.btn.small { padding: 10px 18px; font-size: 14px; border-radius: 14px; }
.btn.discord { --c: var(--blurple); --c2: #3c45c5; }
.btn.gold { --c: var(--gold); --c2: #b4900a; color: #1a1033; }
.btn.ghost { --c: #2a2147; --c2: #171128; }
.btn.cyan { --c: #0ea5c4; --c2: #0b6f86; }
.btn[hidden] { display: none !important; }

/* ------------------------------------------------------------------ home: the hero */
.hero { position: relative; padding-block: 70px 40px; text-align: center; overflow: hidden; }
.hero .float { position: absolute; image-rendering: pixelated; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); pointer-events: none; }
.hero .f1 { width: 300px; left: calc(50% - 640px); top: 70px; animation: bob 7s ease-in-out infinite; }
.hero .f2 { width: 300px; right: calc(50% - 640px); top: 120px; animation: bob 8s ease-in-out -2s infinite; }
.hero .f3 { width: 190px; left: calc(50% - 520px); top: 380px; animation: bob 6s ease-in-out -1s infinite; opacity: .9; }
.hero .f4 { width: 190px; right: calc(50% - 520px); top: 420px; animation: bob 6.5s ease-in-out -3s infinite; opacity: .9; }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }

.hero .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px;
  background: rgba(17, 12, 34, .8); border: 1px solid var(--line);
}
.pill b { color: var(--pink2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot.off { background: #f87171; box-shadow: 0 0 12px #f87171; }
.hero .logo-big { width: 150px; height: 150px; border-radius: 34px; box-shadow: 0 0 0 3px rgba(168, 85, 247, .5), 0 20px 60px rgba(124, 58, 237, .55); animation: bob 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(48px, 9vw, 110px); filter: drop-shadow(0 6px 0 #1a1033) drop-shadow(0 18px 40px rgba(124, 58, 237, .45)); }
.hero .tag { font-size: clamp(17px, 2.2vw, 22px); font-weight: 600; color: #e6dcff; margin: 0; }

.ip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 30px 18px; border-radius: 18px; cursor: pointer;
  background: rgba(17, 12, 34, .85); border: 2px solid var(--line);
  font: 800 clamp(17px, 2.4vw, 22px) "Poppins", sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #fff;
  transition: border-color .2s, transform .15s;
}
.ip:hover { border-color: var(--purple); transform: translateY(-2px); }
.ip small { font-size: 12px; font-style: italic; padding: 2px 12px; border-radius: 999px; background: var(--pink); }
.row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ sections */
section { padding-block: 56px; }
.head { text-align: center; margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.head h2 { font-size: clamp(34px, 5vw, 52px); font-style: italic; }
.head p { margin: 0; max-width: 60ch; color: var(--muted); }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.mode {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
  transition: transform .2s, border-color .2s;
}
.mode:hover { transform: translateY(-4px); border-color: var(--purple); }
.mode .pic { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, var(--glow, rgba(168, 85, 247, .35)), transparent 65%), var(--bg2); }
.mode .pic img { image-rendering: pixelated; max-height: 88%; max-width: 92%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.mode .pic img.wide { max-width: 118%; max-height: none; width: 118%; }
.mode .pic img.shot { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; image-rendering: auto; filter: none; transition: transform .4s; }
.mode:hover .pic img.shot { transform: scale(1.04); }
.mode .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.mode h3 { font-size: 30px; font-style: italic; }
.mode p { margin: 0; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(168, 85, 247, .14); color: #ddc9ff; border: 1px solid rgba(168, 85, 247, .3); }

.join { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.how { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.how h3 { font-size: 28px; font-style: italic; margin-bottom: 12px; }
.how ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.how code { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--cyan); word-break: break-all; }

/* ------------------------------------------------------------------ store */
.store-top { padding-block: 46px 10px; text-align: center; }
.store-top h1 { font-size: clamp(54px, 8vw, 92px); font-style: italic; }
.steps { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: rgba(26, 20, 49, .8); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.step b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); font-size: 14px; }

.feature {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center;
  background: linear-gradient(135deg, rgba(33, 25, 64, .95), rgba(26, 20, 49, .95));
  border: 2px solid var(--line); border-radius: 28px; padding: 34px 38px; margin-bottom: 26px; overflow: hidden;
}
.feature::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(168, 85, 247, .35)), transparent 70%); pointer-events: none; }
.feature > * { position: relative; z-index: 1; min-width: 0; }
.feature h2 { font-size: clamp(40px, 5.5vw, 62px); }
.feature h2 em { font-style: normal; color: var(--pink2); }
.feature .sub { font-weight: 700; color: var(--gold); margin: 8px 0 18px; }
.perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-bottom: 22px; }
.perk { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.25; }
.perk i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: #2a2149; border: 1px solid var(--line); font-style: normal; font-size: 26px; }
.feature .art { display: grid; place-items: center; min-height: 260px; }
.feature .art img { width: min(300px, 100%); image-rendering: pixelated; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: bob 6s ease-in-out infinite; }
.feature .art .orbit { position: absolute; width: 64px; image-rendering: pixelated; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.badge-new { position: absolute; top: 18px; right: 22px; z-index: 2; background: var(--gold); color: #1a1033; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 8px; }

.cat-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 10px auto 26px; width: fit-content; max-width: 100%; padding: 8px; border-radius: 999px; background: rgba(12, 9, 25, .7); backdrop-filter: blur(10px); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); z-index: 20; }
.cat-tabs a { text-decoration: none; font-weight: 800; font-style: italic; text-transform: uppercase; padding: 10px 22px; border-radius: 999px; background: rgba(26, 20, 49, .92); border: 1px solid var(--line); }
.cat-tabs a:hover { border-color: var(--purple); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 2px solid var(--line); border-radius: 26px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--c, var(--purple)); }
.card .pic { height: 190px; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c, #a855f7) 45%, transparent), transparent 62%), var(--bg2); }
.card .pic img { width: 132px; image-rendering: pixelated; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5)); transition: transform .25s; }
.card:hover .pic img { transform: scale(1.07) rotate(-3deg); }
.card .pic .stack { position: absolute; width: 108px; opacity: .55; filter: brightness(.6); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 28px; font-style: italic; }
.card .what { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card .buy { display: flex; gap: 10px; margin-top: 12px; }
.card .buy .btn { flex: 1; }
.info-btn { width: 50px; flex: 0 0 50px; border-radius: 14px; border: 1px solid var(--line); background: #241c42; color: #fff; font: 800 18px "Poppins", sans-serif; cursor: pointer; }
.info-btn:hover { border-color: var(--purple); }
.ribbon { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: var(--gold); color: #1a1033; }
.amount { font-family: "Lilita One", sans-serif; font-size: 40px; line-height: 1; }

.note { margin-top: 30px; padding: 18px 22px; border-radius: 18px; background: rgba(26, 20, 49, .8); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.note b { color: var(--text); }

/* the package details */
dialog { border: 2px solid var(--line); border-radius: 26px; background: var(--card); color: var(--text); padding: 0; width: min(460px, 100% - 32px); }
dialog::backdrop { background: rgba(5, 3, 12, .7); backdrop-filter: blur(4px); }
dialog .pic { height: 170px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c, #a855f7) 45%, transparent), transparent 62%), var(--bg2); }
dialog .pic img { width: 120px; image-rendering: pixelated; }
dialog .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
dialog h3 { font-size: 32px; font-style: italic; }
dialog ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
dialog .x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #241c42; color: #fff; font-size: 20px; cursor: pointer; }

/* ------------------------------------------------------------------ footer and the copied toast */
footer { margin-top: 40px; padding-block: 34px; border-top: 1px solid var(--line); background: rgba(10, 7, 20, .7); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 16px 30px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer a { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 60px)); z-index: 99;
  background: var(--green); color: #052e16; font-weight: 800; padding: 12px 22px; border-radius: 14px; transition: transform .25s; }
.toast.show { transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ narrow screens */
@media (max-width: 1100px) { .hero .float { display: none; } }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; padding: 26px 22px; }
  .feature .art { min-height: 0; order: -1; }
  .feature .art img { width: 170px; }
  .nav .wrap { justify-content: center; }
  .nav .right { margin-left: 0; }
  .cat-tabs { position: static; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
