37863-vm/assets/css/custom.css
2026-01-27 14:35:19 +00:00

527 lines
9.9 KiB
CSS

:root {
--gold: #d4af37;
--gold-light: #b8860b;
--light-pink: #fff0f6; /* 浅粉色背景 */
--accent-pink: #ffd6e7;
--card-bg: rgba(255, 255, 255, 0.8);
--text-main: #2c3e50;
--text-muted: #7f8c8d;
--glass-border: rgba(212, 175, 55, 0.3);
--sidebar-bg: #fff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
background-color: var(--light-pink);
color: var(--text-main);
font-family: 'Noto Sans SC', sans-serif;
line-height: 1.6;
overflow-x: hidden;
}
/* Watermark Grid */
.watermark-grid {
position: fixed;
top: 0;
left: 0;
width: 200%;
height: 200%;
pointer-events: none;
z-index: 9999;
opacity: 0.1;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='100' viewBox='0 0 200 100'%3E%3Ctext x='10' y='50' font-family='Noto Sans SC' font-size='20' fill='%23d4af37' transform='rotate(-30, 100, 50)'%3E财神组%3C/text%3E%3C/svg%3E");
transform: rotate(-30deg) translate(-25%, -25%);
}
/* Background Orbs */
.bg-decoration {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.4;
animation: move 20s infinite alternate;
}
.orb-gold {
width: 400px;
height: 400px;
background: radial-gradient(circle, var(--accent-pink), transparent);
top: -100px;
right: -100px;
}
.orb-black {
width: 600px;
height: 600px;
background: radial-gradient(circle, #ffe3ec, transparent);
bottom: -200px;
left: -200px;
animation-delay: -5s;
}
@keyframes move {
0% { transform: translate(0, 0); }
100% { transform: translate(100px, 50px); }
}
/* Main Layout */
.main-content {
margin-left: 280px;
padding: 40px;
max-width: 1200px;
}
/* Sidebar Nav (Desktop) */
.sidebar-nav {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 280px;
background: var(--sidebar-bg);
border-right: 1px solid var(--glass-border);
padding: 40px 20px;
z-index: 100;
box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
.sidebar-logo {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
margin-bottom: 60px;
}
.sidebar-logo img {
max-width: 120px;
max-height: 120px;
object-fit: contain;
border: 2px solid var(--gold);
padding: 5px;
background: #fff;
border-radius: 12px; /* 圆角矩形通常比圆形对 Logo 更友好 */
}
.sidebar-logo span {
font-family: 'Ma Shan Zheng', cursive;
font-size: 24px;
color: var(--gold);
}
.nav-menu {
list-style: none;
}
.nav-menu li {
margin-bottom: 15px;
}
.nav-menu a {
color: var(--text-muted);
text-decoration: none;
font-size: 16px;
display: flex;
align-items: center;
gap: 15px;
transition: 0.3s;
padding: 12px 15px;
border-radius: 12px;
}
.nav-menu a:hover, .nav-menu a.active {
color: var(--gold);
background: rgba(212, 175, 55, 0.1);
font-weight: bold;
}
.nav-num {
font-size: 12px;
opacity: 0.6;
}
/* Mobile Nav */
.mobile-nav {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(255, 240, 246, 0.95);
z-index: 1000;
border-bottom: 1px solid var(--glass-border);
backdrop-filter: blur(10px);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
}
.nav-brand {
display: flex;
align-items: center;
gap: 8px;
font-family: 'Ma Shan Zheng', cursive;
color: var(--gold);
font-size: 20px;
}
.nav-brand img {
width: 32px;
height: 32px;
border-radius: 4px;
}
.nav-links a {
color: var(--text-main);
text-decoration: none;
margin-left: 15px;
font-size: 14px;
font-weight: bold;
}
/* Hero Section */
.luxury-hero {
height: 70vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 0 40px;
}
.badge {
background: var(--gold);
color: #fff;
padding: 5px 15px;
font-size: 13px;
font-weight: 700;
border-radius: 50px;
margin-bottom: 20px;
box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.main-title {
font-family: 'Noto Serif SC', serif;
font-size: clamp(2.5rem, 8vw, 4.5rem);
font-weight: 900;
color: var(--text-main);
line-height: 1.2;
margin-bottom: 15px;
}
.sub-title {
font-size: 1.4rem;
color: var(--text-muted);
font-weight: 400;
margin-bottom: 40px;
}
.hero-stats {
display: flex;
gap: 30px;
}
.stat-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 15px;
color: var(--gold-light);
background: #fff;
padding: 10px 20px;
border-radius: 50px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* Section Styling */
.step-section {
padding: 80px 0;
opacity: 0;
transform: translateY(30px);
transition: 0.8s ease-out;
}
.step-section.animate-in {
opacity: 1;
transform: translateY(0);
}
.section-header {
margin-bottom: 40px;
}
.step-num {
color: var(--gold);
font-size: 16px;
font-weight: 800;
letter-spacing: 2px;
margin-bottom: 10px;
}
.step-title {
font-size: 2.2rem;
font-family: 'Noto Serif SC', serif;
margin-bottom: 8px;
color: var(--text-main);
}
.step-goal {
color: var(--text-muted);
font-weight: 500;
}
/* Glass Card */
.glass-card {
background: var(--card-bg);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 24px;
padding: 40px;
display: flex;
gap: 30px;
margin-bottom: 30px;
transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.glass-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
border-color: var(--gold);
}
.card-icon {
font-size: 44px;
color: var(--gold);
}
.card-content h4 {
color: var(--gold-light);
margin-bottom: 15px;
font-size: 1.2rem;
}
.warning-text {
background: rgba(255, 68, 68, 0.05);
padding: 18px;
border-left: 5px solid #ff4444;
border-radius: 8px;
margin-top: 25px;
font-size: 0.95rem;
color: #c0392b;
}
/* Tactic Cards */
.tactic-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
margin-bottom: 30px;
}
.tactic-card {
background: #fff;
border: 1px solid rgba(0,0,0,0.05);
padding: 30px;
border-radius: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.02);
transition: 0.3s;
}
.tactic-card:hover {
border-color: var(--gold);
}
.tactic-card h5 {
color: var(--text-main);
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 12px;
font-size: 1.1rem;
}
.tactic-card h5 i {
color: var(--gold);
}
/* Example Box */
.example-box {
background: #fff;
border: 2px dashed var(--gold);
padding: 35px;
border-radius: 20px;
position: relative;
box-shadow: 0 10px 25px rgba(212, 175, 55, 0.05);
}
.example-box h5 {
position: absolute;
top: -15px;
left: 25px;
background: var(--light-pink);
padding: 0 15px;
color: var(--gold-light);
font-weight: 900;
}
.script {
font-style: italic;
color: #444;
font-size: 1.1rem;
line-height: 1.8;
}
/* Misc Boxes */
.story-box, .method-box, .action-box, .strategy-card, .method-card {
background: #fff;
padding: 35px;
border-radius: 24px;
margin-bottom: 25px;
box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.story-box h5, .method-box h5, .action-box h5, .strategy-card h5, .method-card h5 {
color: var(--gold-light);
margin-bottom: 18px;
font-size: 1.2rem;
}
.scenario {
margin-top: 20px;
padding: 20px;
background: var(--light-pink);
border-radius: 12px;
border-left: 4px solid var(--gold);
font-size: 0.95rem;
}
.highlight {
display: block;
margin-top: 15px;
color: var(--gold-light);
font-weight: 800;
}
.info-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
}
.info-item {
background: #fff;
padding: 25px;
border-radius: 15px;
display: flex;
align-items: center;
gap: 18px;
box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.info-item i {
color: var(--gold);
font-size: 1.5rem;
}
.final-summary {
text-align: center;
padding: 80px 40px;
background: white;
border-radius: 30px;
box-shadow: 0 15px 40px rgba(0,0,0,0.05);
margin-top: 40px;
}
.force-text {
font-size: 1.4rem;
font-weight: 900;
color: var(--gold-light);
margin-top: 25px;
letter-spacing: 8px;
text-transform: uppercase;
}
/* Footer */
.luxury-footer {
padding: 80px 40px;
text-align: center;
border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-logo {
font-family: 'Ma Shan Zheng', cursive;
font-size: 44px;
color: var(--gold);
margin-bottom: 20px;
}
.disclaimer {
color: var(--text-muted);
font-size: 13px;
margin-top: 15px;
letter-spacing: 1px;
}
/* Mobile Responsive */
@media (max-width: 992px) {
.sidebar-nav {
display: none;
}
.mobile-nav {
display: block;
}
.main-content {
margin-left: 0;
padding: 100px 20px 40px;
}
.luxury-hero {
padding: 0;
height: auto;
min-height: 50vh;
margin-bottom: 40px;
}
.tactic-grid, .info-grid {
grid-template-columns: 1fr;
}
.glass-card {
flex-direction: column;
padding: 30px;
gap: 20px;
}
.main-title {
font-size: 2.8rem;
}
}
/* Cursor Effect */
.cursor-follower {
position: fixed;
width: 30px;
height: 30px;
background: rgba(212, 175, 55, 0.2);
border-radius: 50%;
pointer-events: none;
z-index: 10000;
transition: transform 0.1s ease;
}