/* ============================================================
   数据流光 (Data Stream) - 全站主样式
   彩票开奖站核心CSS
   ============================================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tech-blue: #007BFF;
  --tech-blue-rgb: 0, 123, 255;
  --data-green: #28A745;
  --data-green-rgb: 40, 167, 69;
  --warn-yellow: #FFC107;
  --warn-yellow-rgb: 255, 193, 7;
  --deep-black: #121212;
  --dark-bg: #0F0F19;
  --card-bg: #1A1A2E;
  --card-border: #2A2A4A;
  --text-primary: #E0E6ED;
  --text-secondary: #8892A0;
  --text-muted: #5A6270;
  --hud-border: rgba(0, 123, 255, 0.3);
  --glow-blue: 0 0 15px rgba(0, 123, 255, 0.4);
  --glow-green: 0 0 15px rgba(40, 167, 69, 0.4);
  --glow-yellow: 0 0 15px rgba(255, 193, 7, 0.4);
  --font-mono: 'Roboto Mono', 'Courier New', monospace;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --grid-gap: 16px;
  --container-max: 1200px;
  --nav-height: 60px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--deep-black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

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

a {
  color: var(--tech-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--warn-yellow);
}

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

/* --- Container --- */
.ds-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Navigation --- */
.ds-nav {
  background: rgba(18, 18, 30, 0.95);
  border-bottom: 1px solid var(--hud-border);
  padding: 0 16px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* NOT sticky */
}

.ds-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.ds-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ds-nav-logo img {
  height: 36px;
  width: auto;
}

.ds-nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.ds-nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ds-nav-links a:hover,
.ds-nav-links a.active {
  color: var(--tech-blue);
  background: rgba(0, 123, 255, 0.1);
}

.ds-nav-links a[rel="nofollow"] {
  background: linear-gradient(135deg, var(--tech-blue), #0056b3);
  color: #fff;
  font-weight: 600;
}

.ds-nav-links a[rel="nofollow"]:hover {
  background: linear-gradient(135deg, #0056b3, var(--tech-blue));
}

/* Mobile menu toggle */
.ds-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.ds-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tech-blue);
  transition: all 0.3s ease;
}

.ds-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ds-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.ds-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile sidebar */
.ds-mobile-sidebar {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: rgba(15, 15, 25, 0.98);
  border-left: 1px solid var(--hud-border);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.ds-mobile-sidebar.open {
  right: 0;
}

.ds-mobile-sidebar a {
  display: block;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
  transition: all 0.3s ease;
}

.ds-mobile-sidebar a:hover {
  color: var(--tech-blue);
  padding-left: 24px;
}

.ds-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.ds-mobile-overlay.active {
  display: block;
}

/* --- HUD Card --- */
.ds-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.ds-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-blue), transparent);
}

.ds-card-glow {
  box-shadow: var(--glow-blue);
}

/* HUD corners */
.ds-hud-frame {
  position: relative;
}

.ds-hud-frame::before,
.ds-hud-frame::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--tech-blue);
  border-style: solid;
}

.ds-hud-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.ds-hud-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* --- Modular Grid --- */
.ds-grid {
  display: grid;
  gap: var(--grid-gap);
}

.ds-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ds-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ds-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Section --- */
.ds-section {
  padding: 48px 0;
  position: relative;
}

.ds-section-title {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.ds-section-title h2 {
  display: inline-block;
  padding: 0 20px;
  position: relative;
}

.ds-section-title h2::before,
.ds-section-title h2::after {
  content: '//';
  color: var(--tech-blue);
  font-family: var(--font-mono);
  margin: 0 8px;
  opacity: 0.6;
}

.ds-section-title .ds-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 8px;
}

/* --- Hero Section --- */
.ds-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ds-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18,18,30,0.7) 0%, rgba(18,18,30,0.9) 100%);
}

.ds-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.ds-hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
}

.ds-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* --- Data Wall --- */
.ds-data-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px 0;
}

.ds-lottery-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ds-lottery-card:hover {
  border-color: var(--tech-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.ds-lottery-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ds-lottery-card .card-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--tech-blue);
}

.ds-lottery-card .card-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ds-lottery-card .card-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.ds-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--tech-blue);
  box-shadow: 0 0 10px rgba(var(--tech-blue-rgb), 0.4);
}

