/* ============================================
   DICE-ORACLE 主样式表
   CSS前缀: do-
   设计风格: 占卜水晶风
   ============================================ */

/* === 本地字体加载 === */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-code-pro-400.ttf') format('truetype');
}

/* === CSS变量 === */
:root {
  --do-bg-primary: #2C1E4A;
  --do-bg-secondary: #1a1230;
  --do-accent: #4D9FFF;
  --do-silver: #C0C0C0;
  --do-red: #FF4757;
  --do-text: #e0dce8;
  --do-text-muted: #9a94a8;
  --do-card-bg: rgba(44, 30, 74, 0.85);
  --do-card-border: rgba(77, 159, 255, 0.2);
  --do-card-shadow: 0 6px 25px rgba(77, 159, 255, 0.1);
  --do-radius-card: 8px;
  --do-radius-btn: 50px;
  --do-radius-avatar: 50%;
  --do-radius-panel: 12px;
  --do-font-title: 'Cormorant Garamond', Georgia, serif;
  --do-font-body: 'Lato', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --do-font-mono: 'Source Code Pro', monospace;
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--do-font-body);
  font-weight: 400;
  color: var(--do-text);
  background-color: var(--do-bg-secondary);
  background-image: url('../images/starfield-bg.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--do-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #7bb8ff;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--do-font-title);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* === 导航栏 === */
.do-header {
  width: 100%;
  height: 72px;
  background: rgba(44, 30, 74, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  border-bottom: 1px solid rgba(77, 159, 255, 0.15);
}

.do-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.do-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--do-accent), #7b3fe4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--do-font-title);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 0 15px rgba(77, 159, 255, 0.5);
}

.do-logo-text {
  font-family: var(--do-font-title);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

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

.do-nav a {
  color: var(--do-silver);
  font-size: 14px;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.do-nav a:hover,
.do-nav a.do-active {
  color: var(--do-accent);
  border-bottom-color: var(--do-accent);
}

/* 汉堡菜单 */
.do-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}
.do-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--do-silver);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.do-hamburger.do-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.do-hamburger.do-open span:nth-child(2) {
  opacity: 0;
}
.do-hamburger.do-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航面板 */
.do-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(26, 18, 48, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: right 0.35s ease;
}
.do-mobile-nav.do-open {
  right: 0;
}
.do-mobile-nav a {
  color: var(--do-silver);
  font-size: 20px;
  padding: 18px 0;
  display: block;
  text-align: center;
  transition: color 0.2s ease;
  line-height: 60px;
}
.do-mobile-nav a:hover,
.do-mobile-nav a.do-active {
  color: var(--do-accent);
}
.do-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.do-mobile-close::before,
.do-mobile-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--do-silver);
}
.do-mobile-close::before { transform: rotate(45deg); }
.do-mobile-close::after { transform: rotate(-45deg); }

/* === 模块1: 神谕天幕 Banner === */
.do-banner {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}
.do-banner-slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease;
}
.do-banner-slide {
  width: calc(100% / 3);
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.do-banner-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.do-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26,18,48,0.3), rgba(26,18,48,0.85));
}
.do-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}
.do-banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(77,159,255,0.4);
}
.do-banner-content p {
  font-size: 1.05rem;
  color: var(--do-text);
  margin-bottom: 28px;
  line-height: 1.8;
}
.do-banner-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.do-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(192,192,192,0.4);
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.do-banner-dot.do-active {
  background: var(--do-accent);
  box-shadow: 0 0 10px var(--do-accent);
}

