/* =============================================
   南宫体育 - 端午龙舟竞渡风 主样式表
   CSS前缀: nd-
   平台备案编号: BET-ND-2026-2903
   ============================================= */

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

:root {
  --nd-red: #C0392B;
  --nd-yellow: #F1C40F;
  --nd-green: #27AE60;
  --nd-blue: #2980B9;
  --nd-bg: #FDF6E3;
  --nd-text: #34495E;
  --nd-text-light: #7F8C8D;
  --nd-dark-red: #A93226;
  --nd-shadow: 0 4px 12px rgba(192,57,43,0.2);
  --nd-radius: 4px;
  --nd-font-title: 'Noto Serif SC', 'SimSun', serif;
  --nd-font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  font-family: var(--nd-font-body);
  color: var(--nd-text);
  background-color: var(--nd-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: var(--nd-red); text-decoration: none; transition: color .3s; }
a:hover { color: var(--nd-yellow); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nd-font-title);
  color: var(--nd-red);
  line-height: 1.4;
  margin-bottom: .6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1em; }

.nd-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Water Wave Background Animation --- */
@keyframes nd-wave {
  0% { background-position: 0 0; }
  100% { background-position: 200px 0; }
}

.nd-wave-bg {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(41,128,185,0.03) 0px,
    rgba(41,128,185,0.06) 50px,
    rgba(41,128,185,0.03) 100px
  );
  animation: nd-wave 8s linear infinite;
}

/* --- Dragon Scale Texture Overlay --- */
.nd-dragon-scale {
  position: relative;
}
.nd-dragon-scale::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-conic-gradient(
    rgba(192,57,43,0.03) 0% 25%,
    transparent 0% 50%
  ) 0 0 / 20px 20px;
  pointer-events: none;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#nd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nd-red);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.nd-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-logo img {
  height: 48px;
  width: auto;
}

.nd-logo-text {
  font-family: var(--nd-font-title);
  font-size: 1.5rem;
  color: var(--nd-yellow);
  font-weight: 700;
  letter-spacing: 2px;
}

.nd-nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nd-nav-menu li a {
  display: block;
  padding: 8px 16px;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  border-radius: var(--nd-radius);
  position: relative;
  transition: all .3s;
}

.nd-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--nd-yellow);
  transition: all .3s;
}

.nd-nav-menu li a:hover,
.nd-nav-menu li a.nd-active {
  color: var(--nd-yellow);
}

.nd-nav-menu li a:hover::after,
.nd-nav-menu li a.nd-active::after {
  left: 16px; right: 16px;
}

.nd-nav-actions {
  display: flex;
  gap: 10px;
}

.nd-btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: var(--nd-radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  text-align: center;
  font-family: var(--nd-font-body);
}

.nd-btn-primary {
  background: var(--nd-yellow);
  color: var(--nd-red);
}
.nd-btn-primary:hover {
  background: #d4ac0d;
  color: #fff;
}

.nd-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--nd-yellow);
}
.nd-btn-outline:hover {
  background: var(--nd-yellow);
  color: var(--nd-red);
}

.nd-btn-green {
  background: var(--nd-green);
  color: #fff;
}
.nd-btn-green:hover {
  background: #219a52;
}

.nd-btn-blue {
  background: var(--nd-blue);
  color: #fff;
}
.nd-btn-blue:hover {
  background: #2471a3;
}

/* Hamburger */
.nd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nd-hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* =============================================
   HERO BANNER (Module 1)
   ============================================= */
#nd-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 68px;
}

#nd-hero video,
#nd-hero .nd-hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nd-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(192,57,43,0.75) 0%,
    rgba(169,50,38,0.6) 50%,
    rgba(52,73,94,0.7) 100%
  );
  z-index: 1;
}

.nd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.nd-hero-content h1 {
  font-size: 3.2rem;
  color: var(--nd-yellow);
  text-shadow: 2px 2px 8px rgba(0,0,0,.5);
  margin-bottom: 20px;
}

.nd-hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,.4);
}

.nd-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.nd-section {
  padding: 80px 0;
}

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

.nd-section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.nd-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--nd-red), var(--nd-yellow));
  border-radius: 2px;
}

