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

html, body {
  background: #f5f5f5;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 14px;
}

a {
  color: #8b0000;
  text-decoration: none;
}

a:hover {
  color: #ffd700;
}

ul, ol {
  list-style: none;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #8b0000 0%, #5c0000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #ffd700;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 80px 80px 0;
  border-color: transparent #ffd700 transparent transparent;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 60px 60px;
  border-color: transparent transparent transparent rgba(255, 215, 0, 0.3);
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.logo {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 #1a1a1a;
}

.logo span {
  color: #fff;
  font-size: 24px;
}

.header-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.header-meta a {
  color: rgba(255, 255, 255, 0.8);
}

.header-meta a:hover {
  color: #ffd700;
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: #1a1a1a;
  border-bottom: 3px solid #ffd700;
}

.main-nav ul {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.main-nav li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #333;
}

.main-nav li:last-child {
  border-right: none;
}

.main-nav a {
  display: block;
  padding: 14px 10px;
  color: #fff;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: #8b0000;
  color: #ffd700;
}

/* ===== BREAKING NEWS TICKER ===== */
.ticker-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #333;
}

.ticker-label {
  background: #8b0000;
  color: #ffd700;
  padding: 4px 12px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 2px;
  margin-right: 15px;
  flex-shrink: 0;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
  color: #fff;
}

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

