/* =====================================================================
   Nexora website v2 — "Neon Metaverse"
   Palette + font come from Admin › Website › Website Settings (layout.php
   prints --n-primary / --n-accent / --n-dark / --n-font).
   ===================================================================== */
:root {
    --n-ink: #140C26;
    --n-muted: #6B6680;
    --n-paper: #F6F4FB;
    --n-card: #FFFFFF;
    --n-line: rgba(20, 12, 38, .08);
    --n-r: 22px;
    --n-r-lg: 30px;
    --n-ease: cubic-bezier(.22, .8, .2, 1);
    --n-grad: linear-gradient(135deg, var(--n-accent) 0%, var(--n-primary) 100%);
    --n-glow: 0 0 0 1px rgba(var(--n-accent-rgb), .35), 0 18px 60px -12px rgba(var(--n-accent-rgb), .55);
    --n-on-dark: rgba(255, 255, 255, .72);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--n-font); background: var(--n-paper); color: var(--n-ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--n-primary); }
.n-skip { position: absolute; left: -999px; top: 10px; z-index: 3000; background: #fff; padding: 8px 14px; border-radius: 10px; }
.n-skip:focus { left: 10px; }
.n-preview { position: relative; z-index: 1100; background: #FDE68A; color: #713F12; text-align: center; font-size: .82rem; padding: 6px 12px; }
.n-preview a { color: #713F12; font-weight: 700; }
.n-grad-text { background: linear-gradient(90deg, var(--n-accent), color-mix(in srgb, var(--n-accent) 45%, var(--n-primary)), var(--n-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.n-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 16px; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; transition: transform .25s var(--n-ease), filter .25s, background-color .25s; }
.n-btn.sm { min-height: 42px; padding: 0 18px; font-size: .86rem; border-radius: 13px; }
.n-btn:active { transform: scale(.97); }
.n-btn-pink { background: var(--n-grad); color: #fff; }
.n-btn-pink:hover { color: #fff; transform: translateY(-2px); filter: saturate(1.2) brightness(1.06); }
.n-btn-pink::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--n-ease); }
.n-btn-pink:hover::before { transform: translateX(120%); }
.n-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.n-btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.n-btn-dark { background: var(--n-ink); color: #fff; }
.n-btn-dark:hover { color: #fff; transform: translateY(-2px); }
.n-btn-line { background: #fff; color: var(--n-ink); border: 1.5px solid var(--n-line); }
.n-btn-line:hover { border-color: rgba(var(--n-accent-rgb), .5); color: var(--n-accent); }
.n-play { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--n-accent); font-size: .72rem; margin-left: -12px; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }

/* ---------- Nav ---------- */
.n-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; color: #fff; transition: background-color .35s, box-shadow .35s, padding .35s; }
.n-preview ~ .n-nav { top: 31px; }
.n-nav-in { display: flex; align-items: center; gap: 16px; min-height: 78px; }
.n-nav.scrolled { background: rgba(var(--n-dark-rgb, 10, 4, 24), .72); background: color-mix(in srgb, var(--n-dark) 78%, transparent); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.n-nav.scrolled .n-nav-in { min-height: 66px; }

/* ---------- Top News ticker (first row of the nav) ---------- */
:root { --n-tick-h: 34px; }
.n-tick { position: relative; display: flex; align-items: center; gap: 12px; height: var(--n-tick-h); padding-left: 12px; overflow: hidden; color: #fff; font-size: .8rem; background: rgba(10, 4, 24, .82); background: color-mix(in srgb, var(--n-dark) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.n-tick::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--n-accent-rgb), .7), rgba(var(--n-primary-rgb), .7), transparent); }
.n-tick-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 4px 12px; border-radius: 999px; background: var(--n-grad); font-size: .66rem; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; }
.n-tick-label i { animation: nTickFlash 1.6s ease-in-out infinite; }
.n-tick-track { flex: 1; min-width: 0; overflow: hidden; padding-left: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.n-tick-move { display: inline-flex; white-space: nowrap; animation: nTick var(--d, 35s) linear infinite; }
.n-tick-move span { padding-right: 80px; color: rgba(255, 255, 255, .86); font-weight: 500; letter-spacing: .2px; }
.n-tick:hover .n-tick-move { animation-play-state: paused; }
@keyframes nTick { to { transform: translateX(-50%); } }
@keyframes nTickFlash { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
/* Push the first section down by the ticker height */
body:has(.n-tick) .n-hero { padding-top: calc(132px + var(--n-tick-h)); }
body:has(.n-tick) .n-page-hero { padding-top: calc(150px + var(--n-tick-h)); }
body:has(.n-tick) .lb-hero { padding-top: calc(128px + var(--n-tick-h)); }
html:has(.n-tick) { scroll-padding-top: calc(90px + var(--n-tick-h)); }
@media (max-width: 991px) { body:has(.n-tick) .n-hero { padding-top: calc(112px + var(--n-tick-h)); } }
@media (max-width: 575px) {
    :root { --n-tick-h: 30px; }
    .n-tick { padding-left: 8px; gap: 8px; font-size: .74rem; }
    .n-tick-label { padding: 3px 9px; font-size: .6rem; letter-spacing: 1px; }
    body:has(.n-tick) .lb-hero { padding-top: calc(110px + var(--n-tick-h)); }
}
.n-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: 1.5px; }
.n-logo img { width: 40px; height: 40px; border-radius: 12px; background: #fff; object-fit: contain; padding: 3px; }
.n-logo.dark { color: var(--n-ink); }
.n-links { margin: 0 auto; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.n-links a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; transition: color .2s, background-color .2s; }
.n-links a:hover { color: #fff; }
.n-links a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.n-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.n-login { background: none; border: 0; color: #fff; font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 12px; }
.n-login:hover { background: rgba(255, 255, 255, .08); }
.n-burger { width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem; }

/* Mobile sidebar */
.n-side { --bs-offcanvas-width: min(88vw, 360px); background: var(--n-dark); color: #fff; border: 0 !important; }
.n-side::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 40% at 100% 0%, rgba(var(--n-accent-rgb), .35), transparent 70%), radial-gradient(70% 40% at 0% 100%, rgba(var(--n-primary-rgb), .4), transparent 70%); }
.n-side > * { position: relative; }
.n-side .offcanvas-header { padding: 22px; justify-content: space-between; }
.n-side-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; }
.n-side-links { display: flex; flex-direction: column; gap: 4px; }
.n-side-links a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: 1.02rem; transition: background-color .2s; }
.n-side-links a > i:first-child { width: 22px; text-align: center; color: rgba(255, 255, 255, .45); }
.n-side-links a .go { margin-left: auto; font-size: .75rem; opacity: 0; transform: translateX(-6px); transition: all .25s; }
.n-side-links a:hover, .n-side-links a.active { background: rgba(255, 255, 255, .08); color: #fff; }
.n-side-links a.active > i:first-child { color: var(--n-accent); }
.n-side-links a.active .go, .n-side-links a:hover .go { opacity: 1; transform: none; }
.n-side.showing .n-side-links a, .n-side.show .n-side-links a { animation: nIn .5s var(--n-ease) both; animation-delay: calc(var(--i) * 50ms + 80ms); }
.n-side-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.n-side-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.n-side-card b { display: block; font-size: .92rem; }
.n-side-card span { font-size: .8rem; color: var(--n-accent); font-weight: 700; }
.n-side-foot { font-size: .86rem; }
.n-side-foot a { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .65); text-decoration: none; padding: 4px 0; }

/* ---------- Dark canvas (hero, bands) ---------- */
.n-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--n-dark); color: #fff; }
.n-dark::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(45% 55% at 82% 18%, rgba(var(--n-accent-rgb), .38), transparent 70%), radial-gradient(50% 60% at 8% 92%, rgba(var(--n-primary-rgb), .45), transparent 70%), radial-gradient(30% 30% at 45% 40%, rgba(var(--n-primary-rgb), .18), transparent 70%); }

/* ---------- Hero ---------- */
.n-hero { padding: 132px 0 0; }
.n-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: min(78vh, 720px); }
.n-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.n-pill i { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--n-grad); font-size: .7rem; }
.n-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -2px; margin: 22px 0 20px; }
.n-hero h1 .n-grad-text { display: inline-block; padding-bottom: .06em; }
.n-hero .lead { color: var(--n-on-dark); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.7; max-width: 500px; margin: 0; }
.n-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.n-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 20px 26px; margin-top: 44px; }
@media (min-width: 992px) and (max-width: 1199px) { .n-stats { grid-template-columns: repeat(2, auto); } }
.n-stat { display: flex; align-items: center; gap: 12px; }
.n-stat i { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: .95rem; color: var(--n-accent); background: rgba(var(--n-accent-rgb), .12); border: 1px solid rgba(var(--n-accent-rgb), .25); }
.n-stat b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.n-stat small { color: var(--n-on-dark); font-size: .78rem; white-space: nowrap; }

/* Hero photo stack */
.n-visual { position: relative; padding: 26px 10px 60px 40px; }
.n-photo { position: relative; border-radius: 34px; padding: 2px; background: linear-gradient(160deg, rgba(var(--n-accent-rgb), .9), rgba(var(--n-primary-rgb), .3) 40%, rgba(255,255,255,.08) 70%, rgba(var(--n-accent-rgb), .7)); box-shadow: 0 40px 120px -30px rgba(var(--n-accent-rgb), .6); }
.n-photo > img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; border-radius: 32px; }
.n-photo::after { content: ''; position: absolute; inset: 2px; border-radius: 32px; background: linear-gradient(180deg, transparent 55%, rgba(var(--n-dark-rgb, 10,4,24), .7)); background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--n-dark) 75%, transparent)); pointer-events: none; }
.n-holo { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); color: #fff; animation: nFloat 7s ease-in-out infinite; text-decoration: none; }
.n-holo img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; }
.n-holo b { display: block; font-size: .88rem; }
.n-holo small { color: var(--n-accent); font-weight: 700; font-size: .78rem; }
.n-holo.h1 { left: -6px; top: 34%; }
.n-holo.h2 { right: -16px; top: 6%; animation-delay: -2.4s; }
.n-holo.h3 { right: 8%; bottom: 18px; animation-delay: -4.6s; padding: 10px 16px; }
.n-holo .dot { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); animation: nPulse 1.8s infinite; }
.n-ring { position: absolute; z-index: -1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: nSpin 50s linear infinite; }
.n-ring.r1 { width: 120%; aspect-ratio: 1; left: -12%; top: -6%; }