.nd-section-title p {
  color: var(--nd-text-light);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* =============================================
   MATCH CARDS (Module 2)
   ============================================= */
.nd-matches-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.nd-matches-scroll::-webkit-scrollbar { height: 6px; }
.nd-matches-scroll::-webkit-scrollbar-track { background: rgba(192,57,43,.1); border-radius: 3px; }
.nd-matches-scroll::-webkit-scrollbar-thumb { background: var(--nd-red); border-radius: 3px; }

.nd-match-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 24px;
  text-align: center;
  border-top: 3px solid var(--nd-red);
  transition: transform .3s;
}

.nd-match-card:hover { transform: translateY(-4px); }

.nd-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

.nd-team-icon {
  width: 48px;
  height: 48px;
  background: var(--nd-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.5rem;
}

.nd-team-name {
  font-weight: 600;
  font-size: .9rem;
}

.nd-vs {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nd-red);
  padding: 0 12px;
}

.nd-odds-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.nd-odd-btn {
  flex: 1;
  padding: 8px 4px;
  background: var(--nd-bg);
  border: 1px solid #ddd;
  border-radius: var(--nd-radius);
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  font-size: .85rem;
}

.nd-odd-btn:hover {
  background: var(--nd-red);
  color: #fff;
  border-color: var(--nd-red);
}

.nd-odd-btn .nd-odd-label { display: block; font-size: .75rem; color: var(--nd-text-light); }
.nd-odd-btn .nd-odd-value { display: block; font-weight: 700; color: var(--nd-red); font-size: 1rem; }
.nd-odd-btn:hover .nd-odd-label,
.nd-odd-btn:hover .nd-odd-value { color: #fff; }

.nd-match-time {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--nd-text-light);
}

.nd-countdown {
  display: inline-block;
  background: var(--nd-red);
  color: #fff;
  padding: 2px 10px;
  border-radius: var(--nd-radius);
  font-size: .8rem;
  margin-left: 6px;
}

/* =============================================
   ODDS RANKING (Module 3)
   ============================================= */
.nd-odds-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--nd-radius);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
}

.nd-odds-table thead {
  background: var(--nd-red);
  color: #fff;
}

.nd-odds-table th,
.nd-odds-table td {
  padding: 14px 18px;
  text-align: center;
}

.nd-odds-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background .2s;
}

.nd-odds-table tbody tr:hover { background: rgba(241,196,15,.1); }

.nd-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
}

.nd-rank-1 { background: var(--nd-yellow); color: var(--nd-red); }
.nd-rank-2 { background: #bdc3c7; color: #2c3e50; }
.nd-rank-3 { background: #e67e22; color: #fff; }
.nd-rank-other { background: #ecf0f1; color: var(--nd-text); }

/* =============================================
   LOTTERY POOL (Module 4)
   ============================================= */
#nd-lottery {
  background: linear-gradient(135deg, var(--nd-red) 0%, var(--nd-dark-red) 100%);
  color: #fff;
}

#nd-lottery h2 { color: var(--nd-yellow); }
#nd-lottery p { color: rgba(255,255,255,.85); }

.nd-pool-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--nd-yellow);
  text-align: center;
  margin: 30px 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,.3);
  font-family: var(--nd-font-title);
}

.nd-lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.nd-lottery-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--nd-radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform .3s;
}

.nd-lottery-card:hover { transform: translateY(-4px); }

.nd-lottery-card h3 { color: var(--nd-yellow); }

/* =============================================
   VIDEO SECTION (Module 5)
   ============================================= */
.nd-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.nd-video-card {
  background: #fff;
  border-radius: var(--nd-radius);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
  border: 3px solid #d4a574;
  transition: transform .3s;
}

.nd-video-card:hover { transform: translateY(-4px); }

.nd-video-card video {
  width: 100%;
  display: block;
}

.nd-video-card .nd-video-info {
  padding: 16px;
}

.nd-video-card .nd-video-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* =============================================
   EXPERT SCROLL (Module 6)
   ============================================= */
.nd-scroll-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.nd-scroll-card {
  background: linear-gradient(135deg, #fef9e7, #fdf2e9);
  border: 2px solid #d4a574;
  border-radius: var(--nd-radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--nd-shadow);
}

.nd-scroll-card::before {
  content: '';
  position: absolute;
  top: -8px; left: 20px;
  width: 40px; height: 16px;
  background: var(--nd-red);
  border-radius: 2px;
}

.nd-expert-name {
  font-weight: 700;
  color: var(--nd-red);
  margin-bottom: 8px;
}

.nd-expert-title {
  font-size: .85rem;
  color: var(--nd-text-light);
  margin-bottom: 12px;
}

/* =============================================
   VIP (Module 7)
   ============================================= */
.nd-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.nd-vip-card {
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--nd-yellow);
  transition: transform .3s;
}

