/* 九游会体育 style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #151A23;
  color: #E8ECF5;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: #F1DCA3; text-decoration: none; touch-action: manipulation; min-height: 40px; display: inline-block; }
a:hover { color: #E3C98F; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 38px; color: #F1DCA3; margin: 0 0 20px; font-weight: 600; }
h2 { font-size: 26px; color: #F1DCA3; margin: 28px 0 14px; font-weight: 600; }
h3 { font-size: 20px; color: #E3C98F; margin: 20px 0 10px; }
p { margin: 0 0 16px; }
.card { background: #1B2130; border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.media { position: relative; width: 100%; max-width: 100%; overflow: hidden; border-radius: 14px; background: #1B2130; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; }
.media-16x9 { aspect-ratio: 16/9; }
.media-3x4 { aspect-ratio: 3/4; }
.placeholder { display: flex; align-items: center; justify-content: center; color: #8F98AD; font-size: 14px; background: #1B2130; border-radius: 14px; }
/* Header */
.site-header { background: #151A23; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #252D40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.logo { height: 36px; object-fit: contain; }
.logo-text { color: #F1DCA3; font-size: 20px; font-weight: 600; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: #E8ECF5; font-size: 15px; padding: 8px 0; position: relative; }
.main-nav a.active { color: #F1DCA3; }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #F1DCA3; }
.btn-register { background: #F1DCA3; color: #151A23; border-radius: 999px; padding: 0 20px; height: 40px; line-height: 40px; font-weight: 600; font-size: 14px; min-width: 96px; text-align: center; }
.btn-register:hover { background: #E3C98F; color: #151A23; }
.menu-toggle { display: none; background: none; border: none; color: #E8ECF5; font-size: 24px; cursor: pointer; padding: 8px; }
/* Drawer */
.mobile-drawer, .drawer-mask { display: none; }
@media (max-width: 980px) {
  .mobile-drawer { display: block; position: fixed; inset: 0 auto 0 0; width: min(84vw, 320px); background: #151A23; color: #E8ECF5; z-index: 12000; transform: translateX(-105%); transition: transform .2s ease; overflow-y: auto; }
  .mobile-drawer.is-open { transform: translateX(0); }
  .drawer-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 11000; opacity: 0; pointer-events: none; }
  .drawer-mask.is-visible { display: block; opacity: 1; pointer-events: auto; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 56px; }
  .logo { height: 28px; }
  .btn-register { height: 36px; line-height: 36px; min-width: 76px; padding: 0 14px; font-size: 13px; }
  h1 { font-size: 28px; }
  body.drawer-open { overflow: hidden; }
}
.drawer-header { padding: 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #252D40; }
.drawer-close { background: none; border: none; color: #E8ECF5; font-size: 28px; cursor: pointer; }
.drawer-section { padding: 12px 16px; }
.drawer-section h4 { color: #F1DCA3; font-size: 14px; margin-bottom: 8px; }
.drawer-section a { display: block; padding: 10px 0; color: #E8ECF5; border-bottom: 1px solid #252D40; }
/* Main */
main { padding: 24px 0 100px; }
/* Footer */
.site-footer { background: #0E121A; color: #D5DBEA; padding: 40px 0 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: #F1DCA3; margin-bottom: 12px; }
.footer-col a { display: block; color: #D5DBEA; padding: 6px 0; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #252D40; font-size: 14px; }
/* Mobile bottom */
.mobile-bottom { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #151A23; border-top: 1px solid #252D40; z-index: 99; padding: 8px 0; }
.mobile-bottom a { flex: 1; text-align: center; color: #E8ECF5; font-size: 12px; padding: 6px 0; }
@media (max-width: 980px) {
  .mobile-bottom { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  main { padding-bottom: 80px; }
}
/* Content layouts */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 40px; }
.hero-posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) {
  .hero-split, .hero-posters, .three-cols { grid-template-columns: 1fr; }
  .media-16x9 { max-height: 180px; }
  .media-3x4 { max-height: 240px; }
}
.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.brand-item { background: #1B2130; padding: 16px; border-radius: 12px; }
.faq-item { background: #1B2130; padding: 16px; margin-bottom: 12px; border-radius: 10px; }
.faq-item h3 { margin-top: 0; }
/* Links min height */
nav a, .drawer-section a, .footer-col a { min-height: 40px; line-height: 1.4; }