/* ════════════════════════════════════════════
   ORION HUB — assets/css/style.css
   ════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #04050a;
  --surface:   #0b0d17;
  --card:      #0f1120;
  --border:    rgba(255,255,255,0.07);
  --accent1:   #5b8aff;
  --accent2:   #a259ff;
  --accent3:   #00e5c8;
  --gold:      #f0c040;
  --text:      #e8eaf2;
  --muted:     #6b7299;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor ── */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 12px; height: 12px;
  background: var(--accent1); border-radius: 50%;
  pointer-events: none; transform: translate(-50%,-50%);
  transition: width .15s, height .15s, background .15s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(91,138,255,.45); border-radius: 50%;
  pointer-events: none; transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; background: var(--accent2); }

/* ── Star canvas ── */
#star-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── Noise ── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025; pointer-events: none;
}

/* ── Wrap ── */
.wrap { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════ NAV ══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,5,10,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .inner {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: .04em;
  text-decoration: none; color: #e8eaf2; flex-shrink: 0;
}
.logo-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, #5b8aff, #a259ff);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; box-shadow: 0 0 14px rgba(91,138,255,.5);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #6b7299; text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: #e8eaf2; }
.nav-donate {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(240,192,64,.15), rgba(240,192,64,.05));
  border: 1px solid rgba(240,192,64,.3);
  color: var(--gold) !important;
  font-size: .78rem !important; font-weight: 700 !important;
  letter-spacing: .06em !important;
  transition: all .2s !important;
  text-decoration: none;
}
.nav-donate:hover {
  background: linear-gradient(135deg, rgba(240,192,64,.25), rgba(240,192,64,.1)) !important;
  box-shadow: 0 0 20px rgba(240,192,64,.2);
  transform: translateY(-1px);
}

/* ══════════════════════════════ HERO ══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 28px 80px; position: relative;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent3); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .7s .2s forwards;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem); font-weight: 800; line-height: .95;
  letter-spacing: -.03em; opacity: 0; animation: fadeUp .7s .35s forwards;
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(120deg, var(--accent1) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  margin-top: 28px; max-width: 540px;
  font-size: 1.05rem; line-height: 1.65; color: var(--muted);
  opacity: 0; animation: fadeUp .7s .5s forwards;
}
.hero-cta {
  margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp .7s .65s forwards;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .7s 1s forwards;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--muted), transparent); animation: scrollPulse 1.8s infinite; }

/* ══════════════════════════════ BUTTONS ══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px;
  font-family: var(--font-head); font-size: .88rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; text-decoration: none; border: none; transition: all .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent1), var(--accent2)); color: #fff; box-shadow: 0 0 30px rgba(91,138,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(91,138,255,.5); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent1); color: var(--accent1); }

/* ══════════════════════════════ SECTION HEADER ══════════════════════════════ */
.section-header { margin-bottom: 56px; }
.section-tag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }

/* ══════════════════════════════ STATS ══════════════════════════════ */
#stats { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg, var(--accent1), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }

/* ══════════════════════════════ APPS ══════════════════════════════ */
#apps { padding: 120px 0; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.app-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s; cursor: default;
}
.app-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.app-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.app-card.blue:hover   { border-color: var(--accent1); box-shadow: 0 0 40px rgba(91,138,255,.15), 0 20px 60px rgba(0,0,0,.4); }
.app-card.violet:hover { border-color: var(--accent2); box-shadow: 0 0 40px rgba(162,89,255,.15), 0 20px 60px rgba(0,0,0,.4); }
.app-card.teal:hover   { border-color: var(--accent3); box-shadow: 0 0 40px rgba(0,229,200,.15), 0 20px 60px rgba(0,0,0,.4); }

.card-badge { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; font-weight: 500; }
.badge-live    { background: rgba(0,229,200,.12); color: var(--accent3); border: 1px solid rgba(0,229,200,.3); }
.badge-soon    { background: rgba(162,89,255,.12); color: var(--accent2); border: 1px solid rgba(162,89,255,.3); }
.badge-planned { background: rgba(107,114,153,.12); color: var(--muted); border: 1px solid rgba(107,114,153,.3); }

