1367 lines
41 KiB
HTML
1367 lines
41 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Oort — High-Performance NAS for Mornye & Sovereign Storage · Cosmos</title>
|
|
<meta name="description" content="Dedicated high-performance Network Attached Storage (NAS) engineered for Mornye music streaming and sovereign S3 object cloud. Unique streaming URLs for every account, lossless FLAC byte-range streaming, zero cloud bills.">
|
|
<link rel="icon" href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="6" fill="%23eef3f8"/><ellipse cx="16" cy="16" rx="14" ry="5.5" fill="none" stroke="%238fd9ff" stroke-width="1.5" transform="rotate(-24 16 16)"/></svg>'>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&family=JetBrains+Mono:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<script src="/three.min.js"></script>
|
|
<script>
|
|
if (typeof THREE === 'undefined') {
|
|
document.write('<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"><\/script>');
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
:root {
|
|
--bg: #020308;
|
|
--ink: #eef3f8;
|
|
--dim: rgba(226, 234, 242, 0.62);
|
|
--faint: rgba(226, 234, 242, 0.32);
|
|
--line: rgba(226, 234, 242, 0.08);
|
|
--line-bright: rgba(226, 234, 242, 0.2);
|
|
--ok: #43e5a0;
|
|
--ac: 143, 216, 255;
|
|
--ac-hex: #8fd9ff;
|
|
--mono: 'JetBrains Mono', ui-monospace, monospace;
|
|
--disp: 'Space Grotesk', sans-serif;
|
|
--serif: 'Instrument Serif', serif;
|
|
--pad: clamp(24px, 5vw, 84px);
|
|
--ez: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--rim-angle: 0deg;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
}
|
|
|
|
body {
|
|
font-family: var(--disp);
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
animation: bootIn 1s var(--ez) both;
|
|
perspective: 1200px;
|
|
}
|
|
|
|
@keyframes bootIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
::selection {
|
|
background: rgba(var(--ac), 0.35);
|
|
color: #fff;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 9px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #141b2c;
|
|
border: 2px solid var(--bg);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
a:focus-visible, button:focus-visible {
|
|
outline: 2px solid rgba(var(--ac), 0.7);
|
|
outline-offset: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Depth Layers */
|
|
#sky {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
.grain {
|
|
position: fixed;
|
|
inset: -10%;
|
|
width: 120%;
|
|
height: 120%;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
opacity: 0.045;
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
background-size: 180px 180px;
|
|
animation: grain 1s steps(4) infinite;
|
|
}
|
|
@keyframes grain {
|
|
0%, 100% { transform: translate(0, 0); }
|
|
25% { transform: translate(-1.2%, 1%); }
|
|
50% { transform: translate(1%, -1.2%); }
|
|
75% { transform: translate(-0.8%, -0.8%); }
|
|
}
|
|
.vig {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(1, 2, 7, 0.7) 100%);
|
|
}
|
|
|
|
/* Custom Cursor */
|
|
.cur {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
will-change: transform;
|
|
}
|
|
body.cur-vis .cur { opacity: 1; }
|
|
#curDot {
|
|
width: 5px;
|
|
height: 5px;
|
|
margin: -2.5px 0 0 -2.5px;
|
|
border-radius: 50%;
|
|
background: var(--ink);
|
|
box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
|
|
}
|
|
#curRing {
|
|
width: 38px;
|
|
height: 38px;
|
|
margin: -19px 0 0 -19px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(238, 243, 248, 0.45);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: width 0.35s var(--ez), height 0.35s var(--ez), margin 0.35s var(--ez), border-color 0.3s, background 0.3s;
|
|
}
|
|
#curRing span {
|
|
font-family: var(--mono);
|
|
font-size: 8px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.28em;
|
|
text-indent: 0.28em;
|
|
color: #fff;
|
|
opacity: 0;
|
|
transition: opacity 0.25s;
|
|
}
|
|
#curRing.act {
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: -28px 0 0 -28px;
|
|
border-color: rgba(255, 255, 255, 0.85);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
#curRing.drag {
|
|
width: 76px;
|
|
height: 76px;
|
|
margin: -38px 0 0 -38px;
|
|
border-color: rgba(var(--ac), 0.95);
|
|
background: rgba(var(--ac), 0.08);
|
|
box-shadow: 0 0 24px rgba(var(--ac), 0.25);
|
|
}
|
|
#curRing.drag span { opacity: 1; }
|
|
body.has-cur, body.has-cur a, body.has-cur button, body.has-cur canvas { cursor: none; }
|
|
|
|
/* Navigation */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 var(--pad);
|
|
background: rgba(2, 3, 8, 0.48);
|
|
backdrop-filter: blur(20px) saturate(160%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(160%);
|
|
border-bottom: 1px solid rgba(226, 234, 242, 0.07);
|
|
transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
|
|
}
|
|
nav.scrolled {
|
|
height: 64px;
|
|
background: rgba(2, 3, 8, 0.88);
|
|
border-bottom-color: rgba(226, 234, 242, 0.12);
|
|
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
|
|
}
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
.mark-wrapper {
|
|
position: relative;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.mark {
|
|
width: 100%;
|
|
height: 100%;
|
|
flex: none;
|
|
animation: markSpin 20s linear infinite;
|
|
}
|
|
@keyframes markSpin { to { transform: rotate(360deg); } }
|
|
.nav-links { display: flex; gap: 40px; }
|
|
.nav-links a {
|
|
position: relative;
|
|
text-decoration: none;
|
|
color: var(--dim);
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
padding: 6px 0;
|
|
transition: color 0.3s;
|
|
}
|
|
.nav-links a i {
|
|
font-style: normal;
|
|
font-family: var(--mono);
|
|
font-size: 8.5px;
|
|
color: rgba(226, 234, 242, 0.32);
|
|
margin-right: 7px;
|
|
vertical-align: 2px;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
.nav-links a::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -2px;
|
|
height: 1px;
|
|
width: 100%;
|
|
background: #fff;
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.45s var(--ez);
|
|
}
|
|
.nav-links a:hover { color: #fff; }
|
|
.nav-links a:hover::after { transform: scaleX(1); }
|
|
.nav-links a.on { color: #fff; }
|
|
.nav-links a.on::after {
|
|
transform: scaleX(1);
|
|
background: rgb(var(--ac));
|
|
box-shadow: 0 0 10px rgb(var(--ac));
|
|
}
|
|
.nav-right { display: flex; align-items: center; gap: 22px; }
|
|
.nav-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
letter-spacing: 0.24em;
|
|
color: rgba(110, 225, 175, 0.85);
|
|
}
|
|
.nav-status i {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--ok);
|
|
box-shadow: 0 0 10px var(--ok);
|
|
animation: dotPulse 2.4s ease infinite;
|
|
}
|
|
@keyframes dotPulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.35; transform: scale(0.85); }
|
|
}
|
|
.nav-btn {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
text-decoration: none;
|
|
padding: 10px 22px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(226, 234, 242, 0.16);
|
|
background: rgba(226, 234, 242, 0.04);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
transition: all 0.3s var(--ez);
|
|
}
|
|
.nav-btn:hover {
|
|
background: rgba(226, 234, 242, 0.12);
|
|
border-color: rgba(226, 234, 242, 0.36);
|
|
box-shadow: 0 0 20px rgba(var(--ac), 0.2);
|
|
}
|
|
|
|
.burger {
|
|
display: none;
|
|
width: 44px;
|
|
height: 44px;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: none;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
.burger span {
|
|
display: block;
|
|
width: 22px;
|
|
height: 1.5px;
|
|
background: var(--ink);
|
|
transition: transform 0.35s var(--ez);
|
|
}
|
|
body.m-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
|
|
body.m-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
|
|
|
|
.mmenu {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 95;
|
|
background: rgba(2, 3, 8, 0.94);
|
|
backdrop-filter: blur(28px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 0 clamp(28px, 8vw, 60px);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.4s var(--ez), visibility 0.4s;
|
|
}
|
|
body.m-open .mmenu { opacity: 1; visibility: visible; }
|
|
.mmenu a {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 16px;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
font-size: clamp(34px, 8.5vw, 50px);
|
|
font-weight: 600;
|
|
padding: 14px 0;
|
|
border-bottom: 1px solid var(--line);
|
|
transform: translateY(24px);
|
|
opacity: 0;
|
|
transition: transform 0.55s var(--ez), opacity 0.55s;
|
|
}
|
|
body.m-open .mmenu a { transform: none; opacity: 1; }
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
position: relative;
|
|
z-index: 10;
|
|
min-height: 100vh;
|
|
min-height: 100svh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 130px var(--pad) 110px;
|
|
overflow: hidden;
|
|
}
|
|
.hero-stage {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: all;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
#rings3d {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.hud {
|
|
position: absolute;
|
|
z-index: 5;
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
letter-spacing: 0.18em;
|
|
color: rgba(226, 234, 242, 0.35);
|
|
text-transform: uppercase;
|
|
line-height: 2.2;
|
|
pointer-events: none;
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
|
|
}
|
|
.hud-bl { left: var(--pad); bottom: 34px; display: flex; flex-direction: column; text-align: left; }
|
|
.hud-br { right: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 12px; }
|
|
|
|
.hero-inner {
|
|
position: relative;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
pointer-events: none;
|
|
max-width: 960px;
|
|
}
|
|
.hero-inner a, .hero-inner button, .hero-inner input { pointer-events: all; }
|
|
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 18px;
|
|
border-radius: 99px;
|
|
border: 1px solid rgba(var(--ac), 0.25);
|
|
background: rgba(var(--ac), 0.05);
|
|
backdrop-filter: blur(16px);
|
|
box-shadow: 0 0 24px rgba(var(--ac), 0.12);
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
letter-spacing: 0.22em;
|
|
color: rgba(var(--ac), 0.95);
|
|
margin-bottom: 36px;
|
|
animation: softUp 1s 0.1s var(--ez) both;
|
|
}
|
|
.tag .dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: rgb(var(--ac));
|
|
box-shadow: 0 0 10px rgb(var(--ac));
|
|
animation: dotPulse 2.6s ease infinite;
|
|
}
|
|
|
|
.title {
|
|
font-size: clamp(56px, 11vw, 158px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.045em;
|
|
line-height: 0.94;
|
|
margin-bottom: 32px;
|
|
text-shadow: 0 0 100px rgba(143, 216, 255, 0.12);
|
|
}
|
|
.title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-size: 1.05em;
|
|
color: #fff;
|
|
text-shadow: 0 0 40px rgba(var(--ac), 0.4);
|
|
}
|
|
|
|
.msk { display: block; overflow: hidden; }
|
|
.msk-in {
|
|
display: inline-block;
|
|
animation: mskUp 1.2s var(--ez) both;
|
|
}
|
|
@keyframes mskUp {
|
|
from { transform: translateY(120%); opacity: 0; filter: blur(4px); }
|
|
to { transform: translateY(0); opacity: 1; filter: blur(0); }
|
|
}
|
|
@keyframes softUp {
|
|
from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
|
|
to { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
}
|
|
|
|
.sub {
|
|
max-width: 520px;
|
|
font-size: clamp(15px, 1.7vw, 17.5px);
|
|
line-height: 1.82;
|
|
color: var(--dim);
|
|
margin-bottom: 48px;
|
|
animation: softUp 1s 0.55s var(--ez) both;
|
|
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.ctas {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
animation: softUp 1s 0.7s var(--ez) both;
|
|
}
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 15px 32px;
|
|
border-radius: 12px;
|
|
font-size: 14.5px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
text-decoration: none;
|
|
transition: all 0.35s var(--ez);
|
|
}
|
|
.btn-p {
|
|
background: #ffffff;
|
|
color: #030611;
|
|
box-shadow: 0 10px 40px rgba(255, 255, 255, 0.12);
|
|
}
|
|
.btn-p:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 16px 60px rgba(255, 255, 255, 0.22), 0 0 24px rgba(var(--ac), 0.3);
|
|
}
|
|
.btn-g {
|
|
border: 1px solid rgba(226, 234, 242, 0.18);
|
|
color: var(--dim);
|
|
background: rgba(226, 234, 242, 0.03);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
.btn-g:hover {
|
|
color: #fff;
|
|
border-color: rgba(var(--ac), 0.5);
|
|
background: rgba(var(--ac), 0.08);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.stats-row {
|
|
display: flex;
|
|
gap: clamp(32px, 5.5vw, 76px);
|
|
margin-top: 68px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
animation: softUp 1s 0.85s var(--ez) both;
|
|
}
|
|
.stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.sv {
|
|
font-family: var(--mono);
|
|
font-size: clamp(22px, 3vw, 32px);
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.sv em {
|
|
font-style: normal;
|
|
color: rgb(var(--ac));
|
|
}
|
|
.sv .u {
|
|
font-size: 0.55em;
|
|
color: rgba(226, 234, 242, 0.5);
|
|
margin-left: 6px;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.sl {
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: rgba(226, 234, 242, 0.38);
|
|
}
|
|
|
|
/* ─────────────────────────────── BENTO 3D FEATURE GRID ─────────────────────────────── */
|
|
.bento-section {
|
|
position: relative;
|
|
z-index: 10;
|
|
padding: clamp(90px, 10vw, 160px) var(--pad);
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
}
|
|
.section-head {
|
|
text-align: center;
|
|
margin-bottom: 64px;
|
|
}
|
|
.sec-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: rgba(var(--ac), 0.85);
|
|
margin-bottom: 16px;
|
|
}
|
|
.sec-tag::before, .sec-tag::after {
|
|
content: '';
|
|
width: 24px;
|
|
height: 1px;
|
|
background: rgba(var(--ac), 0.5);
|
|
}
|
|
.sec-title {
|
|
font-size: clamp(38px, 5.5vw, 68px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.05;
|
|
}
|
|
.sec-title em {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.bento-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 1fr);
|
|
gap: 24px;
|
|
}
|
|
.col-8 { grid-column: span 8; }
|
|
.col-4 { grid-column: span 4; }
|
|
.col-6 { grid-column: span 6; }
|
|
.col-12 { grid-column: span 12; }
|
|
|
|
/* 3D Glass Bento Card with Dynamic Conic Rim Highlight */
|
|
.bento-card {
|
|
position: relative;
|
|
background: rgba(8, 14, 28, 0.72);
|
|
border-radius: 20px;
|
|
padding: 38px 34px;
|
|
backdrop-filter: blur(24px) saturate(150%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(150%);
|
|
border: 1px solid rgba(226, 234, 242, 0.1);
|
|
box-shadow: 0 24px 60px rgba(0, 0, 4, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
transform-style: preserve-3d;
|
|
will-change: transform;
|
|
overflow: hidden;
|
|
transition: transform 0.4s var(--ez), border-color 0.4s ease, box-shadow 0.4s ease;
|
|
}
|
|
|
|
.bento-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -1px;
|
|
border-radius: inherit;
|
|
padding: 1.5px;
|
|
background: conic-gradient(from var(--rim-angle, 0deg) at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
|
rgba(255, 255, 255, 0.6) 0deg,
|
|
rgba(255, 255, 255, 0.06) 60deg,
|
|
rgba(var(--ac), 0.6) 180deg,
|
|
rgba(255, 255, 255, 0.06) 300deg,
|
|
rgba(255, 255, 255, 0.6) 360deg);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
pointer-events: none;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.bento-card:hover {
|
|
box-shadow: 0 32px 80px rgba(0, 0, 8, 0.65), 0 0 30px rgba(var(--ac), 0.15);
|
|
}
|
|
|
|
.card-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 12px;
|
|
border-radius: 99px;
|
|
background: rgba(var(--ac), 0.08);
|
|
border: 1px solid rgba(var(--ac), 0.25);
|
|
font-family: var(--mono);
|
|
font-size: 8.5px;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: rgb(var(--ac));
|
|
margin-bottom: 20px;
|
|
}
|
|
.card-title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 12px;
|
|
}
|
|
.card-desc {
|
|
font-size: 14.5px;
|
|
line-height: 1.7;
|
|
color: var(--dim);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* Interactive Code Switcher for SDKs */
|
|
.code-box {
|
|
background: rgba(2, 4, 10, 0.85);
|
|
border: 1px solid rgba(226, 234, 242, 0.08);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
font-family: var(--mono);
|
|
}
|
|
.code-tabs {
|
|
display: flex;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-bottom: 1px solid rgba(226, 234, 242, 0.08);
|
|
}
|
|
.code-tab {
|
|
padding: 10px 18px;
|
|
font-size: 11px;
|
|
color: var(--dim);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
transition: all 0.25s;
|
|
}
|
|
.code-tab.active {
|
|
color: #fff;
|
|
border-bottom-color: rgb(var(--ac));
|
|
background: rgba(var(--ac), 0.05);
|
|
}
|
|
.code-body {
|
|
padding: 18px 20px;
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
color: rgba(226, 234, 242, 0.7);
|
|
white-space: pre-wrap;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/* Version timeline visualizer */
|
|
.timeline-track {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 10px;
|
|
}
|
|
.timeline-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(226, 234, 242, 0.06);
|
|
border-radius: 10px;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
}
|
|
.t-tag { color: rgb(var(--ac)); font-weight: 600; }
|
|
.t-action { color: var(--ok); cursor: pointer; text-decoration: underline; }
|
|
|
|
/* Pricing Cards */
|
|
.pricing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 28px;
|
|
margin-top: 40px;
|
|
}
|
|
.price-val {
|
|
font-size: 44px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
margin: 18px 0;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
.price-val span {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--dim);
|
|
font-family: var(--mono);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
position: relative;
|
|
z-index: 10;
|
|
border-top: 1px solid var(--line);
|
|
padding: 36px var(--pad);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
flex-wrap: wrap;
|
|
background: rgba(2, 3, 8, 0.7);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
.ft-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
font-weight: 600;
|
|
font-size: 15.5px;
|
|
}
|
|
.ft-logo .mark { width: 22px; height: 22px; }
|
|
.ft-m {
|
|
font-family: var(--mono);
|
|
font-size: 9.5px;
|
|
letter-spacing: 0.18em;
|
|
color: rgba(226, 234, 242, 0.28);
|
|
text-transform: uppercase;
|
|
}
|
|
.ft-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.2em;
|
|
color: rgba(110, 225, 175, 0.8);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.col-8, .col-4, .col-6 { grid-column: span 12; }
|
|
.pricing-grid { grid-template-columns: 1fr; }
|
|
.nav-links, .nav-status, .hud-bl { display: none; }
|
|
.burger { display: flex; }
|
|
}
|
|
@media (max-width: 560px) {
|
|
.ctas { flex-direction: column; width: 100%; }
|
|
.btn { justify-content: center; }
|
|
footer { flex-direction: column; text-align: center; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<canvas id="sky" aria-hidden="true"></canvas>
|
|
<div class="grain" aria-hidden="true"></div>
|
|
<div class="vig" aria-hidden="true"></div>
|
|
<div class="cur" id="curDot" aria-hidden="true"></div>
|
|
<div class="cur" id="curRing" aria-hidden="true"><span>DRAG</span></div>
|
|
|
|
<!-- Navigation -->
|
|
<nav id="nav">
|
|
<a class="logo" href="/">
|
|
<div class="mark-wrapper">
|
|
<svg class="mark" viewBox="0 0 34 34" aria-hidden="true">
|
|
<ellipse cx="17" cy="17" rx="14.5" ry="6" fill="none" stroke="rgba(238,243,248,.6)" stroke-width="1.2" transform="rotate(-24 17 17)"/>
|
|
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
|
|
<circle cx="27.4" cy="12.2" r="1.9" fill="#8fd9ff"/>
|
|
</svg>
|
|
</div>
|
|
<span>Cosmos</span>
|
|
</a>
|
|
<div class="nav-links">
|
|
<a href="/git"><i>01</i>Forge</a>
|
|
<a href="/oort" class="on"><i>02</i>Oort</a>
|
|
<a href="/orbit"><i>03</i>Orbit</a>
|
|
</div>
|
|
<div class="nav-right">
|
|
<span class="nav-status"><i></i>NOMINAL</span>
|
|
<a class="nav-btn mag" href="/oort/login">Sign In</a>
|
|
<button class="burger" id="burger" aria-label="Open menu"><span></span><span></span></button>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Mobile Menu -->
|
|
<div class="mmenu" id="mmenu">
|
|
<a href="/git"><i>01</i>Forge</a>
|
|
<a href="/oort"><i>02</i>Oort</a>
|
|
<a href="/orbit"><i>03</i>Orbit</a>
|
|
<a href="/oort/login"><i>→</i>Sign In</a>
|
|
</div>
|
|
|
|
<!-- Hero Section with Fullscreen 3D Keplerian Ring System -->
|
|
<main class="hero">
|
|
<div class="hero-stage" data-cursor="drag">
|
|
<canvas id="rings3d" aria-hidden="true"></canvas>
|
|
</div>
|
|
|
|
<div class="hud hud-bl">
|
|
<span>OORT NAS FOR MORNYE · CELESTIAL STORAGE</span>
|
|
<span>LOSSLESS FLAC STREAMING · S3 PROTOCOL</span>
|
|
</div>
|
|
<div class="hud hud-br">
|
|
<span id="utc">00:00:00 UTC</span>
|
|
<em>·</em>
|
|
<span>ALL SYSTEMS NOMINAL</span>
|
|
</div>
|
|
|
|
<div class="hero-inner">
|
|
<div class="tag">
|
|
<span class="dot"></span>
|
|
<span data-scr>MORNYE NAS · ZERO-DELAY AUDIO STREAMING</span>
|
|
</div>
|
|
<h1 class="title">
|
|
<span class="msk"><span class="msk-in">Storage for</span></span>
|
|
<span class="msk"><span class="msk-in"><em>Mornye streaming.</em></span></span>
|
|
</h1>
|
|
<p class="sub">High-performance Network Attached Storage (NAS) engineered for Mornye music streaming and sovereign object cloud. Unique streaming URLs for every account, lossless FLAC byte-range delivery, and infinite hardware capacity.</p>
|
|
<div class="ctas">
|
|
<a class="btn btn-p mag" href="/oort/login">Open Mornye NAS Console</a>
|
|
<a class="btn btn-g mag" href="/oort/signup">Create NAS Account</a>
|
|
</div>
|
|
|
|
<div class="stats-row">
|
|
<div class="stat">
|
|
<div class="sv"><span class="num" data-count="32000">0</span><em>+</em><span class="u">RPS</span></div>
|
|
<div class="sl">Throughput</div>
|
|
</div>
|
|
<div class="stat">
|
|
<div class="sv"><span class="num" data-count="625">0</span><span class="u">MB/s</span></div>
|
|
<div class="sl">Bandwidth</div>
|
|
</div>
|
|
<div class="stat">
|
|
<div class="sv"><span class="num" data-count="3.68" data-dec="2">0</span><span class="u">ms</span></div>
|
|
<div class="sl">Read Latency</div>
|
|
</div>
|
|
<div class="stat">
|
|
<div class="sv">99.99<span class="u">%</span></div>
|
|
<div class="sl">Uptime SLA</div>
|
|
</div>
|
|
<div class="stat">
|
|
<div class="sv">∞</div>
|
|
<div class="sl">Capacity</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Bento 3D Feature Grid (Jockey/Stuudio Inspired) -->
|
|
<section class="bento-section">
|
|
<div class="section-head">
|
|
<p class="sec-tag">CAPABILITIES ARCHITECTURE</p>
|
|
<h2 class="sec-title">Engineered to replace <em>hyperscale cloud.</em></h2>
|
|
</div>
|
|
|
|
<div class="bento-grid">
|
|
<!-- Card 1: AWS SDK Drop-in -->
|
|
<div class="bento-card col-8 tilt-card">
|
|
<span class="card-badge">Universal Compatibility</span>
|
|
<h3 class="card-title">AWS S3 SDK & CLI Drop-in</h3>
|
|
<p class="card-desc">Zero code refactoring required. Point any standard AWS S3 client, CLI, Terraform provider, or backup script directly to Cosmos Oort with standard Access Key and Secret Key authentication.</p>
|
|
|
|
<div class="code-box">
|
|
<div class="code-tabs">
|
|
<button class="code-tab active" data-lang="cli">AWS CLI</button>
|
|
<button class="code-tab" data-lang="python">Python (Boto3)</button>
|
|
<button class="code-tab" data-lang="go">Go SDK</button>
|
|
<button class="code-tab" data-lang="node">Node.js</button>
|
|
</div>
|
|
<div class="code-body" id="codeDisplay">aws s3 cp backup.tar.gz s3://my-bucket/ \
|
|
--endpoint-url https://cosmos.linuxguy.space</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 2: Versioning & Rollback -->
|
|
<div class="bento-card col-4 tilt-card">
|
|
<span class="card-badge">Data Resilience</span>
|
|
<h3 class="card-title">Continuous Object Versioning</h3>
|
|
<p class="card-desc">Every mutation is immutably archived. Inspect object histories, diff timestamps, and restore previous iterations instantly without administrative overhead.</p>
|
|
|
|
<div class="timeline-track">
|
|
<div class="timeline-item">
|
|
<span class="t-tag">v3 (Current)</span>
|
|
<span>12.4 MB · 2m ago</span>
|
|
<span style="color:var(--ok)">Active</span>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<span class="t-tag">v2</span>
|
|
<span>12.1 MB · 1h ago</span>
|
|
<span class="t-action">Restore</span>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<span class="t-tag">v1</span>
|
|
<span>9.8 MB · 2d ago</span>
|
|
<span class="t-action">Restore</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 3: Real-Time Edge Analytics -->
|
|
<div class="bento-card col-4 tilt-card">
|
|
<span class="card-badge">Observability</span>
|
|
<h3 class="card-title">Live 3D Globe Telemetry</h3>
|
|
<p class="card-desc">Inspect inbound traffic across global regions in real time using the integrated D3.js 3D rotating globe, bandwidth time-series charts, and cache hit metrics.</p>
|
|
<div style="margin-top:20px;display:flex;align-items:baseline;justify-content:space-between;padding:12px;background:rgba(255,255,255,0.03);border-radius:10px;">
|
|
<span style="font-family:var(--mono);font-size:12px;color:var(--dim)">Cache Hit Ratio</span>
|
|
<span style="font-family:var(--mono);font-size:20px;font-weight:600;color:rgb(var(--ac))">98.4%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 4: Branded Custom Domains -->
|
|
<div class="bento-card col-8 tilt-card">
|
|
<span class="card-badge">Edge CDN Routing</span>
|
|
<h3 class="card-title">Zero-Downtime Custom Domains</h3>
|
|
<p class="card-desc">Map branded domains (e.g. <code>assets.company.com</code>) directly to your buckets. The Go edge proxy verifies ownership and routes traffic with in-memory caching and automatic invalidation on writes.</p>
|
|
|
|
<div style="display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:16px;background:rgba(255,255,255,0.02);border:1px solid rgba(226,234,242,0.06);border-radius:12px;font-family:var(--mono);font-size:12px;">
|
|
<span style="color:rgb(var(--ac))">CNAME</span>
|
|
<span>assets.company.com</span>
|
|
<span style="color:var(--dim)">→</span>
|
|
<span style="color:var(--ok)">cosmos.linuxguy.space</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Pricing / Quotas -->
|
|
<div style="margin-top:80px">
|
|
<div class="section-head">
|
|
<p class="sec-tag">SOVEREIGN QUOTA PLANS</p>
|
|
<h2 class="sec-title">Transparent capacity, <em>zero egress taxes.</em></h2>
|
|
</div>
|
|
|
|
<div class="pricing-grid">
|
|
<div class="bento-card tilt-card">
|
|
<span class="card-badge">Standard Free Tier</span>
|
|
<h3 class="card-title">Sovereign Default</h3>
|
|
<p class="card-desc">Every registered user receives isolated S3 storage backed by dedicated NVMe drives with zero bandwidth charges.</p>
|
|
<div class="price-val">$0 <span>/ forever</span></div>
|
|
<ul style="list-style:none;display:flex;flex-direction:column;gap:12px;margin:24px 0;font-size:14px;color:var(--dim)">
|
|
<li>✓ 10 GB High-Speed NVMe Storage</li>
|
|
<li>✓ Unlimited Read & Write Operations</li>
|
|
<li>✓ Full AWS S3 API & CLI Access</li>
|
|
<li>✓ Object Versioning & Multipart Uploads</li>
|
|
<li>✓ Custom Domain Edge Proxying</li>
|
|
</ul>
|
|
<a href="/oort/signup" class="btn btn-g mag" style="width:100%;justify-content:center">Start with Free Tier</a>
|
|
</div>
|
|
|
|
<div class="bento-card tilt-card" style="border-color:rgba(var(--ac),0.35);background:rgba(12,22,44,0.78)">
|
|
<span class="card-badge" style="background:rgba(var(--ac),0.15)">Quota Expansion</span>
|
|
<h3 class="card-title">Enterprise Expansion</h3>
|
|
<p class="card-desc">Need more storage? Request quota increases seamlessly directly from your storage console with automatic administrator authorization.</p>
|
|
<div class="price-val">Custom <span>/ on demand</span></div>
|
|
<ul style="list-style:none;display:flex;flex-direction:column;gap:12px;margin:24px 0;font-size:14px;color:var(--dim)">
|
|
<li>✓ Multi-Terabyte Bucket Expansion</li>
|
|
<li>✓ 1-Click In-Console Request Slider</li>
|
|
<li>✓ Automated Secure Email Authorization</li>
|
|
<li>✓ Dedicated Data Pool Isolation</li>
|
|
<li>✓ Priority SLA & Direct NVMe Mounting</li>
|
|
</ul>
|
|
<a href="/oort/login" class="btn btn-p mag" style="width:100%;justify-content:center">Request Storage Expansion</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer>
|
|
<div class="ft-l">
|
|
<a class="ft-logo" href="/">
|
|
<svg class="mark" viewBox="0 0 34 34" aria-hidden="true">
|
|
<ellipse cx="17" cy="17" rx="14.5" ry="6" fill="none" stroke="rgba(238,243,248,.6)" stroke-width="1.2" transform="rotate(-24 17 17)"/>
|
|
<circle cx="17" cy="17" r="4.6" fill="#eef3f8"/>
|
|
<circle cx="27.4" cy="12.2" r="1.9" fill="#8fd9ff"/>
|
|
</svg>
|
|
Cosmos
|
|
</a>
|
|
<p style="font-family:var(--mono);font-size:9.5px;letter-spacing:0.18em;color:rgba(226,234,242,0.28);margin-top:8px">SELF-HOSTED S3 STORAGE · ZERO EGRESS FEES</p>
|
|
</div>
|
|
<div class="ft-m">
|
|
<span>51.4778° N · 0.0015° W</span>
|
|
<span id="ftUp">SESSION T+00:00:00</span>
|
|
</div>
|
|
<div class="ft-r"><span class="ft-status"><i></i>All systems nominal</span></div>
|
|
</footer>
|
|
|
|
<script>
|
|
(() => {
|
|
'use strict';
|
|
const $ = s => document.querySelector(s);
|
|
const $$ = s => [...document.querySelectorAll(s)];
|
|
const TAU = Math.PI * 2;
|
|
const clamp = (v, min, max) => Math.min(Math.max(v, min), max);
|
|
const p2 = n => String(n).padStart(2, '0');
|
|
const RM = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
const FINE = window.matchMedia('(pointer: fine)').matches;
|
|
const DPR = Math.min(window.devicePixelRatio || 1, 2);
|
|
|
|
const mouse = { x: 0.5, y: 0.5, sx: 0.5, sy: 0.5, px: window.innerWidth / 2, py: window.innerHeight / 2 };
|
|
|
|
/* 3D WebGL Icy Gas Giant & Ring System */
|
|
const canvas = $('#rings3d');
|
|
let renderer = null, scene = null, camera = null;
|
|
let oortPlanet = null, oortRings = null;
|
|
let drag = false, lx = 0, ly = 0, yaw = 0.55, pitch = 0.45;
|
|
|
|
function initOortHero3D() {
|
|
if (typeof THREE === 'undefined') return;
|
|
try {
|
|
const w = canvas.parentElement.clientWidth;
|
|
const h = canvas.parentElement.clientHeight;
|
|
|
|
renderer = new THREE.WebGLRenderer({ canvas, alpha: true, antialias: true });
|
|
renderer.setPixelRatio(DPR);
|
|
renderer.setSize(w, h);
|
|
|
|
scene = new THREE.Scene();
|
|
camera = new THREE.PerspectiveCamera(46, w / h, 0.1, 1000);
|
|
camera.position.set(0, 0, 11);
|
|
|
|
scene.add(new THREE.AmbientLight(0xffffff, 0.45));
|
|
const sun = new THREE.DirectionalLight(0x8fd9ff, 3.2);
|
|
sun.position.set(8, 7, 6);
|
|
scene.add(sun);
|
|
|
|
const group = new THREE.Group();
|
|
|
|
/* Icy Planet Body */
|
|
const pGeo = new THREE.SphereGeometry(2.0, 64, 64);
|
|
const pMat = new THREE.MeshStandardMaterial({
|
|
color: 0x163d5c,
|
|
emissive: 0x071b2d,
|
|
metalness: 0.75,
|
|
roughness: 0.2
|
|
});
|
|
oortPlanet = new THREE.Mesh(pGeo, pMat);
|
|
group.add(oortPlanet);
|
|
|
|
/* Thin Atmosphere */
|
|
const atm = new THREE.Mesh(
|
|
new THREE.SphereGeometry(2.04, 64, 64),
|
|
new THREE.MeshBasicMaterial({ color: 0x8fd9ff, wireframe: true, transparent: true, opacity: 0.25 })
|
|
);
|
|
group.add(atm);
|
|
|
|
/* 2,400 Keplerian Particles with Cassini Division */
|
|
const count = 2400;
|
|
const pos = new Float32Array(count * 3);
|
|
const cols = new Float32Array(count * 3);
|
|
const props = [];
|
|
|
|
for (let i = 0; i < count; i++) {
|
|
let r;
|
|
do {
|
|
r = 2.5 + Math.pow(Math.random(), 0.85) * 2.4;
|
|
} while (r > 3.45 && r < 3.75); // Cassini gap
|
|
|
|
const a = Math.random() * TAU;
|
|
props.push({ radius: r, angle: a, speed: (0.8 / Math.pow(r, 1.5)) * (0.9 + Math.random() * 0.2) });
|
|
|
|
pos[i * 3] = Math.cos(a) * r;
|
|
pos[i * 3 + 1] = (Math.random() - 0.5) * 0.08;
|
|
pos[i * 3 + 2] = Math.sin(a) * r;
|
|
|
|
cols[i * 3] = 0.65 + Math.random() * 0.35;
|
|
cols[i * 3 + 1] = 0.85 + Math.random() * 0.15;
|
|
cols[i * 3 + 2] = 1.0;
|
|
}
|
|
|
|
const rGeo = new THREE.BufferGeometry();
|
|
rGeo.setAttribute('position', new THREE.BufferAttribute(pos, 3));
|
|
rGeo.setAttribute('color', new THREE.BufferAttribute(cols, 3));
|
|
|
|
oortRings = new THREE.Points(rGeo, new THREE.PointsMaterial({
|
|
size: 0.065,
|
|
vertexColors: true,
|
|
transparent: true,
|
|
opacity: 0.85,
|
|
blending: THREE.AdditiveBlending
|
|
}));
|
|
oortRings.userData.props = props;
|
|
group.add(oortRings);
|
|
|
|
scene.add(group);
|
|
scene.userData.group = group;
|
|
|
|
/* Drag Interactivity */
|
|
canvas.addEventListener('pointerdown', e => {
|
|
drag = true;
|
|
lx = e.clientX; ly = e.clientY;
|
|
document.body.classList.add('grabbing');
|
|
});
|
|
window.addEventListener('pointermove', e => {
|
|
if (!drag) return;
|
|
const dx = e.clientX - lx;
|
|
const dy = e.clientY - ly;
|
|
lx = e.clientX; ly = e.clientY;
|
|
yaw += dx * 0.007;
|
|
pitch = clamp(pitch + dy * 0.005, -0.6, 1.2);
|
|
});
|
|
window.addEventListener('pointerup', () => {
|
|
drag = false;
|
|
document.body.classList.remove('grabbing');
|
|
});
|
|
|
|
} catch (e) {
|
|
console.warn('[OORT] 3D initialization failed:', e);
|
|
}
|
|
}
|
|
|
|
/* 3D Bento Card Tilt & Dynamic Rim Lighting */
|
|
function initBentoCards() {
|
|
if (RM) return;
|
|
const cards = $$('.tilt-card');
|
|
cards.forEach(card => {
|
|
let raf = null;
|
|
let curX = 0, curY = 0, tarX = 0, tarY = 0;
|
|
|
|
card.addEventListener('pointermove', e => {
|
|
const r = card.getBoundingClientRect();
|
|
const x = e.clientX - r.left;
|
|
const y = e.clientY - r.top;
|
|
const cx = r.width / 2;
|
|
const cy = r.height / 2;
|
|
|
|
tarY = ((x - cx) / cx) * 10;
|
|
tarX = -((y - cy) / cy) * 10;
|
|
|
|
const angle = Math.atan2(y - cy, x - cx) * (180 / Math.PI) + 90;
|
|
card.style.setProperty('--rim-angle', `${angle.toFixed(1)}deg`);
|
|
card.style.setProperty('--mouse-x', `${(x / r.width) * 100}%`);
|
|
card.style.setProperty('--mouse-y', `${(y / r.height) * 100}%`);
|
|
|
|
if (!raf) {
|
|
const update = () => {
|
|
curX += (tarX - curX) * 0.12;
|
|
curY += (tarY - curY) * 0.12;
|
|
card.style.transform = `perspective(800px) rotateX(${curX.toFixed(2)}deg) rotateY(${curY.toFixed(2)}deg) translateZ(8px)`;
|
|
if (Math.abs(tarX - curX) > 0.05 || Math.abs(tarY - curY) > 0.05) {
|
|
raf = requestAnimationFrame(update);
|
|
} else {
|
|
raf = null;
|
|
}
|
|
};
|
|
raf = requestAnimationFrame(update);
|
|
}
|
|
});
|
|
|
|
card.addEventListener('pointerleave', () => {
|
|
tarX = 0; tarY = 0;
|
|
const reset = () => {
|
|
curX += (0 - curX) * 0.12;
|
|
curY += (0 - curY) * 0.12;
|
|
card.style.transform = `perspective(800px) rotateX(${curX.toFixed(2)}deg) rotateY(${curY.toFixed(2)}deg) translateZ(0px)`;
|
|
if (Math.abs(curX) > 0.05 || Math.abs(curY) > 0.05) {
|
|
requestAnimationFrame(reset);
|
|
} else {
|
|
card.style.transform = '';
|
|
}
|
|
};
|
|
requestAnimationFrame(reset);
|
|
});
|
|
});
|
|
}
|
|
|
|
/* Code Switcher Logic */
|
|
const codeSnippets = {
|
|
cli: `aws s3 cp backup.tar.gz s3://my-bucket/ \\\n --endpoint-url https://cosmos.linuxguy.space`,
|
|
python: `import boto3\ns3 = boto3.client('s3',\n endpoint_url='https://cosmos.linuxguy.space',\n aws_access_key_id='YOUR_KEY',\n aws_secret_access_key='YOUR_SECRET')\ns3.upload_file('backup.tar.gz', 'my-bucket', 'backup.tar.gz')`,
|
|
go: `package main\nimport "github.com/minio/minio-go/v7"\nfunc main() {\n s3Client, _ := minio.New("cosmos.linuxguy.space", &minio.Options{Secure: true})\n}`,
|
|
node: `import { S3Client, PutObjectCommand } from "@aws-sdk/client-s3";\nconst s3 = new S3Client({ endpoint: "https://cosmos.linuxguy.space", region: "us-east-1" });`
|
|
};
|
|
|
|
$$('.code-tab').forEach(tab => {
|
|
tab.addEventListener('click', () => {
|
|
$$('.code-tab').forEach(t => t.classList.remove('active'));
|
|
tab.classList.add('active');
|
|
const lang = tab.dataset.lang;
|
|
$('#codeDisplay').textContent = codeSnippets[lang] || '';
|
|
});
|
|
});
|
|
|
|
/* Count-up animation */
|
|
const io = new IntersectionObserver(es => {
|
|
es.forEach(en => {
|
|
if (!en.isIntersecting) return;
|
|
const el = en.target;
|
|
const target = parseFloat(el.dataset.count);
|
|
const dec = +(el.dataset.dec || 0);
|
|
if (RM) {
|
|
el.textContent = dec ? target.toFixed(dec) : Math.round(target).toLocaleString('en-US');
|
|
io.unobserve(el);
|
|
return;
|
|
}
|
|
let t0 = null;
|
|
function step(ts) {
|
|
if (!t0) t0 = ts;
|
|
const f = Math.min(1, (ts - t0) / 1400);
|
|
const ease = 1 - Math.pow(1 - f, 3);
|
|
const v = target * ease;
|
|
el.textContent = dec ? v.toFixed(dec) : Math.round(v).toLocaleString('en-US');
|
|
if (f < 1) requestAnimationFrame(step);
|
|
}
|
|
requestAnimationFrame(step);
|
|
io.unobserve(el);
|
|
});
|
|
}, { threshold: 0.4 });
|
|
$$('.num').forEach(n => io.observe(n));
|
|
|
|
/* Clock & Uptime */
|
|
const utc = $('#utc'), ftUp = $('#ftUp');
|
|
const t0 = Date.now();
|
|
setInterval(() => {
|
|
const d = new Date();
|
|
utc.textContent = `${p2(d.getUTCHours())}:${p2(d.getUTCMinutes())}:${p2(d.getUTCSeconds())} UTC`;
|
|
const s = ((Date.now() - t0) / 1000) | 0;
|
|
if (ftUp) ftUp.textContent = `SESSION T+${p2((s / 3600) | 0)}:${p2(((s / 60) | 0) % 60)}:${p2(s % 60)}`;
|
|
}, 1000);
|
|
|
|
/* Custom Cursor */
|
|
const curDot = $('#curDot'), curRing = $('#curRing');
|
|
let crx = window.innerWidth / 2, cry = window.innerHeight / 2, seen = false;
|
|
if (FINE && !RM && curDot && curRing) {
|
|
document.body.classList.add('has-cur');
|
|
window.addEventListener('mousemove', e => {
|
|
mouse.px = e.clientX; mouse.py = e.clientY;
|
|
if (!seen) { seen = true; crx = e.clientX; cry = e.clientY; document.body.classList.add('cur-vis'); }
|
|
const el = e.target instanceof Element ? e.target : null;
|
|
curRing.classList.toggle('act', !!(el && el.closest('a, button')));
|
|
curRing.classList.toggle('drag', !!(el && el.closest('[data-cursor="drag"]')));
|
|
}, { passive: true });
|
|
document.addEventListener('mouseleave', () => { document.body.classList.remove('cur-vis'); seen = false; });
|
|
}
|
|
|
|
/* Nav scroll */
|
|
const nav = $('#nav');
|
|
window.addEventListener('scroll', () => {
|
|
nav.classList.toggle('scrolled', window.scrollY > 40);
|
|
}, { passive: true });
|
|
|
|
$('#burger').addEventListener('click', () => document.body.classList.toggle('m-open'));
|
|
$$('#mmenu a').forEach(a => a.addEventListener('click', () => document.body.classList.remove('m-open')));
|
|
|
|
/* Init */
|
|
initOortHero3D();
|
|
initBentoCards();
|
|
|
|
let lastT = performance.now();
|
|
function masterLoop(t) {
|
|
const dt = RM ? 0 : Math.min(0.05, (t - lastT) / 1000) || 0.016;
|
|
lastT = t;
|
|
|
|
if (curDot && curRing && seen) {
|
|
curDot.style.transform = `translate(${mouse.px}px, ${mouse.py}px)`;
|
|
crx += (mouse.px - crx) * 0.22;
|
|
cry += (mouse.py - cry) * 0.22;
|
|
curRing.style.transform = `translate(${crx.toFixed(1)}px, ${cry.toFixed(1)}px)`;
|
|
}
|
|
|
|
if (renderer && scene) {
|
|
const g = scene.userData.group;
|
|
if (g) {
|
|
if (!drag) yaw += dt * 0.12;
|
|
g.rotation.y = yaw;
|
|
g.rotation.x = pitch;
|
|
if (oortRings) {
|
|
const p = oortRings.geometry.attributes.position.array;
|
|
const pr = oortRings.userData.props;
|
|
for (let i = 0; i < pr.length; i++) {
|
|
pr[i].angle += pr[i].speed * dt;
|
|
p[i * 3] = Math.cos(pr[i].angle) * pr[i].radius;
|
|
p[i * 3 + 2] = Math.sin(pr[i].angle) * pr[i].radius;
|
|
}
|
|
oortRings.geometry.attributes.position.needsUpdate = true;
|
|
}
|
|
}
|
|
renderer.render(scene, camera);
|
|
}
|
|
|
|
requestAnimationFrame(masterLoop);
|
|
}
|
|
requestAnimationFrame(masterLoop);
|
|
|
|
window.addEventListener('resize', () => {
|
|
if (renderer && canvas && canvas.parentElement) {
|
|
const w = canvas.parentElement.clientWidth;
|
|
const h = canvas.parentElement.clientHeight;
|
|
renderer.setSize(w, h);
|
|
camera.aspect = w / h;
|
|
camera.updateProjectionMatrix();
|
|
}
|
|
});
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|