/* Hero globe: round photo inside a rotating Three.js dot globe */
.n-visual.n-globe { position: relative; padding: 0; aspect-ratio: 1; width: 100%; max-width: 580px; margin: 0 auto; }
/* Phones / tablets: globe first (above the heading), no floating cards on it */
@media (max-width: 991px) {
    .n-hero-grid > .n-visual.n-globe { order: -1; max-width: 400px; margin: 0 auto 6px; }
    .n-globe .n-holo { display: none; }
}
.n-globe canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; pointer-events: none; }
.n-globe-photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; z-index: 0;
    box-shadow: 0 0 0 2px rgba(var(--n-accent-rgb), .55), 0 0 0 10px rgba(var(--n-accent-rgb), .08), 0 0 120px -10px rgba(var(--n-accent-rgb), .75); }
.n-globe-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; animation: nBreathe 9s ease-in-out infinite; }
.n-globe-photo::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), transparent 45%), radial-gradient(circle at 50% 50%, transparent 55%, rgba(10, 4, 24, .55)); }
.n-orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(var(--n-accent-rgb), .35); pointer-events: none; }
.n-orbit.o1 { inset: 4%; animation: nSpin 38s linear infinite; }
.n-orbit.o2 { inset: -3%; border-style: solid; border-color: rgba(var(--n-primary-rgb), .25); border-top-color: rgba(var(--n-accent-rgb), .8); animation: nSpin 14s linear infinite reverse; }
.n-globe.has-3d .n-orbit.o1 { opacity: .35; }
.n-globe .n-holo.h1 { left: -4%; top: 52%; }
.n-globe .n-holo.h2 { right: -4%; top: 10%; }
.n-globe .n-holo.h3 { right: 2%; bottom: 6%; }
@keyframes nBreathe { 0%, 100% { transform: scale(1.04); } 50% { transform: scale(1.1); } }

