:root {
  --spade-red: #e94560;
  --spade-dark: #1a1a2e;
  --spade-navy: #16213e;
  --spade-blue: #0f3460;
  --spade-purple: #533483;
  --spade-light: #f5f6fa;
  --spade-white: #ffffff;
  --spade-text: #2d3142;
  --spade-text-light: #6b7280;
  --spade-border: rgba(26, 26, 46, 0.08);
  --spade-glass: rgba(255, 255, 255, 0.72);
  --spade-glass-border: rgba(255, 255, 255, 0.45);
  --spade-shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --spade-shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
  --spade-shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.16);
  --spade-radius-sm: 10px;
  --spade-radius-md: 16px;
  --spade-radius-lg: 24px;
  --spade-radius-xl: 32px;
  --spade-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spade-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
  --spade-gradient-accent: linear-gradient(135deg, #e94560 0%, #533483 100%);
  --spade-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --spade-light: #0d1117;
    --spade-white: #161b22;
    --spade-text: #e6edf3;
    --spade-text-light: #8b949e;
    --spade-border: rgba(255, 255, 255, 0.08);
    --spade-glass: rgba(22, 27, 34, 0.78);
    --spade-glass-border: rgba(255, 255, 255, 0.1);
    --spade-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --spade-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --spade-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--spade-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--spade-text);
  background: var(--spade-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--spade-red);
  text-decoration: none;
  transition: color var(--spade-transition);
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--spade-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 1.75rem 0 0.75rem; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--spade-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--spade-glass-border);
  box-shadow: var(--spade-shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  transition: transform var(--spade-transition);
}

.logo:hover {
  transform: scale(1.04);
  color: inherit;
}

.logo svg {
  border-radius: var(--spade-radius-sm);
  box-shadow: var(--spade-shadow-sm);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--spade-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.02em;
}

#site-header nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--spade-text);
  border-radius: var(--spade-radius-sm);
  transition: all var(--spade-transition);
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--spade-gradient-accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--spade-transition);
}

.nav-list a:hover {
  color: var(--spade-red);
  background: rgba(233, 69, 96, 0.08);
}

.nav-list a:hover::after {
  width: 60%;
}

.search-form {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.search-form input {
  width: 180px;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--spade-text);
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: 999px;
  outline: none;
  transition: all var(--spade-transition);
}

.search-form input:focus {
  border-color: var(--spade-red);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
  width: 220px;
}

.search-form button {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--spade-white);
  background: var(--spade-gradient-accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--spade-transition);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.45);
}

.search-form button:active {
  transform: translateY(0);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--spade-gradient);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
  color: var(--spade-white);
  padding: 4rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(233, 69, 96, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(83, 52, 131, 0.45) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  width: 100%;
}

.hero h1 {
  color: var(--spade-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.8s ease both;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--spade-transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  color: var(--spade-white);
  background: var(--spade-gradient-accent);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
  color: var(--spade-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(233, 69, 96, 0.55);
}

.btn-secondary {
  color: var(--spade-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: var(--spade-white);
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  animation: fadeUp 0.8s 0.45s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--spade-radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--spade-transition);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.5);
}

.stat-num {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--spade-white);
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #ffb3c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-right: auto;
  width: 100%;
  animation: fadeUp 0.8s 0.6s ease both;
}

.hero-visual svg {
  width: 100%;
  border-radius: var(--spade-radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  transition: transform var(--spade-transition);
}

.hero-visual svg:hover {
  transform: translateY(-6px) rotate(-1deg);
}

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

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--spade-text-light);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--spade-text-light);
}

.breadcrumb a:hover {
  color: var(--spade-red);
}

.breadcrumb [aria-current="page"] {
  color: var(--spade-text);
  font-weight: 600;
}

/* ============ SECTIONS ============ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  animation: fadeUp 0.7s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

.section > p:first-of-type {
  font-size: 1.02rem;
}

.section h2 {
  position: relative;
  padding-bottom: 0.75rem;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--spade-gradient-accent);
}

/* ============ NEWS LIST ============ */
.news-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.news-list li {
  padding: 1rem 1.25rem;
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: var(--spade-radius-md);
  box-shadow: var(--spade-shadow-sm);
  transition: all var(--spade-transition);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--spade-shadow-md);
  border-color: rgba(233, 69, 96, 0.3);
}

.news-list time {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--spade-red);
  padding: 0.15rem 0.6rem;
  background: rgba(233, 69, 96, 0.08);
  border-radius: 999px;
}

/* ============ ARTICLES ============ */
#articles article {
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: var(--spade-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--spade-shadow-sm);
  transition: all var(--spade-transition);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--spade-gradient-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--spade-transition);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--spade-shadow-lg);
  border-color: rgba(233, 69, 96, 0.2);
}

