/* veltus.club — layout inspired by widowmc.net, in Veltus colours */
:root {
    --blue: #0a84f0;
    --blue-dark: #063c8f;
    --cyan: #38d6ff;
    --navy: #020c24;
    --black: #04060c;
    --card: #0a1224;
    --gold: #ffc83d;
    --title: "Rubik", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--black);
    color: #fff;
    font: 700 17px/1.6 "Nunito", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }

a { color: inherit; }

p { color: #b9c3d6; }

h1, h2, h3 {
    margin: 0;
    font-family: var(--title);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

h2 { font-size: clamp(38px, 5.4vw, 64px); }

.vh-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- buttons ---------- */
.vh-btn {
    display: inline-block;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font: 800 14px var(--title);
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 0 #04407d;
    transition: transform 0.1s, box-shadow 0.1s;
}
.vh-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #04407d; }
.vh-btn--white { background: #fff; color: var(--navy); box-shadow: 0 4px 0 #9fb3cc; }
.vh-btn--white:hover { box-shadow: 0 2px 0 #9fb3cc; }
.vh-btn--gold { background: var(--gold); color: #2a1a00; box-shadow: 0 4px 0 #a37a10; }
.vh-btn--gold:hover { box-shadow: 0 2px 0 #a37a10; }

/* ---------- top strip + nav ---------- */
.vh-top { position: relative; z-index: 3; background: #000; font-size: 13px; color: #9aa6b8; }
.vh-top__in { display: flex; justify-content: center; gap: 12px; padding: 6px 0; }
.vh-top b { color: #fff; }
.vh-top__links a { text-decoration: underline; }

/* Nav: one rounded dark bar (logo · links separated by | · TIENDA pill · social icons) */
.vh-nav { position: relative; z-index: 3; padding: 18px 0; }
.vh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 24px;
    background: linear-gradient(90deg, rgba(2, 12, 36, 0.88), rgba(6, 60, 143, 0.7));
    border: 1px solid rgba(56, 214, 255, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(2, 12, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.vh-brand { display: flex; align-items: center; flex-shrink: 0; margin-right: 22px; text-decoration: none; }
.vh-brand img { width: 40px; }

.vh-menu { display: flex; align-items: center; flex: 1; margin: 0; padding: 0; list-style: none; }
.vh-sep { padding: 0 16px; color: rgba(56, 214, 255, 0.25); user-select: none; }
.vh-menu a {
    position: relative;
    color: #a9c8ec;
    font: 700 15px var(--title); /* same weight as the stats title */
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.vh-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(56, 214, 255, 0.7);
    transition: width 0.25s;
}
.vh-menu a:hover, .vh-menu a.is-on { color: #fff; }
.vh-menu a:hover::after, .vh-menu a.is-on::after { width: 100%; }
.vh-menu a.vh-menu__store {
    display: inline-block;
    padding: 7px 16px;
    color: var(--navy);
    background: var(--cyan);
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 3px 0 #0a7fb0, 0 0 14px rgba(56, 214, 255, 0.35);
    transition: transform 0.1s, box-shadow 0.1s;
}
.vh-menu a.vh-menu__store::after { display: none; }
.vh-menu a.vh-menu__store:hover { color: var(--navy); transform: translateY(2px); box-shadow: 0 1px 0 #0a7fb0, 0 0 18px rgba(56, 214, 255, 0.5); }

.vh-social { display: flex; align-items: center; gap: 4px; }
.vh-social a { display: flex; padding: 8px; color: #a9c8ec; transition: color 0.2s; }
.vh-social a:hover { color: var(--cyan); }
.vh-social svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.vh-hero { position: relative; margin-top: -76px; padding-top: 76px; }

/* Blue panel with diagonal bottom edge and a light diamond grid (Veltus "V") */
.vh-panel {
    position: absolute;
    inset: 0 0 0 0;
    top: -30px;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
        radial-gradient(80% 90% at 74% 40%, var(--cyan) 0%, var(--blue) 30%, var(--blue-dark) 70%, var(--navy) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 38% 100%, 0 92%);
}

.vh-hero__in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;
    min-height: 560px;
    padding: 40px 0 120px;
}

.vh-hero h1 { font-size: clamp(72px, 11vw, 130px); }
.vh-hero h1 small { display: block; font-size: 0.42em; }

/* Hero render + light-blue particles drawn on a canvas around it (app.js). */
.vh-hero__art { position: relative; justify-self: center; display: grid; place-items: center; width: min(580px, 100%); }
.vh-sparks { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
/* Float (transform) + a slight lean while waving (the separate `rotate` property). */
.vh-mascot { position: relative; width: 100%; transform-origin: 50% 90%; animation: vh-float 5s ease-in-out infinite, vh-lean 4.8s ease-in-out infinite; }
/* Two layers from the designer (same 1254x1254 canvas): the arm sits BEHIND the body,
   so the shield and shoulder hide where the arm joins. */
.vh-hero__logo { position: relative; display: block; width: 100%; }
.vh-mascot__arm { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Pivot = base of the arm, hidden behind the shield (470, 700 of 1254). */
/* Wave: eases into every turn (no sudden direction changes), swings get smaller
   until the arm settles, then a calm pause. */
.vh-mascot__arm { transform-origin: 37.5% 55.8%; animation: vh-wave 4.8s infinite; }
@keyframes vh-wave {
    0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    9% { transform: rotate(-11deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    19% { transform: rotate(8deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    29% { transform: rotate(-10deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    39% { transform: rotate(6deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
    48% { transform: rotate(-3deg); animation-timing-function: cubic-bezier(0.33, 0, 0.3, 1); }
    56%, 100% { transform: rotate(0deg); }
}
@keyframes vh-lean {
    0%, 62%, 100% { rotate: 0deg; }
    12%, 44% { rotate: -1.6deg; }
}

.vh-ip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 440px;
    margin-top: 28px;
    padding: 8px 8px 8px 20px;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.vh-ip span { font: 800 24px var(--title); }
.vh-ip button {
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font: 800 14px var(--title);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s;
}
.vh-ip button:hover { background: #0b2a5c; }

.vh-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vh-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(2, 12, 36, 0.55);
    font-size: 14px;
}
.vh-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.vh-dot--off { background: #ff4d5e; box-shadow: 0 0 8px #ff4d5e; }

/* Hero live counters: players online + Discord online, as slim pills
   (same height as the old Java 1.8.9 / Survival OP pills). */
.vh-live { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vh-live__card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 28px 6px 16px;
    min-width: 180px;
    border-radius: 12px;
    background: rgba(2, 12, 36, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    line-height: 1.3;
}
/* label on top, amount below */
.vh-live__card small {
    display: block;
    font: 700 10px var(--title);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8fa3bd;
}
.vh-live__card span { display: block; font-size: 13px; color: #c9d6e8; }
.vh-live__card b { font: 800 14px var(--title); color: #fff; }
.vh-live__card .vh-dot { animation: vh-pulse 1.6s ease-in-out infinite; }
.vh-live__card .vh-dot--off { animation: none; }
@keyframes vh-pulse { 50% { transform: scale(1.35); opacity: 0.7; } }
.vh-live__card--dc { transition: border-color 0.2s, background 0.2s; }
.vh-live__card--dc:hover { border-color: rgba(88, 101, 242, 0.7); background: rgba(88, 101, 242, 0.15); }
.vh-live__card--dc svg { width: 18px; height: 18px; flex: none; color: #7983f5; }

/* ---------- join ---------- */
.vh-join { display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; padding: 60px 0 100px; }
.vh-join p { max-width: 460px; }

.vh-card {
    justify-self: center;
    width: min(440px, 100%);
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.vh-card h3 { margin-bottom: 18px; font-size: 34px; text-align: center; text-shadow: none; }
.vh-card p { color: var(--navy); }
.vh-card ol { margin: 8px 0 18px; padding-left: 22px; color: #33415c; }
.vh-card small { display: block; margin-top: 12px; color: #6b7891; font-size: 12px; text-align: center; }
.vh-card .vh-btn { display: block; width: 100%; }

.vh-step { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; }
.vh-step b {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
}
.vh-accent { color: var(--blue); }

/* ---------- season band ---------- */
.vh-season {
    padding-block: 130px;
    overflow: hidden;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, #1aa9f5);
    clip-path: polygon(0 9%, 100% 0, 100% 91%, 0 100%);
}
.vh-season__in { display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; }
.vh-season p { max-width: 420px; margin: 18px 0 24px; color: #e3f2ff; }

.vh-top3 {
    margin: 0;
    padding: 16px 24px 10px;
    border-radius: 14px;
    background: rgba(2, 8, 22, 0.88);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
/* Rotating category: label + one dot per category, list fades between them */
.vh-top3__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 800 13px var(--title); letter-spacing: 0.08em; color: var(--cyan); }
.vh-top3__dots { display: flex; gap: 5px; }
.vh-top3__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: background 0.3s; }
.vh-top3__dots i.is-on { background: var(--cyan); }
.vh-top3 ol { margin: 0; padding: 0; list-style: none; transition: opacity 0.35s ease; }
.vh-top3 ol.is-fading { opacity: 0; }
.vh-top3 a { text-transform: uppercase; }
.vh-top3 li {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--title);
    font-weight: 800;
}
.vh-top3 li:last-child { border-bottom: 0; }
.vh-top3 li:first-child b { color: var(--cyan); }
.vh-top3 b { color: #8592a8; font-size: 22px; }
.vh-top3 a { text-decoration: none; }
.vh-top3 a:hover { color: var(--cyan); }
.vh-top3 .vh-top3__empty { display: block; color: #8592a8; }

/* ---------- shop ---------- */
.vh-shop { display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; padding: 100px 0; }
/* Frame with the same 5:4 proportion as the reference; the render sits on the
   frame's bottom edge and sticks out over the top. */
.vh-shop__art { position: relative; aspect-ratio: 5 / 4; margin-top: 70px; border-radius: 18px; background: var(--card); }
.vh-shop__art::before {
    content: "";
    position: absolute;
    inset: 15% 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.35), transparent 70%);
    filter: blur(20px);
}
.vh-shop__art img {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: auto;
    height: 122%;
    max-width: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}
.vh-gold { color: var(--gold); }

.vh-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 24px; }
.vh-mini div { padding: 12px; border-top: 3px solid var(--gold); border-radius: 8px; background: var(--card); }
.vh-mini b { display: block; font: 800 14px var(--title); }
.vh-mini span { color: #8f9bb0; font-size: 13px; }

/* ---------- features ---------- */
.vh-feat { padding-bottom: 100px; }
.vh-feat__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.vh-feat__body { display: grid; grid-template-columns: 1fr; align-items: center; gap: 30px; }
/* Same idea as the store render: 4:3 frame, render sticks out over the top,
   small cyan glow on the floor under the render. */
.vh-feat__art { position: relative; aspect-ratio: 4 / 3; margin-top: 70px; overflow: visible; border-radius: 18px; background: var(--card); }
.vh-feat__art::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2%;
    width: 90%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 212, 0.6), rgba(0, 212, 212, 0.18) 45%, transparent 72%);
    filter: blur(16px);
    transform: translateX(-50%);
}
.vh-feat__art img {
    position: absolute;
    bottom: 4%;
    left: 50%;
    width: auto;
    height: 118%;
    max-width: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
}

.vh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vh-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--card);
    font-size: 14px;
}
.vh-chips i { width: 8px; height: 8px; border-radius: 50%; }
.vh-chips b { font: 800 14px var(--title); }
.vh-chips span { color: #8f9bb0; font-size: 13px; }

/* ---------- discord ---------- */
.vh-discord {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 90px;
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(120deg, #4752c4, #5865f2);
}
.vh-discord h2 { font-size: clamp(32px, 4.4vw, 52px); }
.vh-discord p { max-width: 480px; margin: 14px 0 22px; color: #e6e8ff; }
/* Render stands on the banner's bottom edge and stays inside the banner. No glow or shadow. */
.vh-discord__art { justify-self: center; width: min(340px, 90%); margin-bottom: -40px; }
.vh-discord__art img { display: block; width: 100%; }

/* ---------- footer ---------- */
.vh-foot { padding: 26px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.vh-foot p { margin: 0 0 10px; }
.vh-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.vh-foot a { color: #9aa6b8; text-decoration: none; }
.vh-foot a:hover { color: #fff; }

/* ---------- scroll reveal (transform + opacity only, GPU) ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.1, 1); transition-delay: var(--d, 0ms); }
.rv--left { transform: translateX(-50px); }
.rv--right { transform: translateX(50px); }
.rv--pop { transform: scale(0.85); }
.rv.is-in { opacity: 1; transform: none; }

@keyframes vh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.vh-mascot.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .vh-mascot__arm, .vh-mascot { animation: none; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
    .vh-hero__in { grid-template-columns: 1.1fr 1fr; }
    .vh-join { grid-template-columns: 1fr 1fr; }
    .vh-season__in { grid-template-columns: 1fr 1fr; }
    .vh-shop { grid-template-columns: 1fr 1.2fr; }
    .vh-feat__body { grid-template-columns: 1.4fr 1fr; }
    .vh-discord { grid-template-columns: 1.3fr 1fr; }
    .vh-discord__art { position: absolute; top: 12px; right: 3%; bottom: 0; width: auto; margin: 0; }
    .vh-discord__art img { width: auto; height: 100%; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
    .vh-nav { padding: 12px 0; }
    .vh-bar { gap: 10px; padding: 8px 12px; }
    .vh-brand img { width: 32px; }
    .vh-menu { justify-content: flex-end; gap: 12px; }
    .vh-menu a { font-size: 14px; }
    .vh-menu a.vh-menu__store { padding: 5px 10px; font-size: 12px; }
    .vh-sep, .vh-social, .vh-menu li:has(a[href*="discord"]), .vh-menu li:has(a[href*="stats."]) { display: none; }
    .vh-top__links { display: none; }
    .vh-mini { grid-template-columns: 1fr; }
    .vh-ip span { font-size: 19px; }
    .vh-ip button { padding: 10px 14px; }
}