/* Synthwave floor (CSS grid) */
.n-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; pointer-events: none; }
.n-floor canvas { width: 100% !important; height: 100% !important; display: block; }
.n-floor .grid { position: absolute; inset: 0; transform: perspective(420px) rotateX(62deg); transform-origin: bottom; background-image: linear-gradient(rgba(var(--n-accent-rgb), .35) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--n-accent-rgb), .35) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); animation: nGrid 3s linear infinite; }
.n-floor.has-3d .grid { display: none; }
.n-hero-fade { height: 70px; background: linear-gradient(transparent, var(--n-paper)); margin-top: 20px; }

@media (max-width: 991px) {
    .n-hero { padding-top: 112px; }
    .n-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
    .n-visual { padding: 20px 6px 50px; max-width: 460px; margin: 0 auto; width: 100%; }
    .n-holo.h1 { left: -4px; }
    .n-holo.h2 { right: -4px; }
}
@media (max-width: 575px) {
    .n-hero h1 { letter-spacing: -1.2px; }
    .n-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .n-holo img { width: 42px; height: 42px; }
    .n-holo.h3 { display: none; }
}

/* ---------- Sections ---------- */
.n-sec { padding: 64px 0; }
.n-sec.tight { padding: 40px 0; }
.n-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.n-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--n-accent); margin-bottom: 8px; }
.n-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--n-accent); box-shadow: 0 0 0 4px rgba(var(--n-accent-rgb), .18); }
.n-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.12; margin: 0; }
.n-sub { color: var(--n-muted); margin: 8px 0 0; max-width: 560px; line-height: 1.65; }
.n-dark .n-sub { color: var(--n-on-dark); }
.n-viewall { font-weight: 700; color: var(--n-accent); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; }
.n-viewall i { transition: transform .25s; }
.n-viewall:hover { color: var(--n-accent); }
.n-viewall:hover i { transform: translateX(4px); }

/* Card rails: grid on desktop, swipe on phones */
.n-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.n-rail.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1199px) { .n-rail.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    .n-rail, .n-rail.six { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -12px; padding: 4px 12px 14px; }
    .n-rail::-webkit-scrollbar { display: none; }
    .n-rail > * { scroll-snap-align: start; }
}
@media (max-width: 575px) { .n-rail { grid-auto-columns: 70%; } .n-rail.six { grid-auto-columns: 56%; } }

/* Ad cards */
.n-ad { display: block; text-decoration: none; color: var(--n-ink); background: var(--n-card); border-radius: var(--n-r); padding: 8px; border: 1px solid var(--n-line); transition: transform .4s var(--n-ease), box-shadow .4s var(--n-ease); height: 100%; }
.n-ad:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(var(--n-primary-rgb), .5); color: var(--n-ink); }
.n-ad .ph { position: relative; border-radius: calc(var(--n-r) - 6px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--n-dark); }
.n-ad .ph img, .n-dest .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--n-ease); }
.n-ad:hover .ph img, .n-dest:hover .ph img { transform: scale(1.08); }
.n-tag { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #fff; background: rgba(10, 4, 24, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.n-tag.pink { background: var(--n-grad); border: 0; }
.n-ad .meta { padding: 12px 8px 6px; }
.n-ad h4, .n-dest h4 { font-size: 1rem; font-weight: 700; margin: 0; }
.n-ad p { color: var(--n-muted); font-size: .84rem; margin: 2px 0 0; }

/* Destination cards (mockup: photo, then name / price / tiles) */
.n-dest { display: block; text-decoration: none; color: var(--n-ink); background: var(--n-card); border-radius: var(--n-r); overflow: hidden; border: 1px solid var(--n-line); transition: transform .4s var(--n-ease), box-shadow .4s var(--n-ease); height: 100%; }
.n-dest:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(var(--n-accent-rgb), .5); color: var(--n-ink); }
.n-dest .ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--n-dark); }
.n-dest .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(10, 4, 24, .45)); }
.n-dest .ph .pin { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--n-accent); display: flex; align-items: center; justify-content: center; font-size: .8rem; transform: scale(0); transition: transform .35s var(--n-ease); }
.n-dest:hover .pin { transform: scale(1); }
.n-dest .meta { padding: 12px 14px 14px; }
.n-dest .row2 { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.n-dest .price { color: var(--n-accent); font-weight: 800; font-size: .95rem; }
.n-dest .tiles { color: var(--n-muted); font-size: .76rem; }

/* Placeholder art when an item has no photo */
.n-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .9); font-size: 2.4rem; background: radial-gradient(60% 60% at 30% 20%, rgba(var(--n-accent-rgb), .6), transparent 70%), radial-gradient(60% 60% at 80% 90%, rgba(var(--n-primary-rgb), .7), transparent 70%), var(--n-dark); }

