mirror of
https://gitlab.com/vyla-entertainment/home-frontend.git
synced 2026-11-16 23:37:29 -05:00
updated site ( crazy )
This commit is contained in:
@@ -27,8 +27,11 @@
|
||||
.hero-cta-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
margin-top: 1.5rem;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
@@ -70,12 +73,19 @@
|
||||
}
|
||||
|
||||
.hero-cta-light {
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: #0f0f0f;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
color: var(--color-fg);
|
||||
border-radius: 50px;
|
||||
padding: 0.75rem 1.75rem;
|
||||
font-weight: 500;
|
||||
font-size: 0.875rem;
|
||||
text-decoration: none;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.hero-cta-light:hover {
|
||||
background: #fff;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
|
||||
52
src/styles/components/glass-surface.css
Normal file
52
src/styles/components/glass-surface.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.glass-surface {
|
||||
position: relative !important;
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
border-radius: var(--glass-radius, 50px) !important;
|
||||
overflow: visible !important;
|
||||
text-decoration: none !important;
|
||||
box-sizing: border-box !important;
|
||||
width: auto !important;
|
||||
max-width: max-content !important;
|
||||
}
|
||||
|
||||
.glass-surface__backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: inherit !important;
|
||||
background: transparent;
|
||||
backdrop-filter: var(--glass-filter-id, none) saturate(var(--glass-saturation, 0));
|
||||
-webkit-backdrop-filter: var(--glass-filter-id, none) saturate(var(--glass-saturation, 0));
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.glass-surface__content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: inherit;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
color: inherit;
|
||||
white-space: nowrap;
|
||||
border-radius: inherit;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.glass-surface:hover .glass-surface__backdrop {
|
||||
border-color: rgba(255, 255, 255, 0.45);
|
||||
box-shadow:
|
||||
inset 0 1px 2px 0 rgba(255, 255, 255, 0.6),
|
||||
inset 0 -1px 1px 0 rgba(255, 255, 255, 0.15),
|
||||
0 6px 20px 0 rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
@@ -1,31 +1,47 @@
|
||||
.discord-copy-bar {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(8px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(140%);
|
||||
border: none;
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.9rem;
|
||||
font-family: var(--font-body);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-fg);
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.65rem 1.25rem;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
letter-spacing: -0.01em;
|
||||
margin-top: 1.2rem;
|
||||
transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
|
||||
margin-top: 1.5rem;
|
||||
max-width: 90vw;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.copy-discord-label,
|
||||
.discord-copy-actions {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.copy-discord-label {
|
||||
position: relative;
|
||||
max-width: 350px;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-fg-dim);
|
||||
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--color-fg);
|
||||
-webkit-mask-image: linear-gradient(to left, transparent, black 15%);
|
||||
mask-image: linear-gradient(to left, transparent, black 15%);
|
||||
}
|
||||
|
||||
.discord-copy-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.discord-copy-icon .check-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.discord-copy-icon.copied .copy-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.discord-copy-icon.copied .check-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.discord-copy-actions {
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
.footer {
|
||||
position: relative;
|
||||
padding: 48px 24px 24px;
|
||||
overflow: hidden
|
||||
padding: 32px 24px 24px;
|
||||
overflow: visible;
|
||||
background: transparent;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
@@ -10,20 +12,23 @@
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 40px;
|
||||
font-weight: 400
|
||||
font-weight: 400;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.footer-section h2 {
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 7px
|
||||
margin-bottom: 7px;
|
||||
color: var(--color-fg);
|
||||
}
|
||||
|
||||
.footer-section p {
|
||||
color: var(--color-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
font-weight: 400
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.footer-section a {
|
||||
@@ -34,17 +39,17 @@
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
transition: color .2s;
|
||||
font-weight: 400
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.footer-section a:hover {
|
||||
color: var(--color-muted)
|
||||
color: var(--color-fg);
|
||||
}
|
||||
|
||||
.social-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-weight: 400
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
@@ -52,10 +57,12 @@
|
||||
font-weight: 400;
|
||||
font-size: 0.8rem;
|
||||
color: var(--color-muted);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.footer-bottom p {
|
||||
color: var(--color-muted);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400
|
||||
font-weight: 400;
|
||||
}
|
||||
@@ -26,13 +26,8 @@
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(1.25rem, 3vw, 2.5rem);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(8px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(140%);
|
||||
padding: 1rem 1rem;
|
||||
gap: 1.25rem;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,64 +1,45 @@
|
||||
.cta-banner {
|
||||
.cta-footer-wrap {
|
||||
position: relative;
|
||||
padding: clamp(4rem, 10vw, 7rem) 0;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
background: #000000;
|
||||
width: 100%;
|
||||
min-height: 600px;
|
||||
}
|
||||
|
||||
.cta-rays-container {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cta-title-warp {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
height: clamp(60px, 10vw, 110px);
|
||||
margin: 0 auto 0.5rem;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cta-banner {
|
||||
position: relative;
|
||||
padding: clamp(5rem, 10vw, 8rem) 0 3rem;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 50vh;
|
||||
}
|
||||
|
||||
.cta-banner-media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
background: var(--video-dominant-color, black);
|
||||
-webkit-mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 70%);
|
||||
-webkit-mask-composite: source-in;
|
||||
mask-composite: intersect;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: 100% 100%;
|
||||
mask-image:
|
||||
linear-gradient(to bottom, transparent, black 50%),
|
||||
linear-gradient(to top, transparent, black 65%);
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100% 100%;
|
||||
}
|
||||
|
||||
.cta-banner-video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.cta-banner-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
#cta-byte-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#cta-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
background: transparent;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.cta-banner-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
@@ -2,18 +2,17 @@
|
||||
position: relative;
|
||||
padding: clamp(6rem, 14vh, 8.5rem) 0 clamp(3rem, 6vh, 5rem);
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hero-atmosphere {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
-webkit-mask-image: linear-gradient(to bottom,
|
||||
var(--video-dominant-color, black) 0%,
|
||||
var(--video-dominant-color, black) 48%,
|
||||
@@ -24,78 +23,13 @@
|
||||
var(--video-dominant-color, black) 48%,
|
||||
var(--video-dominant-color-transparent, rgba(0, 0, 0, 0.5)) 80%,
|
||||
transparent 96%);
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: 100% 100%;
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100% 100%;
|
||||
}
|
||||
|
||||
.hero-atmosphere-video {
|
||||
position: absolute;
|
||||
inset: -6%;
|
||||
width: 112%;
|
||||
height: 112%;
|
||||
object-fit: cover;
|
||||
object-position: center top;
|
||||
transform: translateZ(0) scale(1.04);
|
||||
}
|
||||
|
||||
.hero-atmosphere-sheen {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(ellipse at 50% 4%, rgba(255, 255, 255, 0.18), transparent 46%),
|
||||
linear-gradient(116deg, transparent 18%, rgba(255, 255, 255, 0.06) 37%, transparent 51%);
|
||||
mix-blend-mode: soft-light;
|
||||
opacity: 0.8;
|
||||
animation: hero-sheen 16s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
#hero-byte-overlay {
|
||||
.hero-prism {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.9;
|
||||
mix-blend-mode: screen;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@keyframes hero-sheen {
|
||||
0% {
|
||||
transform: translate3d(-4%, 0, 0) scale(1.04);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(5%, 1%, 0) scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#hero-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-atmosphere-sheen {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.hero-atmosphere-video,
|
||||
#hero-byte-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero {
|
||||
padding-top: 8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (max-height: 600px) {
|
||||
.hero {
|
||||
height: auto;
|
||||
height: 100vh;
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,32 @@
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.hero-title-warp {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
height: clamp(80px, 14vw, 150px);
|
||||
margin: 0.5rem auto 1rem;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.warp-text {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.warp-text canvas {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.3rem;
|
||||
letter-spacing: -.03em;
|
||||
@@ -92,24 +118,31 @@
|
||||
|
||||
.platform-pill {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(15px) saturate(140%);
|
||||
-webkit-backdrop-filter: blur(15px) saturate(140%);
|
||||
border: none;
|
||||
padding: 0.35rem 0.85rem;
|
||||
border-radius: var(--radius-pill);
|
||||
padding: 0.45rem 1.1rem;
|
||||
border-radius: 50px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-fg-dim);
|
||||
color: #ffffff;
|
||||
margin-bottom: 1.25rem;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
white-space: nowrap;
|
||||
width: auto;
|
||||
max-width: max-content;
|
||||
}
|
||||
|
||||
.platform-pill svg {
|
||||
color: var(--color-fg);
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
color: #ffffff;
|
||||
fill: currentColor;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.platform-pill span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hero-screen-mockup {
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
transform: translate3d(0, 24px, 0);
|
||||
transition: opacity var(--duration-slow) var(--ease-standard),
|
||||
transform var(--duration-slow) var(--ease-standard);
|
||||
will-change: opacity, transform;
|
||||
}
|
||||
|
||||
.reveal.in-view {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0);
|
||||
transform: none;
|
||||
will-change: auto;
|
||||
}
|
||||
|
||||
.reveal-stagger .reveal:nth-child(1) {
|
||||
|
||||
Reference in New Issue
Block a user