/* ===================================================
   皇冠体育 - 英伦赛马场经典风 主样式表
   CSS前缀: hm-
   平台备案编号: DERBY-HM-2026-2203
   =================================================== */

/* --- Google Fonts Import (本地化备用) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Lora:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --hm-primary: #1A472A;
  --hm-secondary: #8B4513;
  --hm-accent: #DAA520;
  --hm-white: #FFFFFF;
  --hm-bg: #F5F5DC;
  --hm-text: #333333;
  --hm-text-light: #666666;
  --hm-radius: 4px;
  --hm-shadow: 0 4px 12px rgba(0,0,0,0.1);
  --hm-shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
  --hm-font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --hm-font-body: 'Lora', Georgia, 'Times New Roman', serif;
  --hm-gold-gradient: linear-gradient(135deg, #DAA520, #F4D03F, #DAA520);
  --hm-green-gradient: linear-gradient(135deg, #1A472A, #2D6B45);
  --hm-transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--hm-font-body);
  color: var(--hm-text);
  background-color: var(--hm-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--hm-primary);
  text-decoration: none;
  transition: var(--hm-transition);
}

a:hover {
  color: var(--hm-accent);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

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

ul, ol {
  list-style: none;
}

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

.hm-section {
  padding: 80px 0;
}

.hm-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.hm-section-title h2 {
  font-size: 2.2rem;
  color: var(--hm-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.hm-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--hm-gold-gradient);
}

.hm-section-title p {
  margin-top: 15px;
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Navigation --- */
.hm-navbar {
  background: var(--hm-bg);
  border-bottom: 2px solid var(--hm-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--hm-shadow);
}

.hm-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.hm-logo {
  font-family: var(--hm-font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hm-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-logo .hm-logo-crown {
  font-size: 1.4rem;
  color: var(--hm-accent);
}

.hm-logo .hm-logo-racing {
  color: var(--hm-accent);
}

.hm-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.hm-nav-links a {
  font-family: var(--hm-font-body);
  font-size: 0.95rem;
  color: var(--hm-text);
  padding: 24px 16px;
  position: relative;
  font-weight: 500;
}

.hm-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--hm-accent);
  transition: width 0.3s ease;
}

.hm-nav-links a:hover {
  color: var(--hm-accent);
}

.hm-nav-links a:hover::after,
.hm-nav-links a.hm-active::after {
  width: 80%;
}

.hm-nav-links a.hm-active {
  color: var(--hm-accent);
}

.hm-btn-cta {
  display: inline-block;
  background: var(--hm-accent);
  color: var(--hm-white) !important;
  padding: 10px 22px;
  border-radius: var(--hm-radius);
  font-family: var(--hm-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--hm-transition);
  border: none;
  cursor: pointer;
}

.hm-btn-cta:hover {
  box-shadow: 0 4px 16px rgba(218,165,32,0.4);
  transform: translateY(-1px);
  color: var(--hm-white) !important;
}

.hm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hm-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--hm-text);
  transition: var(--hm-transition);
}

/* --- Hero Banner --- */
.hm-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hm-primary);
}

.hm-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hm-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(245,245,220,0.3) 0%, rgba(26,71,42,0.7) 100%);
}