#articles article:hover::before {
  transform: scaleY(1);
}

#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--spade-text);
}

#articles .meta {
  font-size: 0.82rem;
  color: var(--spade-text-light);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--spade-border);
}

#articles article a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.35rem 0;
  position: relative;
}

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

#articles article a:hover::after {
  margin-left: 6px;
}

/* ============ FAQ ============ */
#faq details {
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: var(--spade-radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--spade-transition);
  box-shadow: var(--spade-shadow-sm);
}

#faq details:hover {
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: var(--spade-shadow-md);
}

#faq details[open] {
  border-color: rgba(233, 69, 96, 0.4);
  box-shadow: var(--spade-shadow-md);
}

#faq summary {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--spade-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
  transition: color var(--spade-transition);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--spade-red);
  transition: transform var(--spade-transition);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

#faq summary:hover {
  color: var(--spade-red);
}

#faq details p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  animation: fadeUp 0.3s ease both;
}

/* ============ HOWTO ============ */
#howto ol {
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: var(--spade-radius-md);
  box-shadow: var(--spade-shadow-sm);
  transition: all var(--spade-transition);
  color: var(--spade-text-light);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--spade-white);
  background: var(--spade-gradient-accent);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(233, 69, 96, 0.3);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--spade-shadow-md);
  border-color: rgba(233, 69, 96, 0.3);
}

/* ============ CONTACT ============ */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.contact-list li {
  padding: 1rem 1.25rem;
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: var(--spade-radius-md);
  box-shadow: var(--spade-shadow-sm);
  font-size: 0.92rem;
  color: var(--spade-text);
  transition: all var(--spade-transition);
  word-break: break-word;
}

.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--spade-shadow-md);
  border-color: rgba(233, 69, 96, 0.3);
}

/* ============ SITEMAP & LINKS ============ */
.sitemap-list,
.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.sitemap-list a,
.links-list a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--spade-text);
  background: var(--spade-white);
  border: 1px solid var(--spade-border);
  border-radius: 999px;
  transition: all var(--spade-transition);
  box-shadow: var(--spade-shadow-sm);
}

.sitemap-list a:hover,
.links-list a:hover {
  color: var(--spade-white);
  background: var(--spade-gradient-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.35);
}

/* ============ FOOTER ============ */
#site-footer {
  background: var(--spade-gradient);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3rem;
  padding: 3rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(233, 69, 96, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(83, 52, 131, 0.3) 0%, transparent 45%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-brand strong {
  color: var(--spade-white);
  font-size: 1.1rem;
}

.footer-info h3 {
  color: var(--spade-white);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.footer-info h3:not(:first-child) {
  margin-top: 1rem;
}

.footer-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  line-height: 1.7;
}

.footer-meta p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--spade-white);
  background: var(--spade-gradient-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--spade-transition);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(233, 69, 96, 0.6);
}

#back-to-top:active {
  transform: translateY(0) scale(1);
}

#back-to-top.visible,
#back-to-top:focus-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }

  .hero-inner {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-visual {
    max-width: 100%;
    margin-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 1rem;
  }

  #site-header nav {
    order: 3;
    flex-basis: 100%;
  }

  .nav-list {
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  .search-form {
    margin-left: auto;
  }

  .search-form input {
    width: 140px;
  }

  .search-form input:focus {
    width: 160px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0.6rem 1rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo svg {
    width: 34px;
    height: 34px;
  }

  .search-form {
    width: 100%;
    order: 4;
    flex-basis: 100%;
  }

  .search-form input {
    flex: 1;
    width: 100%;
  }

  .search-form input:focus {
    width: 100%;
  }

  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 0.6rem;
  }

  .stat {
    padding: 0.7rem 0.8rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .breadcrumb {
    padding: 1rem 1rem 0;
  }

  .news-list li {
    padding: 0.85rem 1rem;
    flex-direction: column;
    gap: 0.35rem;
  }

  #articles article {
    padding: 1.25rem;
  }

  #faq summary {
    padding: 0.9rem 1.1rem;
    padding-right: 2.75rem;
    font-size: 0.95rem;
  }

  #faq summary::after {
    right: 1.1rem;
  }

  #faq details p {
    padding: 0 1.1rem 1rem;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  #howto ol li {
    padding: 0.85rem 1rem 0.85rem 3rem;
  }

  #howto ol li::before {
    left: 0.75rem;
  }

  #site-footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  #back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ============ REDUCED MOTION ============ */
@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;
  }
}

/* ============ FOCUS VISIBLE ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--spade-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ SELECTION ============ */
::selection {
  background: rgba(233, 69, 96, 0.25);
  color: var(--spade-text);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e94560, #533483);
  border-radius: 999px;
  border: 2px solid var(--spade-light);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff5c77, #6a45a3);
}