/* Search + chips */
.n-search { position: relative; display: flex; align-items: center; background: #fff; border-radius: 20px; padding: 8px 8px 8px 22px; box-shadow: 0 20px 50px -30px rgba(20, 12, 38, .35); border: 1px solid var(--n-line); transition: box-shadow .25s, border-color .25s; }
.n-search:focus-within { border-color: rgba(var(--n-accent-rgb), .5); box-shadow: 0 0 0 5px rgba(var(--n-accent-rgb), .1), 0 20px 50px -30px rgba(20, 12, 38, .35); }
.n-search > i { color: var(--n-muted); }
.n-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; padding: 12px 14px; color: var(--n-ink); }
.n-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.n-chips::-webkit-scrollbar { display: none; }
.n-chip { flex: 0 0 auto; border: 1px solid var(--n-line); background: #fff; color: var(--n-ink); border-radius: 12px; padding: 9px 18px; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; transition: all .25s var(--n-ease); }
.n-chip:hover { border-color: rgba(var(--n-accent-rgb), .45); color: var(--n-accent); }
.n-chip.active { background: var(--n-grad); color: #fff; border-color: transparent; }

/* World map band (photo) */
.n-map { border-radius: var(--n-r-lg); min-height: 380px; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.n-map-text { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.n-map-photo { position: relative; min-height: 300px; }
.n-map-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.n-map-pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(10, 4, 24, .6); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .76rem; font-weight: 600; animation: nFloat 5s ease-in-out infinite; }
.n-map-pin i { width: 24px; height: 24px; border-radius: 50%; background: var(--n-grad); display: flex; align-items: center; justify-content: center; font-size: .65rem; }
.n-count { display: flex; gap: 8px; margin: 18px 0 26px; }
.n-count div { min-width: 64px; text-align: center; padding: 10px 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.n-count b { display: block; font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.n-count small { font-size: .62rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--n-on-dark); }
@media (max-width: 767px) { .n-map { grid-template-columns: 1fr; } .n-map-photo { order: -1; min-height: 220px; } .n-map-photo img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); } }

/* Steps */
.n-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.n-steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed rgba(var(--n-accent-rgb), .35); z-index: 0; }
.n-step { position: relative; z-index: 1; background: var(--n-card); border: 1px solid var(--n-line); border-radius: var(--n-r); padding: 24px; transition: transform .35s var(--n-ease), box-shadow .35s; }
.n-step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(var(--n-primary-rgb), .5); }
.n-step .no { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--n-grad); color: #fff; font-weight: 800; margin-bottom: 16px; }
.n-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.n-step p { color: var(--n-muted); font-size: .9rem; margin: 0; line-height: 1.6; }
@media (max-width: 767px) { .n-steps { grid-template-columns: 1fr; } .n-steps::before { display: none; } }

