153 lines
3.6 KiB
CSS
153 lines
3.6 KiB
CSS
|
|
:root {
|
||
|
|
--bg-color: #0f172a;
|
||
|
|
--card-bg: rgba(30, 41, 59, 0.7);
|
||
|
|
--card-border: rgba(148, 163, 184, 0.1);
|
||
|
|
--text-primary: #f1f5f9;
|
||
|
|
--text-secondary: #94a3b8;
|
||
|
|
--accent-blue: #3b82f6;
|
||
|
|
--accent-purple: #8b5cf6;
|
||
|
|
--accent-cyan: #06b6d4;
|
||
|
|
--accent-emerald: #10b981;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
background-color: var(--bg-color);
|
||
|
|
color: var(--text-primary);
|
||
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
||
|
|
min-height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
background-image:
|
||
|
|
radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
|
||
|
|
radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.main-container {
|
||
|
|
width: 100%;
|
||
|
|
max-width: 1200px;
|
||
|
|
padding: 60px 20px;
|
||
|
|
box-sizing: border-box;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
margin-bottom: 80px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title {
|
||
|
|
font-size: 3.5rem;
|
||
|
|
font-weight: 800;
|
||
|
|
margin: 0 0 20px 0;
|
||
|
|
background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
|
||
|
|
-webkit-background-clip: text;
|
||
|
|
-webkit-text-fill-color: transparent;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.subtitle {
|
||
|
|
font-size: 1.25rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 0 auto;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cards-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(4, 1fr);
|
||
|
|
gap: 24px;
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card {
|
||
|
|
background: var(--card-bg);
|
||
|
|
border: 1px solid var(--card-border);
|
||
|
|
border-radius: 20px;
|
||
|
|
padding: 40px 30px;
|
||
|
|
text-align: left;
|
||
|
|
text-decoration: none;
|
||
|
|
color: inherit;
|
||
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
backdrop-filter: blur(10px);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 100%;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card:hover {
|
||
|
|
transform: translateY(-5px);
|
||
|
|
background: rgba(30, 41, 59, 0.9);
|
||
|
|
border-color: rgba(148, 163, 184, 0.3);
|
||
|
|
box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.card-icon {
|
||
|
|
font-size: 3rem;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
display: inline-block;
|
||
|
|
padding: 16px;
|
||
|
|
border-radius: 16px;
|
||
|
|
background: rgba(255, 255, 255, 0.05);
|
||
|
|
width: fit-content;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card h2 {
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
margin: 0 0 12px 0;
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.card p {
|
||
|
|
font-size: 0.95rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
line-height: 1.6;
|
||
|
|
margin: 0;
|
||
|
|
flex-grow: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card-arrow {
|
||
|
|
margin-top: 24px;
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateX(-10px);
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card:hover .card-arrow {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateX(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Specific Card Colors */
|
||
|
|
.card.dashboard .card-icon { color: var(--accent-blue); background: rgba(59, 130, 246, 0.1); }
|
||
|
|
.card.dashboard:hover .card-arrow { color: var(--accent-blue); }
|
||
|
|
|
||
|
|
.card.query .card-icon { color: var(--accent-emerald); background: rgba(16, 185, 129, 0.1); }
|
||
|
|
.card.query:hover .card-arrow { color: var(--accent-emerald); }
|
||
|
|
|
||
|
|
.card.douyin .card-icon { color: var(--accent-purple); background: rgba(139, 92, 246, 0.1); }
|
||
|
|
.card.douyin:hover .card-arrow { color: var(--accent-purple); }
|
||
|
|
|
||
|
|
.card.haibao .card-icon { color: var(--accent-cyan); background: rgba(6, 182, 212, 0.1); }
|
||
|
|
.card.haibao:hover .card-arrow { color: var(--accent-cyan); }
|
||
|
|
|
||
|
|
@media (max-width: 1024px) {
|
||
|
|
.cards-grid { grid-template-columns: repeat(2, 1fr); }
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.title { font-size: 2.5rem; }
|
||
|
|
.cards-grid { grid-template-columns: 1fr; }
|
||
|
|
}
|