```css
:root {
  --primary: #7C5CFC;
  --primary-light: #F0EBFF;
  --bg: #F8F4FF;
  --card-bg: #FFFFFF;
  --text: #1A1A2E;
  --text-title: #0D0820;
  --link: #4A4AF0;
  --link-hover: #6B4CFF;
  --border: #E4D5FF;
  --tag-bg: #EDE7FF;
  --tag-text: #3A2A6B;
  --rating: #FFB800;
  --gradient-banner: linear-gradient(135deg, #7C5CFC 0%, #B39DFF 50%, #E0D4FF 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark mode */
[data-theme="dark"] {
  --primary: #9B7FFF;
  --primary-light: #2A2350;
  --bg: #12101A;
  --card-bg: #1E1B2E;
  --text: #E0D9F5;
  --text-title: #F0EBFF;
  --link: #B39DFF;
  --link-hover: #D0C4FF;
  --border: #3A2A6B;
  --tag-bg: #2A2350;
  --tag-text: #D0C4FF;
  --gradient-banner: linear-gradient(135deg, #4A3A8A 0%, #7C5CFC 50%, #B39DFF 100%);
  --glass-bg: rgba(30, 27, 46, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* Header */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo h1 {
  font-size: 28px;
  color: var(--text-title);
  font-weight: 800;
  background: var(--gradient-banner);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-fast);
}

.logo h1:hover {
  transform: scale(1.05);
}

.logo h1 a {
  color: inherit;
  text-decoration: none;
  -webkit-text-fill-color: transparent;
}

.logo span {
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-banner);
  opacity: 0.1;
  transition: left var(--transition-base);
}

.main-nav a:hover::before {
  left: 0;
}

.main-nav a:hover {
  background: var(--primary-light);
  color: var(--text-title);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Main layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 0;
}

@media (max-width: 992px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
}

.main-content {
  min-width: 0;
  animation: fadeInUp 0.6s ease both;
}

.sidebar {
  min-width: 0;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Sections */
.section {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-banner);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: 24px;
  color: var(--text-title);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.section-title::before {
  content: "";
  width: 8px;
  height: 24px;
  background: var(--gradient-banner);
  border-radius: 4px;
  animation: pulse 2s infinite;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-title);
  margin: 20px 0 12px;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  animation: fadeInUp 0.5s ease both;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover img {
  transform: scale(1.08);
}

.card-body {
  padding: 12px;
  position: relative;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.card:hover .card-title {
  color: var(--primary);
}

.card-meta {
  font-size: 13px;
  color: var(--text);
  opacity: 0.85;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

/* Detail section */
.detail-article {
  line-height: 1.8;
}

.detail-article h3 {
  color: var(--text-title);
  font-size: 20px;
  margin: 20px 0 10px;
  position: relative;
  padding-left: 12px;
}

.detail-article h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  background: var(--gradient-banner);
  border-radius: 2px;
}

.detail-article p {
  margin-bottom: 12px;
}

.detail-info {
  background: var(--bg);
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  border-left: 4px solid var(--primary);
  transition: transform var(--transition-base);
}

.detail-info:hover {
  transform: translateX(8px);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Characters */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.char-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-banner);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.char-card:hover::before {
  transform: scaleX(1);
}

.char-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.char-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.char-card:hover img {
  border-color: var(--primary);
  transform: scale(1.05);
}

.char-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
}

.char-role {
  color: var(--primary);
  font-size: 14px;
  margin: 4px 0;
}

.char-desc {
  font-size: 14px;
  text-align: left;
  margin-top: 8px;
}

/* Platform */
.platform-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-item {
  background: var(--bg);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-item strong {
  display: block;
  color: var(--text-title);
  font-size: 16px;
  margin-bottom: 6px;
}

/* App download */
.app-download {
  text-align: center;
  padding: 32px;
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.app-download h3 {
  font-size: 24px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.app-download p {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.app-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.3);
}

.app-btn:hover {
  background: var(--link-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}

.app-btn-secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.app-btn-secondary:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Comments */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.comment-item:hover {
  border-color: var(--primary);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-user {
  font-weight: 600;
  color: var(--text-title);
}

.comment-time {
  font-size: 13px;
  opacity: 0.75;
}

.comment-text {
  font-size: 15px;
}

/* Sidebar */
.sidebar-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: 18px;
  color: var(--text-title);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--gradient-banner);
}

.rank-list {
  list-style: none;
}

.rank-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-list li:hover {
  padding-left: 8px;
  color: var(--primary);
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--tag-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.rank-list li:hover .rank-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.rank-list li:nth-child(-n+3) .rank-num {
  background: var(--gradient-banner);
  color: #fff;
}

.stat-list {
  list-style: none;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.stat-list li:last-child {
  border-bottom: none;
}

.stat-list li:hover {
  padding: 8px 8px;
  background: var(--primary-light);
  border-radius: 4px;
}

.stat-value {
  font-weight: 700;
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 32px 0 20px;
  margin-top: 24px;
  transition: background var(--transition-base);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  padding: 8px 0;
  opacity: 0.9;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 13px;
  margin-top: 8px;
}

.footer-legal a {
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .main-nav ul {
    flex-wrap: nowrap;
    min-width: max-content;
  }
  
  .main-nav a {
    white-space: nowrap;
  }
  
  .section {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
  
  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .card img {
    height: 160px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .detail-article h3 {
    font-size: 18px;
  }
  
  .app-download {
    padding: 24px;
  }
  
  .app-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
  
  .comment-item {
    padding: 12px;
  }
  
  .sidebar-card {
    padding: 16px;
  }
  
  .platform-features {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .logo h1 {
    font-size: 24px;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .card img {
    height: 140px;
  }
  
  .card-title {
    font-size: 14px;
  }
  
  .card-meta {
    font-size: 12px;
  }
  
  .char-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .char-card img {
    width: 80px;
    height: 80px;
  }
  
  .char-name {
    font-size: 16px;
  }
  
  .char-desc {
    font-size: 12px;
  }
  
  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .app-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .footer-links {
    gap: 8px;
  }
  
  .footer-links a {
    font-size: 12px;
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(45deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Scroll animations */
.card {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:nth-child(5) { animation-delay: 0.2s; }
.card:nth-child(6) { animation-delay: 0.25s; }
.card:nth-child(7) { animation-delay: 0.3s; }
.card:nth-child(8) { animation-delay: 0.35s; }
.card:nth-child(9) { animation-delay: 0.4s; }
.card:nth-child(10) { animation-delay: 0.45s; }
.card:nth-child(11) { animation-delay: 0.5s; }
.card:nth-child(12) { animation-delay: 0.55s; }
.card:nth-child(13) { animation-delay: 0.6s; }
.card:nth-child(14) { animation-delay: 0.65s; }
.card:nth-child(15) { animation-delay: 0.7s; }
.card:nth-child(16) { animation-delay: 0.75s; }

.char-card {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.char-card:nth-child(1) { animation-delay: 0s; }
.char-card:nth-child(2) { animation-delay: 0.1s; }
.char-card:nth-child(3) { animation-delay: 0.2s; }
.char-card:nth-child(4) { animation-delay: 0.3s; }
.char-card:nth-child(5) { animation-delay: 0.4s; }
.char-card:nth-child(6) { animation-delay: 0.5s; }

.comment-item {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.comment-item:nth-child(1) { animation-delay: 0s; }
.comment-item:nth-child(2) { animation-delay: 0.05s; }
.comment-item:nth-child(3) { animation-delay: 0.1s; }
.comment-item:nth-child(4) { animation-delay: 0.15s; }
.comment-item:nth-child(5) { animation-delay: 0.2s; }
.comment-item:nth-child(6) { animation-delay: 0.25s; }
.comment-item:nth-child(7) { animation-delay: 0.3s; }
.comment-item:nth-child(8) { animation-delay: 0.35s; }
.comment-item:nth-child(9) { animation-delay: 0.4s; }
.comment-item:nth-child(10) { animation-delay: 0.45s; }
.comment-item:nth-child(11) { animation-delay: 0.5s; }
.comment-item:nth-child(12) { animation-delay: 0.55s; }
.comment-item:nth-child(13) { animation-delay: 0.6s; }
.comment-item:nth-child(14) { animation-delay: 0.65s; }
.comment-item:nth-child(15) { animation-delay: 0.7s; }
.comment-item:nth-child(16) { animation-delay: 0.75s; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .section {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .section:nth-child(1) { animation-delay: 0s; }
  .section:nth-child(2) { animation-delay: 0.1s; }
  .section:nth-child(3) { animation-delay: 0.2s; }
  .section:nth-child(4) { animation-delay: 0.3s; }
  .section:nth-child(5) { animation-delay: 0.4s; }
  .section:nth-child(6) { animation-delay: 0.5s; }
  .section:nth-child(7) { animation-delay: 0.6s; }
}

/* Dark mode toggle button */
.theme-toggle {
  background: var(--primary-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text-title);
}

/* Utility classes */
.text-gradient {
  background: var(--gradient-banner);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.shadow-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--link-hover);
}

/* Selection */
::selection {
  background: var(--primary);
  color: #fff;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .app-download,
  .theme-toggle {
    display: none;
  }
  
  .content-layout {
    grid-template-columns: 1fr;
  }
  
  .section {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
```