website/css/style.css

1098 lines
22 KiB
CSS
Raw Permalink Normal View History

2026-04-29 17:09:16 +02:00
:root {
--bg-color: #020617;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--brand-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
--surface-gradient: linear-gradient(to bottom, #020617 0%, #0f172a 100%);
--border-color: #1e293b;
--card-bg: #0f172a;
--accent-blue: #3b82f6;
--accent-purple: #a855f7;
--code-bg: #000000;
--font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', ui-monospace, 'Courier New', monospace;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
html, body {
max-width: 100%;
overflow-x: hidden;
}
body {
background: var(--surface-gradient);
color: var(--text-main);
font-family: var(--font-main);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
}
body::before {
content: '';
position: fixed;
top: -120px;
left: -120px;
width: 480px;
height: 480px;
border-radius: 50%;
background: var(--accent-blue);
filter: blur(140px);
opacity: 0.10;
z-index: -1;
pointer-events: none;
transform: translate3d(0, calc(var(--scroll, 0) * 0.18px), 0);
transition: transform 0.05s linear;
}
body::after {
content: '';
position: fixed;
bottom: -120px;
right: -120px;
width: 480px;
height: 480px;
border-radius: 50%;
background: #1d4ed8;
filter: blur(140px);
opacity: 0.10;
z-index: -1;
pointer-events: none;
transform: translate3d(0, calc(var(--scroll, 0) * -0.12px), 0);
transition: transform 0.05s linear;
}
.bg-grid {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background-image:
linear-gradient(rgba(59, 130, 246, 0.045) 1px, transparent 1px),
linear-gradient(90deg, rgba(59, 130, 246, 0.045) 1px, transparent 1px);
background-size: 60px 60px;
mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
-webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
transform: translate3d(0, calc(var(--scroll, 0) * -0.05px), 0);
transition: transform 0.05s linear;
}
.bg-orb {
position: fixed;
width: 320px;
height: 320px;
border-radius: 50%;
filter: blur(120px);
opacity: 0.08;
z-index: -1;
pointer-events: none;
background: var(--accent-blue);
top: 40%;
left: 50%;
transform: translate3d(-50%, calc(-50% + var(--scroll, 0) * 0.08px), 0);
transition: transform 0.05s linear;
}
a {
text-decoration: none;
color: var(--text-main);
transition: color 0.2s ease;
}
a:hover {
color: var(--accent-blue);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
width: 100%;
}
.mono {
font-family: var(--font-mono);
}
.text-blue {
color: var(--accent-blue);
}
.text-gradient {
background: var(--brand-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
display: inline-block;
}
header {
border-bottom: 1px solid var(--border-color);
padding: 18px 0;
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(2, 6, 23, 0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.2rem;
font-weight: 800;
letter-spacing: -0.5px;
}
.nav-links {
display: flex;
gap: 30px;
}
.nav-links a {
font-size: 0.85rem;
text-transform: uppercase;
font-weight: 600;
color: var(--text-muted);
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 0;
background-color: var(--accent-blue);
transition: width 0.3s ease;
}
.nav-links a:hover {
color: var(--accent-blue);
}
.nav-links a:hover::after {
width: 100%;
}
main {
padding-top: 75px;
position: relative;
z-index: 1;
flex: 1 0 auto;
width: 100%;
}
section {
padding: 80px 0;
border-bottom: 1px solid var(--border-color);
position: relative;
z-index: 1;
}
section:last-child {
border-bottom: none;
}
section h2 {
font-size: 2rem;
margin-bottom: 40px;
position: relative;
display: inline-block;
padding-bottom: 10px;
}
section h2::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 4px;
background: var(--brand-gradient);
border-radius: 2px;
transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
section.in-view h2::after {
width: 100%;
}
.hero {
padding: 120px 0 100px 0;
position: relative;
overflow: hidden;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero h1 {
font-size: 4rem;
line-height: 1.1;
margin-bottom: 20px;
font-weight: 800;
letter-spacing: -2px;
}
.hero p {
font-size: 1.25rem;
max-width: 650px;
color: var(--text-muted);
}
.hero-typed {
border-right: 2px solid var(--accent-blue);
padding-right: 4px;
min-height: 1.8em;
animation: typingCursor 0.9s step-end infinite;
}
.hero-typed.done {
border-right-color: transparent;
animation: none;
}
@keyframes typingCursor {
0%, 100% { border-right-color: var(--accent-blue); }
50% { border-right-color: transparent; }
}
.status-badge {
display: inline-block;
background: #1e293b;
color: var(--accent-blue);
padding: 6px 12px;
font-size: 0.75rem;
margin-bottom: 25px;
font-weight: 700;
border-radius: 4px;
border: 1px solid var(--border-color);
position: relative;
overflow: hidden;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.status-badge:hover {
border-color: var(--accent-blue);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.reveal {
opacity: 0;
transform: translate3d(0, 24px, 0);
transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
will-change: opacity, transform;
}
.reveal.in-view {
opacity: 1;
transform: translate3d(0, 0, 0);
}
.reveal-stagger > * {
opacity: 0;
transform: translate3d(0, 20px, 0);
transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
will-change: opacity, transform;
}
.reveal-stagger.in-view > * {
opacity: 1;
transform: translate3d(0, 0, 0);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.42s; }
.reveal-stagger.in-view > *:nth-child(n+9) { transition-delay: 0.48s; }
.skills-grid {
counter-reset: skill-counter;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
gap: 20px;
}
.skill-card {
counter-increment: skill-counter;
background: linear-gradient(145deg, #0f172a 0%, #0c1424 100%);
border: 1px solid var(--border-color);
border-left: 3px solid rgba(59, 130, 246, 0.35);
padding: 26px 22px 22px 22px;
border-radius: 10px;
transition: border-left-color 0.25s ease, border-color 0.25s ease,
box-shadow 0.25s ease, transform 0.25s ease;
transform: translateZ(0);
position: relative;
overflow: hidden;
}
.skill-card::before {
content: counter(skill-counter, decimal-leading-zero);
position: absolute;
top: 16px;
right: 18px;
font-family: var(--font-mono);
font-size: 0.68rem;
color: rgba(59, 130, 246, 0.3);
letter-spacing: 2px;
font-weight: 700;
line-height: 1;
}
.skill-card::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
}
.skill-card:hover {
border-left-color: var(--accent-blue);
border-color: rgba(59, 130, 246, 0.35);
box-shadow: 0 8px 30px rgba(59, 130, 246, 0.14);
transform: translateY(-3px);
}
.skill-card:hover::after {
opacity: 1;
}
.skill-card h3 {
font-size: 0.82rem;
margin-bottom: 10px;
color: var(--text-main);
font-weight: 700;
font-family: var(--font-mono);
letter-spacing: 0.4px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border-color);
padding-right: 28px;
}
.skill-card p {
font-size: 0.9rem;
color: var(--text-muted);
line-height: 1.6;
margin-top: 4px;
}
.post-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.post-item {
display: block;
background: var(--card-bg);
border: 1px solid var(--border-color);
padding: 30px;
border-radius: 12px;
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
position: relative;
overflow: hidden;
}
.post-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--brand-gradient);
opacity: 0;
transition: opacity 0.25s ease;
}
.post-item:hover {
transform: translateY(-3px);
border-color: var(--accent-blue);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.post-item:hover::before {
opacity: 1;
}
.post-item h3 {
font-size: 1.4rem;
margin-bottom: 10px;
font-weight: 700;
color: var(--text-main);
}
.post-item p {
color: var(--text-muted);
font-size: 0.95rem;
}
.post-meta {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 12px;
display: block;
}
.post-tag {
color: var(--accent-blue);
font-weight: 700;
background: rgba(59, 130, 246, 0.1);
padding: 4px 8px;
border-radius: 4px;
font-size: 0.75rem;
margin-right: 8px;
}
.contact-box {
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 30px;
}
.contact-box ul li {
margin-bottom: 8px;
line-height: 1.8;
}
.contact-box ul li a {
color: var(--accent-blue);
}
.contact-box img {
max-width: 320px;
width: 100%;
display: block;
margin: 24px auto;
border-radius: 8px;
border: 2px solid var(--accent-blue);
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}
img {
max-width: 100%;
height: auto;
display: block;
}
footer {
padding: 40px 0;
text-align: center;
font-size: 0.9rem;
color: var(--text-muted);
background: #020617;
border-top: 1px solid var(--border-color);
flex-shrink: 0;
width: 100%;
}
.search-wrapper {
margin-bottom: 30px;
position: relative;
}
.search-input {
width: 100%;
padding: 15px 20px;
background: rgba(15, 23, 42, 0.6);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-main);
font-family: var(--font-mono);
font-size: 1rem;
transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.search-input:focus {
outline: none;
border-color: var(--accent-blue);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
background: rgba(15, 23, 42, 0.9);
}
.compact-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 20px;
}
.sec-card {
display: flex;
flex-direction: column;
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 10px;
overflow: hidden;
text-decoration: none;
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
min-height: 120px;
}
.sec-card:hover {
transform: translateY(-4px);
border-color: var(--accent-blue);
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.sec-card .card-img {
width: 100%;
height: 150px;
background-size: cover;
background-position: center;
border-bottom: 1px solid var(--border-color);
transition: transform 0.5s ease;
}
.sec-card:hover .card-img {
transform: scale(1.05);
}
.sec-card .card-content {
padding: 18px 20px;
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.sec-card.has-image .card-content {
justify-content: flex-start;
}
.sec-card h3 {
font-size: 1rem;
margin: 0 0 6px 0;
color: var(--accent-blue);
line-height: 1.4;
}
.sec-card .card-meta {
font-size: 0.72rem;
color: var(--text-muted);
display: block;
}
.archive-hero {
padding: 60px 0 30px 0 !important;
}
.archive-hero h1 {
font-size: 2.6rem;
margin-bottom: 12px;
}
.archive-hero p {
font-size: 1.05rem;
color: var(--text-muted);
}
.empty-state {
color: var(--text-muted);
padding: 30px;
text-align: center;
border: 1px dashed var(--border-color);
border-radius: 8px;
}
.case-hero {
padding: 60px 0 40px 0 !important;
}
.case-hero #case-title {
font-size: 3.6rem;
line-height: 1.08;
letter-spacing: -1.5px;
margin-bottom: 14px;
}
#back-link {
color: var(--text-muted);
font-size: 0.9rem;
display: inline-block;
margin-bottom: 18px;
transition: color 0.2s ease, transform 0.2s ease;
}
#back-link:hover {
color: var(--accent-blue);
transform: translateX(-3px);
}
#case-meta {
color: var(--text-muted);
font-size: 1rem;
margin-top: 10px;
}
.case-hero-inner {
display: flex;
flex-direction: column;
max-width: 1060px;
margin: 0 auto;
width: 100%;
}
.case-hero-inner #back-link,
.case-hero-inner #case-tag {
align-self: flex-start;
}
.case-hero-inner #back-link {
margin-bottom: 18px;
}
.case-hero-inner #case-tag {
margin-bottom: 18px;
font-size: 0.85rem;
padding: 7px 14px;
}
.case-hero-inner #case-title {
margin-bottom: 12px;
}
#case-intro {
font-size: 1.1rem;
line-height: 1.8;
color: var(--text-main);
margin: 0 auto 50px auto;
max-width: 1020px;
padding-left: 16px;
border-left: 3px solid var(--accent-blue);
}
.analysis-steps-container {
max-width: 1020px;
margin: 0 auto;
}
.blog-step {
max-width: 1020px;
margin: 0 auto 60px auto;
padding: 0;
background: transparent;
border: none;
}
.step-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 24px;
padding-bottom: 14px;
border-bottom: 1px solid var(--border-color);
width: 100%;
}
.blog-step .step-number {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--accent-blue);
background: rgba(59, 130, 246, 0.08);
border: 1px solid rgba(59, 130, 246, 0.25);
padding: 5px 10px;
border-radius: 4px;
letter-spacing: 1px;
text-transform: uppercase;
white-space: nowrap;
flex-shrink: 0;
}
.blog-step .step-title {
display: block;
font-size: 2.3rem;
font-weight: 700;
color: var(--text-main);
line-height: 1.25;
margin: 0;
padding: 0;
border: none;
flex: 1;
}
.blog-step .step-title::after {
content: none;
}
.blog-step .step-body p {
font-size: 1.05rem;
line-height: 1.85;
color: var(--text-main);
margin-bottom: 18px;
}
.blog-step .step-body img {
max-width: 100%;
margin: 24px 0;
border-radius: 6px;
border: 1px solid var(--border-color);
background: #000;
padding: 6px;
}
.blog-step .step-body pre {
background: #0d1117;
border: 1px solid var(--border-color);
border-left: 3px solid #4ade80;
border-radius: 4px;
padding: 18px;
margin: 22px 0;
font-family: var(--font-mono);
font-size: 0.92rem;
overflow-x: auto;
color: #4ade80;
}
.blog-step .step-body code {
font-family: var(--font-mono);
}
.expert-container {
max-width: 1020px;
margin: 0 auto;
padding: 0;
}
.expert-section {
margin-bottom: 50px;
}
.expert-h2 {
display: block;
width: 100%;
font-family: var(--font-mono);
font-size: 1.7rem;
font-weight: 700;
color: var(--accent-blue);
border-left: 4px solid var(--accent-blue);
padding: 10px 24px 10px 20px;
margin-bottom: 26px;
text-transform: uppercase;
letter-spacing: 1px;
background: rgba(59, 130, 246, 0.05);
box-sizing: border-box;
}
.expert-h2::after {
content: none;
}
.expert-p {
font-size: 1.05rem;
line-height: 1.85;
color: var(--text-main);
margin-bottom: 18px;
}
.expert-code-block {
background: #0d1117;
border: 1px solid var(--border-color);
border-left: 3px solid #4ade80;
border-radius: 4px;
padding: 18px;
margin: 24px 0;
font-family: var(--font-mono);
font-size: 0.92rem;
overflow-x: auto;
color: #4ade80;
}
.expert-image-wrapper {
margin: 30px 0;
background: #000;
border: 1px solid var(--border-color);
padding: 12px;
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.expert-image-wrapper img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
#case-title.expert-title {
background: none;
-webkit-text-fill-color: var(--text-main);
color: var(--text-main);
font-weight: 800;
border-bottom: 2px solid var(--border-color);
padding-bottom: 14px;
}
.lightbox-trigger {
cursor: zoom-in;
transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
.lightbox-trigger:hover {
opacity: 0.88;
box-shadow: 0 0 0 2px var(--accent-blue);
}
#lightbox-overlay {
position: fixed;
inset: 0;
background: rgba(2, 6, 23, 0.96);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
#lightbox-overlay.active {
opacity: 1;
pointer-events: all;
}
#lightbox-content {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
#lightbox-img {
max-width: 88vw;
max-height: 88vh;
object-fit: contain;
border-radius: 4px;
border: 1px solid var(--border-color);
transform-origin: 0 0;
user-select: none;
cursor: crosshair;
}
#lightbox-close {
position: fixed;
top: 18px;
right: 24px;
background: rgba(15, 23, 42, 0.8);
border: 1px solid var(--border-color);
color: var(--text-main);
font-size: 1.6rem;
line-height: 1;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
cursor: pointer;
opacity: 0.8;
transition: opacity 0.2s ease, border-color 0.2s ease;
z-index: 10000;
}
#lightbox-close:hover {
opacity: 1;
border-color: var(--accent-blue);
}
.ticker-wrap {
width: 100%;
overflow: hidden;
height: 35px;
background: rgba(59, 130, 246, 0.08);
padding-left: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
border-top: 1px solid rgba(59, 130, 246, 0.4);
border-bottom: 1px solid rgba(59, 130, 246, 0.4);
margin-top: 30px;
}
.ticker-content {
display: inline-block;
white-space: nowrap;
padding-right: 100%;
box-sizing: content-box;
animation: ticker 90s linear infinite;
font-family: var(--font-mono);
font-weight: 700;
color: var(--accent-blue);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
will-change: transform;
}
.ticker-item {
display: inline-block;
padding: 0 2rem;
}
@keyframes ticker {
0% { transform: translate3d(0, 0, 0); }
100% { transform: translate3d(-100%, 0, 0); }
}
.crypto-list {
text-align: left;
max-width: 800px;
margin: 30px auto 0;
list-style: none;
}
.crypto-list li {
margin-bottom: 22px;
border-left: 2px solid var(--border-color);
padding-left: 20px;
transition: border-color 0.3s ease;
}
.crypto-list li:hover {
border-left-color: var(--accent-blue);
}
.currency-label {
display: block;
color: var(--accent-blue);
font-weight: 800;
font-size: 0.85rem;
margin-bottom: 5px;
text-transform: uppercase;
letter-spacing: 1px;
}
.crypto-addr {
display: inline-block;
background: rgba(0, 0, 0, 0.3);
border: 1px dashed var(--border-color);
padding: 8px 15px;
border-radius: 4px;
font-size: 0.85rem;
color: var(--text-muted);
word-break: break-all;
cursor: pointer;
transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.crypto-addr:hover {
border-color: var(--accent-blue);
color: #fff;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.crypto-addr.copied {
border-color: #4ade80 !important;
color: #4ade80 !important;
background-color: rgba(74, 222, 128, 0.1) !important;
}
@media (max-width: 768px) {
.hero {
padding: 70px 0 60px 0;
}
.hero h1 {
font-size: 2.4rem;
}
.hero p {
font-size: 1.05rem;
}
nav {
flex-direction: column;
gap: 12px;
text-align: center;
}
.nav-links {
gap: 14px;
flex-wrap: wrap;
justify-content: center;
width: 100%;
}
.nav-links a {
padding: 5px 10px;
background: rgba(30, 41, 59, 0.5);
border-radius: 4px;
}
main {
padding-top: 110px;
}
section {
padding: 50px 0;
}
.post-item {
padding: 22px;
}
.post-item h3 {
font-size: 1.2rem;
}
.skills-grid {
grid-template-columns: 1fr;
}
.blog-step .step-title {
font-size: 1.3rem;
}
.step-header {
flex-wrap: wrap;
gap: 10px;
}
.case-hero #case-title {
font-size: 2.2rem;
}
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.reveal, .reveal-stagger > * {
opacity: 1 !important;
transform: none !important;
}
}