.nd-vip-card:hover { transform: translateY(-6px); }

.nd-vip-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.nd-vip-card h3 { margin-bottom: 12px; }

.nd-vip-card ul {
  list-style: none;
  text-align: left;
  margin-top: 16px;
}

.nd-vip-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
  font-size: .9rem;
}

.nd-vip-card ul li::before {
  content: '\2714';
  color: var(--nd-green);
  margin-right: 8px;
}

/* =============================================
   WINNING TICKER (Module 8)
   ============================================= */
#nd-ticker {
  background: var(--nd-red);
  color: #fff;
  overflow: hidden;
  padding: 20px 0;
}

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

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

.nd-ticker-item {
  flex-shrink: 0;
  padding: 8px 30px;
  white-space: nowrap;
  font-size: .95rem;
}

.nd-ticker-item .nd-win-amount {
  color: var(--nd-yellow);
  font-weight: 700;
}

/* =============================================
   APP PROMO (Module 9)
   ============================================= */
.nd-app-section {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.nd-app-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.nd-app-img img {
  max-height: 500px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.nd-app-info {
  flex: 1;
  min-width: 300px;
}

.nd-app-features {
  list-style: none;
  margin: 20px 0 30px;
}

.nd-app-features li {
  padding: 10px 0;
  font-size: 1.05rem;
  border-bottom: 1px dashed #ddd;
}

.nd-app-features li::before {
  content: '\1F3C6';
  margin-right: 10px;
}

.nd-download-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   TRUST / LICENSE (Module 10)
   ============================================= */
.nd-trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.nd-trust-item {
  text-align: center;
  max-width: 300px;
}

.nd-trust-item img {
  max-height: 180px;
  margin: 0 auto 16px;
  border-radius: var(--nd-radius);
}

/* =============================================
   FOOTER
   ============================================= */
#nd-footer {
  background: var(--nd-dark-red);
  color: rgba(255,255,255,.85);
  padding: 60px 0 0;
}

.nd-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.nd-footer-col h4 {
  color: var(--nd-yellow);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.nd-footer-col p {
  font-size: .9rem;
  line-height: 1.7;
}

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

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

.nd-footer-col ul li a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: color .3s;
}

.nd-footer-col ul li a:hover { color: var(--nd-yellow); }

.nd-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.nd-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  transition: background .3s;
}

.nd-social-icons a:hover { background: var(--nd-yellow); color: var(--nd-red); }

.nd-payment-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nd-payment-icons span {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.1);
  border-radius: var(--nd-radius);
  font-size: .8rem;
}

.nd-footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.nd-footer-bottom a { color: var(--nd-yellow); }

/* =============================================
   BREADCRUMB
   ============================================= */
.nd-breadcrumb {
  padding: 16px 0;
  font-size: .9rem;
  color: var(--nd-text-light);
  margin-top: 68px;
}

.nd-breadcrumb a { color: var(--nd-red); }
.nd-breadcrumb span { margin: 0 8px; }

/* =============================================
   INNER PAGE CONTENT
   ============================================= */
.nd-page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 68px;
}

.nd-page-hero img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nd-page-hero .nd-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(192,57,43,.8), rgba(52,73,94,.7));
  z-index: 1;
}

.nd-page-hero .nd-page-hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.nd-page-hero .nd-page-hero-text h1 {
  color: var(--nd-yellow);
  font-size: 2.6rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,.5);
}

.nd-content-section {
  padding: 60px 0;
}

.nd-content-section article {
  max-width: 900px;
  margin: 0 auto;
}

.nd-content-section article p {
  font-size: 1.05rem;
  text-align: justify;
}

.nd-content-img {
  margin: 30px 0;
  border-radius: var(--nd-radius);
  overflow: hidden;
  box-shadow: var(--nd-shadow);
}

/* =============================================
   BETTING HALL
   ============================================= */
.nd-betting-layout {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 24px;
  min-height: 600px;
}

.nd-filter-panel {
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 20px;
}

.nd-filter-panel h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--nd-red);
}

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

.nd-filter-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--nd-text);
}

.nd-filter-group select,
.nd-filter-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--nd-radius);
  font-size: .9rem;
  font-family: var(--nd-font-body);
}

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