.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 22px; }
.icon-blue   { background: linear-gradient(135deg, rgba(91,138,255,.2), rgba(91,138,255,.05)); }
.icon-violet { background: linear-gradient(135deg, rgba(162,89,255,.2), rgba(162,89,255,.05)); }
.icon-teal   { background: linear-gradient(135deg, rgba(0,229,200,.2), rgba(0,229,200,.05)); }

.card-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.card-desc { font-size: .88rem; line-height: 1.65; color: var(--muted); margin-bottom: 16px; }

.card-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); flex-wrap: wrap; }
.card-meta span { display: flex; align-items: center; gap: 5px; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-blue   { background: var(--accent1); box-shadow: 0 0 6px var(--accent1); }
.dot-violet { background: var(--accent2); box-shadow: 0 0 6px var(--accent2); }
.dot-teal   { background: var(--accent3); box-shadow: 0 0 6px var(--accent3); }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); padding: 3px 10px; border-radius: 4px; }

.progress-bar  { margin-top: 4px; height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent2), var(--accent1)); animation: progressPulse 2s ease-in-out infinite; }
.progress-label { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); margin-top: 8px; letter-spacing: .08em; }

.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.btn-card { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 6px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; cursor: pointer; text-decoration: none; border: none; transition: all .2s; }
.btn-dl { background: linear-gradient(135deg, var(--accent1), var(--accent2)); color: #fff; box-shadow: 0 0 20px rgba(91,138,255,.2); }
.btn-dl:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 30px rgba(91,138,255,.4); }
.btn-dl:disabled { opacity: .4; cursor: not-allowed; }
.btn-dl.loading { opacity: .7; cursor: wait; }
.btn-secondary-card { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border); }
.btn-secondary-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

.coming-overlay { position: absolute; inset: 0; border-radius: 16px; background: rgba(4,5,10,.5); backdrop-filter: blur(1px); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.coming-text { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); border: 1px solid rgba(162,89,255,.4); padding: 10px 22px; border-radius: 30px; background: rgba(162,89,255,.08); }

/* ══════════════════════════════ ROADMAP ══════════════════════════════ */
#roadmap { padding: 120px 0; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--accent1), var(--accent2), transparent); }
.timeline-item { position: relative; margin-bottom: 44px; }
.timeline-dot { position: absolute; left: -38px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent1); background: var(--bg); }
.timeline-dot.active      { background: var(--accent1); box-shadow: 0 0 12px var(--accent1); }
.timeline-dot.soon        { border-color: var(--accent2); }
.timeline-dot.soon.active { background: var(--accent2); box-shadow: 0 0 12px var(--accent2); }
.timeline-date  { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.timeline-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.timeline-desc  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════ ABOUT ══════════════════════════════ */
#about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.about-text p strong { color: var(--text); }
.about-art { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.orion-ring { position: absolute; border-radius: 50%; border: 1px solid; animation: orbitSpin linear infinite; }
.orion-ring:nth-child(1) { width: 80%; height: 80%; border-color: rgba(91,138,255,.3); animation-duration: 18s; }
.orion-ring:nth-child(2) { width: 60%; height: 60%; border-color: rgba(162,89,255,.25); animation-duration: 12s; animation-direction: reverse; }
.orion-ring:nth-child(3) { width: 40%; height: 40%; border-color: rgba(0,229,200,.2); animation-duration: 8s; }
.orion-core { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, var(--accent1) 0%, var(--accent2) 60%, transparent 100%); box-shadow: 0 0 60px rgba(91,138,255,.5); }

/* ══════════════════════════════ DONATE ══════════════════════════════ */
#donate { padding: 120px 0; }

.donate-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid rgba(240,192,64,.2);
  border-radius: 24px; padding: 72px 56px;
  text-align: center;
}
.donate-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(240,192,64,.08) 0%, transparent 70%);
  pointer-events: none;
}
.donate-card::after {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,64,.5), transparent);
}