.hm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hm-hero-badge {
  display: inline-block;
  background: var(--hm-gold-gradient);
  color: var(--hm-primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--hm-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.hm-hero h1 {
  font-size: 3.5rem;
  color: var(--hm-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hm-hero h1 .hm-gold-text {
  background: var(--hm-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

.hm-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hm-btn-primary {
  display: inline-block;
  background: var(--hm-accent);
  color: var(--hm-primary);
  padding: 14px 32px;
  border-radius: var(--hm-radius);
  font-family: var(--hm-font-body);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--hm-transition);
  border: 2px solid var(--hm-accent);
}

.hm-btn-primary:hover {
  background: #c4941c;
  border-color: #c4941c;
  color: var(--hm-white);
  box-shadow: 0 4px 16px rgba(218,165,32,0.4);
}

.hm-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--hm-accent);
  padding: 14px 32px;
  border-radius: var(--hm-radius);
  font-family: var(--hm-font-body);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--hm-transition);
  border: 2px solid var(--hm-accent);
}

.hm-btn-outline:hover {
  background: var(--hm-accent);
  color: var(--hm-primary);
}

.hm-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.hm-hero-stat {
  text-align: center;
}

.hm-hero-stat .hm-stat-number {
  font-family: var(--hm-font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--hm-accent);
  display: block;
}

.hm-hero-stat .hm-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* --- Race Cards --- */
.hm-races {
  background: var(--hm-white);
}

.hm-race-card {
  background: var(--hm-bg);
  border: 1px solid rgba(139,69,19,0.2);
  border-radius: var(--hm-radius);
  padding: 25px;
  box-shadow: var(--hm-shadow);
  transition: var(--hm-transition);
  position: relative;
  overflow: hidden;
}

.hm-race-card:hover {
  box-shadow: var(--hm-shadow-hover);
  transform: translateY(-3px);
}

.hm-race-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--hm-gold-gradient);
}

.hm-race-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hm-status-live {
  background: #e74c3c;
  color: var(--hm-white);
  animation: hm-pulse-live 1.5s infinite;
}

.hm-status-upcoming {
  background: var(--hm-accent);
  color: var(--hm-primary);
}

.hm-status-ended {
  background: #95a5a6;
  color: var(--hm-white);
}

@keyframes hm-pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hm-race-card h3 {
  font-family: var(--hm-font-title);
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.hm-race-card:hover h3 {
  color: var(--hm-accent);
}

.hm-race-info {
  font-size: 0.9rem;
  color: var(--hm-text-light);
  margin-bottom: 12px;
}

.hm-race-countdown {
  font-family: var(--hm-font-title);
  font-size: 1.3rem;
  color: var(--hm-primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.hm-race-odds {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(139,69,19,0.15);
}

.hm-odds-value {
  font-family: var(--hm-font-title);
  font-size: 1.4rem;
  color: var(--hm-accent);
  font-weight: 800;
}

.hm-odds-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.hm-odds-up { color: #27ae60; }
.hm-odds-down { color: #e74c3c; }

/* --- Video Section --- */
.hm-videos {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(139,69,19,0.03) 20px, rgba(139,69,19,0.03) 40px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(139,69,19,0.03) 20px, rgba(139,69,19,0.03) 40px);
  background-color: var(--hm-bg);
}

.hm-video-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  transition: var(--hm-transition);
}

.hm-video-card:hover {
  box-shadow: var(--hm-shadow-hover);
  transform: translateY(-3px);
}

.hm-video-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.hm-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--hm-white);
  padding: 3px 8px;
  border-radius: var(--hm-radius);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.hm-video-info {
  padding: 20px;
}

.hm-video-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hm-video-info p {
  font-size: 0.9rem;
  color: var(--hm-text-light);
}

/* --- Ranking --- */
.hm-ranking {
  background: var(--hm-white);
}

.hm-ranking-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.hm-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
  padding: 30px 0;
}

.hm-podium-item {
  text-align: center;
}

.hm-podium-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--hm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hm-font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 8px;
  border: 3px solid;
}