.nd-match-row {
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.nd-match-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nd-match-league {
  font-size: .8rem;
  color: var(--nd-text-light);
  background: var(--nd-bg);
  padding: 2px 10px;
  border-radius: 10px;
}

.nd-match-odds {
  display: flex;
  gap: 8px;
}

.nd-bet-slip {
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 20px;
  position: sticky;
  top: 88px;
}

.nd-bet-slip h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--nd-yellow);
  color: var(--nd-red);
}

.nd-bet-item {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: .9rem;
}

.nd-bet-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--nd-red);
  font-weight: 700;
}

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

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

.nd-faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .3s;
}

.nd-faq-question:hover { background: rgba(241,196,15,.1); }

.nd-faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.nd-faq-item.nd-open .nd-faq-answer {
  max-height: 500px;
  padding: 0 24px 18px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .nd-betting-layout {
    grid-template-columns: 1fr;
  }
  .nd-filter-panel { order: -1; }
  .nd-bet-slip { position: static; }
}

@media (max-width: 768px) {
  .nd-nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--nd-red);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
  }

  .nd-nav-menu.nd-menu-open { display: flex; }

  .nd-hamburger { display: flex; }

  .nd-nav-actions { display: none; }

  .nd-hero-content h1 { font-size: 2rem; }
  .nd-hero-content p { font-size: 1rem; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .nd-pool-amount { font-size: 2.2rem; }

  .nd-app-section { flex-direction: column; gap: 30px; }

  .nd-video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nd-hero-content h1 { font-size: 1.5rem; }
  .nd-match-card { flex: 0 0 280px; }
  .nd-odds-table { font-size: .85rem; }
  .nd-odds-table th, .nd-odds-table td { padding: 10px 8px; }
}

/* =============================================
   BETTING HALL - MATCH CARDS
   ============================================= */
.nd-betting-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  min-height: 600px;
}

.nd-betting-main h2 {
  margin-bottom: 24px;
}

.nd-bet-match-card {
  background: #fff;
  border-radius: var(--nd-radius);
  box-shadow: var(--nd-shadow);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--nd-red);
}

.nd-bet-league {
  font-size: .8rem;
  color: var(--nd-text-light);
  background: var(--nd-bg);
  display: inline-block;
  padding: 2px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.nd-bet-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--nd-font-title);
  color: var(--nd-text);
  margin-bottom: 8px;
}

.nd-bet-vs {
  color: var(--nd-red);
  font-size: 1rem;
  font-weight: 400;
}

.nd-bet-team-name {
  min-width: 100px;
  text-align: center;
}

.nd-bet-time {
  text-align: center;
  font-size: .85rem;
  color: var(--nd-text-light);
  margin-bottom: 16px;
}

.nd-bet-odds {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.nd-bet-odds .nd-odd-btn {
  flex: 1;
  max-width: 140px;
  text-align: center;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: var(--nd-radius);
  cursor: pointer;
  font-size: .85rem;
  font-family: var(--nd-font-body);
  transition: all .3s;
  color: var(--nd-text);
}

.nd-bet-odds .nd-odd-btn:hover {
  border-color: var(--nd-green);
  background: rgba(39,174,96,.05);
}

.nd-bet-odds .nd-odd-btn strong {
  display: block;
  font-size: 1.1rem;
  color: var(--nd-red);
  margin-top: 4px;
}

.nd-bet-extra {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: .8rem;
  color: var(--nd-text-light);
}

.nd-bet-slip-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--nd-red);
  font-weight: 600;
  font-size: .9rem;
}

/* =============================================
   LEGAL CONTENT
   ============================================= */
.nd-legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.nd-legal-content h2 {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.nd-legal-content h3 {
  margin-top: 24px;
  font-size: 1.15rem;
}

.nd-legal-content ul {
  margin: 16px 0 16px 24px;
}

.nd-legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.nd-legal-content p {
  text-align: justify;
  margin-bottom: 16px;
}

/* =============================================
   RESPONSIVE - BETTING HALL
   ============================================= */
@media (max-width: 992px) {
  .nd-betting-layout {
    grid-template-columns: 1fr;
  }
  .nd-bet-slip { position: static; }
}

@media (max-width: 480px) {
  .nd-bet-teams { font-size: 1rem; gap: 10px; }
  .nd-bet-odds { flex-direction: column; align-items: center; }
  .nd-bet-odds .nd-odd-btn { max-width: 100%; width: 100%; }
  .nd-bet-extra { flex-direction: column; align-items: center; gap: 6px; }
}
