777 lines
15 KiB
CSS
777 lines
15 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* ─── Theme Variables ─── */
|
|
:root {
|
|
--bg-body: #0a0c0e;
|
|
--bg-header: #14171a;
|
|
--bg-footer: #14171a;
|
|
--bg-solid: linear-gradient(180deg, #181a1d 0%, #14171a 100%);
|
|
--bg-card: linear-gradient(145deg, #1c1e21, #181a1d);
|
|
--bg-content: linear-gradient(145deg, #1a1d20, #14171a);
|
|
--bg-postcard: rgba(20, 23, 26, 0.92);
|
|
--border-base: #252a2e;
|
|
--border-hover: #3a424a;
|
|
--text-muted: #8a9eaa;
|
|
--text-dim: #6e7a80;
|
|
--accent: #5a7d8c;
|
|
--accent-light: #7ab8d4;
|
|
--accent-border: #4a5560;
|
|
--tint-color: rgba(90, 125, 140, 0.15);
|
|
--transition-theme:
|
|
background-color 0.8s ease, border-color 0.8s ease, color 0.8s ease;
|
|
}
|
|
|
|
body.destructive-mode {
|
|
--bg-body: #0e0a0a;
|
|
--bg-header: #1a1414;
|
|
--bg-footer: #1a1414;
|
|
--bg-solid: linear-gradient(180deg, #1d1818 0%, #1a1414 100%);
|
|
--bg-card: linear-gradient(145deg, #211c1c, #1d1818);
|
|
--bg-content: linear-gradient(145deg, #201a1a, #1a1414);
|
|
--bg-postcard: rgba(26, 20, 20, 0.92);
|
|
--border-base: #2e2525;
|
|
--border-hover: #4a3a3a;
|
|
--text-muted: #9a8a8a;
|
|
--text-dim: #806e6e;
|
|
--accent: #8c5a5a;
|
|
--accent-light: #d47a7a;
|
|
--accent-border: #604a4a;
|
|
--tint-color: rgba(160, 60, 60, 0.25);
|
|
}
|
|
|
|
body {
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
background: var(--bg-body);
|
|
color: #d0d0d0;
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
transition: background-color 0.8s ease;
|
|
}
|
|
|
|
/* ─── Header ─── */
|
|
header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bg-header);
|
|
border-bottom: 1px solid #1f2428;
|
|
z-index: 1000;
|
|
padding: 0 2rem;
|
|
transition:
|
|
background 0.4s ease,
|
|
backdrop-filter 0.4s ease,
|
|
border-color 0.4s ease,
|
|
box-shadow 0.4s ease,
|
|
background-color 0.8s ease;
|
|
}
|
|
|
|
header.scrolled {
|
|
background: rgba(20, 23, 26, 0.65);
|
|
backdrop-filter: blur(20px) saturate(1.4);
|
|
-webkit-backdrop-filter: blur(20px) saturate(1.4);
|
|
border-bottom-color: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
body.destructive-mode header.scrolled {
|
|
background: rgba(26, 20, 20, 0.65);
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 60px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: #aaa;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* ─── Layout ─── */
|
|
main {
|
|
padding-top: 60px;
|
|
padding-bottom: 50px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
section {
|
|
padding: 4rem 2rem;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
/* ─── Backdrop Image Sections ─── */
|
|
.bg-image-section {
|
|
padding: 10rem 2rem;
|
|
min-height: 600px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bg-image-section::before,
|
|
.bg-image-section::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
height: 60px;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.bg-image-section::before {
|
|
top: 0;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
var(--bg-header) 0%,
|
|
transparent 100%
|
|
);
|
|
}
|
|
|
|
.bg-image-section::after {
|
|
bottom: 0;
|
|
background: linear-gradient(to top, var(--bg-header) 0%, transparent 100%);
|
|
}
|
|
|
|
#hero::before {
|
|
height: 100px;
|
|
}
|
|
|
|
.slideshow-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-size: cover;
|
|
background-position: center;
|
|
transition: opacity 1.2s ease-in-out;
|
|
z-index: 0;
|
|
}
|
|
|
|
.destructive-tint {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(
|
|
ellipse at center,
|
|
var(--tint-color),
|
|
transparent 70%
|
|
);
|
|
opacity: 0;
|
|
transition: opacity 1.2s ease;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
body.destructive-mode .destructive-tint {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ─── Solid Sections ─── */
|
|
section:not(.bg-image-section) {
|
|
background: var(--bg-solid);
|
|
position: relative;
|
|
padding: 6rem 2rem;
|
|
transition: background 0.8s ease;
|
|
}
|
|
|
|
.content-wrapper {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* ─── Hero ─── */
|
|
#hero {
|
|
min-height: 700px;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: center;
|
|
}
|
|
|
|
#hero h2 {
|
|
font-size: 3.2rem;
|
|
margin-bottom: 1.2rem;
|
|
text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
|
|
color: #fff;
|
|
}
|
|
|
|
#hero p {
|
|
font-size: 1.4rem;
|
|
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
|
|
color: #e0e0e0;
|
|
margin: 0.3rem 0;
|
|
}
|
|
|
|
/* ─── Concept ─── */
|
|
#concept h2 {
|
|
text-align: center;
|
|
font-size: 2.2rem;
|
|
margin-bottom: 3rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.video-container {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
margin: 0 auto 3rem;
|
|
background: #0a0c0e;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
aspect-ratio: 16/9;
|
|
border: 1px solid var(--border-base);
|
|
transition: border-color 0.8s ease;
|
|
}
|
|
|
|
.video-container video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.play-btn {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100px;
|
|
height: 100px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 3px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s;
|
|
backdrop-filter: blur(6px);
|
|
z-index: 3;
|
|
}
|
|
|
|
.play-btn:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
transform: translate(-50%, -50%) scale(1.08);
|
|
}
|
|
|
|
.play-btn::after {
|
|
content: "";
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 30px solid #fff;
|
|
border-top: 18px solid transparent;
|
|
border-bottom: 18px solid transparent;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.video-container.playing .play-btn {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.video-container.playing:hover .play-btn {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.video-container.playing .play-btn::after {
|
|
border: none;
|
|
width: 30px;
|
|
height: 36px;
|
|
margin-left: 0;
|
|
background: linear-gradient(
|
|
to right,
|
|
#fff 35%,
|
|
transparent 35%,
|
|
transparent 65%,
|
|
#fff 65%
|
|
);
|
|
}
|
|
|
|
.concept-text {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
font-size: 1.1rem;
|
|
line-height: 1.9;
|
|
color: #bbb;
|
|
}
|
|
|
|
.concept-text h3 {
|
|
color: var(--accent-light);
|
|
font-size: 1.4rem;
|
|
margin-top: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
border-left: 4px solid var(--accent);
|
|
padding-left: 1rem;
|
|
transition: var(--transition-theme);
|
|
}
|
|
|
|
.concept-text ol {
|
|
margin-left: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.concept-text li {
|
|
margin-bottom: 0.9rem;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
/* ─── Socials ─── */
|
|
#socials h2 {
|
|
text-align: center;
|
|
font-size: 2.2rem;
|
|
margin-bottom: 3rem;
|
|
text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
|
|
color: #fff;
|
|
}
|
|
|
|
.social-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.8rem;
|
|
width: 260px;
|
|
margin: 1.5rem auto;
|
|
padding: 1.2rem 2rem;
|
|
background: rgba(10, 12, 14, 0.75);
|
|
border: 1px solid #2f333a;
|
|
border-radius: 12px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
font-size: 1.15rem;
|
|
transition: all 0.3s;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.social-btn:hover {
|
|
background: rgba(20, 23, 26, 0.9);
|
|
transform: translateY(-4px);
|
|
border-color: var(--accent-border);
|
|
}
|
|
|
|
.social-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* ─── Team ─── */
|
|
#team h2 {
|
|
text-align: center;
|
|
font-size: 2.2rem;
|
|
margin-bottom: 3rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.team-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.team-card {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 2.5rem 1.5rem;
|
|
text-align: center;
|
|
border: 1px solid var(--border-base);
|
|
transition:
|
|
transform 0.3s,
|
|
border-color 0.8s ease,
|
|
background 0.8s ease;
|
|
}
|
|
|
|
.team-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: var(--border-hover);
|
|
}
|
|
|
|
.team-card img {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
margin-bottom: 1.2rem;
|
|
background: #2a2e33;
|
|
border: 3px solid #2a2e33;
|
|
transition: border-color 0.8s ease;
|
|
}
|
|
|
|
.team-card:hover img {
|
|
border-color: var(--accent-border);
|
|
}
|
|
|
|
.team-card .name {
|
|
font-size: 1.3rem;
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.team-card .role {
|
|
color: var(--text-muted);
|
|
transition: color 0.8s ease;
|
|
}
|
|
|
|
/* ─── Posts ─── */
|
|
#posts h2 {
|
|
text-align: center;
|
|
font-size: 2.2rem;
|
|
margin-bottom: 3rem;
|
|
text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
|
|
color: #fff;
|
|
}
|
|
|
|
.posts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.post-card {
|
|
background: var(--bg-postcard);
|
|
border-radius: 16px;
|
|
padding: 2.2rem;
|
|
border: 1px solid var(--border-base);
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
display: block;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.post-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: var(--border-hover);
|
|
background: rgba(24, 27, 30, 0.95);
|
|
}
|
|
|
|
body.destructive-mode .post-card:hover {
|
|
background: rgba(30, 24, 24, 0.95);
|
|
}
|
|
|
|
.post-card .post-date {
|
|
color: var(--text-dim);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.post-card .post-title {
|
|
font-size: 1.4rem;
|
|
font-weight: bold;
|
|
margin-bottom: 0.8rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.post-card .post-desc {
|
|
color: #aaa;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ─── Post Page ─── */
|
|
#post-hero {
|
|
min-height: 450px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8rem 2rem;
|
|
}
|
|
|
|
#post-hero h1 {
|
|
font-size: 3rem;
|
|
text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95);
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 2;
|
|
color: #fff;
|
|
}
|
|
|
|
#post-content {
|
|
padding: 5rem 2rem;
|
|
min-height: calc(100vh - 450px - 60px - 50px);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* ─── Markdown Viewer Theme ─── */
|
|
.post-content {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
background: var(--bg-content);
|
|
border: 1px solid var(--border-base);
|
|
border-radius: 20px;
|
|
padding: 3.5rem;
|
|
line-height: 1.9;
|
|
font-size: 1.1rem;
|
|
color: #ccc;
|
|
position: relative;
|
|
z-index: 2;
|
|
transition:
|
|
background 0.8s ease,
|
|
border-color 0.8s ease;
|
|
}
|
|
|
|
.post-content h1 {
|
|
color: #fff;
|
|
font-size: 2.4rem;
|
|
border-bottom: 3px solid var(--accent);
|
|
padding-bottom: 0.8rem;
|
|
margin-bottom: 2.5rem;
|
|
margin-top: 0;
|
|
transition: var(--transition-theme);
|
|
}
|
|
|
|
.post-content h2 {
|
|
color: var(--accent);
|
|
font-size: 1.8rem;
|
|
margin-top: 3rem;
|
|
margin-bottom: 1.2rem;
|
|
border-left: 5px solid var(--accent);
|
|
padding-left: 1.2rem;
|
|
transition: var(--transition-theme);
|
|
}
|
|
|
|
.post-content h3 {
|
|
color: var(--accent-light);
|
|
font-size: 1.5rem;
|
|
margin-top: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
transition: var(--transition-theme);
|
|
}
|
|
|
|
.post-content p {
|
|
margin-bottom: 1.4rem;
|
|
}
|
|
|
|
.post-content a {
|
|
color: #66aaff;
|
|
text-decoration: none;
|
|
border-bottom: 1px dotted #66aaff;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.post-content a:hover {
|
|
color: #99ccff;
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
.post-content code {
|
|
background: #0f1214;
|
|
color: #d48a8a;
|
|
padding: 0.25rem 0.6rem;
|
|
border-radius: 6px;
|
|
font-family: "Fira Code", "Courier New", monospace;
|
|
font-size: 0.9em;
|
|
border: 1px solid #1f2428;
|
|
}
|
|
|
|
.post-content pre {
|
|
background: #0f1214;
|
|
border: 1px solid #1f2428;
|
|
border-radius: 12px;
|
|
padding: 1.8rem;
|
|
overflow-x: auto;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.post-content pre code {
|
|
background: transparent;
|
|
color: #ddd;
|
|
padding: 0;
|
|
border: none;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.post-content blockquote {
|
|
border-left: 4px solid var(--accent);
|
|
background: #1a1d20;
|
|
padding: 1.5rem 1.8rem;
|
|
margin: 2rem 0;
|
|
border-radius: 0 12px 12px 0;
|
|
font-style: italic;
|
|
color: #bbb;
|
|
transition: var(--transition-theme);
|
|
}
|
|
|
|
body.destructive-mode .post-content blockquote {
|
|
background: #201a1a;
|
|
}
|
|
|
|
.post-content ul,
|
|
.post-content ol {
|
|
margin: 1.5rem 0;
|
|
padding-left: 2.5rem;
|
|
}
|
|
|
|
.post-content li {
|
|
margin-bottom: 0.7rem;
|
|
}
|
|
|
|
.post-content img {
|
|
max-width: 100%;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-base);
|
|
margin: 2rem 0;
|
|
display: block;
|
|
transition: border-color 0.8s ease;
|
|
}
|
|
|
|
.post-content hr {
|
|
border: none;
|
|
border-top: 2px solid var(--border-base);
|
|
margin: 3rem 0;
|
|
transition: border-color 0.8s ease;
|
|
}
|
|
|
|
.post-content table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.post-content th,
|
|
.post-content td {
|
|
border: 1px solid var(--border-base);
|
|
padding: 0.8rem;
|
|
text-align: left;
|
|
transition: border-color 0.8s ease;
|
|
}
|
|
|
|
.post-content th {
|
|
background: #1c1e21;
|
|
color: #fff;
|
|
}
|
|
|
|
body.destructive-mode .post-content th {
|
|
background: #211c1c;
|
|
}
|
|
|
|
.post-content tr:nth-child(even) {
|
|
background: #181a1d;
|
|
}
|
|
|
|
body.destructive-mode .post-content tr:nth-child(even) {
|
|
background: #1d1818;
|
|
}
|
|
|
|
/* ─── Footer ─── */
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bg-footer);
|
|
border-top: 1px solid #1f2428;
|
|
padding: 1rem 2rem;
|
|
text-align: center;
|
|
color: #5a6b72;
|
|
z-index: 1000;
|
|
font-size: 0.9rem;
|
|
transform: translateY(100%);
|
|
transition:
|
|
transform 0.4s ease,
|
|
background 0.4s ease,
|
|
backdrop-filter 0.4s ease,
|
|
border-color 0.4s ease,
|
|
box-shadow 0.4s ease,
|
|
background-color 0.8s ease;
|
|
}
|
|
|
|
footer.visible {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
footer.glass {
|
|
background: rgba(20, 23, 26, 0.65);
|
|
backdrop-filter: blur(20px) saturate(1.4);
|
|
-webkit-backdrop-filter: blur(20px) saturate(1.4);
|
|
border-top-color: rgba(255, 255, 255, 0.06);
|
|
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
body.destructive-mode footer.glass {
|
|
background: rgba(26, 20, 20, 0.65);
|
|
}
|
|
|
|
footer.solid {
|
|
background: var(--bg-footer);
|
|
backdrop-filter: none;
|
|
border-top-color: #1f2428;
|
|
box-shadow: none;
|
|
}
|
|
|
|
footer a {
|
|
color: #7a8e9a;
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* ─── Scrollbar ─── */
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #0a0c0e;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #2a2e33;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #3a424a;
|
|
}
|