.donate-icon {
  font-size: 3.5rem; margin-bottom: 24px; display: block;
  filter: drop-shadow(0 0 20px rgba(240,192,64,.4));
  animation: floatIcon 3s ease-in-out infinite;
}
.donate-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 16px;
  background: linear-gradient(120deg, var(--gold), #ffdd80, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.donate-sub {
  font-size: 1rem; line-height: 1.75; color: var(--muted);
  max-width: 520px; margin: 0 auto 48px;
}
.donate-sub strong { color: var(--text); }

.donate-methods {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin-bottom: 40px;
}
.donate-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 10px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .22s;
}
.donate-btn-saweria {
  background: linear-gradient(135deg, #ff6b35, #ff4500);
  color: #fff; box-shadow: 0 0 28px rgba(255,107,53,.3);
}
.donate-btn-saweria:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255,107,53,.5); }

.donate-btn-trakteer {
  background: linear-gradient(135deg, #e91e63, #c2185b);
  color: #fff; box-shadow: 0 0 28px rgba(233,30,99,.3);
}
.donate-btn-trakteer:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(233,30,99,.5); }

.donate-btn-paypal {
  background: linear-gradient(135deg, #0070ba, #003087);
  color: #fff; box-shadow: 0 0 28px rgba(0,112,186,.3);
}
.donate-btn-paypal:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(0,112,186,.5); }

.donate-btn-ko {
  background: linear-gradient(135deg, #ff5e5b, #ff3d00);
  color: #fff; box-shadow: 0 0 28px rgba(255,94,91,.3);
}
.donate-btn-ko:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255,94,91,.5); }

.donate-note {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.donate-note span { color: var(--gold); }

/* Supporters ticker */
.supporters-wrap {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.supporters-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.supporters-ticker { overflow: hidden; position: relative; }
.supporters-ticker::before,
.supporters-ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.supporters-ticker::before { left: 0; background: linear-gradient(to right, var(--card), transparent); }
.supporters-ticker::after  { right: 0; background: linear-gradient(to left, var(--card), transparent); }
.supporters-track { display: flex; gap: 32px; animation: tickerScroll 18s linear infinite; width: max-content; }
.supporter-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(240,192,64,.08); border: 1px solid rgba(240,192,64,.2);
  font-family: var(--font-mono); font-size: .75rem; color: var(--gold);
  white-space: nowrap;
}

/* ══════════════════════════════ FOOTER ══════════════════════════════ */
footer {
  padding: 56px 0 36px; border-top: 1px solid var(--border);
  position: relative; z-index: 2;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; letter-spacing: .04em; color: #e8eaf2; }
.footer-brand .logo-icon { width: 24px; height: 24px; font-size: .65rem; }
.footer-note { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; letter-spacing: .04em; transition: color .2s; }
.footer-links a:hover { color: var(--accent1); }
.footer-donate-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold) !important;
}
.footer-donate-link:hover { color: #ffdd80 !important; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: center; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ══════════════════════════════ TOAST ══════════════════════════════ */
#toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 20px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(120%); transition: transform .3s; max-width: 320px;
}
#toast.show { transform: translateY(0); }
#toast .toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
#toast.success .toast-dot { background: var(--accent3); box-shadow: 0 0 8px var(--accent3); }
#toast.error   .toast-dot { background: #ff5b7a; box-shadow: 0 0 8px #ff5b7a; }
#toast.info    .toast-dot { background: var(--accent1); box-shadow: 0 0 8px var(--accent1); }

/* ══════════════════════════════ KEYFRAMES ══════════════════════════════ */
@keyframes fadeUp        { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollPulse   { 0%,100% { opacity:.3; } 50% { opacity:1; } }
@keyframes orbitSpin     { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes progressPulse { 0%,100% { opacity:.6; } 50% { opacity:1; } }
@keyframes floatIcon     { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes tickerScroll  { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ══════════════════════════════ RESPONSIVE ══════════════════════════════ */
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .donate-card { padding: 48px 28px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-title { letter-spacing: -.02em; }
  .apps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .donate-methods { flex-direction: column; align-items: center; }
}