.hm-podium-1 .hm-podium-avatar { border-color: #DAA520; color: #DAA520; }
.hm-podium-2 .hm-podium-avatar { border-color: #C0C0C0; color: #C0C0C0; }
.hm-podium-3 .hm-podium-avatar { border-color: #CD7F32; color: #CD7F32; }

.hm-podium-bar {
  width: 80px;
  border-radius: var(--hm-radius) var(--hm-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-white);
  font-family: var(--hm-font-title);
  font-weight: 800;
  font-size: 1.2rem;
}

.hm-podium-1 .hm-podium-bar { height: 120px; background: linear-gradient(180deg, #DAA520, #B8860B); }
.hm-podium-2 .hm-podium-bar { height: 90px; background: linear-gradient(180deg, #C0C0C0, #A0A0A0); }
.hm-podium-3 .hm-podium-bar { height: 70px; background: linear-gradient(180deg, #CD7F32, #A0612B); }

.hm-podium-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  color: var(--hm-text);
}

.hm-ranking-table {
  background: var(--hm-bg);
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
}

.hm-ranking-table table {
  width: 100%;
  border-collapse: collapse;
}

.hm-ranking-table th {
  background: var(--hm-primary);
  color: var(--hm-white);
  padding: 14px 16px;
  font-family: var(--hm-font-title);
  font-size: 0.9rem;
  text-align: left;
}

.hm-ranking-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(139,69,19,0.1);
  font-size: 0.9rem;
}

.hm-ranking-table tr:hover {
  background: rgba(218,165,32,0.05);
}

.hm-rank-gold { color: #DAA520; font-weight: 800; }
.hm-rank-silver { color: #C0C0C0; font-weight: 800; }
.hm-rank-bronze { color: #CD7F32; font-weight: 800; }

/* --- Articles / Intel --- */
.hm-intel {
  background: var(--hm-bg);
}

.hm-article-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  transition: var(--hm-transition);
}

.hm-article-card:hover {
  box-shadow: var(--hm-shadow-hover);
  transform: translateY(-3px);
}

.hm-article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hm-article-body {
  padding: 20px;
}

.hm-article-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hm-article-excerpt {
  font-size: 0.9rem;
  color: var(--hm-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.hm-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--hm-text-light);
  padding-top: 12px;
  border-top: 1px solid rgba(139,69,19,0.1);
}

.hm-article-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hm-primary);
  color: var(--hm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.hm-read-more {
  color: var(--hm-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.hm-read-more:hover {
  color: var(--hm-secondary);
}

/* --- Membership --- */
.hm-membership {
  background: var(--hm-primary);
  color: var(--hm-white);
}

.hm-membership h2 {
  color: var(--hm-accent);
}

.hm-membership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hm-benefit-list {
  list-style: none;
}

.hm-benefit-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(218,165,32,0.2);
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

.hm-benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--hm-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hm-form-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: var(--hm-radius);
  border: 1px solid rgba(218,165,32,0.3);
}

.hm-form-card h3 {
  color: var(--hm-accent);
  margin-bottom: 20px;
}

.hm-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: var(--hm-radius);
  background: rgba(255,255,255,0.05);
  color: var(--hm-white);
  font-family: var(--hm-font-body);
  font-size: 0.95rem;
  margin-bottom: 15px;
  transition: var(--hm-transition);
}

.hm-form-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.hm-form-input:focus {
  outline: none;
  border-color: var(--hm-accent);
  box-shadow: 0 0 0 3px rgba(218,165,32,0.2);
}

/* --- Prediction --- */
.hm-prediction {
  background: var(--hm-white);
}

.hm-prediction-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--hm-bg);
  border: 2px solid rgba(139,69,19,0.2);
  border-radius: var(--hm-radius);
  padding: 40px;
  box-shadow: var(--hm-shadow);
}

.hm-prediction-race {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(139,69,19,0.15);
}

.hm-prediction-race h3 {
  color: var(--hm-primary);
  font-size: 1.3rem;
}

.hm-prediction-race p {
  color: var(--hm-accent);
  font-weight: 600;
}

.hm-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(139,69,19,0.2);
  border-radius: var(--hm-radius);
  background: var(--hm-white);
  font-family: var(--hm-font-body);
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--hm-text);
  cursor: pointer;
}

.hm-form-select:focus {
  outline: none;
  border-color: var(--hm-accent);
}

.hm-prediction-reward {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(218,165,32,0.1);
  border-radius: var(--hm-radius);
  font-size: 0.9rem;
  color: var(--hm-secondary);
}

/* --- News --- */
.hm-news {
  background: var(--hm-bg);
}

.hm-news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.hm-news-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  transition: var(--hm-transition);
}

.hm-news-card:hover {
  box-shadow: var(--hm-shadow-hover);
  transform: translateY(-3px);
}

.hm-news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hm-news-card.hm-news-large img {
  height: 100%;
  min-height: 400px;
}

.hm-news-card-body {
  padding: 20px;
}

.hm-news-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hm-news-small-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hm-news-small-group .hm-news-card img {
  height: 180px;
}

/* --- Gallery --- */
.hm-gallery {
  background: var(--hm-white);
}

.hm-gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.hm-gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--hm-radius);
  overflow: hidden;
  box-shadow: var(--hm-shadow);
  position: relative;
  transition: var(--hm-transition);
}

.hm-gallery-item:hover {
  box-shadow: var(--hm-shadow-hover);
  transform: scale(1.02);
}

.hm-gallery-item img {
  width: 100%;
  display: block;
}

.hm-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 15px 15px;
  color: var(--hm-white);
}

.hm-gallery-caption h4 {
  font-size: 0.9rem;
  color: var(--hm-white);
  margin-bottom: 3px;
}

.hm-gallery-caption span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* --- Partners --- */
.hm-partners {
  background: var(--hm-primary);
  padding: 60px 0;
}

.hm-partners h2 {
  color: var(--hm-accent);
}

.hm-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hm-partner-logo {
  padding: 15px 25px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--hm-radius);
  font-family: var(--hm-font-title);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  transition: var(--hm-transition);
}