/* Join band */
.n-join { border-radius: var(--n-r-lg); padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.n-join h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.6px; margin: 0; }
.n-join p { color: var(--n-on-dark); margin: 6px 0 0; }
.n-faces { display: flex; align-items: center; gap: 14px; }
.n-faces .stack { display: flex; }
.n-faces .stack span { width: 44px; height: 44px; border-radius: 50%; margin-left: -12px; border: 3px solid var(--n-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #fff; }
.n-faces .stack span:first-child { margin-left: 0; }
.n-faces b { display: block; font-size: 1.15rem; }
.n-faces small { color: var(--n-on-dark); font-size: .78rem; }

/* Feature tiles (light) */
.n-feat { background: var(--n-card); border: 1px solid var(--n-line); border-radius: var(--n-r); padding: 24px; height: 100%; transition: transform .35s var(--n-ease), box-shadow .35s, border-color .35s; }
.n-feat:hover { transform: translateY(-5px); border-color: rgba(var(--n-accent-rgb), .3); box-shadow: 0 30px 60px -36px rgba(var(--n-accent-rgb), .6); }
.n-feat .ic { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(var(--n-accent-rgb), .1); color: var(--n-accent); font-size: 1.15rem; margin-bottom: 16px; transition: background-color .3s, color .3s, transform .4s var(--n-ease); }
.n-feat:hover .ic { background: var(--n-grad); color: #fff; transform: rotate(-8deg); }
.n-feat h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.n-feat p { color: var(--n-muted); font-size: .9rem; line-height: 1.6; margin: 0; }

/* Inner page hero (photo) */
.n-page-hero { position: relative; padding: 150px 0 90px; text-align: center; }
.n-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .45; }
.n-page-hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, color-mix(in srgb, var(--n-dark) 70%, transparent), var(--n-dark) 92%); }
.n-page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -1.4px; margin: 16px 0 14px; }
.n-page-hero p { color: var(--n-on-dark); max-width: 620px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.n-crumbs { display: inline-flex; gap: 8px; list-style: none; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: var(--n-on-dark); }
.n-crumbs a { color: #fff; text-decoration: none; }
.n-crumbs li + li::before { content: '›'; margin-right: 8px; opacity: .6; }

/* Panels used on inner pages */
.n-panel { background: var(--n-card); border: 1px solid var(--n-line); border-radius: var(--n-r-lg); padding: clamp(22px, 3vw, 34px); }
.n-panel.dark { background: var(--n-dark); color: #fff; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.n-panel.dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 90% 0%, rgba(var(--n-accent-rgb), .35), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(var(--n-primary-rgb), .4), transparent 70%); }
.n-checks { list-style: none; padding: 0; margin: 16px 0 0; }
.n-checks li { display: flex; gap: 10px; padding: 6px 0; font-size: .93rem; }
.n-checks li i { margin-top: 4px; font-size: .8rem; color: var(--n-accent); }
.n-big { font-size: 2.8rem; font-weight: 800; letter-spacing: -1.4px; line-height: 1; }
.n-photo-card { position: relative; border-radius: var(--n-r-lg); overflow: hidden; min-height: 320px; height: 100%; }
.n-photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.n-photo-card .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px; border-radius: 18px; color: #fff; background: rgba(10, 4, 24, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .15); }

/* Leaderboard */
.n-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; max-width: 680px; margin: 40px auto 0; }
.n-pod { text-align: center; padding: 22px 12px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.n-pod.first { padding-top: 36px; border-color: rgba(var(--n-accent-rgb), .5); box-shadow: var(--n-glow); }
.n-av { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.35rem; color: #fff; background: var(--n-grad); position: relative; }
.n-av .crown { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); color: #FBBF24; font-size: 1.1rem; }
.n-av.sm { width: 42px; height: 42px; font-size: .95rem; margin: 0; flex-shrink: 0; }
.n-pod small { color: var(--n-on-dark); }
.n-rank { display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
.n-rank + .n-rank { border-top: 1px solid var(--n-line); }
.n-rank .no { width: 34px; font-weight: 800; color: var(--n-muted); }
.n-rank .no.top { color: var(--n-accent); }

/* FAQ */
.n-faq .accordion-item { border: 1px solid var(--n-line); border-radius: 18px !important; overflow: hidden; margin-bottom: 10px; background: #fff; }
.n-faq .accordion-button { font-weight: 700; padding: 18px 22px; background: #fff; color: var(--n-ink); box-shadow: none; }
.n-faq .accordion-button:not(.collapsed) { color: var(--n-accent); }
.n-faq .accordion-button::after { filter: hue-rotate(0); }
.n-faq .accordion-body { color: var(--n-muted); line-height: 1.75; padding: 0 22px 20px; }

/* Forms */
.n-field { margin-bottom: 14px; }
.n-field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.n-input { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--n-line); background: var(--n-paper); font: inherit; color: var(--n-ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
textarea.n-input { min-height: 150px; resize: vertical; }
.n-input:focus { outline: 0; border-color: var(--n-accent); background: #fff; box-shadow: 0 0 0 4px rgba(var(--n-accent-rgb), .12); }
.n-input.is-invalid { border-color: #DC2626; }
.n-err { color: #DC2626; font-size: .78rem; margin-top: 4px; display: none; }
.n-input.is-invalid + .n-err { display: block; }
.n-contact { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background-color .25s, transform .25s var(--n-ease); }
a.n-contact:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateX(4px); }
.n-contact .ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--n-grad); flex-shrink: 0; }
.n-contact small { display: block; color: var(--n-on-dark); }

/* ---------- Earth explorer (home) ---------- */
.x-wrap { border-radius: var(--n-r-lg); padding: clamp(22px, 4vw, 44px); }
.x-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: center; }
.x-side { position: relative; z-index: 2; min-width: 0; }
.x-search { display: flex; align-items: center; gap: 6px; margin-top: 22px; padding: 6px 6px 6px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .25s, box-shadow .25s; }
.x-search:focus-within { border-color: rgba(var(--n-accent-rgb), .7); box-shadow: 0 0 0 5px rgba(var(--n-accent-rgb), .14); }
.x-search > i { color: var(--n-accent); }
.x-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; padding: 10px 8px; }
.x-search input::placeholder { color: rgba(255, 255, 255, .45); }
.x-search.shake { animation: xShake .5s cubic-bezier(.36, .07, .19, .97); border-color: #F43F5E; }
.x-search.busy button i { animation: nSpin 1s linear infinite; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.x-chip { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .85); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .25s var(--n-ease); }
.x-chip:hover, .x-chip.active { background: var(--n-grad); border-color: transparent; color: #fff; transform: translateY(-2px); }
.x-dice i { color: var(--n-accent); }
.x-dice:hover i { color: #fff; animation: xRoll .6s ease; }
.x-status { margin: 16px 0 0; font-size: .86rem; color: var(--n-on-dark); display: flex; align-items: center; gap: 8px; min-height: 22px; }
.x-status i { color: var(--n-accent); }
.x-status.err { color: #FDA4AF; }
.x-status.err i { color: #F43F5E; }

/* Result card */
.x-result { margin-top: 18px; display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); animation: xResIn .55s cubic-bezier(.22, .8, .2, 1); }
.x-result[hidden] { display: none; }
.x-snap { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #111 center / cover no-repeat; }
.x-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); }
.x-cells span { border: 1px solid rgba(255, 255, 255, .35); transform: scale(0); opacity: 0; }
.x-result.go .x-cells span { animation: xCell .5s cubic-bezier(.22, .8, .2, 1) forwards; animation-delay: calc(var(--k, 0) * 22ms); }
.x-cells span.own { background: rgba(var(--n-accent-rgb), .45); }
.x-cells span.sale { background: rgba(251, 191, 36, .45); }
.x-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: #fff; font-size: 1.5rem; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.x-result.go .x-pin { animation: xDrop .7s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
.x-pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 26px; height: 10px; margin-left: -13px; border-radius: 50%; border: 2px solid var(--n-accent); animation: xRing 1.6s ease-out infinite; }
.x-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.x-info b { font-size: 1.05rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.x-info small { color: var(--n-on-dark); font-size: .78rem; }
.x-price { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--n-accent); margin-top: 4px; }
.x-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }

/* Stage */
.x-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; touch-action: pan-y; cursor: grab; }
.x-stage:active { cursor: grabbing; }
.x-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important;
    -webkit-mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%); }
.x-flat { position: absolute; inset: 12%; border-radius: 50%; background: url('../../uploads/website/stock/earth.jpg') 0 50% / 200% 100% repeat-x; box-shadow: inset -40px -20px 70px rgba(0, 0, 0, .65), 0 0 90px rgba(var(--n-accent-rgb), .45), 0 0 0 1px rgba(var(--n-accent-rgb), .4); animation: xSpinFlat 40s linear infinite; }
.x-stage.has-3d .x-flat { display: none; }
.x-hint { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(10, 4, 24, .6); border: 1px solid rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; transition: opacity .4s; }
.x-hint i { color: var(--n-accent); }
.x-stage.touched .x-hint { opacity: 0; }

@keyframes xShake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); } }
@keyframes xRoll { to { transform: rotate(360deg); } }
@keyframes xResIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes xCell { to { transform: scale(1); opacity: 1; } }
@keyframes xDrop { from { transform: translate(-50%, -260%); opacity: 0; } to { transform: translate(-50%, -100%); opacity: 1; } }
@keyframes xRing { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes xSpinFlat { to { background-position: -200% 50%; } }
@media (max-width: 991px) {
    .x-grid { grid-template-columns: 1fr; }
    .x-stage { order: -1; max-width: 420px; }
}
@media (max-width: 575px) {
    .x-result { grid-template-columns: 110px 1fr; }
    .x-actions .n-btn { flex: 1; }
}

/* ---------- Latest deals + top owners ---------- */
.h-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h-deal { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--n-line); text-decoration: none; color: var(--n-ink); transition: transform .3s var(--n-ease), box-shadow .3s; min-width: 0; }
.h-deal:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(var(--n-accent-rgb), .6); color: var(--n-ink); }
.h-deal-img { position: relative; width: 66px; height: 66px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--n-dark); }
.h-deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--n-ease); }
.h-deal:hover .h-deal-img img { transform: scale(1.12); }
.h-deal-img i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -70%); color: #F43F5E; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.h-deal-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-deal-txt b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-deal-txt small { color: var(--n-muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-cc { font-size: .62rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: rgba(var(--n-primary-rgb), .1); color: var(--n-primary); vertical-align: middle; }
.h-deal-price { font-weight: 800; color: var(--n-accent); white-space: nowrap; }
.n-eyebrow .h-live { display: none; }
.h-top .h4 { color: #fff; }
.h-top-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 8px; }
.h-top-row b { display: block; font-size: .92rem; }
.h-top-row small { color: var(--n-on-dark); font-size: .76rem; }
.h-top-medal { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h-top-medal.m1 { background: rgba(251, 191, 36, .18); color: #FBBF24; } .h-top-medal.m2 { background: rgba(203, 213, 225, .15); color: #CBD5E1; } .h-top-medal.m3 { background: rgba(245, 158, 107, .18); color: #F59E6B; }
.h-top-val { font-weight: 700; color: var(--n-accent); font-size: .88rem; }
@media (max-width: 767px) { .h-deals { grid-template-columns: 1fr; } }

/* ---------- Grow your team band ---------- */
.h-team { border-radius: var(--n-r-lg); display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.h-team-photo { position: relative; min-height: 320px; }
.h-team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.h-team-text { padding: clamp(26px, 4vw, 52px); position: relative; z-index: 1; }
.h-team-steps { display: grid; gap: 10px; margin: 22px 0 26px; }
.h-team-steps > div { display: flex; align-items: center; gap: 12px; }
.h-team-steps i { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(var(--n-accent-rgb), .15); color: var(--n-accent); flex-shrink: 0; }
.h-team-steps b { display: block; font-size: .95rem; }
.h-team-steps small { color: var(--n-on-dark); font-size: .8rem; }
@media (max-width: 767px) { .h-team { grid-template-columns: 1fr; } .h-team-photo { min-height: 200px; } .h-team-photo img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); } }

/* ---------- Leaderboard ---------- */
.lb-hero { padding: 128px 0 0; }
.lb-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .28; }
.lb-hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, color-mix(in srgb, var(--n-dark) 55%, transparent), var(--n-dark) 85%); }
.lb-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: end; }
.lb-grid h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; margin: 18px 0 14px; }
.lb-grid .lead { color: var(--n-on-dark); max-width: 460px; line-height: 1.7; }
.lb-totals { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 70px; }
.lb-totals div { padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); min-width: 120px; }
.lb-totals b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.lb-totals small { color: var(--n-on-dark); font-size: .78rem; }