/* === 通用按钮 === */
.do-btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: var(--do-radius-btn);
  font-family: var(--do-font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.do-btn:hover {
  transform: translateY(-2px);
}
.do-btn-primary {
  background: linear-gradient(135deg, var(--do-accent), #7b3fe4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(77,159,255,0.35);
}
.do-btn-primary:hover {
  box-shadow: 0 6px 30px rgba(77,159,255,0.5);
  color: #fff;
}
.do-btn-outline {
  background: transparent;
  color: var(--do-accent);
  border: 1px solid var(--do-accent);
}
.do-btn-outline:hover {
  background: rgba(77,159,255,0.1);
  color: var(--do-accent);
}

/* === 通用区块标题 === */
.do-section {
  padding: 64px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.do-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.do-section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.do-section-title p {
  color: var(--do-text-muted);
  font-size: 1rem;
}
.do-section-title .do-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--do-accent), #7b3fe4);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === 模块2: 实时天机板 === */
.do-ticker-wrap {
  padding: 40px 0;
  overflow: hidden;
  background: rgba(26,18,48,0.6);
  border-top: 1px solid var(--do-card-border);
  border-bottom: 1px solid var(--do-card-border);
}
.do-ticker-track {
  display: flex;
  gap: 24px;
  animation: do-scroll 30s linear infinite;
  width: max-content;
}
@keyframes do-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.do-ticker-card {
  flex-shrink: 0;
  width: 320px;
  height: 180px;
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-card);
  padding: 20px;
  box-shadow: var(--do-card-shadow);
  position: relative;
}
.do-ticker-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.do-ticker-card-name {
  font-family: var(--do-font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.do-ticker-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--do-accent);
  animation: do-blink 1.5s ease infinite;
}
.do-ticker-status.do-ended {
  background: #666;
  animation: none;
}
@keyframes do-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.do-ticker-numbers {
  font-family: var(--do-font-mono);
  font-size: 1.5rem;
  color: var(--do-accent);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.do-ticker-meta {
  font-size: 0.8rem;
  color: var(--do-text-muted);
}
.do-ticker-meta span {
  margin-right: 12px;
}

/* === 模块3: 占星术士专栏 === */
.do-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.do-article-card {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.do-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(77,159,255,0.2);
}
.do-article-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.do-article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.do-article-card:hover .do-article-card-img img {
  transform: scale(1.05);
}
.do-article-card-body {
  padding: 20px;
}
.do-article-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.do-article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.do-article-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.do-article-author span {
  font-size: 0.85rem;
  color: var(--do-silver);
}
.do-article-card-body p {
  font-size: 0.9rem;
  color: var(--do-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === 模块4: 幸运数字榜 === */
.do-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.do-tab {
  padding: 8px 24px;
  border-radius: var(--do-radius-btn);
  background: rgba(77,159,255,0.1);
  color: var(--do-silver);
  cursor: pointer;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.do-tab:hover,
.do-tab.do-active {
  background: rgba(77,159,255,0.2);
  color: var(--do-accent);
  border-color: var(--do-accent);
}
.do-ranking-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.do-ranking-col {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 24px;
}
.do-ranking-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--do-accent);
  text-align: center;
}
.do-ranking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(77,159,255,0.08);
}
.do-ranking-item:last-child {
  border-bottom: none;
}
.do-ranking-num {
  font-family: var(--do-font-mono);
  font-size: 1.3rem;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77,159,255,0.15);
  border-radius: 8px;
}
.do-ranking-bar {
  flex: 1;
  margin: 0 16px;
  height: 6px;
  background: rgba(77,159,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.do-ranking-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--do-accent), #7b3fe4);
}
.do-ranking-count {
  font-family: var(--do-font-mono);
  font-size: 0.85rem;
  color: var(--do-text-muted);
  min-width: 60px;
  text-align: right;
}

/* === 模块5: 开奖倒计时祭坛 === */
.do-countdown-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(to bottom, rgba(26,18,48,0.4), rgba(44,30,74,0.6));
  position: relative;
}
.do-countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.do-countdown-timer {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  justify-content: center;
}
.do-countdown-unit {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-card);
  padding: 16px 20px;
  min-width: 72px;
  text-align: center;
}
.do-countdown-unit .do-num {
  font-family: var(--do-font-mono);
  font-size: 2.2rem;
  color: var(--do-accent);
  display: block;
}
.do-countdown-unit .do-label {
  font-size: 0.75rem;
  color: var(--do-text-muted);
  margin-top: 4px;
}
.do-countdown-history {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 24px;
  text-align: left;
  min-width: 280px;
}
.do-countdown-history h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--do-accent);
}
.do-history-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(77,159,255,0.08);
  font-size: 0.85rem;
}
.do-history-item span:first-child {
  color: var(--do-text-muted);
}
.do-history-item span:last-child {
  font-family: var(--do-font-mono);
  color: var(--do-accent);
}

/* === 模块6: 预言家学院 === */
.do-academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.do-academy-card {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.do-academy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--do-card-shadow);
}
.do-academy-level {
  display: inline-block;
  padding: 4px 16px;
  border-radius: var(--do-radius-btn);
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.do-level-beginner { background: rgba(77,159,255,0.2); color: var(--do-accent); }
.do-level-intermediate { background: rgba(192,192,192,0.2); color: var(--do-silver); }
.do-level-advanced { background: rgba(255,71,87,0.2); color: var(--do-red); }
.do-academy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.do-academy-card p {
  font-size: 0.9rem;
  color: var(--do-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* === 模块7: 命运罗盘 === */
.do-compass-section {
  text-align: center;
  padding: 80px 24px;
}
.do-compass-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
}
.do-compass-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--do-card-border);
  box-shadow: 0 0 40px rgba(77,159,255,0.2);
}
.do-compass-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: do-rotate 60s linear infinite;
}
@keyframes do-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.do-compass-item {
  position: absolute;
  width: 120px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.do-compass-item:hover {
  transform: scale(1.1);
}
.do-compass-item-name {
  font-family: var(--do-font-title);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}
.do-compass-item-count {
  font-size: 0.75rem;
  color: var(--do-accent);
}

/* === 模块8: 预言家广场 === */
.do-forum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.do-forum-posts {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 24px;
}
.do-forum-post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(77,159,255,0.08);
}
.do-forum-post:last-child { border-bottom: none; }
.do-forum-post-title {
  font-size: 0.95rem;
  color: #fff;
  flex: 1;
  margin-right: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.do-forum-post-meta {
  font-size: 0.8rem;
  color: var(--do-text-muted);
  white-space: nowrap;
}
.do-tagcloud {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  align-content: center;
}
.do-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--do-radius-btn);
  background: rgba(77,159,255,0.1);
  color: var(--do-silver);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.do-tag:hover {
  background: rgba(77,159,255,0.25);
  color: var(--do-accent);
}
.do-tag-hot {
  font-size: 1.1rem;
  background: rgba(77,159,255,0.2);
  color: var(--do-accent);
}
.do-tag-fire {
  font-size: 1.3rem;
  background: rgba(255,71,87,0.15);
  color: var(--do-red);
}