.hm-partner-logo:hover {
  background: rgba(255,255,255,0.15);
  color: var(--hm-white);
}

.hm-certifications {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hm-cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(218,165,32,0.15);
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: var(--hm-radius);
  color: var(--hm-accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Footer --- */
.hm-footer {
  background: var(--hm-primary);
  color: rgba(255,255,255,0.8);
  border-top: 2px solid var(--hm-accent);
}

.hm-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.hm-footer-brand .hm-logo {
  color: var(--hm-white);
  margin-bottom: 15px;
}

.hm-footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.hm-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-white);
  font-size: 0.85rem;
  transition: var(--hm-transition);
}

.hm-footer-social a:hover {
  background: var(--hm-accent);
  color: var(--hm-primary);
}

.hm-footer h4 {
  color: var(--hm-accent);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--hm-font-title);
}

.hm-footer-links {
  list-style: none;
}

.hm-footer-links li {
  margin-bottom: 10px;
}

.hm-footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--hm-transition);
}

.hm-footer-links a:hover {
  color: var(--hm-accent);
  padding-left: 5px;
}

.hm-footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hm-footer-seo {
  padding: 20px 0;
  border-top: 1px solid rgba(218,165,32,0.2);
  border-bottom: 1px solid rgba(218,165,32,0.2);
}

.hm-footer-seo p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  text-align: center;
}

.hm-footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.hm-footer-bottom p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* --- Breadcrumb --- */
.hm-breadcrumb {
  padding: 15px 0;
  background: var(--hm-white);
  border-bottom: 1px solid rgba(139,69,19,0.1);
}

.hm-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.hm-breadcrumb-list a {
  color: var(--hm-text-light);
}

.hm-breadcrumb-list a:hover {
  color: var(--hm-accent);
}

.hm-breadcrumb-list .hm-breadcrumb-sep {
  color: var(--hm-text-light);
}

.hm-breadcrumb-list .hm-breadcrumb-current {
  color: var(--hm-primary);
  font-weight: 600;
}

/* --- Page Header --- */
.hm-page-header {
  background: var(--hm-primary);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hm-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}

