:root {
  --spade-black: #1a1a2e;
  --spade-dark: #16213e;
  --spade-deep: #0f3460;
  --spade-accent: #e94560;
  --spade-accent-2: #ff6b6b;
  --spade-gold: #f9c74f;
  --spade-purple: #9b5de5;
  --spade-cyan: #00bbf9;
  --text-primary: #f0f0f5;
  --text-secondary: #b8b8cc;
  --text-muted: #8888a0;
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: rgba(22, 33, 62, 0.55);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 48px rgba(233, 69, 96, 0.25);
  --shadow-glow: 0 0 40px rgba(233, 69, 96, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-height: 68px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(155, 93, 229, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(233, 69, 96, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 187, 249, 0.1) 0%, transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 4px
    );
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: var(--spade-accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--spade-accent), var(--spade-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--spade-accent-2), var(--spade-purple));
}

a {
  color: var(--spade-accent-2);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--spade-gold);
}

a:focus-visible {
  outline: 2px solid var(--spade-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  background: linear-gradient(135deg, #fff 0%, var(--spade-gold) 40%, var(--spade-accent-2) 70%, var(--spade-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  animation: gradientShift 6s ease infinite;
  background-size: 200% 200%;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--spade-accent), var(--spade-purple), transparent);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

section:hover h2::after {
  width: 100px;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--spade-gold);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  transition: color var(--transition-fast);
}

h3:hover {
  color: var(--spade-accent-2);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(233, 69, 96, 0.2); }
  50% { box-shadow: 0 0 40px rgba(233, 69, 96, 0.4); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.7s ease-out both;
}

section:nth-child(even) {
  animation-delay: 0.05s;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(26, 26, 46, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

header:hover {
  background: rgba(26, 26, 46, 0.88);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

nav > a:first-child {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--spade-accent), var(--spade-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  position: relative;
  transition: transform var(--transition-spring);
}

nav > a:first-child:hover {
  transform: scale(1.05);
}

nav > a:first-child::after {
  content: "♠";
  position: absolute;
  right: -1.1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85em;
  -webkit-text-fill-color: var(--spade-accent);
  color: var(--spade-accent);
  opacity: 0.7;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav ul li a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

nav ul li a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--spade-accent), var(--spade-purple));
  border-radius: 1px;
  transition: transform var(--transition-smooth);
}

nav ul li a:hover {
  color: #fff;
  background: var(--bg-glass);
}

nav ul li a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth),
    background var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.25);
  background: rgba(22, 33, 62, 0.7);
}

section:hover::before {
  opacity: 1;
}

#home {
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.12) 0%, rgba(155, 93, 229, 0.1) 50%, rgba(0, 187, 249, 0.08) 100%),
    var(--bg-card);
  border-color: rgba(233, 69, 96, 0.2);
  padding: 3rem 2.5rem;
}

#home::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

#home p {
  font-size: 1.05rem;
  max-width: 800px;
}

#home p:first-of-type {
  color: var(--text-primary);
  font-size: 1.1rem;
}

#products h3,
#solutions h3,
#advantages h3 {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(155, 93, 229, 0.12));
  border: 1px solid rgba(233, 69, 96, 0.2);
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  transition: all var(--transition-smooth);
}

#products h3:hover,
#solutions h3:hover,
#advantages h3:hover {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.25), rgba(155, 93, 229, 0.2));
  border-color: rgba(233, 69, 96, 0.4);
  transform: translateX(6px);
}

#cases {
  background:
    linear-gradient(160deg, rgba(249, 199, 79, 0.06) 0%, rgba(233, 69, 96, 0.08) 100%),
    var(--bg-card);
}

#cases h3 {
  padding-left: 1rem;
  border-left: 3px solid var(--spade-gold);
  margin-left: 0;
  transition: border-color var(--transition-fast), padding-left var(--transition-smooth);
}

#cases h3:hover {
  border-color: var(--spade-accent);
  padding-left: 1.5rem;
}

#cases p:last-of-type {
  background: var(--bg-glass);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--spade-purple);
  color: var(--text-primary);
  line-height: 2;
  font-size: 0.95rem;
}

#news article {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth),
    background var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

#news article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--spade-accent), var(--spade-purple));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

#news article:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(233, 69, 96, 0.2);
  background: var(--bg-glass-strong);
}

#news article:hover::before {
  opacity: 1;
}

#news article h3 {
  margin-top: 0;
  color: var(--text-primary);
}

#news article h3:hover {
  color: var(--spade-accent-2);
}

#news article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

#news article a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--spade-accent-2);
  position: relative;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

#news article a:hover {
  color: var(--spade-gold);
  transform: translateX(4px);
}

#news article a::after {
  content: " →";
  transition: margin-left var(--transition-fast);
}

#news article a:hover::after {
  margin-left: 4px;
}

#knowledge {
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.06) 0%, rgba(155, 93, 229, 0.06) 100%),
    var(--bg-card);
}

#faq h3 {
  cursor: pointer;
  padding: 0.75rem 1rem 0.75rem 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  margin-bottom: 0;
  position: relative;
  transition: all var(--transition-smooth);
  color: var(--text-primary);
  font-size: 1rem;
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--spade-accent);
  background: rgba(233, 69, 96, 0.15);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

#faq h3:hover {
  background: var(--bg-glass-strong);
  border-color: rgba(233, 69, 96, 0.25);
  color: var(--spade-accent-2);
  transform: translateX(4px);
}

