Files
gitlab-instance-0a899031_cn…/app/globals.css
root 9de2465793 s
2026-06-07 15:57:47 +08:00

1316 lines
29 KiB
CSS

@import "tailwindcss" source(none);
@source "./";
@source not "./favicon.ico";
@source "../config";
@source "../content/digital";
@custom-variant dark (&:where(.dark, .dark *));
:root {
--background: #fafafa;
--foreground: #111827;
--font-geist-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
--font-geist-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Monaco, "Courier New", "PingFang SC", monospace;
}
.dark {
--background: #111827;
--foreground: #f9fafb;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
--color-primary: #0ea5e9;
--color-primary-dark: #0284c7;
--color-accent: #f59e0b;
--color-accent-dark: #d97706;
--animate-scroll: digital-scroll 30s linear infinite;
--animate-scroll-reverse: digital-scroll 30s linear infinite reverse;
--animate-fade-in: digital-fade-in 0.6s ease-out;
--animate-float: digital-float 6s ease-in-out infinite;
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-geist-sans, system-ui), "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html {
scroll-behavior: smooth;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 3px;
}
.dark ::-webkit-scrollbar-thumb {
background: #4b5563;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}
/* ==================== Container (responsive) ==================== */
.container-nomad {
width: 100%;
max-width: 1600px;
margin-left: auto;
margin-right: auto;
padding-left: 1rem;
padding-right: 1rem;
}
@media (min-width: 640px) {
.container-nomad {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
@media (min-width: 1024px) {
.container-nomad {
padding-left: 2.5rem;
padding-right: 2.5rem;
}
}
/* ==================== Items Grid (mobile-first) ==================== */
.items-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: 180px;
grid-auto-flow: row;
gap: 8px;
padding: 8px;
}
@media (min-width: 640px) {
.items-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-auto-rows: 260px;
gap: 20px;
padding: 16px 20px;
}
}
@media (min-width: 1024px) {
.items-grid {
grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1fr);
grid-auto-rows: 280px;
gap: 30px;
padding: 20px 40px;
}
}
@media (min-width: 1440px) {
.items-grid {
grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1fr);
gap: 35px;
}
}
/* Reserve the first right-column rows for feature cards.
City cards keep normal auto-placement and fill the right column after these rows. */
.items-grid .right-item:nth-child(1) {
grid-column: -2 / -1;
grid-row: 1;
}
.items-grid .right-item:nth-child(2) {
grid-column: -2 / -1;
grid-row: 2;
}
.items-grid .right-item:nth-child(3) {
grid-column: -2 / -1;
grid-row: 3;
}
.items-grid .right-item:nth-child(4) {
grid-column: -2 / -1;
grid-row: 4;
}
.items-grid .right-item:nth-child(5) {
grid-column: -2 / -1;
grid-row: 5;
}
.items-grid .right-item:nth-child(6) {
grid-column: -2 / -1;
grid-row: 6;
}
.items-grid .right-item:nth-child(7) {
grid-column: -2 / -1;
grid-row: 7;
}
/* ==================== City Card ==================== */
.city-card {
height: 100%;
border-radius: 15px;
position: relative;
overflow: hidden;
cursor: pointer;
color: white;
box-sizing: border-box;
min-width: 0;
}
.city-card:hover {
animation: pulse 0.6s ease;
}
/* ==================== Right Item ==================== */
.right-item {
height: 100%;
border-radius: 15px;
position: relative;
overflow: hidden;
width: 100%;
min-width: 0;
box-sizing: border-box;
background: white;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.dark .right-item {
background: #1f2937;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.right-item:hover {
animation: pulse 0.6s ease;
}
.right-item-header {
width: 100%;
height: 38px;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.5px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(90deg, #ff4d4f, #ff7a45);
color: #fff;
}
@media (min-width: 640px) {
.right-item-header {
height: 42px;
font-size: 15px;
}
}
/* ==================== Hover / Pulse Animation ==================== */
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.03);
}
100% {
transform: scale(1);
}
}
/* ==================== Hero Gradient Text ==================== */
@keyframes gradient-shift {
0%,
100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
.hero-gradient-text {
background: linear-gradient(
135deg,
#f97316,
#ec4899,
#8b5cf6,
#3b82f6,
#f97316
);
background-size: 300% 300%;
animation: gradient-shift 6s ease infinite;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ==================== Filter Buttons ==================== */
.filter-btn {
transition: all 0.15s ease;
}
.filter-btn:hover {
background: #f3f4f6;
}
.filter-btn.active {
background: #111827;
color: white;
}
.filter-btn.active:hover {
background: #1f2937;
}
.dark .filter-btn.active {
background: #374151;
}
.dark .filter-btn.active:hover {
background: #4b5563;
}
/* ==================== Community Cards ==================== */
.community-card {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.community-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.dark .community-card {
background: #1f2937;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.dark .community-card:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* ==================== Utilities ==================== */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* ==================== Form Inputs (join page) ==================== */
.form-input {
width: 100%;
border: 0;
background: transparent;
font-size: 15px;
line-height: 1.5;
color: #1e293b;
outline: none;
padding: 0;
}
.form-input::placeholder {
color: #b2b2b2;
}
@media (min-width: 640px) {
.form-input {
border: 1px solid #e2e8f0;
border-radius: 0.75rem;
padding: 0.65rem 0.875rem;
font-size: 15px;
background: #f8fafc;
transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
border-color: #0ea5e9;
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
background: #fff;
}
textarea.form-input {
padding: 0.75rem 0.875rem;
}
select.form-input {
padding-right: 2.25rem;
cursor: pointer;
}
}
.dark .form-input {
color: #f1f5f9;
}
.dark .form-input::placeholder {
color: #94a3b8;
}
@media (min-width: 640px) {
.dark .form-input {
border-color: #475569;
background: #1e293b;
}
.dark .form-input:focus {
border-color: #0ea5e9;
background: #334155;
}
}
/* ==================== Animations ==================== */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.6s ease-out;
}
/* ==================== Digital Project Styles ==================== */
.digital-scope {
--background: #ffffff;
--foreground: #0f172a;
--card: #ffffff;
--card-foreground: #0f172a;
--muted: #f1f5f9;
--muted-foreground: #64748b;
--border: #e2e8f0;
--accent: #f59e0b;
--accent-foreground: #1c1917;
--accent-muted: rgba(245, 158, 11, 0.2);
--gradient-accent: rgba(251, 191, 36, 0.15);
min-height: 100vh;
background: var(--background);
color: var(--foreground);
overflow-x: hidden;
}
.dark .digital-scope {
--background: #0f172a;
--foreground: #f8fafc;
--card: rgba(255, 255, 255, 0.05);
--card-foreground: #f8fafc;
--muted: rgba(255, 255, 255, 0.05);
--muted-foreground: #94a3b8;
--border: rgba(255, 255, 255, 0.08);
--accent: #f59e0b;
--accent-foreground: #1c1917;
--accent-muted: rgba(245, 158, 11, 0.2);
--gradient-accent: rgba(251, 191, 36, 0.15);
}
@keyframes digital-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes digital-fade-in {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes digital-float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
@keyframes digital-gradient-shift {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.85;
}
}
@keyframes digital-shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
@keyframes digital-float-badge {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-2px);
}
}
.digital-scope .animate-gradient {
animation: digital-gradient-shift 8s ease-in-out infinite;
}
.digital-scope .animate-fade-in {
animation: digital-fade-in 0.6s ease-out;
}
.digital-scope .animate-float-badge {
animation: digital-float-badge 3s ease-in-out infinite;
}
.digital-scope .hover-shimmer {
position: relative;
overflow: hidden;
}
.digital-scope .hover-shimmer::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.05),
transparent
);
background-size: 200% 100%;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
.digital-scope .hover-shimmer:hover::after {
opacity: 1;
animation: digital-shimmer 1.5s ease-in-out;
}
.digital-scope .marquee-container {
mask-image: linear-gradient(
to right,
transparent 0%,
black 10%,
black 90%,
transparent 100%
);
-webkit-mask-image: linear-gradient(
to right,
transparent 0%,
black 10%,
black 90%,
transparent 100%
);
}
.digital-scope .gradient-text {
background: linear-gradient(135deg, #0ea5e9, #06b6d4, #f59e0b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.digital-scope .card-hover {
transition: all 0.3s ease;
}
.digital-scope .card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.dark .digital-scope .card-hover:hover {
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.digital-scope .resource-card {
transition: all 0.2s ease;
}
.digital-scope .resource-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.digital-scope .prose-custom {
font-size: 1rem;
line-height: 1.85;
color: #334155;
}
.dark .digital-scope .prose-custom {
color: #94a3b8;
}
.digital-scope .prose-custom h1 {
font-size: 2.25rem;
font-weight: 800;
letter-spacing: 0;
color: #0f172a;
margin-top: 2.5rem;
margin-bottom: 1rem;
line-height: 1.2;
}
.dark .digital-scope .prose-custom h1 {
color: #f8fafc;
}
.digital-scope .prose-custom h2 {
font-size: 1.5rem;
font-weight: 700;
color: #0f172a;
margin-top: 2.5rem;
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #e2e8f0;
}
.dark .digital-scope .prose-custom h2 {
color: #f8fafc;
border-bottom-color: #334155;
}
.digital-scope .prose-custom h3 {
font-size: 1.25rem;
font-weight: 700;
color: #1e293b;
margin-top: 2rem;
margin-bottom: 0.5rem;
}
.digital-scope .prose-custom h4 {
font-size: 1.1rem;
font-weight: 600;
color: #1e293b;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
}
.digital-scope .prose-custom p {
margin-bottom: 1.25rem;
}
.digital-scope .prose-custom a {
color: #0ea5e9;
font-weight: 500;
text-decoration: underline;
text-decoration-color: #bae6fd;
text-underline-offset: 2px;
transition: text-decoration-color 0.2s;
}
.digital-scope .prose-custom a:hover {
text-decoration-color: #0ea5e9;
}
.digital-scope .prose-custom strong {
font-weight: 700;
color: #0f172a;
}
.digital-scope .prose-custom em {
color: #475569;
}
.digital-scope .prose-custom ul {
list-style-type: disc;
padding-left: 1.5rem;
margin-bottom: 1.25rem;
}
.digital-scope .prose-custom ol {
list-style-type: decimal;
padding-left: 1.5rem;
margin-bottom: 1.25rem;
}
.digital-scope .prose-custom li {
margin-bottom: 0.4rem;
}
.digital-scope .prose-custom li > ul,
.digital-scope .prose-custom li > ol {
margin-top: 0.4rem;
margin-bottom: 0;
}
.digital-scope .prose-custom blockquote {
border-left: 4px solid #0ea5e9;
background: #f0f9ff;
padding: 1rem 1.25rem;
margin: 1.5rem 0;
border-radius: 0 0.75rem 0.75rem 0;
color: #334155;
}
.dark .digital-scope .prose-custom blockquote {
background: #0c4a6e33;
border-left-color: #38bdf8;
color: #94a3b8;
}
.digital-scope .prose-custom blockquote p:last-child {
margin-bottom: 0;
}
.digital-scope .prose-custom hr {
border: none;
border-top: 1px solid #e2e8f0;
margin: 2rem 0;
}
.digital-scope .prose-custom code {
background: #f1f5f9;
color: #0f172a;
padding: 0.15rem 0.4rem;
border-radius: 0.375rem;
font-size: 0.875em;
font-family: var(--font-geist-mono), ui-monospace, monospace;
}
.dark .digital-scope .prose-custom code {
background: #334155;
color: #e2e8f0;
}
.digital-scope .prose-custom pre {
background: #1e293b;
color: #e2e8f0;
padding: 1.25rem 1.5rem;
border-radius: 0.75rem;
overflow-x: auto;
margin: 1.5rem 0;
font-size: 0.875rem;
line-height: 1.7;
}
.digital-scope .prose-custom pre code {
background: transparent;
color: inherit;
padding: 0;
border-radius: 0;
font-size: inherit;
}
.digital-scope .prose-custom table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 0.9rem;
overflow: hidden;
border-radius: 0.75rem;
border: 1px solid #e2e8f0;
}
.digital-scope .prose-custom thead {
background: #f8fafc;
}
.digital-scope .prose-custom th {
padding: 0.75rem 1rem;
text-align: left;
font-weight: 600;
color: #0f172a;
border-bottom: 2px solid #e2e8f0;
white-space: nowrap;
}
.digital-scope .prose-custom td {
padding: 0.65rem 1rem;
border-bottom: 1px solid #f1f5f9;
color: #475569;
}
.digital-scope .prose-custom tbody tr:last-child td {
border-bottom: none;
}
.digital-scope .prose-custom tbody tr:hover {
background: #f8fafc;
}
.digital-scope .prose-custom img {
max-width: 100%;
border-radius: 0.75rem;
margin: 1.5rem 0;
}
.digital-scope .prose-custom input[type="checkbox"] {
margin-right: 0.5rem;
accent-color: #0ea5e9;
}
.digital-scope .prose-custom li:has(input[type="checkbox"]) {
list-style-type: none;
margin-left: -1.5rem;
}
@media (max-width: 640px) {
.digital-scope .prose-custom h1 {
font-size: 1.75rem;
}
.digital-scope .prose-custom h2 {
font-size: 1.3rem;
}
.digital-scope .prose-custom h3 {
font-size: 1.1rem;
}
.digital-scope .prose-custom table {
font-size: 0.8rem;
display: block;
overflow-x: auto;
}
.digital-scope .prose-custom th,
.digital-scope .prose-custom td {
padding: 0.5rem 0.65rem;
}
.digital-scope .prose-custom blockquote {
padding: 0.75rem 1rem;
}
}
.digital-scope .form-input {
width: 100%;
border: 0;
background: transparent;
font-size: 15px;
line-height: 1.5;
color: #1e293b;
outline: none;
padding: 0;
}
.digital-scope .form-input::placeholder {
color: #b2b2b2;
}
@media (min-width: 640px) {
.digital-scope .form-input {
border: 1px solid #e2e8f0;
border-radius: 0.75rem;
padding: 0.65rem 0.875rem;
font-size: 15px;
background: #f8fafc;
transition: border-color 0.2s, box-shadow 0.2s;
}
.digital-scope .form-input:focus {
border-color: #0ea5e9;
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
background: #fff;
}
.digital-scope textarea.form-input {
padding: 0.75rem 0.875rem;
}
.digital-scope select.form-input {
padding-right: 2.25rem;
cursor: pointer;
}
}
.dark .digital-scope .form-input {
color: #f1f5f9;
}
.dark .digital-scope .form-input::placeholder {
color: #94a3b8;
}
@media (min-width: 640px) {
.dark .digital-scope .form-input {
border-color: #475569;
background: #1e293b;
}
.dark .digital-scope .form-input:focus {
border-color: #0ea5e9;
background: #334155;
}
}
/* ==================== Digital Visual Theme 2 ==================== */
.digital-scope.digital-theme-theme2 {
--background: var(--dn-bg);
--foreground: var(--dn-text);
--card: var(--dn-surface);
--card-foreground: var(--dn-text);
--muted: var(--dn-bg-soft);
--muted-foreground: var(--dn-text-muted);
--border: var(--dn-border);
--accent: var(--dn-accent);
--accent-foreground: #ffffff;
--accent-muted: rgba(249, 115, 91, 0.14);
--gradient-accent: rgba(15, 159, 122, 0.16);
background:
linear-gradient(90deg, rgba(79, 70, 229, 0.035) 1px, transparent 1px),
linear-gradient(0deg, rgba(15, 159, 122, 0.035) 1px, transparent 1px),
linear-gradient(180deg, #fbfaf6 0%, var(--dn-bg) 34%, #eef7f3 100%);
background-size: 44px 44px, 44px 44px, auto;
color: var(--dn-text);
font-family: var(--dn-font-body), system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
}
.dark .digital-scope.digital-theme-theme2 {
--dn-bg: #0f1724 !important;
--dn-bg-soft: #162235 !important;
--dn-surface: #111c2c !important;
--dn-surface-raised: #172235 !important;
--dn-text: #f8fafc !important;
--dn-text-muted: #a8b4c5 !important;
--dn-border: rgba(226, 232, 240, 0.16) !important;
--dn-primary: #8b93ff !important;
--dn-primary-strong: #c4c9ff !important;
--dn-accent: #ff967f !important;
--dn-cta: #34d399 !important;
--dn-cta-strong: #7ee7bf !important;
--dn-shadow: 0 16px 42px rgba(0, 0, 0, 0.28) !important;
--dn-shadow-hover: 0 22px 58px rgba(0, 0, 0, 0.34) !important;
background:
linear-gradient(90deg, rgba(139, 147, 255, 0.055) 1px, transparent 1px),
linear-gradient(0deg, rgba(52, 211, 153, 0.04) 1px, transparent 1px),
linear-gradient(180deg, #0b1220 0%, #0f1724 48%, #122333 100%);
background-size: 44px 44px, 44px 44px, auto;
}
.digital-theme-theme2 .dn-container {
max-width: 1180px;
}
.digital-theme-theme2 .dn-header {
top: 12px;
pointer-events: none;
}
.digital-theme-theme2 .dn-header > .dn-container {
height: 60px;
border: 1px solid rgba(219, 228, 220, 0.86);
border-radius: var(--dn-radius);
background: rgba(255, 253, 248, 0.9);
box-shadow: var(--dn-shadow);
backdrop-filter: blur(18px);
pointer-events: auto;
}
.dark .digital-theme-theme2 .dn-header > .dn-container {
border-color: var(--dn-border);
background: rgba(17, 28, 44, 0.9);
}
.digital-theme-theme2 .dn-header-scrolled {
background: transparent;
box-shadow: none;
}
.digital-theme-theme2 .dn-brand {
color: var(--dn-text);
font-family: var(--dn-font-display), var(--dn-font-body), sans-serif;
letter-spacing: 0;
}
.digital-theme-theme2 .dn-brand svg,
.digital-theme-theme2 .dn-section-title svg,
.digital-theme-theme2 .dn-subsection-title svg {
color: var(--dn-primary);
}
.digital-theme-theme2 .dn-nav {
gap: 0.25rem;
}
.digital-theme-theme2 .dn-nav-link,
.digital-theme-theme2 .dn-header-control,
.digital-theme-theme2 .dn-icon-button {
border-radius: var(--dn-radius-sm);
color: var(--dn-text-muted);
cursor: pointer;
}
.digital-theme-theme2 .dn-nav-link:hover,
.digital-theme-theme2 .dn-header-control:hover,
.digital-theme-theme2 .dn-icon-button:hover {
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-mobile-menu {
width: min(100% - 2rem, 1180px);
margin: 0.5rem auto 0;
border: 1px solid var(--dn-border);
border-radius: var(--dn-radius);
background: var(--dn-surface);
box-shadow: var(--dn-shadow);
}
.digital-theme-theme2 .dn-hero {
min-height: min(760px, 95vh);
padding-top: 8.75rem;
padding-bottom: 5rem;
}
.digital-theme-theme2 .dn-hero-bg {
background:
radial-gradient(circle at 50% 0%, rgba(15, 159, 122, 0.16), transparent 34%),
linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(247, 245, 239, 0.96));
}
.dark .digital-theme-theme2 .dn-hero-bg {
background:
radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.14), transparent 34%),
linear-gradient(180deg, rgba(15, 23, 36, 0.82), rgba(15, 23, 36, 0.98));
}
.digital-theme-theme2 .dn-hero-glow {
display: none;
}
.digital-theme-theme2 .dn-hero-title,
.digital-theme-theme2 .dn-section-title {
color: var(--dn-text);
font-family: var(--dn-font-display), var(--dn-font-body), sans-serif;
font-weight: 800;
letter-spacing: 0;
}
.digital-theme-theme2 .dn-hero-title {
max-width: 760px;
line-height: 1.02;
}
.digital-theme-theme2 .dn-hero-copy,
.digital-theme-theme2 .dn-section-copy,
.digital-theme-theme2 .dn-card p,
.digital-theme-theme2 footer p {
color: var(--dn-text-muted);
}
.digital-theme-theme2 .gradient-text {
background: linear-gradient(120deg, var(--dn-primary), var(--dn-cta), var(--dn-accent));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.digital-theme-theme2 .dn-badge {
border-color: rgba(79, 70, 229, 0.18);
border-radius: var(--dn-radius);
background: rgba(255, 255, 255, 0.74);
color: var(--dn-primary-strong);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.dark .digital-theme-theme2 .dn-badge {
border-color: rgba(139, 147, 255, 0.24);
background: rgba(17, 28, 44, 0.76);
}
.digital-theme-theme2 .dn-button-primary {
border: 1px solid transparent;
border-radius: var(--dn-radius);
background: var(--dn-cta);
color: #ffffff;
box-shadow: 0 14px 30px rgba(15, 159, 122, 0.24);
cursor: pointer;
}
.digital-theme-theme2 .dn-button-primary:hover {
background: var(--dn-cta-strong);
box-shadow: 0 16px 36px rgba(15, 159, 122, 0.3);
}
.digital-theme-theme2 .dn-button-secondary {
border-color: var(--dn-border);
border-radius: var(--dn-radius);
background: var(--dn-surface);
color: var(--dn-text);
box-shadow: none;
cursor: pointer;
}
.digital-theme-theme2 .dn-button-secondary:hover {
border-color: rgba(79, 70, 229, 0.28);
background: rgba(79, 70, 229, 0.07);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-button-accent {
border-radius: var(--dn-radius);
background: var(--dn-accent);
color: #ffffff;
}
.digital-theme-theme2 .dn-section {
background: transparent;
padding-top: 5.5rem;
padding-bottom: 5.5rem;
}
.digital-theme-theme2 .dn-roadmap {
background: linear-gradient(180deg, rgba(238, 247, 243, 0.72), rgba(247, 245, 239, 0.78));
}
.dark .digital-theme-theme2 .dn-roadmap {
background: linear-gradient(180deg, rgba(22, 34, 53, 0.72), rgba(15, 23, 36, 0.76));
}
.digital-theme-theme2 .dn-card,
.digital-theme-theme2 .community-card,
.digital-theme-theme2 .resource-card {
border-color: var(--dn-border);
border-radius: var(--dn-radius);
background: var(--dn-surface);
box-shadow: var(--dn-shadow);
}
.digital-theme-theme2 .dn-account-hero,
.digital-theme-theme2 .dn-account-panel,
.digital-theme-theme2 .dn-action-card,
.digital-theme-theme2 .dn-profile-menu {
border-color: var(--dn-border);
border-radius: var(--dn-radius);
background: var(--dn-surface);
box-shadow: var(--dn-shadow);
}
.digital-theme-theme2 .dn-card:hover,
.digital-theme-theme2 .card-hover:hover,
.digital-theme-theme2 .community-card:hover,
.digital-theme-theme2 .resource-card:hover,
.digital-theme-theme2 .dn-action-card:hover {
border-color: rgba(79, 70, 229, 0.28);
box-shadow: var(--dn-shadow-hover);
transform: translateY(-2px);
}
.digital-theme-theme2 .dn-profile-page {
color: var(--dn-text);
}
.digital-theme-theme2 .dn-profile-menu {
overflow: hidden;
}
.digital-theme-theme2 .dn-profile-menu-item {
border-radius: var(--dn-radius-sm);
color: var(--dn-text);
cursor: pointer;
}
.digital-theme-theme2 .dn-profile-menu-item:hover {
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-avatar-button {
background: var(--dn-primary);
}
.digital-theme-theme2 .dn-avatar-button:hover {
background: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-status-pill {
border: 1px solid rgba(79, 70, 229, 0.12);
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-muted-card {
background: color-mix(in srgb, var(--dn-bg-soft) 84%, white);
box-shadow: none;
}
.dark .digital-theme-theme2 .dn-muted-card {
background: color-mix(in srgb, var(--dn-bg-soft) 86%, black);
}
.digital-theme-theme2 .rounded-2xl,
.digital-theme-theme2 .rounded-xl {
border-radius: var(--dn-radius);
}
.digital-theme-theme2 .dn-icon-box {
border: 1px solid rgba(79, 70, 229, 0.12);
border-radius: var(--dn-radius-sm);
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary);
}
.digital-theme-theme2 .dn-card-accent {
background: linear-gradient(90deg, var(--dn-primary), var(--dn-cta), var(--dn-accent));
}
.digital-theme-theme2 .dn-counter {
border: 1px solid rgba(79, 70, 229, 0.12);
border-radius: 999px;
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .dn-text-link,
.digital-theme-theme2 .text-sky-600,
.digital-theme-theme2 .dark\:text-sky-400 {
color: var(--dn-primary);
}
.digital-theme-theme2 .dn-tool-link,
.digital-theme-theme2 .dn-resource-link {
border: 1px solid transparent;
border-radius: var(--dn-radius-sm);
background: rgba(23, 32, 51, 0.035);
color: var(--dn-text);
cursor: pointer;
}
.digital-theme-theme2 .dn-tool-link:hover,
.digital-theme-theme2 .dn-resource-link:hover {
border-color: rgba(79, 70, 229, 0.22);
background: rgba(79, 70, 229, 0.08);
color: var(--dn-primary-strong);
}
.dark .digital-theme-theme2 .dn-tool-link,
.dark .digital-theme-theme2 .dn-resource-link {
background: rgba(255, 255, 255, 0.045);
}
.digital-theme-theme2 .dn-subsection-title {
color: var(--dn-text);
font-family: var(--dn-font-display), var(--dn-font-body), sans-serif;
}
.digital-theme-theme2 .dn-resource-tile {
cursor: not-allowed;
}
.digital-theme-theme2 .dn-resource-tile > div {
border-color: var(--dn-border);
border-radius: var(--dn-radius);
background: var(--dn-surface);
}
.digital-theme-theme2 .dn-pagination {
color: var(--dn-text-muted);
}
.digital-theme-theme2 .dn-icon-button {
border-color: var(--dn-border);
background: var(--dn-surface);
}
.digital-theme-theme2 .dn-pan {
overflow: hidden;
}
.digital-theme-theme2 .dn-tabs {
border-color: var(--dn-border);
background: rgba(23, 32, 51, 0.025);
}
.dark .digital-theme-theme2 .dn-tabs {
background: rgba(255, 255, 255, 0.03);
}
.digital-theme-theme2 .dn-tab {
border-radius: var(--dn-radius-sm);
color: var(--dn-text-muted);
cursor: pointer;
}
.digital-theme-theme2 .dn-tab-active {
background: rgba(79, 70, 229, 0.12);
color: var(--dn-primary-strong);
}
.digital-theme-theme2 .form-input,
.digital-theme-theme2 input,
.digital-theme-theme2 textarea,
.digital-theme-theme2 select {
border-color: var(--dn-border);
border-radius: var(--dn-radius-sm);
}
@media (min-width: 640px) {
.digital-theme-theme2 .form-input {
border-color: var(--dn-border);
background: var(--dn-surface);
color: var(--dn-text);
}
.digital-theme-theme2 .form-input:focus {
border-color: var(--dn-primary);
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
}
.digital-theme-theme2 .dn-footer {
border-color: var(--dn-border);
background: color-mix(in srgb, var(--dn-surface) 84%, transparent);
}
.digital-theme-theme2 a:focus-visible,
.digital-theme-theme2 button:focus-visible,
.digital-theme-theme2 input:focus-visible,
.digital-theme-theme2 textarea:focus-visible,
.digital-theme-theme2 select:focus-visible {
outline: 3px solid rgba(79, 70, 229, 0.28);
outline-offset: 2px;
}
@media (max-width: 640px) {
.digital-theme-theme2 .dn-header {
top: 8px;
}
.digital-theme-theme2 .dn-header > .dn-container {
width: calc(100% - 1rem);
height: 56px;
}
.digital-theme-theme2 .dn-hero {
min-height: auto;
padding-top: 7.5rem;
}
.digital-theme-theme2 .dn-section {
padding-top: 4rem;
padding-bottom: 4rem;
}
}
@media (prefers-reduced-motion: reduce) {
.digital-theme-theme2 *,
.digital-theme-theme2 *::before,
.digital-theme-theme2 *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}