/* Podium */
.lb-podium { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; padding-top: 30px; }
.lb-step { display: flex; flex-direction: column; align-items: center; text-align: center; --c: #A78BFA; }
.lb-step.gold { --c: #FBBF24; } .lb-step.silver { --c: #CBD5E1; } .lb-step.bronze { --c: #F59E6B; }
.lb-person { margin-bottom: 14px; }
.lb-person b { display: block; font-size: .98rem; margin-top: 10px; }
.lb-person small { color: var(--n-on-dark); font-size: .8rem; }
.lb-av { position: relative; width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: #fff; background: var(--n-grad); box-shadow: 0 0 0 3px var(--n-dark), 0 0 0 5px var(--c), 0 0 40px -4px var(--c); }
.lb-step.r1 .lb-av { width: 92px; height: 92px; font-size: 2rem; }
.lb-crown { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); color: #FBBF24; font-size: 1.4rem; filter: drop-shadow(0 4px 10px rgba(251, 191, 36, .6)); animation: nFloat 3s ease-in-out infinite; }
.lb-block { width: 100%; border-radius: 18px 18px 0 0; position: relative; overflow: hidden; display: flex; justify-content: center; padding-top: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 45%, transparent), rgba(255, 255, 255, .03) 85%); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-bottom: 0; }
.lb-block::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.lb-block span { font-size: 2.6rem; font-weight: 800; color: color-mix(in srgb, var(--c) 85%, #fff); text-shadow: 0 0 20px color-mix(in srgb, var(--c) 60%, transparent); }
.lb-step.r1 .lb-block { height: 190px; } .lb-step.r2 .lb-block { height: 140px; } .lb-step.r3 .lb-block { height: 110px; }
.lb-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(var(--n-accent-rgb), .8); animation: nTwinkle 2.6s ease-in-out infinite; }
.lb-spark.s1 { left: 18%; top: 8%; } .lb-spark.s2 { right: 16%; top: 2%; animation-delay: -.8s; } .lb-spark.s3 { left: 46%; top: -4%; animation-delay: -1.6s; background: #FBBF24; } .lb-spark.s4 { right: 4%; top: 36%; animation-delay: -2.1s; }
@keyframes nTwinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }

/* "Your position" */
.lb-me { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--n-r); margin-bottom: 30px; background: linear-gradient(120deg, rgba(var(--n-accent-rgb), .1), rgba(var(--n-primary-rgb), .08)); border: 1px solid rgba(var(--n-accent-rgb), .25); }
.lb-me-ic { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--n-grad); color: #fff; font-size: 1.15rem; flex-shrink: 0; }
.lb-me small { display: block; color: var(--n-muted); font-size: .78rem; font-weight: 600; }
.lb-me b { font-size: 1.25rem; font-weight: 800; }
.lb-me b span { font-size: .85rem; font-weight: 600; color: var(--n-muted); }
.lb-me-stat { text-align: center; padding: 0 10px; border-left: 1px solid var(--n-line); }
.lb-me-stat b { display: block; font-size: 1.05rem; }

/* Tools */
.lb-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lb-sort { display: inline-flex; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--n-line); }
.lb-sort button { border: 0; background: none; padding: 8px 14px; border-radius: 10px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--n-muted); }
.lb-sort button.active { background: var(--n-grad); color: #fff; }
.lb-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--n-line); color: var(--n-muted); margin: 0; }
.lb-search:focus-within { border-color: rgba(var(--n-accent-rgb), .5); }
.lb-search input { border: 0; outline: 0; background: none; font: inherit; font-size: .9rem; color: var(--n-ink); width: 150px; }

