/* ============================================
   博彩行业新闻门户 - 主样式表
   配色：报纸灰 #F5F5F5 | 深灰 #616161 | 普鲁士蓝 #0D47A1
   字体：思源宋体 (Noto Serif SC)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700;900&display=swap');

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

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

body {
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  background-color: #F5F5F5;
  color: #333;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0D47A1;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1565C0;
  text-decoration: underline;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; margin-bottom: 0.4rem; }
h6 { font-size: 1rem; margin-bottom: 0.3rem; }

p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* === Layout === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Header === */
.site-header {
  background-color: #fff;
  border-bottom: 3px solid #0D47A1;
  padding: 15px 0;
  position: relative;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.site-logo {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 2rem;
  color: #1a1a1a;
  letter-spacing: 2px;
}

.site-logo span {
  color: #0D47A1;
}

.header-date {
  font-size: 0.85rem;
  color: #616161;
}

.header-tagline {
  text-align: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #616161;
  font-style: italic;
  border-bottom: 1px solid #e0e0e0;
}

/* === Navigation === */
.main-nav {
  background-color: #1a1a1a;
  padding: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 12px 18px;
  color: #f5f5f5;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

.nav-list a:hover {
  background-color: #0D47A1;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #616161;
}

.breadcrumb a {
  color: #616161;
}

.breadcrumb a:hover {
  color: #0D47A1;
}

.breadcrumb span {
  margin: 0 6px;
  color: #999;
}

/* === Section Titles === */
.section-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #1a1a1a;
  padding-bottom: 10px;
  border-bottom: 3px solid #0D47A1;
  margin-bottom: 25px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #0D47A1;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #616161;
  font-style: italic;
  margin-top: -15px;
  margin-bottom: 20px;
}

/* === Module: Top Story === */
.top-story {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.top-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.top-story .story-image {
  width: 100%;
  border: 1px solid #e0e0e0;
}

.top-story .story-meta {
  font-size: 0.85rem;
  color: #616161;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-story .story-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
}

.top-story .story-excerpt {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

.top-story .read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #0D47A1;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.top-story .read-more:hover {
  background-color: #1565C0;
  text-decoration: none;
}

/* === Module: Regulatory Radar === */
.regulatory-radar {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.radar-map-container {
  position: relative;
  margin-bottom: 20px;
}

.radar-map-container img {
  width: 100%;
  border: 1px solid #e0e0e0;
}

.radar-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.radar-item {
  padding: 15px;
  border-left: 3px solid #0D47A1;
  background-color: #fafafa;
}

.radar-item .country {
  font-weight: 700;
  color: #0D47A1;
  font-size: 1rem;
  margin-bottom: 5px;
}

.radar-item .summary {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* === Module: Market Pulse === */
.market-pulse {
  background-color: #1a1a1a;
  padding: 15px 0;
  margin: 25px 0;
  overflow: hidden;
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 25px;
  color: #f5f5f5;
  font-size: 0.9rem;
  font-family: 'Noto Serif SC', monospace;
}

.ticker-item .company-name {
  font-weight: 700;
  margin-right: 8px;
}

.ticker-item .price {
  margin-right: 8px;
}

.ticker-item .change-up {
  color: #4CAF50;
  font-weight: 700;
}

.ticker-item .change-down {
  color: #F44336;
  font-weight: 700;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Module: Earnings Season === */
.earnings-season {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.earnings-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.earnings-card {
  padding: 15px;
  border: 1px solid #e0e0e0;
  background-color: #fafafa;
  text-align: center;
  transition: box-shadow 0.3s;
}

.earnings-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.earnings-card .date {
  font-size: 0.8rem;
  color: #0D47A1;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.earnings-card .company {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 5px;
}

.earnings-card .status {
  font-size: 0.8rem;
  padding: 3px 10px;
  display: inline-block;
}

.status-upcoming {
  background-color: #FFF3E0;
  color: #E65100;
}

.status-released {
  background-color: #E8F5E9;
  color: #2E7D32;
}

/* === Module: Voices of Leaders === */
.voices-leaders {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.leader-card {
  text-align: center;
}

.leader-card .leader-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  filter: grayscale(100%);
  border: 3px solid #e0e0e0;
  transition: filter 0.3s;
}

.leader-card:hover .leader-photo {
  filter: grayscale(50%);
}

.leader-card .leader-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.leader-card .leader-title-role {
  font-size: 0.85rem;
  color: #616161;
  margin-bottom: 10px;
}

.leader-card .leader-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  padding: 0 10px;
  border-left: 3px solid #0D47A1;
  text-align: left;
}

/* === Module: Browse by Region === */
.browse-region {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.region-card {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
  cursor: pointer;
}

.region-card:hover {
  background-color: #0D47A1;
  color: #fff;
  border-color: #0D47A1;
  text-decoration: none;
}

.region-card:hover .region-name {
  color: #fff;
}

.region-card .region-icon {
  font-size: 1.8rem;
  margin-right: 12px;
}

.region-card .region-name {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
  transition: color 0.3s;
}

/* === Module: Data Insight === */
.data-insight {
  background-color: #fff;
  padding: 30px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.data-insight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.data-insight .chart-image {
  width: 100%;
  border: 1px solid #e0e0e0;
}

.data-insight .insight-text {
  font-size: 1rem;
  line-height: 1.9;
}

/* === Module: Exclusive Investigation === */
.exclusive-investigation {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 40px 30px;
  margin: 25px 0;
  position: relative;
  overflow: hidden;
}

.confidential-stamp {
  position: absolute;
  top: 20px;
  right: 30px;
  border: 3px solid #F44336;
  color: #F44336;
  padding: 5px 15px;
  font-weight: 900;
  font-size: 1.2rem;
  transform: rotate(12deg);
  opacity: 0.8;
  letter-spacing: 3px;
}

.exclusive-investigation .section-title {
  color: #f5f5f5;
  border-bottom-color: #F44336;
}

.exclusive-investigation .section-title::after {
  background-color: #F44336;
}

.investigation-content {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 800px;
}

.investigation-content h3 {
  color: #f5f5f5;
  margin-bottom: 15px;
}

.investigation-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #F44336;
  color: #fff;
  font-weight: 700;
  transition: background-color 0.3s;
}

.investigation-link:hover {
  background-color: #D32F2F;
  color: #fff;
  text-decoration: none;
}

/* === Article Page === */
.article-page {
  background-color: #fff;
  padding: 40px;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.article-category {
  display: inline-block;
  padding: 3px 12px;
  background-color: #0D47A1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
}

.article-meta {
  font-size: 0.85rem;
  color: #616161;
}

.article-meta span {
  margin-right: 20px;
}

.article-featured-image {
  width: 100%;
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
}

.article-body {
  font-size: 1.05rem;
  line-height: 2;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.article-body blockquote {
  border-left: 4px solid #0D47A1;
  padding: 15px 25px;
  margin: 25px 0;
  background-color: #f9f9f9;
  font-style: italic;
  color: #444;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-body table th,
.article-body table td {
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.article-body table th {
  background-color: #0D47A1;
  color: #fff;
  font-weight: 700;
}

.article-body table tr:nth-child(even) {
  background-color: #fafafa;
}

.article-sidebar {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.related-articles {
  margin-top: 20px;
}

.related-articles h3 {
  margin-bottom: 15px;
}

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

.related-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.related-list li a {
  font-weight: 700;
}

/* === Two Column Layout === */
.two-col-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.sidebar-widget {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #0D47A1;
  margin-bottom: 15px;
}

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

.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

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

/* === Footer === */
.site-footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0D47A1;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #aaa;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #0D47A1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #777;
}

/* === Typewriter Animation === */
.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #0D47A1;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #0D47A1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === App Download Page === */
.app-download {
  text-align: center;
  padding: 60px 30px;
  background-color: #fff;
  margin: 25px 0;
  border: 1px solid #e0e0e0;
}

.app-download .download-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #0D47A1;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 10px;
  transition: background-color 0.3s;
}

.app-download .download-btn:hover {
  background-color: #1565C0;
  text-decoration: none;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .top-story-grid {
    grid-template-columns: 1fr;
  }
  .radar-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .earnings-calendar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list a {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
  }
  
  .header-top {
    flex-direction: column;
    text-align: center;
  }
  
  .site-logo {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .top-story-grid {
    grid-template-columns: 1fr;
  }
  
  .radar-items {
    grid-template-columns: 1fr;
  }
  
  .leaders-grid {
    grid-template-columns: 1fr;
  }
  
  .region-grid {
    grid-template-columns: 1fr;
  }
  
  .earnings-calendar {
    grid-template-columns: 1fr;
  }
  
  .data-insight-content {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .article-page {
    padding: 20px;
  }
  
  .article-title {
    font-size: 1.6rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  
  .confidential-stamp {
    font-size: 0.9rem;
    top: 10px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .top-story {
    padding: 15px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* === Interview Q&A === */
.interview-qa {
  margin: 25px 0;
}

.qa-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.qa-question {
  font-weight: 700;
  color: #0D47A1;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.qa-question::before {
  content: 'Q：';
  font-weight: 900;
}

.qa-answer {
  padding-left: 20px;
  border-left: 2px solid #e0e0e0;
  line-height: 1.9;
}

.qa-answer::before {
  content: 'A：';
  font-weight: 700;
  color: #616161;
}

/* === Key Quote Highlight === */
.key-quote {
  background-color: #E3F2FD;
  border-left: 4px solid #0D47A1;
  padding: 20px 25px;
  margin: 25px 0;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
}

.key-quote .quote-author {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0D47A1;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 30px;
  margin: 25px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #0D47A1;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #0D47A1;
}

.timeline-date {
  font-weight: 700;
  color: #0D47A1;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* === Print Styles === */
@media print {
  .main-nav, .site-footer, .mobile-menu-toggle {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