.hm-page-header h1 {
  color: var(--hm-white);
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.hm-page-header h1 .hm-gold-text {
  background: var(--hm-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-page-header p {
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 15px auto 0;
}

/* --- Content Page --- */
.hm-content-page {
  padding: 60px 0;
}

.hm-content-page article {
  max-width: 900px;
  margin: 0 auto;
}

.hm-content-page h2 {
  color: var(--hm-primary);
  margin-top: 35px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(218,165,32,0.3);
}

.hm-content-page h3 {
  color: var(--hm-secondary);
  margin-top: 25px;
}

.hm-content-page p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.hm-content-page img {
  border-radius: var(--hm-radius);
  margin: 25px 0;
  box-shadow: var(--hm-shadow);
}

/* --- Betting Page --- */
.hm-betting-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.hm-sidebar {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  padding: 25px;
  box-shadow: var(--hm-shadow);
  position: sticky;
  top: 90px;
  height: fit-content;
}

.hm-sidebar h3 {
  font-size: 1rem;
  color: var(--hm-primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hm-accent);
}

.hm-filter-group {
  margin-bottom: 20px;
}

.hm-filter-group h4 {
  font-size: 0.85rem;
  color: var(--hm-text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hm-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hm-filter-group label:hover {
  color: var(--hm-accent);
}

.hm-filter-group input[type="checkbox"],
.hm-filter-group input[type="radio"] {
  accent-color: var(--hm-accent);
}

.hm-betting-main {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}

.hm-betting-table {
  width: 100%;
  border-collapse: collapse;
}

.hm-betting-table th {
  background: var(--hm-primary);
  color: var(--hm-white);
  padding: 14px 16px;
  font-family: var(--hm-font-title);
  font-size: 0.85rem;
  text-align: left;
}

.hm-betting-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(139,69,19,0.08);
  font-size: 0.9rem;
}

.hm-betting-table tr {
  cursor: pointer;
  transition: background 0.3s ease;
}

.hm-betting-table tbody tr:hover {
  background: rgba(218,165,32,0.05);
}

.hm-bet-btn {
  background: var(--hm-accent);
  color: var(--hm-primary);
  border: none;
  padding: 8px 18px;
  border-radius: var(--hm-radius);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--hm-transition);
}

.hm-bet-btn:hover {
  background: #c4941c;
  color: var(--hm-white);
}

/* --- Bet Slip --- */
.hm-bet-slip {
  position: fixed;
  right: -400px;
  top: 72px;
  width: 360px;
  height: calc(100vh - 72px);
  background: var(--hm-white);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 25px;
}

.hm-bet-slip.hm-active {
  right: 0;
}

.hm-bet-slip h3 {
  color: var(--hm-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hm-accent);
}

.hm-bet-slip-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--hm-text-light);
}

/* --- APP Download --- */
.hm-app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hm-app-mockup img {
  max-width: 350px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--hm-shadow-hover);
}

.hm-app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 30px 0;
}

.hm-app-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.hm-app-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--hm-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hm-app-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hm-app-feature p {
  font-size: 0.85rem;
  margin: 0;
}

.hm-download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hm-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--hm-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--hm-transition);
}

.hm-download-btn-ios {
  background: #000;
  color: var(--hm-white);
}

.hm-download-btn-android {
  background: var(--hm-primary);
  color: var(--hm-white);
}

.hm-download-btn-apk {
  background: var(--hm-accent);
  color: var(--hm-primary);
}

.hm-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--hm-shadow);
}

.hm-qr-section {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: var(--hm-bg);
  border-radius: var(--hm-radius);
}

.hm-qr-placeholder {
  width: 180px;
  height: 180px;
  background: var(--hm-white);
  border: 2px solid rgba(139,69,19,0.2);
  border-radius: var(--hm-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  font-size: 0.85rem;
  color: var(--hm-text-light);
}

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

.hm-faq-item {
  background: var(--hm-white);
  border-radius: var(--hm-radius);
  margin-bottom: 12px;
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}

.hm-faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--hm-font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--hm-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.hm-faq-question:hover {
  color: var(--hm-accent);
}

.hm-faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--hm-accent);
  transition: transform 0.3s ease;
}

.hm-faq-item.hm-active .hm-faq-question::after {
  content: '-';
}

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

.hm-faq-item.hm-active .hm-faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.hm-faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Utility --- */
.hm-gold-text {
  color: var(--hm-accent);
}

.hm-leather-bg {
  background-color: #3a2a1a;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.hm-shadow-soft {
  box-shadow: var(--hm-shadow);
}

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

.hm-mb-0 { margin-bottom: 0; }
.hm-mt-20 { margin-top: 20px; }
.hm-mt-30 { margin-top: 30px; }
.hm-mb-20 { margin-bottom: 20px; }
.hm-mb-30 { margin-bottom: 30px; }

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

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

.hm-float-up {
  animation: hm-float-up 3s ease-in-out infinite;
}

@keyframes hm-float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Odds Animation --- */
.hm-odds-flash {
  animation: hm-odds-flash 0.5s ease;
}

@keyframes hm-odds-flash {
  0% { background: rgba(218,165,32,0.3); }
  100% { background: transparent; }
}
