/* 5gbet 企业级博彩品牌站点样式 - 巴西风格 */
:root {
  --main-color: #009739; /* 巴西绿 */
  --accent-color: #ffcc29; /* 巴西黄 */
  --secondary-color: #3e4095; /* 巴西蓝 */
  --bg-color: #e6f2e6; /* 浅绿色背景 */
  --bg-gradient: linear-gradient(135deg, #e6f2e6 0%, #fffbe6 100%);
  --text-color: #222;
  --footer-bg: #3e4095;
  --footer-text: #fff;
  --card-bg: #fff;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1a2d1a;
    --bg-gradient: linear-gradient(135deg, #1a2d1a 0%, #2d2d1a 100%);
    --text-color: #f1f1f1;
    --card-bg: #23272b;
    --footer-bg: #222;
    --footer-text: #bbb;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.7;
}
header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}
.logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--main-color);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.active, .nav-links a:hover {
  background: var(--main-color);
  color: #fff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--main-color);
  border-radius: 2px;
  display: block;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    z-index: 2000;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.4rem;
    margin: 1.2rem 0;
    background: var(--card-bg);
    width: 80vw;
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 1rem 0;
  }
  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.04);
    border-radius: 50%;
    z-index: 2100;
  }
  .menu-toggle span {
    width: 32px;
    height: 4px;
    margin: 3px 0;
  }
}
.breadcrumb {
  background: none;
  font-size: 0.95rem;
  margin: 1rem 0 0.5rem 0;
  padding: 0 1rem;
  color: var(--secondary-color);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.breadcrumb a {
  color: var(--main-color);
  text-decoration: none;
}
.breadcrumb span {
  margin: 0 0.3em;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
h1, h2, h3 {
  color: var(--secondary-color);
  font-weight: 700;
}
h1 {
  font-size: 2.1rem;
  margin-top: 0.5em;
}
section {
  margin-bottom: 2.5rem;
}
.brand-imgs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.brand-imgs img {
  max-width: 48%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 3px solid var(--accent-color);
  background: #fff;
}
@media (max-width: 600px) {
  .brand-imgs img {
    max-width: 100%;
  }
}
.faq {
  background: #fffbe6;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent-color);
}
.faq h2 {
  margin-top: 0;
}
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--main-color);
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 80px;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 9999;
  transition: background 0.2s, color 0.2s;
}
.back-to-top:hover {
  background: var(--accent-color);
  color: var(--main-color);
}
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  border-radius: 10px 10px 0 0;
  margin-top: 2rem;
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--accent-color);
  margin: 0 0.7em;
  text-decoration: underline;
}
.footer-links a:hover {
  color: #fff;
}
/* Modal 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: var(--card-bg);
  color: var(--text-color);
  margin: 0 auto;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  border-radius: 12px;
  max-width: 95vw;
  width: 400px;
  box-shadow: var(--shadow);
  position: relative;
  animation: modalIn 0.25s;
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-content h2 {
  margin-top: 0;
  color: var(--main-color);
  font-size: 1.3rem;
  text-align: center;
}
.modal-content p {
  font-size: 1rem;
  margin-bottom: 0;
}
.close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.close:hover {
  color: var(--accent-color);
}
@media (max-width: 500px) {
  .modal-content {
    width: 95vw;
    padding: 1.2rem 0.5rem 0.8rem 0.5rem;
  }
} 