#faq h3:hover::before {
  background: var(--spade-accent);
  color: #fff;
}

#faq h3 + p {
  padding: 0.75rem 1rem 0.75rem 2rem;
  margin-bottom: 0.5rem;
  font-size: 0.925rem;
  border-left: 2px solid rgba(233, 69, 96, 0.15);
  margin-left: 0.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

#faq h3 + p:hover {
  border-color: var(--spade-accent);
  background: rgba(233, 69, 96, 0.04);
}

#howto ol {
  counter-reset: step-counter;
  padding-left: 0;
  margin: 1.5rem 0;
}

#howto ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.5rem;
  margin-bottom: 0.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--spade-accent), var(--spade-purple));
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}

#howto ol li:hover {
  background: var(--bg-glass-strong);
  border-color: rgba(233, 69, 96, 0.25);
  transform: translateX(6px);
  color: var(--text-primary);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.5);
}

#contact {
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.08) 0%, rgba(249, 199, 79, 0.06) 100%),
    var(--bg-card);
}

#contact p {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: padding-left var(--transition-fast), border-color var(--transition-fast);
}

#contact p:hover {
  padding-left: 0.5rem;
  border-color: rgba(233, 69, 96, 0.2);
}

#contact p:last-of-type {
  border-bottom: none;
}

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition-smooth);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(155, 93, 229, 0.15));
  border-color: rgba(233, 69, 96, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.2);
}

#legal {
  background:
    linear-gradient(180deg, rgba(15, 52, 96, 0.15) 0%, transparent 100%),
    var(--bg-card);
}

#legal h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

#legal h2:first-child {
  margin-top: 0;
}

#legal h2::after {
  width: 40px;
  height: 2px;
}

#author {
  background:
    linear-gradient(135deg, rgba(155, 93, 229, 0.08) 0%, rgba(0, 187, 249, 0.06) 100%),
    var(--bg-card);
  border-color: rgba(155, 93, 229, 0.15);
}

#author p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

#author p::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--spade-purple);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(155, 93, 229, 0.5);
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(22, 33, 62, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  margin-top: 2rem;
}

footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

footer p:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

footer p:first-child {
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  main {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  section {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  #home {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 15px;
  }

  nav {
    padding: 0 1rem;
  }

  nav ul {
    gap: 0.1rem;
  }

  nav ul li a {
    padding: 0.35rem 0.55rem;
    font-size: 0.78rem;
  }

  main {
    padding: calc(var(--header-height) + 1.25rem) 1rem 3rem;
  }

  section {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
  }

  #home {
    padding: 2rem 1.5rem;
  }

  #home::after {
    width: 250px;
    height: 250px;
    right: -30%;
  }

  h2 {
    margin-bottom: 1.25rem;
  }

  #news article {
    padding: 1.15rem;
  }

  #news article:hover {
    transform: translateX(3px);
  }

  #faq h3 {
    font-size: 0.925rem;
    padding: 0.65rem 0.85rem 0.65rem 1.85rem;
  }

  #faq h3::before {
    left: 0.6rem;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  #faq h3 + p {
    padding: 0.65rem 0.85rem 0.65rem 1.85rem;
    font-size: 0.875rem;
  }

  #howto ol li {
    padding: 0.75rem 0.85rem 0.75rem 3rem;
    font-size: 0.9rem;
  }

  #howto ol li::before {
    left: 0.6rem;
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.4rem;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
  }

  footer {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  nav > a:first-child {
    font-size: 1.05rem;
  }

  nav > a:first-child::after {
    display: none;
  }

  nav ul li a {
    padding: 0.3rem 0.4rem;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  section {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }

  #home {
    padding: 1.5rem 1rem;
  }

  #home p {
    font-size: 0.925rem;
  }

  #cases p:last-of-type {
    padding: 1rem;
    font-size: 0.875rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a0;
    --bg-primary: #f5f5fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-strong: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 48px rgba(233, 69, 96, 0.15);
  }

  body {
    background-color: var(--bg-primary);
    background-image:
      radial-gradient(ellipse 80% 60% at 10% 0%, rgba(155, 93, 229, 0.08) 0%, transparent 60%),
      radial-gradient(ellipse 70% 50% at 90% 20%, rgba(233, 69, 96, 0.06) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 187, 249, 0.05) 0%, transparent 60%);
  }

  body::before {
    display: none;
  }

  header {
    background: rgba(255, 255, 255, 0.75);
  }

  header:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  }

  nav ul li a:hover {
    color: var(--spade-accent);
  }

  h1 {
    background: linear-gradient(135deg, var(--spade-black) 0%, var(--spade-accent) 40%, var(--spade-purple) 70%, var(--spade-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  section:hover {
    background: rgba(255, 255, 255, 0.85);
  }

  #home {
    background:
      linear-gradient(135deg, rgba(233, 69, 96, 0.06) 0%, rgba(155, 93, 229, 0.05) 50%, rgba(0, 187, 249, 0.04) 100%),
      var(--bg-card);
  }

  footer {
    background: rgba(255, 255, 255, 0.7);
  }

  #faq h3:hover {
    color: var(--spade-accent);
  }

  #news article a:hover {
    color: var(--spade-accent);
  }

  #sitemap ul li a:hover,
  #links ul li a:hover {
    color: var(--spade-accent);
  }
}

@media print {
  header,
  footer,
  #sitemap,
  #links {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}