/* === 模块9: 水晶球快讯 === */
.do-news-list {
  max-width: 800px;
  margin: 0 auto;
}
.do-news-item {
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-card);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}
.do-news-item:hover {
  transform: translateX(4px);
}
.do-news-item.do-urgent {
  border-left: 3px solid var(--do-red);
}
.do-news-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.do-news-item .do-news-meta {
  font-size: 0.8rem;
  color: var(--do-text-muted);
}
.do-news-item .do-news-meta span {
  margin-right: 16px;
}

/* === 模块10: 神殿基石 === */
.do-honor-section {
  padding: 64px 24px;
  text-align: center;
  background: rgba(26,18,48,0.5);
  border-top: 1px solid var(--do-card-border);
}
.do-honor-row {
  margin-bottom: 32px;
}
.do-honor-row h4 {
  font-size: 0.9rem;
  color: var(--do-text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.do-honor-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.do-honor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
  max-width: 140px;
}
.do-honor-item:hover {
  opacity: 1;
}
.do-honor-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(192,192,192,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--do-silver);
  border: 1px solid rgba(192,192,192,0.2);
}
.do-honor-item span {
  font-size: 0.75rem;
  color: var(--do-text-muted);
  text-align: center;
}

/* === 页脚 === */
.do-footer {
  background: rgba(20, 14, 36, 0.95);
  border-top: 1px solid var(--do-card-border);
  padding: 64px 40px 0;
}
.do-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.do-footer-brand p {
  font-size: 0.85rem;
  color: var(--do-text-muted);
  line-height: 1.7;
  margin-top: 16px;
}
.do-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.do-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(77,159,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--do-silver);
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.do-footer-social a:hover {
  background: rgba(77,159,255,0.25);
  color: var(--do-accent);
}
.do-footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}
.do-footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.do-footer-links a {
  font-size: 0.85rem;
  color: var(--do-text-muted);
  display: block;
  padding: 4px 0;
}
.do-footer-links a:hover {
  color: var(--do-accent);
}
.do-footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}
.do-footer-contact p {
  font-size: 0.85rem;
  color: var(--do-text-muted);
  margin-bottom: 8px;
}
.do-footer-bottom {
  border-top: 1px solid rgba(77,159,255,0.1);
  padding: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.do-footer-honors {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.do-footer-honor-badge {
  font-size: 0.72rem;
  color: var(--do-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.do-footer-honor-badge .do-badge-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(192,192,192,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}
.do-footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--do-text-muted);
  padding-top: 12px;
}
.do-footer-auth {
  text-align: center;
  font-size: 0.75rem;
  color: var(--do-text-muted);
  margin-bottom: 8px;
}

/* === 内页通用 === */
.do-page-hero {
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.do-page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.do-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26,18,48,0.4), rgba(26,18,48,0.9));
}
.do-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.do-page-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.do-page-hero-content p {
  font-size: 1.05rem;
  color: var(--do-text-muted);
}

.do-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.do-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--do-card-border);
}
.do-content h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
}
.do-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.do-content-img {
  margin: 24px 0;
  border-radius: var(--do-radius-card);
  overflow: hidden;
  border: 1px solid var(--do-card-border);
}
.do-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.do-content table th,
.do-content table td {
  padding: 12px 16px;
  border: 1px solid var(--do-card-border);
  text-align: left;
}
.do-content table th {
  background: rgba(77,159,255,0.1);
  color: var(--do-accent);
  font-weight: 600;
}