/* Rows */
.lb-list { display: grid; gap: 10px; }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--n-line); transition: transform .3s var(--n-ease), box-shadow .3s; --c: var(--n-primary); }
.lb-row:hover { transform: translateX(4px); box-shadow: 0 16px 34px -24px rgba(var(--n-primary-rgb), .6); }
.lb-row.gold { --c: #F59E0B; } .lb-row.silver { --c: #94A3B8; } .lb-row.bronze { --c: #EA7C4B; }
.lb-row.top { border-color: color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 45%); }
.lb-row.me { box-shadow: 0 0 0 2px var(--n-accent); }
.lb-no { width: 42px; text-align: center; font-weight: 800; color: var(--n-muted); position: relative; flex-shrink: 0; }
.lb-no i { display: none; color: var(--c); font-size: 1.4rem; }
.lb-row.top .lb-no i { display: block; }
.lb-row.top .lb-no em { position: absolute; top: 5px; left: 0; right: 0; font-size: .62rem; color: #fff; font-style: normal; }
.lb-no em { font-style: normal; }
.lb-av.sm { width: 44px; height: 44px; font-size: 1rem; margin: 0; flex-shrink: 0; box-shadow: none; }
.lb-who { flex: 1; min-width: 0; }
.lb-who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-who small { color: var(--n-muted); font-size: .76rem; }
.lb-you { display: inline-block; font-size: .65rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--n-grad); color: #fff; vertical-align: middle; }
.lb-bar { display: block; height: 6px; border-radius: 999px; background: rgba(var(--n-primary-rgb), .08); margin-top: 8px; max-width: 320px; overflow: hidden; }
.lb-bar i { display: block; height: 100%; border-radius: inherit; background: var(--n-grad); transition: width .6s var(--n-ease); }
.lb-nums { text-align: right; flex-shrink: 0; }
.lb-nums b { display: block; font-size: 1.05rem; }
.lb-nums b small { font-size: .72rem; color: var(--n-muted); font-weight: 600; }
.lb-nums span { color: var(--n-accent); font-weight: 700; font-size: .85rem; }

@media (max-width: 991px) {
    .lb-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
    .lb-grid .lead { margin: 0 auto; }
    .lb-totals { justify-content: center; margin-bottom: 30px; }
    .lb-podium { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 575px) {
    .lb-hero { padding-top: 110px; }
    .lb-totals div { min-width: 0; flex: 1; padding: 12px; }
    .lb-totals b { font-size: 1.25rem; }
    .lb-av { width: 58px; height: 58px; font-size: 1.25rem; }
    .lb-step.r1 .lb-av { width: 70px; height: 70px; }
    .lb-person b { font-size: .84rem; }
    .lb-step.r1 .lb-block { height: 140px; } .lb-step.r2 .lb-block { height: 105px; } .lb-step.r3 .lb-block { height: 80px; }
    .lb-block span { font-size: 2rem; }
    .lb-row { padding: 12px; gap: 10px; }
    .lb-no { width: 30px; }
    .lb-tools, .lb-search { width: 100%; }
    .lb-search input { width: 100%; }
    .lb-me-stat { border-left: 0; }
}

/* ---------- Contact page ---------- */
.c-hero { padding-bottom: 130px; }
.c-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.c-quick .n-btn i { color: var(--n-accent); }
.c-cards-wrap { position: relative; z-index: 2; margin-top: -84px; }
.c-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.c-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; border-radius: var(--n-r); background: var(--n-card); border: 1px solid var(--n-line); text-decoration: none; color: var(--n-ink); box-shadow: 0 24px 50px -30px rgba(20, 12, 38, .35); transition: transform .35s var(--n-ease), box-shadow .35s var(--n-ease), border-color .35s; min-width: 0; }
.c-card::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -60px; top: -60px; background: radial-gradient(circle, rgba(var(--n-accent-rgb), .18), transparent 70%); transition: transform .5s var(--n-ease); }
.c-card:hover { transform: translateY(-6px); border-color: rgba(var(--n-accent-rgb), .35); box-shadow: 0 30px 60px -30px rgba(var(--n-accent-rgb), .55); color: var(--n-ink); }
.c-card:hover::after { transform: scale(1.4); }
.c-ic { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--n-grad); color: #fff; font-size: 1.15rem; margin-bottom: 10px; box-shadow: 0 10px 22px -8px rgba(var(--n-accent-rgb), .6); }
.c-lbl { font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--n-muted); }
.c-val { font-size: 1rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.c-cta { margin-top: auto; padding-top: 10px; font-size: .85rem; font-weight: 700; color: var(--n-accent); display: inline-flex; align-items: center; gap: 6px; }
.c-cta i { transition: transform .25s; }
.c-card:hover .c-cta i { transform: translateX(4px); }

.c-main { padding-top: 48px; }
.c-form-card { background: var(--n-card); border: 1px solid var(--n-line); border-radius: var(--n-r-lg); padding: clamp(22px, 3.4vw, 38px); position: relative; overflow: hidden; }
.c-form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--n-grad); }
.c-form-head { margin-bottom: 20px; }
.c-form-head .n-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.c-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.c-topic { border: 1.5px solid var(--n-line); background: var(--n-paper); color: var(--n-ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .2s var(--n-ease); }
.c-topic:hover { border-color: rgba(var(--n-accent-rgb), .45); color: var(--n-accent); }
.c-topic.active { background: var(--n-grad); color: #fff; border-color: transparent; }

/* Floating labels */
.c-float { position: relative; }
.c-float .n-input { padding: 24px 16px 8px; min-height: 58px; }
.c-float textarea.n-input { min-height: 160px; padding-top: 28px; }
.c-float label { position: absolute; left: 17px; top: 18px; font-size: .92rem; color: var(--n-muted); pointer-events: none; transition: all .2s var(--n-ease); display: flex; align-items: center; gap: 7px; }
.c-float label i { font-size: .8rem; color: var(--n-accent); }
.c-float .n-input:focus + label, .c-float .n-input:not(:placeholder-shown) + label { top: 8px; font-size: .72rem; font-weight: 600; color: var(--n-accent); }
.c-float .n-input.is-invalid ~ .n-err { display: block; }
.c-count { text-align: right; font-size: .75rem; color: var(--n-muted); margin-top: 4px; }
.c-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

.c-side .h4 { color: #fff; }
.c-faq { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; color: rgba(255, 255, 255, .85); text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 8px; transition: background-color .2s, transform .25s var(--n-ease); }
.c-faq > i:first-child { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(var(--n-accent-rgb), .18); color: var(--n-accent); flex-shrink: 0; }
.c-faq .go { margin-left: auto; font-size: .72rem; opacity: .5; }
.c-faq:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateX(4px); }
.c-social { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.c-map { position: relative; border-radius: var(--n-r-lg); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--n-line); background: var(--n-card); }
.c-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.05); }
.c-map-tag { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 4, 24, .75); color: #fff; font-size: .82rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.c-map-tag i { color: var(--n-accent); }