.ds-ball.green { background: var(--data-green); box-shadow: 0 0 10px rgba(var(--data-green-rgb), 0.4); }
.ds-ball.yellow { background: var(--warn-yellow); color: #121212; box-shadow: 0 0 10px rgba(var(--warn-yellow-rgb), 0.4); }
.ds-ball.red { background: #DC3545; box-shadow: 0 0 10px rgba(220, 53, 69, 0.4); }
.ds-ball.purple { background: #9632C8; box-shadow: 0 0 10px rgba(150, 50, 200, 0.4); }

.ds-countdown {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--warn-yellow);
  text-align: center;
  padding: 8px 0;
}

.ds-pool-amount {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--data-green);
  text-align: right;
}

/* --- Lottery Ball Animation --- */
@keyframes ballPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.ds-ball-animate {
  animation: ballPulse 2s ease-in-out infinite;
}

/* --- Number Flip Animation --- */
@keyframes numberFlip {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}

.ds-flip {
  animation: numberFlip 0.6s ease-in-out;
}

/* --- Data Stream Background --- */
@keyframes dataStream {
  0% { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

.ds-stream-bg {
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(0, 123, 255, 0.03) 20px,
      rgba(0, 123, 255, 0.03) 21px
    );
  animation: dataStream 20s linear infinite;
}

/* --- Brand Section --- */
.ds-brand-section {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05));
  border-top: 1px solid var(--hud-border);
  border-bottom: 1px solid var(--hud-border);
}

.ds-brand-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ds-brand-text h3 {
  color: var(--tech-blue);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.ds-brand-text p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Trend Section --- */
.ds-trend-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ds-trend-tab {
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ds-trend-tab:hover,
.ds-trend-tab.active {
  border-color: var(--tech-blue);
  color: var(--tech-blue);
  background: rgba(0, 123, 255, 0.1);
}

/* --- Analysis Tools --- */
.ds-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.ds-tool-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.ds-tool-item:hover {
  border-color: var(--data-green);
  box-shadow: var(--glow-green);
}

.ds-tool-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--tech-blue);
  font-family: var(--font-mono);
}

/* --- Academy Section --- */
.ds-academy-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.ds-academy-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ds-academy-item:hover {
  border-color: var(--tech-blue);
  transform: translateY(-3px);
}

.ds-academy-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ds-academy-item .item-body {
  padding: 16px;
}

/* --- VIP Section --- */
.ds-vip-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.ds-vip-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.ds-vip-card.featured {
  border-color: var(--warn-yellow);
  box-shadow: var(--glow-yellow);
}

.ds-vip-card .vip-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--warn-yellow);
  margin: 16px 0;
}

.ds-vip-card .vip-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.ds-vip-card .vip-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ds-vip-card .vip-features li::before {
  content: '>';
  color: var(--data-green);
  font-family: var(--font-mono);
  margin-right: 8px;
}

/* --- News Section --- */
.ds-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.ds-news-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ds-news-item:hover {
  border-color: var(--tech-blue);
}

.ds-news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ds-news-item .news-body {
  padding: 16px;
}

.ds-news-item .news-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- License Section --- */
.ds-license-section {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(0, 123, 255, 0.05));
  border-top: 1px solid rgba(40, 167, 69, 0.2);
  border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.ds-license-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.ds-license-badge {
  text-align: center;
}

.ds-license-badge img {
  max-width: 250px;
  margin: 0 auto;
}

/* --- APP Section --- */
.ds-app-section {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 123, 255, 0.02));
}

.ds-app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ds-app-features {
  list-style: none;
}

.ds-app-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.ds-app-features li::before {
  content: '[+]';
  color: var(--tech-blue);
  font-family: var(--font-mono);
  margin-right: 10px;
}

/* --- QR Code --- */
.ds-qr-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.ds-qr-item {
  text-align: center;
}

.ds-qr-item img {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border: 2px solid var(--card-border);
  border-radius: 8px;
}

.ds-qr-label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--tech-blue);
}