/* ===== MAIN LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 280px 280px;
  gap: 20px;
}

.container.no-sidebar {
  grid-template-columns: 1fr;
}

.container.two-col {
  grid-template-columns: 1fr 280px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 22px;
  font-weight: bold;
  color: #1a1a1a;
  border-left: 5px solid #8b0000;
  padding-left: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffd700;
}

.section-title .en {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

/* ===== CARDS / BOXES ===== */
.card {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.card-header {
  background: #8b0000;
  color: #fff;
  padding: 10px 15px;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 3px solid #ffd700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-body {
  padding: 15px;
}

.card-footer {
  background: #f9f9f9;
  padding: 10px 15px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #666;
}

/* ===== FEATURED MATCH ===== */
.featured-match {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 25px;
  position: relative;
}

.featured-match .fm-header {
  background: linear-gradient(90deg, #8b0000, #1a1a1a);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-match .fm-title {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 20px;
  font-weight: bold;
}

.featured-match .fm-countdown {
  background: #1a1a1a;
  color: #ffd700;
  padding: 8px 16px;
  font-family: "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 1px;
}

.featured-match .fm-teams {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 20px;
  background: #fafafa;
}

.team-block {
  text-align: center;
  flex: 1;
}

.team-logo {
  width: 80px;
  height: 80px;
  background: #8b0000;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #1a1a1a;
}

.team-logo.blue {
  background: #1a1a1a;
  color: #fff;
}

.team-name {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
}

.team-league {
  font-size: 12px;
  color: #999;
}

.vs-divider {
  font-family: "Times New Roman", serif;
  font-size: 36px;
  font-weight: bold;
  color: #8b0000;
  padding: 0 20px;
  position: relative;
}

.vs-divider::before,
.vs-divider::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #ffd700;
  margin: 5px auto;
}

.featured-match .fm-info {
  background: #1a1a1a;
  color: #ccc;
  padding: 12px 20px;
  display: flex;
  justify-content: space-around;
  font-size: 13px;
}

.featured-match .fm-info strong {
  color: #ffd700;
  margin-right: 5px;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.news-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  transition: box-shadow 0.2s;
}

.news-item:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.news-tag {
  display: inline-block;
  background: #8b0000;
  color: #ffd700;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-tag.gold {
  background: #ffd700;
  color: #1a1a1a;
}

.news-tag.black {
  background: #1a1a1a;
  color: #ffd700;
}

.news-title {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 15px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

.news-meta {
  font-size: 11px;
  color: #999;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #eee;
  padding-top: 8px;
}

/* ===== SIDEBAR WIDGETS ===== */
.widget {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.widget-title {
  background: #1a1a1a;
  color: #ffd700;
  padding: 10px 15px;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 2px solid #8b0000;
}

.widget-body {
  padding: 15px;
}

/* Live Scores */
.live-score-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.live-score-item:last-child {
  border-bottom: none;
}

.live-score-item .teams {
  flex: 1;
}

.live-score-item .score {
  font-family: "Times New Roman", serif;
  font-weight: bold;
  color: #8b0000;
  font-size: 16px;
  margin: 0 10px;
}

.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #8b0000;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Expert Picks */
.pick-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pick-item:last-child {
  border-bottom: none;
}

.pick-expert {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.pick-match {
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
}

.pick-result {
  display: inline-block;
  background: #8b0000;
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: bold;
}

.pick-confidence {
  height: 6px;
  background: #eee;
  margin-top: 6px;
  position: relative;
}

.pick-confidence-bar {
  height: 100%;
  background: linear-gradient(90deg, #8b0000, #ffd700);
}

/* ===== MATCH CENTER ===== */
.league-tabs {
  display: flex;
  border-bottom: 2px solid #8b0000;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.league-tab {
  padding: 10px 20px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-right: 2px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  transition: all 0.2s;
}

.league-tab.active,
.league-tab:hover {
  background: #8b0000;
  color: #fff;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-row {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  display: grid;
  grid-template-columns: 100px 1fr 120px 100px;
  gap: 15px;
  align-items: center;
}

.match-row .match-date {
  background: #1a1a1a;
  color: #ffd700;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}

.match-row .match-date strong {
  display: block;
  font-size: 18px;
  font-family: "Times New Roman", serif;
}

.match-row .match-teams {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.match-row .match-odds {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 13px;
}

.match-row .match-odds div {
  flex: 1;
}

.match-row .match-odds strong {
  display: block;
  color: #8b0000;
  font-size: 16px;
  font-family: "Times New Roman", serif;
}

.match-row .match-odds span {
  font-size: 10px;
  color: #999;
}

.match-row .match-action {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 8px 18px;
  background: #8b0000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.2s;
  text-align: center;
}

.btn:hover {
  background: #ffd700;
  color: #1a1a1a;
}

.btn-gold {
  background: #ffd700;
  color: #1a1a1a;
}

.btn-gold:hover {
  background: #8b0000;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #8b0000;
  color: #8b0000;
}

.btn-outline:hover {
  background: #8b0000;
  color: #fff;
}

/* Odds Comparison */
.odds-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}

.odds-item:last-child {
  border-bottom: none;
}

.odds-item .company {
  color: #666;
}

.odds-item .val {
  color: #8b0000;
  font-weight: bold;
  font-family: "Times New Roman", serif;
}

/* ===== PREDICTION PAGE ===== */
.prediction-card {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.prediction-head {
  background: linear-gradient(90deg, #1a1a1a, #8b0000);
  color: #fff;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prediction-head .p-expert {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  font-weight: bold;
}

.prediction-head .p-league {
  font-size: 12px;
  color: #ffd700;
}

.prediction-body {
  padding: 20px;
}

.prediction-match {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-left: 4px solid #ffd700;
}

.prediction-team {
  text-align: center;
}

.prediction-team strong {
  display: block;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  color: #1a1a1a;
}

.prediction-team span {
  font-size: 11px;
  color: #8b0000;
}

.confidence-meter {
  margin: 15px 0;
}

.confidence-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 5px;
  color: #666;
}

.confidence-bar {
  height: 14px;
  background: #eee;
  position: relative;
  border: 1px solid #ddd;
}

.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b0000, #ffd700);
  transition: width 0.5s;
}

.confidence-value {
  position: absolute;
  right: -35px;
  top: -2px;
  font-size: 14px;
  font-weight: bold;
  color: #8b0000;
  font-family: "Times New Roman", serif;
}

.prediction-analysis {
  font-size: 13px;
  color: #444;
  line-height: 1.8;
  padding: 15px;
  background: #fafafa;
  border-left: 3px solid #8b0000;
  margin-top: 15px;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.compare-table th {
  background: #1a1a1a;
  color: #ffd700;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
}

.compare-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 13px;
}

.compare-table tr:hover {
  background: #f9f9f9;
}

.compare-table td.highlight {
  color: #8b0000;
  font-weight: bold;
}

/* ===== HISTORY PAGE ===== */
.results-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.results-table th {
  background: #8b0000;
  color: #fff;
  padding: 12px 10px;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
}

.results-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 13px;
}

.results-table tr:hover {
  background: #fff8e1;
}

.number-ball {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #8b0000;
  color: #fff;
  border-radius: 50%;
  line-height: 28px;
  text-align: center;
  font-weight: bold;
  font-family: "Times New Roman", serif;
  margin: 0 2px;
  font-size: 12px;
}

.number-ball.gold {
  background: #ffd700;
  color: #1a1a1a;
}

.number-ball.black {
  background: #1a1a1a;
  color: #ffd700;
}

.date-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.date-filter label {
  font-size: 13px;
  color: #666;
}

.date-filter input,
.date-filter select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  background: #fff;
}

/* Frequency Charts */
.freq-chart {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
}

.freq-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.freq-bar-label {
  width: 60px;
  font-size: 12px;
  text-align: right;
  color: #666;
}

.freq-bar-track {
  flex: 1;
  height: 20px;
  background: #f5f5f5;
  position: relative;
}

.freq-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b0000, #ffd700);
  display: flex;
  align-items: center;
  padding-left: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

.freq-bar-value {
  width: 40px;
  text-align: center;
  font-size: 12px;
  color: #8b0000;
  font-weight: bold;
}

.archive-nav {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.archive-nav a {
  display: inline-block;
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
  font-size: 12px;
}

.archive-nav a:hover,
.archive-nav a.active {
  background: #8b0000;
  color: #fff;
  border-color: #8b0000;
}

/* ===== EXPERT PAGE ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.expert-card {
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
  padding: 20px 15px;
  transition: all 0.2s;
}

.expert-card:hover {
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.15);
  transform: translateY(-2px);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b0000, #1a1a1a);
  color: #ffd700;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #ffd700;
}

.expert-name {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.expert-title {
  font-size: 12px;
  color: #8b0000;
  margin-bottom: 10px;
}

.expert-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px dashed #eee;
  font-size: 11px;
  color: #666;
}

.expert-stats strong {
  display: block;
  color: #1a1a1a;
  font-size: 15px;
  font-family: "Times New Roman", serif;
}

.analysis-article {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #8b0000;
  margin-bottom: 15px;
  padding: 15px 20px;
}

.analysis-article h4 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.analysis-article p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.7;
}

.analysis-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  border-top: 1px dashed #eee;
  padding-top: 8px;
}

/* ===== FORUM PAGE ===== */
.forum-categories {
  background: #fff;
  border: 1px solid #ddd;
}

.forum-category {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.forum-category:hover {
  background: #fff8e1;
}

.forum-category:last-child {
  border-bottom: none;
}

.forum-icon {
  width: 40px;
  height: 40px;
  background: #8b0000;
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.forum-info {
  flex: 1;
}

.forum-info h4 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.forum-info p {
  font-size: 12px;
  color: #888;
}

.forum-stats {
  text-align: right;
  font-size: 11px;
  color: #666;
}

.forum-stats strong {
  display: block;
  color: #8b0000;
  font-size: 14px;
  font-family: "Times New Roman", serif;
}

.forum-post {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 15px;
  align-items: center;
}

.post-avatar {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.post-body h4 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.post-body h4 a:hover {
  color: #8b0000;
}

.post-meta {
  font-size: 11px;
  color: #999;
}

.post-replies {
  text-align: center;
  font-size: 12px;
  color: #8b0000;
  font-weight: bold;
}

.post-replies span {
  display: block;
  font-size: 10px;
  color: #999;
  font-weight: normal;
}

.user-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.user-stat-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.user-stat-box strong {
  display: block;
  font-family: "Times New Roman", serif;
  font-size: 22px;
  color: #8b0000;
}

.user-stat-box span {
  font-size: 11px;
  color: #666;
}

/* ===== HELP PAGE ===== */
.faq-list {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 25px;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 15px;
  font-weight: bold;
  color: #1a1a1a;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #fafafa;
  color: #8b0000;
}

.faq-question .icon {
  color: #8b0000;
  font-size: 18px;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 15px;
}

.faq-item.open .faq-question {
  background: #fafafa;
  border-left: 4px solid #ffd700;
}

.faq-item.open .icon {
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.guide-section {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.guide-head {
  background: #1a1a1a;
  color: #ffd700;
  padding: 12px 15px;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 15px;
  font-weight: bold;
}

.guide-body {
  padding: 15px 20px;
}

.guide-body h4 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  color: #8b0000;
  margin: 10px 0 6px;
}

.guide-body p,
.guide-body li {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.guide-body ol,
.guide-body ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #8b0000;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== HOT TOPICS / SIDEBAR WIDGET ===== */
.hot-topic {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.hot-topic:last-child {
  border-bottom: none;
}

.hot-topic .rank {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #ddd;
  color: #666;
  text-align: center;
  line-height: 22px;
  font-weight: bold;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
}

.hot-topic:nth-child(1) .rank { background: #8b0000; color: #fff; }
.hot-topic:nth-child(2) .rank { background: #a52a2a; color: #fff; }
.hot-topic:nth-child(3) .rank { background: #b8860b; color: #fff; }

.hot-topic a {
  flex: 1;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-topic a:hover {
  color: #8b0000;
}

.hot-topic .heat {
  font-size: 11px;
  color: #ff6600;
  font-weight: bold;
}

/* ===== FORUM GUIDELINES ===== */
.guidelines {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
}

.guidelines h3 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffd700;
}

.guidelines ol {
  padding-left: 20px;
}

.guidelines li {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  margin-top: 40px;
  border-top: 4px solid #8b0000;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-section h4 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 14px;
  color: #ffd700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-section a {
  color: #aaa;
  display: block;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #ffd700;
}

.footer-section p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.footer-bottom .gold {
  color: #ffd700;
}

/* ===== MISC / UTILITIES ===== */
.sidebar-block {
  margin-bottom: 20px;
}

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

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: #8b0000;
  color: #ffd700;
  font-size: 11px;
  letter-spacing: 1px;
  margin: 2px;
}

.tag-gold {
  background: #ffd700;
  color: #1a1a1a;
}

.tag-outline {
  background: transparent;
  border: 1px solid #8b0000;
  color: #8b0000;
}

.page-banner {
  background: linear-gradient(135deg, #8b0000, #1a1a1a);
  color: #fff;
  padding: 30px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 50px 0 0;
  border-color: transparent #ffd700 transparent transparent;
  opacity: 0.5;
}

.page-banner h1 {
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 32px;
  color: #ffd700;
  margin-bottom: 5px;
  letter-spacing: 3px;
}

.page-banner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.breadcrumb a {
  color: #8b0000;
}

.breadcrumb span {
  margin: 0 5px;
}

.highlight-box {
  background: linear-gradient(135deg, #1a1a1a, #8b0000);
  color: #fff;
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
  border-top: 3px solid #ffd700;
  border-bottom: 3px solid #ffd700;
}

.highlight-box strong {
  display: block;
  font-family: "Times New Roman", "SimSun", serif;
  font-size: 18px;
  color: #ffd700;
  margin-bottom: 5px;
}

.highlight-box p {
  font-size: 13px;
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr 260px;
  }
  .container > .sidebar-right {
    grid-column: 1 / -1;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  .main-nav ul {
    flex-wrap: wrap;
  }
  .main-nav li {
    flex: 1 0 33%;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .expert-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .match-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .user-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
