Files
frontend-start/css/styles.css
2026-04-23 13:17:24 +03:00

805 lines
15 KiB
CSS

:root {
--hero-bg-1: #070b28;
--hero-bg-2: #120a32;
--hero-bg-3: #1e0f3d;
--hero-accent: #c9b8ff;
--hero-text: #f4f2ff;
--cream: #f4efe6;
--blue-deep: #0c1240;
--blue-panel: #101a5c;
--footer-bg: #05052d;
--footer-line: rgba(255, 255, 255, 0.18);
--page-max: 120rem;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: 'Manrope', system-ui, sans-serif;
font-size: 18px;
color: #1a1a2e;
background: radial-gradient(ellipse 120% 90% at 35% 10%, rgba(80, 70, 170, 0.25) 0%, transparent 55%),
radial-gradient(ellipse 120% 90% at 60% 55%, rgba(140, 120, 255, 0.14) 0%, transparent 62%),
linear-gradient(180deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 32%, var(--hero-bg-3) 62%, var(--footer-bg) 100%);
}
a {
color: inherit;
text-decoration: none;
}
.page {
width: min(100%, var(--page-max));
margin: 0 auto;
background: transparent;
min-height: 100vh;
box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
.header {
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: min(100%, var(--page-max));
z-index: 50;
padding: 2.25rem 4vw 0;
background: linear-gradient(180deg, rgba(7, 11, 40, 0.95) 0%, rgba(7, 11, 40, 0.65) 70%, transparent 100%);
}
.header__inner {
max-width: 120rem;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
padding-bottom: 1.35rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.logo {
display: inline-flex;
align-items: center;
line-height: 0;
color: var(--hero-text);
}
.logo__img {
display: block;
height: auto;
max-width: 100%;
}
.logo--header .logo__img {
height: clamp(1.65rem, 3.8vw, 2.25rem);
width: auto;
}
.logo--hero {
margin: 0 0 2rem;
max-width: min(100%, 34rem);
}
.logo--hero .logo__img {
width: 100%;
height: auto;
}
.nav {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: clamp(1rem, 2.4vw, 3.1rem);
}
.nav__link {
font-size: clamp(0.95rem, 1.35vw, 1.15rem);
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.92);
transition: color 0.2s ease, opacity 0.2s ease;
}
.nav__link:hover {
color: #fff;
}
.btn--cabinet {
flex-shrink: 0;
padding: 0.95rem 1.9rem;
border-radius: 999px;
font-size: 1.02rem;
font-weight: 700;
letter-spacing: 0.06em;
color: #0c0c24;
background: #fff;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--cabinet:hover {
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.burger {
display: none;
width: 2.5rem;
height: 2.5rem;
border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 0.5rem;
background: transparent;
position: relative;
cursor: pointer;
}
.burger::before,
.burger::after {
content: '';
position: absolute;
left: 0.55rem;
right: 0.55rem;
height: 2px;
background: #fff;
border-radius: 1px;
}
.burger::before {
top: 0.85rem;
}
.burger::after {
bottom: 0.85rem;
}
.hero {
position: relative;
min-height: 100vh;
padding: 7.5rem 4vw 4rem;
overflow: hidden;
color: var(--hero-text);
}
.hero__bg {
position: absolute;
inset: 0;
background: radial-gradient(ellipse 120% 80% at 20% 20%, #2a1b6e 0%, transparent 55%),
radial-gradient(ellipse 90% 70% at 85% 30%, #3d1f7a 0%, transparent 50%),
linear-gradient(165deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 42%, var(--hero-bg-3) 100%);
pointer-events: none;
z-index: 0;
}
.hero__bg::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse 120% 90% at 55% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 58%),
radial-gradient(ellipse 80% 70% at 20% 55%, rgba(120, 90, 220, 0.16) 0%, transparent 62%);
opacity: 0.9;
}
.hero__glow {
position: absolute;
z-index: 1;
width: clamp(80px, 14vw, 144px);
height: clamp(80px, 14vw, 144px);
display: grid;
place-items: center;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 1.1rem;
transform: rotate(-8deg);
box-shadow: 0 0 26px rgba(140, 120, 255, 0.12);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
background: rgba(255, 255, 255, 0.03);
}
.hero__glow-img {
width: 62%;
height: auto;
opacity: 0.5;
filter: grayscale(1) brightness(1.08) contrast(1.08) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}
.hero__glow-img[src$='logo-ethereum.png'] {
filter: grayscale(1) brightness(1.50) contrast(1.00) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}
.hero__glow--1 {
top: 22%;
left: 8%;
}
.hero__glow--2 {
top: 38%;
left: 18%;
transform: rotate(6deg);
}
.hero__glow--3 {
top: 18%;
left: 28%;
transform: rotate(12deg);
}
.hero__glow--4 {
top: 58%;
left: 6%;
transform: rotate(-14deg);
}
.hero__glow--5 {
top: 64%;
left: 20%;
transform: rotate(10deg);
}
.hero__glow--6 {
top: 12%;
left: 42%;
transform: rotate(-6deg);
}
.hero__glow--7 {
top: 36%;
left: 36%;
transform: rotate(16deg);
}
.hero__grid {
position: relative;
z-index: 2;
max-width: 120rem;
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
gap: clamp(2rem, 5vw, 5rem);
align-items: end;
}
.hero__left {
align-self: center;
padding-top: 2rem;
}
.hero__acronym {
margin: 0;
display: flex;
flex-direction: column;
gap: 0.35rem;
font-size: clamp(0.75rem, 1.25vw, 0.95rem);
font-weight: 600;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.78);
}
.hero__right {
display: flex;
flex-direction: column;
align-items: flex-end;
text-align: right;
gap: 2rem;
}
.hero__bridge-wrap {
width: 100%;
}
.hero__bridge {
margin: 0;
font-size: clamp(2.4rem, 5.6vw, 4.2rem);
font-weight: 700;
letter-spacing: 0.04em;
line-height: 1.05;
}
.hero__bridge--reflect {
margin-top: -0.15em;
opacity: 0.22;
transform: scaleY(-1);
mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
filter: blur(0.5px);
}
.hero__taglines {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.1rem;
}
.hero__tag {
margin: 0;
font-size: clamp(3.1rem, 8.6vw, 7.4rem);
font-weight: 800;
line-height: 0.95;
letter-spacing: -0.02em;
text-transform: lowercase;
color: rgba(180, 150, 255, 0.42);
text-shadow: 0 0 60px rgba(120, 90, 220, 0.35);
}
.hero__tag--2 {
padding-right: clamp(0rem, 4vw, 3rem);
}
.hero__tag--3 {
padding-right: clamp(0rem, 8vw, 6rem);
}
.countdown {
width: 100%;
max-width: 38rem;
margin-top: 0.5rem;
}
.countdown__title {
margin: 0 0 1rem;
font-size: clamp(1.15rem, 2vw, 1.5rem);
font-weight: 600;
letter-spacing: 0.28em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.72);
}
.countdown__units {
--countdown-gap: clamp(1rem, 2.2vw, 1.75rem);
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
align-items: end;
justify-items: center;
column-gap: var(--countdown-gap);
row-gap: 0.75rem;
}
.countdown__unit {
min-width: 0;
text-align: center;
position: relative;
padding-inline: clamp(0.65rem, 1.2vw, 0.9rem);
}
.countdown__value {
display: block;
font-size: clamp(4.2rem, 9.6vw, 7.1rem);
font-weight: 800;
font-variant-numeric: tabular-nums;
line-height: 1;
letter-spacing: 0.02em;
color: #fff;
text-shadow: 0 0 40px rgba(180, 160, 255, 0.45);
}
.countdown__label {
display: block;
margin-top: 0.45rem;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.45);
}
.countdown__sep {
display: none;
}
@media (max-width: 620px) {
.countdown__units {
--countdown-gap: 0.9rem;
grid-template-columns: repeat(2, minmax(0, 1fr));
justify-items: center;
column-gap: var(--countdown-gap);
row-gap: 0.9rem;
}
.countdown__unit {
width: 100%;
padding-inline: 0.75rem;
}
}
.countdown__done {
margin: 0.5rem 0 0;
font-size: clamp(1.5rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #fff;
}
.about {
position: relative;
padding: clamp(4rem, 10vw, 7rem) 4vw;
background: transparent;
overflow: hidden;
}
.about__slant {
position: absolute;
inset: 0;
background: radial-gradient(ellipse 55% 60% at 35% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 62%);
opacity: 1;
}
.about__slant::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(7, 11, 40, 0.2) 0%, transparent 40%, rgba(7, 11, 40, 0.25) 100%);
pointer-events: none;
}
.about__inner {
position: relative;
z-index: 2;
max-width: 78rem;
margin: 0 auto;
padding: clamp(2.2rem, 4.5vw, 4rem) clamp(1.6rem, 4vw, 3.4rem);
}
.about__panel {
max-width: 44rem;
padding: clamp(1.75rem, 3vw, 2.5rem);
border-radius: 1.4rem;
border: 1px solid rgba(255, 255, 255, 0.14);
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.about__title {
margin: 0 0 1.25rem;
font-size: clamp(2.2rem, 4.2vw, 3.2rem);
font-weight: 800;
letter-spacing: 0.04em;
color: #fff;
}
.about__text {
margin: 0 0 1rem;
font-size: clamp(1.1rem, 1.6vw, 1.35rem);
font-weight: 400;
line-height: 1.65;
color: rgba(244, 242, 255, 0.86);
}
.about__legal {
position: relative;
z-index: 3;
max-width: 78rem;
margin: clamp(1.5rem, 3.5vw, 2.25rem) auto 0;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.about__legal p {
margin: 0;
font-size: clamp(0.85rem, 1.15vw, 1rem);
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
line-height: 1.55;
color: rgba(255, 255, 255, 0.72);
padding: 0.9rem 1.1rem;
border-radius: 1rem;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.03);
}
.footer {
padding: 3.5rem 4vw 2.5rem;
background: transparent;
color: rgba(255, 255, 255, 0.9);
font-family: 'Nunito Sans', 'Manrope', system-ui, sans-serif;
font-size: 1rem;
-webkit-font-smoothing: antialiased;
}
.footer__top {
max-width: 72rem;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2rem 3rem;
}
.footer__company {
margin: 0 0 0.75rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
font-size: 1.1rem;
}
.footer__col p {
margin: 0.2rem 0;
}
.footer__heading {
margin: 0 0 0.65rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
font-size: 0.82rem;
}
.footer__links {
margin: 0;
padding: 0;
list-style: none;
}
.footer__links a {
text-decoration: underline;
text-underline-offset: 3px;
}
.footer__links li + li {
margin-top: 0.35rem;
}
.footer__col--contact {
font-size: 1rem;
}
.footer__phone {
font-size: 1.15rem;
font-weight: 600;
}
.footer__rule {
border: none;
border-top: 1px solid var(--footer-line);
margin: 1rem 0;
}
.footer__mail {
text-decoration: underline;
text-underline-offset: 3px;
font-weight: 600;
}
.footer__wide {
border: none;
border-top: 1px solid var(--footer-line);
margin: 2.5rem auto 1.75rem;
max-width: 72rem;
}
.footer__social {
max-width: 72rem;
margin: 0 auto 1.75rem;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.footer__icons {
display: flex;
gap: 0.75rem;
}
.footer__icon {
width: 2.35rem;
height: 2.35rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer__bottom {
max-width: 72rem;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 1rem;
font-size: 0.95rem;
opacity: 0.85;
}
.cabinet {
position: relative;
min-height: 100vh;
padding: 0 4vw;
color: rgba(255, 255, 255, 0.92);
display: flex;
align-items: center;
justify-content: center;
}
.cabinet__back {
position: absolute;
top: clamp(6.75rem, 14vw, 8.75rem);
left: 4vw;
z-index: 2;
width: fit-content;
color: rgba(255, 255, 255, 0.72);
text-decoration: underline;
text-underline-offset: 4px;
}
.cabinet__center {
width: min(42rem, 100%);
margin: 0 auto;
}
.cabinet__card {
width: 100%;
border-radius: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.16);
background: rgba(10, 10, 40, 0.72);
box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
padding: 2rem 2rem 1.75rem;
}
.cabinet__title {
margin: 0 0 1.25rem;
font-size: 2rem;
letter-spacing: 0.02em;
}
.cabinet__form {
display: grid;
gap: 1rem;
}
.cabinet__field {
display: grid;
gap: 0.45rem;
}
.cabinet__label {
font-size: 0.95rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.7);
}
.cabinet__input {
width: 100%;
padding: 0.95rem 1.05rem;
border-radius: 1rem;
border: 1px solid rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.92);
outline: none;
font: inherit;
}
.cabinet__input:focus {
border-color: rgba(201, 184, 255, 0.5);
box-shadow: 0 0 0 4px rgba(201, 184, 255, 0.16);
}
.cabinet__submit {
margin-top: 0.35rem;
padding: 0.95rem 1.25rem;
border-radius: 1.05rem;
border: 0;
background: #fff;
color: #0c0c24;
font: inherit;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cabinet__submit:hover {
transform: translateY(-1px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
@media (max-width: 600px) {
.hero__glow {
display: none;
}
}
@media (max-width: 960px) {
.hero__grid {
grid-template-columns: 1fr;
align-items: start;
}
.hero__right {
align-items: flex-start;
text-align: left;
}
.hero__taglines {
align-items: flex-start;
}
.hero__tag {
align-self: flex-start;
}
.hero__tag--2,
.hero__tag--3 {
padding-right: 0;
}
.countdown__units {
justify-content: flex-start;
}
.footer__top {
grid-template-columns: 1fr;
}
}
@media (max-width: 820px) {
.nav {
position: fixed;
inset: 0 0 auto 0;
top: 4.5rem;
padding: 1rem 4vw 1.25rem;
flex-direction: column;
background: rgba(7, 11, 40, 0.97);
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
transform: translateY(-120%);
opacity: 0;
pointer-events: none;
transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav {
transform: translateY(0);
opacity: 1;
pointer-events: auto;
}
.burger {
display: block;
}
.btn--cabinet {
margin-left: auto;
}
.header__inner {
flex-wrap: wrap;
}
.logo--header {
order: 0;
}
.burger {
order: 1;
}
.btn--cabinet {
order: 2;
}
.nav {
order: 3;
width: 100%;
}
}