Skip to content

Commit 657128e

Browse files
Update styles.css
1 parent ad7576b commit 657128e

1 file changed

Lines changed: 35 additions & 12 deletions

File tree

styles.css

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/* v0.4.3 — partners marquee + extra brand spacing */
1+
/* v0.4.4 — partners planet marquee (2x size, embossed, orbit effect) */
22
:root{ --bg:#070709; --ink:#f5f3eb; --muted:#b9b3a3; --glass:#0c0d11; --stroke:rgba(255,255,255,.10);
33
--gold1:#f7e3a1; --gold2:#b88a2a; --link:#f0c65a; --link-visited:#d0b36e }
44
*{box-sizing:border-box} html{scroll-behavior:smooth} html,body{height:100%}
55
body{margin:0; font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--ink);
66
background: radial-gradient(900px 500px at 10% 15%, rgba(247,227,161,.08), transparent 60%), radial-gradient(800px 420px at 80% 8%, rgba(184,138,42,.10), transparent 60%), radial-gradient(1200px 600px at 70% 70%, rgba(255,255,255,.05), transparent 60%), var(--bg); line-height:1.6 }
77
a{color:var(--link); text-decoration:none} a:hover{text-decoration:underline} a:visited{color:var(--link-visited)}
88
.container{width:min(1120px, 92%); margin:0 auto}
9-
.nav-container-wide{width:min(1160px, 96%)} /* больше воздуха слева для бренда */
9+
.nav-container-wide{width:min(1160px, 96%)}
1010

1111
/* Navbar */
1212
.nav{position:fixed; top:0; left:0; right:0; z-index:100; border-bottom:1px solid var(--stroke); backdrop-filter:saturate(150%) blur(8px); background:rgba(7,7,9,.70); box-shadow:0 6px 18px rgba(0,0,0,.35)}
@@ -22,7 +22,7 @@ a{color:var(--link); text-decoration:none} a:hover{text-decoration:underline} a:
2222
.burger{display:none; margin-left:8px; background:transparent; border:1px solid var(--stroke); color:var(--ink); border-radius:10px; padding:8px 10px; cursor:pointer}
2323
body.has-fixed-nav{padding-top:72px}
2424

25-
/* Hero & sections */
25+
/* Sections */
2626
.hero{padding:96px 0 56px}
2727
.hero-inner{display:grid; grid-template-columns: 1.2fr .8fr; gap:32px; align-items:center}
2828
.hero-copy h1{font-size: clamp(36px, 5.8vw, 66px); line-height:1.06; margin:0 0 10px; font-weight:900; letter-spacing:-.02em}
@@ -53,15 +53,36 @@ body.has-fixed-nav{padding-top:72px}
5353
.card{padding:18px}
5454
.card .price{font-size:22px; font-weight:900}
5555

56-
/* Partners — marquee "train" */
57-
.logos.marquee{overflow:hidden; mask-image:linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image:linear-gradient(to right, transparent, black 8%, black 92%, transparent)}
58-
.logos.marquee .marquee-track{display:flex; gap:16px; align-items:center; width:max-content; animation:marquee-left 28s linear infinite}
59-
/* reverse direction: .logos.marquee.rtl -> right */
56+
/* Partners — planet marquee */
57+
.logos.marquee{position:relative; overflow:hidden; perspective:1200px;
58+
background: radial-gradient(650px 120px at 50% 120%, rgba(88,140,200,.08), rgba(0,0,0,0) 70%) }
59+
.logos.marquee::before{ /* faint "earth" rim */
60+
content:""; position:absolute; left:50%; top:50%; width:1200px; height:120px; transform:translate(-50%,-50%) rotateX(65deg);
61+
border-radius:50%; box-shadow:0 0 120px rgba(86,160,230,.18) inset; pointer-events:none; filter:blur(1px);
62+
}
63+
.logos.marquee .marquee-track{display:flex; gap:20px; align-items:center; width:max-content; animation:marquee-left 34s linear infinite; transform-style:preserve-3d}
64+
/* Reverse direction via .rtl */
6065
.logos.marquee.rtl .marquee-track{animation-name:marquee-right}
61-
.logo{flex:0 0 auto; display:grid; place-items:center; padding:14px; height:84px; border-radius:18px; border:1px solid var(--stroke); background:rgba(255,255,255,.03); box-shadow:0 18px 48px rgba(0,0,0,.20); backdrop-filter: blur(6px)}
62-
.logo img{max-width:120px; max-height:56px; opacity:.95; filter:grayscale(100%) contrast(105%)}
63-
@keyframes marquee-left{ from{ transform:translateX(0) } to{ transform:translateX(-50%) } }
64-
@keyframes marquee-right{ from{ transform:translateX(-50%) } to{ transform:translateX(0) } }
66+
67+
.logo{flex:0 0 auto; display:grid; place-items:center; padding:18px; height:140px; min-width:240px;
68+
border-radius:22px; border:1px solid var(--stroke);
69+
background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
70+
box-shadow:
71+
0 18px 48px rgba(0,0,0,.35),
72+
inset 0 1px 0 rgba(255,255,255,.10),
73+
inset 0 -8px 16px rgba(0,0,0,.25); /* embossed */
74+
backdrop-filter: blur(8px);
75+
transform:rotateX(12deg) rotateY(10deg);
76+
animation:orbit 6s ease-in-out infinite alternate;
77+
}
78+
.logo img{max-width:240px; max-height:112px; opacity:.97; filter:grayscale(100%) contrast(110%)}
79+
@keyframes marquee-left{ from{ transform:translateX(0) } to{ transform:translateX(-33.3333%) } }
80+
@keyframes marquee-right{ from{ transform:translateX(-33.3333%) } to{ transform:translateX(0) } }
81+
@keyframes orbit{
82+
0% { transform:rotateX(12deg) rotateY(10deg) translateY(0) translateZ(0) scale(1.00); box-shadow:0 18px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10), inset 0 -8px 16px rgba(0,0,0,.25) }
83+
50% { transform:rotateX(16deg) rotateY(0deg) translateY(-6px) translateZ(26px) scale(1.04); box-shadow:0 22px 64px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -10px 18px rgba(0,0,0,.28) }
84+
100%{ transform:rotateX(12deg) rotateY(-10deg) translateY(0) translateZ(0) scale(1.00); box-shadow:0 18px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10), inset 0 -8px 16px rgba(0,0,0,.25) }
85+
}
6586
.logos.marquee:hover .marquee-track{ animation-play-state:paused }
6687

6788
/* How & Security */
@@ -103,9 +124,11 @@ body.has-fixed-nav{padding-top:72px}
103124
.hero-inner{grid-template-columns:1fr; gap:18px} .hero{padding-top:64px}
104125
.nav-inner{flex-wrap:wrap} .nav-links{display:none; flex-direction:column; width:100%; order:3; padding:8px 0}
105126
.nav-actions{margin-left:auto} .burger{display:inline-block} .nav-links.open{display:flex}
127+
.logo{height:120px; min-width:200px}
128+
.logo img{max-height:96px; max-width:200px}
106129
}
107130

108-
/* Light theme */
131+
/* Light theme tweaks */
109132
:root.light{--bg:#faf8f2; --ink:#14120e; --muted:#5a5346; --glass:#ffffff; --stroke:rgba(0,0,0,.10); --link:#916c16; --link-visited:#6d5524; background:none}
110133
:root.light body{background:var(--bg)}
111134
:root.light .nav{background:rgba(255,255,255,.90); border-bottom-color:var(--stroke); box-shadow:0 6px 18px rgba(0,0,0,.08)}

0 commit comments

Comments
 (0)