/* === 走势预言台 === */
.do-oracle-section {
  text-align: center;
  padding: 80px 24px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.do-crystal-ball-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 40px;
}
.do-crystal-ball {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(77,159,255,0.3);
  box-shadow: 0 0 60px rgba(77,159,255,0.3), inset 0 0 40px rgba(77,159,255,0.1);
  transition: box-shadow 0.5s ease;
}
.do-crystal-ball img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.do-crystal-ball.do-spinning {
  animation: do-spin 0.5s linear infinite;
  box-shadow: 0 0 80px rgba(77,159,255,0.6), inset 0 0 60px rgba(77,159,255,0.3);
}
@keyframes do-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.do-oracle-form {
  max-width: 480px;
  margin: 0 auto;
}
.do-oracle-form select,
.do-oracle-form input {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 16px;
  border-radius: var(--do-radius-card);
  border: 1px solid var(--do-card-border);
  background: var(--do-card-bg);
  color: var(--do-text);
  font-family: var(--do-font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.do-oracle-form select:focus,
.do-oracle-form input:focus {
  border-color: var(--do-accent);
}
.do-oracle-result {
  display: none;
  max-width: 600px;
  margin: 40px auto 0;
  background: var(--do-card-bg);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-panel);
  padding: 32px;
  text-align: left;
}
.do-oracle-result h3 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--do-accent);
}
.do-oracle-result-item {
  margin-bottom: 20px;
}
.do-oracle-result-item h4 {
  font-size: 1rem;
  color: var(--do-silver);
  margin-bottom: 8px;
}
.do-oracle-result-item p {
  line-height: 1.7;
}
.do-oracle-result-item .do-probability {
  font-family: var(--do-font-mono);
  font-size: 2rem;
  color: var(--do-accent);
  text-align: center;
  margin: 8px 0;
}
.do-oracle-combos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.do-oracle-combo {
  padding: 8px 16px;
  background: rgba(77,159,255,0.1);
  border: 1px solid var(--do-card-border);
  border-radius: var(--do-radius-card);
  font-family: var(--do-font-mono);
  color: var(--do-accent);
}

/* === APP下载页 === */
.do-app-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.do-app-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.do-app-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  align-items: center;
}
.do-app-text h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.do-app-text h3 {
  font-size: 1.2rem;
  color: var(--do-text-muted);
  font-weight: 400;
  margin-bottom: 32px;
}
.do-app-features {
  list-style: none;
  margin-bottom: 32px;
}
.do-app-features li {
  padding: 10px 0;
  font-size: 1rem;
  color: var(--do-text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.do-app-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--do-accent);
  flex-shrink: 0;
}
.do-app-download-btns {
  display: flex;
  gap: 16px;
}
.do-app-visual {
  text-align: center;
}
.do-app-qr {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: var(--do-radius-card);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
}

/* === 响应式断点 === */
@media (max-width: 1440px) {
  .do-section { max-width: 1200px; }
}

@media (max-width: 1024px) {
  .do-nav { display: none; }
  .do-hamburger { display: flex; }
  .do-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .do-ranking-cols { grid-template-columns: 1fr; }
  .do-academy-grid { grid-template-columns: repeat(2, 1fr); }
  .do-forum-grid { grid-template-columns: 1fr; }
  .do-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .do-app-content { grid-template-columns: 1fr; text-align: center; }
  .do-app-features { display: inline-block; text-align: left; }
  .do-app-download-btns { justify-content: center; }
  .do-compass-wrap { width: 340px; height: 340px; }
  .do-compass-center { width: 220px; height: 220px; }
}

@media (max-width: 768px) {
  .do-header { padding: 0 20px; height: 60px; }
  .do-logo-text { font-size: 16px; }
  .do-banner { height: 45vh; }
  .do-banner-content h2 { font-size: 1.6rem; }
  .do-banner-content p { font-size: 0.9rem; }
  .do-section { padding: 48px 16px; }
  .do-section-title h2 { font-size: 1.5rem; }
  .do-articles-grid { grid-template-columns: 1fr; }
  .do-academy-grid { grid-template-columns: 1fr; }
  .do-countdown-wrap { flex-direction: column; }
  .do-countdown-timer { flex-wrap: wrap; justify-content: center; }
  .do-footer-grid { grid-template-columns: 1fr; }
  .do-page-hero { height: 260px; }
  .do-page-hero-content h1 { font-size: 1.8rem; }
  .do-compass-wrap { width: 300px; height: 300px; }
  .do-compass-center { width: 180px; height: 180px; }
  .do-compass-item { width: 90px; }
  .do-compass-item-name { font-size: 0.8rem; }
}

@media (max-width: 375px) {
  html { font-size: 14px; }
  .do-header { padding: 0 12px; }
  .do-banner-content h2 { font-size: 1.3rem; }
  .do-countdown-unit { min-width: 56px; padding: 12px 14px; }
  .do-countdown-unit .do-num { font-size: 1.6rem; }
  .do-crystal-ball-wrap { width: 220px; height: 220px; }
}