@media (max-width: 991px) { .c-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .c-hero { padding-bottom: 110px; }
    .c-cards-wrap { margin-top: -70px; }
    .c-cards { gap: 12px; }
    .c-card { padding: 16px 14px; }
    .c-ic { width: 42px; height: 42px; font-size: 1rem; margin-bottom: 6px; }
    .c-val { font-size: .88rem; }
    .c-submit .n-btn { width: 100%; }
}

/* Footer (light, like the mockup) */
.n-footer { background: #fff; border-top: 1px solid var(--n-line); padding: 34px 0 22px; }
.n-foot-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.n-foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.n-foot-links a { color: var(--n-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.n-foot-links a:hover { color: var(--n-accent); }
.n-social { display: flex; gap: 8px; }
.n-social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: transform .25s var(--n-ease), background-color .25s; }
.n-social.light a { background: var(--n-paper); color: var(--n-ink); }
.n-social a:hover { background: var(--n-grad); color: #fff; transform: translateY(-3px); }
.n-foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--n-line); font-size: .82rem; color: var(--n-muted); }
.n-foot-bottom a { color: var(--n-muted); text-decoration: none; }
.n-foot-bottom a:hover { color: var(--n-accent); }

/* Login / register modals (shared markup with v1) */
#loginModal .modal-content, #registerModal .modal-content { border: 0; border-radius: 26px; overflow: hidden; font-family: var(--n-font); }
#loginModal .modal-header, #registerModal .modal-header { background: var(--n-dark); color: #fff; border: 0; padding: 22px 24px; background-image: radial-gradient(60% 120% at 100% 0%, rgba(var(--n-accent-rgb), .45), transparent 70%); }
#loginModal .btn-close, #registerModal .btn-close { filter: invert(1); }
#loginModal .modal-body, #registerModal .modal-body { padding: 24px; }
#loginModal .form-control, #registerModal .form-control { min-height: 50px; border-radius: 14px; background: var(--n-paper); }
#loginModal .form-control:focus, #registerModal .form-control:focus { border-color: var(--n-accent); box-shadow: 0 0 0 4px rgba(var(--n-accent-rgb), .12); }
#loginModal .btn-primary, #registerModal .btn-primary { background: var(--n-grad); border: 0; border-radius: 14px; min-height: 50px; font-weight: 700; }
#loginModal .btn-outline-secondary { border-radius: 14px; min-height: 48px; }

/* Toasts: pill, dark, white text */
#toast-container > div { opacity: 1 !important; border-radius: 999px; padding: 14px 44px 14px 54px; background-color: #160D2B !important; background-image: none !important; color: #fff; box-shadow: 0 16px 40px rgba(10, 4, 24, .4) !important; font-family: var(--n-font); font-size: .9rem; width: auto; min-width: 280px; max-width: min(440px, calc(100vw - 24px)); }
#toast-container > div::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; background: var(--t, var(--n-accent)); }
#toast-container > .toast-success { --t: #22C55E; } #toast-container > .toast-success::before { content: '\f00c'; }
#toast-container > .toast-error { --t: #EF4444; } #toast-container > .toast-error::before { content: '\f00d'; }
#toast-container > .toast-warning { --t: #F59E0B; } #toast-container > .toast-warning::before { content: '\21'; }
#toast-container > .toast-info::before { content: '\69'; }
#toast-container .toast-close-button { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); text-shadow: none; opacity: .6; }
#toast-container .toast-progress { display: none; }

/* ---------- Motion ---------- */
.n-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--n-ease), transform .8s var(--n-ease); transition-delay: var(--d, 0s); }
.n-js [data-reveal="left"] { transform: translateX(-36px); }
.n-js [data-reveal="right"] { transform: translateX(36px); }
.n-js [data-reveal="zoom"] { transform: scale(.94); }
.n-js [data-reveal].in { opacity: 1; transform: none; }

@keyframes nFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes nSpin { to { transform: rotate(360deg); } }
@keyframes nPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes nGrid { to { background-position: 0 46px; } }
@keyframes nIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .n-js [data-reveal] { opacity: 1; transform: none; }
}