/* --- Button --- */
.ds-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ds-btn-primary {
  background: linear-gradient(135deg, var(--tech-blue), #0056b3);
  color: #fff;
}

.ds-btn-primary:hover {
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
  color: #fff;
}

.ds-btn-outline {
  background: transparent;
  border: 1px solid var(--tech-blue);
  color: var(--tech-blue);
}

.ds-btn-outline:hover {
  background: rgba(0, 123, 255, 0.1);
}

.ds-btn-cta {
  background: linear-gradient(135deg, var(--warn-yellow), #e0a800);
  color: #121212;
  font-weight: 700;
}

.ds-btn-cta:hover {
  box-shadow: var(--glow-yellow);
  transform: translateY(-2px);
  color: #121212;
}

/* --- Footer --- */
.ds-footer {
  background: #0A0A14;
  border-top: 1px solid var(--hud-border);
  padding: 48px 0 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.ds-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.ds-footer-col h4 {
  color: var(--tech-blue);
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 123, 255, 0.2);
}

.ds-footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 4px 0;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.ds-footer-col a:hover {
  color: var(--tech-blue);
}

.ds-footer-col p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.ds-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.ds-footer-social a {
  display: inline-flex;
  padding: 0;
}

.ds-footer-social img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.ds-footer-social img:hover {
  border-color: var(--tech-blue);
  box-shadow: var(--glow-blue);
}

.ds-footer-bottom {
  border-top: 1px solid rgba(42, 42, 74, 0.5);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ds-footer-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ds-footer-payments img {
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.ds-footer-age {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ds-footer-age img {
  width: 40px;
  height: 40px;
}

.ds-footer-legal {
  text-align: center;
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.ds-footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* --- Inner Page --- */
.ds-page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ds-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18,18,30,0.6), rgba(18,18,30,0.95));
}

.ds-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.ds-article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
}

.ds-article-content h2,
.ds-article-content h3,
.ds-article-content h4 {
  color: var(--tech-blue);
  margin-top: 32px;
}

.ds-article-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.ds-article-content img {
  border-radius: 8px;
  border: 1px solid var(--card-border);
  margin: 24px 0;
}

.ds-article-content blockquote {
  border-left: 3px solid var(--tech-blue);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 0 8px 8px 0;
}

.ds-article-content blockquote p {
  color: var(--text-primary);
  font-style: italic;
}

/* Data insight box */
.ds-insight-box {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(0, 123, 255, 0.1));
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.ds-insight-box h4 {
  color: var(--data-green);
}

/* Analysis model box */
.ds-model-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}

.ds-model-box h4 {
  color: var(--warn-yellow);
  margin-bottom: 12px;
}

/* --- Image Gallery --- */
.ds-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.ds-gallery img {
  border-radius: 8px;
  border: 1px solid var(--card-border);
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.ds-gallery img:hover {
  border-color: var(--tech-blue);
  box-shadow: var(--glow-blue);
}

/* --- APP Download Page --- */
.ds-app-hero {
  background: linear-gradient(135deg, #0A0A14, #121230);
  min-height: 400px;
}

.ds-app-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.ds-app-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  position: relative;
}

.ds-app-step .step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--tech-blue);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  right: 16px;
}

.ds-app-advantage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.ds-app-advantage-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.ds-app-advantage-item:hover {
  border-color: var(--tech-blue);
  box-shadow: var(--glow-blue);
}

.ds-app-advantage-item .adv-icon {
  font-size: 1.5rem;
  color: var(--tech-blue);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

/* --- Breadcrumb --- */
.ds-breadcrumb {
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.ds-breadcrumb a {
  color: var(--text-muted);
}

.ds-breadcrumb span {
  color: var(--text-muted);
  margin: 0 6px;
}

.ds-breadcrumb .current {
  color: var(--tech-blue);
}

/* --- Table --- */
.ds-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.ds-table th {
  background: rgba(0, 123, 255, 0.15);
  color: var(--tech-blue);
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid var(--tech-blue);
}

.ds-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-secondary);
}

.ds-table tr:hover td {
  background: rgba(0, 123, 255, 0.05);
}

/* --- FAQ --- */
.ds-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ds-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.ds-faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.3s ease;
}

.ds-faq-question:hover {
  background: rgba(0, 123, 255, 0.05);
}

.ds-faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--tech-blue);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.ds-faq-item.open .ds-faq-question::after {
  content: '-';
}

.ds-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ds-faq-item.open .ds-faq-answer {
  padding: 0 20px 16px;
  max-height: 500px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .ds-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ds-brand-content { grid-template-columns: 1fr; }
  .ds-license-content { grid-template-columns: 1fr; }
  .ds-app-content { grid-template-columns: 1fr; }
  
  .ds-nav-links { display: none; }
  .ds-menu-toggle { display: flex; }
  .ds-mobile-sidebar { display: block; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  
  .ds-grid-2 { grid-template-columns: 1fr; }
  .ds-grid-3 { grid-template-columns: 1fr; }
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .ds-hero { min-height: 350px; }
  .ds-hero-content h1 { font-size: 1.8rem; }
  
  .ds-section { padding: 32px 0; }
  
  .ds-data-wall { grid-template-columns: 1fr; }
  
  .ds-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-footer-bottom { flex-direction: column; text-align: center; }
  
  .ds-gallery { grid-template-columns: 1fr; }
  
  .ds-news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ds-container { padding: 0 12px; }
  .ds-card { padding: 16px; }
  .ds-grid-4 { grid-template-columns: 1fr; }
  .ds-footer-grid { grid-template-columns: 1fr; }
  .ds-ball { width: 32px; height: 32px; font-size: 0.75rem; }
}

/* --- Utility --- */
.text-blue { color: var(--tech-blue); }
.text-green { color: var(--data-green); }
.text-yellow { color: var(--warn-yellow); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* --- Scanline effect --- */
.ds-scanline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.05) 2px,
    rgba(0, 0, 0, 0.05) 4px
  );
  pointer-events: none;
}
