:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --success-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --bg-card: rgba(255,255,255,0.98);
}

html {
  background-image: url(../img/bg-4.jpg);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 50%, rgba(240, 147, 251, 0.08) 100%), url(../img/bg-4.jpg) !important;
  background-color: #f5f7fa !important;
}

#main {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 20%, rgba(255, 255, 255, 0.98) 80%, rgba(245, 247, 250, 0.95) 100%) !important;
  min-height: 100vh;
}

.content-area {
  background: transparent !important;
}

.header-main {
  height: 90px;
}

#logo img {
  max-height: 90px;
}

#logo {
  width: 200px;
}

.header-bottom {
  min-height: 55px;
}

.header-top {
  min-height: 30px;
}

.transparent .header-main {
  height: 90px;
}

.transparent #logo img {
  max-height: 90px;
}

.has-transparent + .page-title:first-of-type,
.has-transparent + #main > .page-title,
.has-transparent + #main > div > .page-title,
.has-transparent + #main .page-header-wrapper:first-of-type .page-title {
  padding-top: 140px;
}

.header.show-on-scroll,
.stuck .header-main {
  height: 70px !important;
}

.stuck #logo img {
  max-height: 70px !important;
}

.header-bg-color {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
}

.header-bottom {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%) !important;
}

.header-bottom-nav > li > a {
  line-height: 16px;
}

@media (max-width: 549px) {
  .header-main {
    height: 70px;
  }
  #logo img {
    max-height: 70px;
  }
}

/* Color */
.accordion-title.active, .has-icon-bg .icon .icon-inner,
.logo a, .primary.is-underline, .primary.is-link, .badge-outline .badge-inner, .nav-outline > li.active > a,
.nav-outline > li.active > a, .cart-icon strong,
[data-color='primary'], .is-outline.primary {
  color: #667eea;
}

/* Color !important */
[data-text-color="primary"] {
  color: #667eea !important;
}

/* Background Color */
[data-text-bg="primary"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Background */
.scroll-to-bullets a,
.featured-title, .label-new.menu-item > a:after, .nav-pagination > li > .current,
.nav-pagination > li > span:hover,
.nav-pagination > li > a:hover,
.has-hover:hover .badge-outline .badge-inner,
button[type="submit"], .button.wc-forward:not(.checkout):not(.checkout-button), .button.submit-button, .button.primary:not(.is-outline),
.featured-table .title,
.is-outline:hover, .has-icon:hover .icon-label,
.nav-dropdown-bold .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold > li > a:hover, .nav-dropdown-bold.dark .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold.dark > li > a:hover, .header-vertical-menu__opener,
.is-outline:hover, .tagcloud a:hover,
.grid-tools a, input[type='submit']:not(.is-form), .box-badge:hover .box-text, input.button.alt,
.nav-box > li > a:hover,
.nav-box > li.active > a,
.nav-pills > li.active > a,
.current-dropdown .cart-icon strong, .cart-icon:hover strong, .nav-line-bottom > li > a:before, .nav-line-grow > li > a:before, .nav-line > li > a:before,
.banner, .header-top, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover, .button.primary:not(.is-outline), input[type='submit'].primary, input[type='submit'].primary, input[type='reset'].button, input[type='button'].primary, .badge-inner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Border */
.nav-vertical.nav-tabs > li.active > a,
.scroll-to-bullets a.active,
.nav-pagination > li > .current,
.nav-pagination > li > span:hover,
.nav-pagination > li > a:hover,
.has-hover:hover .badge-outline .badge-inner,
.accordion-title.active,
.featured-table,
.is-outline:hover, .tagcloud a:hover,
blockquote, .has-border, .cart-icon strong:after,
.cart-icon strong,
.blockUI:before, .processing:before,
.loading-spin, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover {
  border-color: #667eea;
}

.nav-tabs > li.active > a {
  border-top-color: #667eea;
}

.widget_shopping_cart_content .blockUI.blockOverlay:before {
  border-left-color: #667eea;
}

.woocommerce-checkout-review-order .blockUI.blockOverlay:before {
  border-left-color: #667eea;
}

/* Fill */
.slider .flickity-prev-next-button:hover svg,
.slider .flickity-prev-next-button:hover .arrow {
  fill: #667eea;
}

/* Focus */
.primary:focus-visible, .submit-button:focus-visible, button[type="submit"]:focus-visible {
  outline-color: #667eea !important;
}

body {
  color: #1f2937;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  color: #1f2937;
}

@media screen and (max-width: 549px) {
  body {
    font-size: 100%;
  }
}

body {
  font-family: "Roboto Slab", sans-serif;
}

body {
  font-weight: 400;
  font-style: normal;
}

.nav > li > a {
  font-family: "Roboto Slab", sans-serif;
}

.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-family: "Roboto Slab", sans-serif;
}

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-weight: 700;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: "Roboto Slab", sans-serif;
}

h1, h2, h3, h4, h5, h6, .heading-font,
.banner h1, .banner h2 {
  font-weight: 700;
  font-style: normal;
}

.alt-font {
  font-family: "Roboto Slab", sans-serif;
}

.alt-font {
  font-weight: 400 !important;
  font-style: normal !important;
}

a {
  color: #667eea;
}

a:hover {
  color: #764ba2;
}

.tagcloud a:hover {
  border-color: #764ba2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-1 {
  background-color: #0f0f0f;
}

.nav-vertical-fly-out > li + li {
  border-top-width: 1px;
  border-top-style: solid;
}

.label-new.menu-item > a:after {
  content: "New";
}

.label-hot.menu-item > a:after {
  content: "Hot";
}

.label-sale.menu-item > a:after {
  content: "Sale";
}

.label-popular.menu-item > a:after {
  content: "Popular";
}

/* Game card hover effect */
#row-jogos a:hover img {
  transform: scale(1.05);
}

#row-jogos .col-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25) !important;
}

/* 移动端菜单样式 */
#main-menu.mfp-hide {
  display: none !important;
}

#main-menu:not(.mfp-hide) {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  z-index: 999999;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
  overflow-y: auto;
}

.mobile-nav a[data-open="#main-menu"] {
  cursor: pointer;
  z-index: 1000000;
  position: relative;
}

.mobile-nav a[data-open="#main-menu"]:hover {
  opacity: 0.8;
}

/* 优化卡片样式 */
.col-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(102, 126, 234, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.col-inner:hover {
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(102, 126, 234, 0.25) !important;
}

/* 优化按钮样式 */
.button.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
  transition: all 0.3s ease !important;
}

.button.primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* 优势宣传卡片样式 */
.vantagem-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  border: 2px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.vantagem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.4);
}

.vantagem-title {
  color: #667eea;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: left;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.vantagem-content {
  color: #4b5563;
  font-size: 1em;
  line-height: 1.7;
  text-align: left;
  margin: 0;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media screen and (max-width: 768px) {
  .vantagem-card {
    padding: 20px 15px;
  }
  .vantagem-title {
    font-size: 1.3em;
    text-align: left;
  }
  .vantagem-content {
    font-size: 0.95em;
    text-align: left;
  }
}

/* 优化FAQ区域 */
.accordion {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%) !important;
  border-radius: 20px !important;
  padding: 25px !important;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12) !important;
  border: 1px solid rgba(102, 126, 234, 0.1) !important;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.6) !important;
  border-radius: 12px !important;
  margin-bottom: 15px !important;
  border: 1px solid rgba(102, 126, 234, 0.1) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(102, 126, 234, 0.2) !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1) !important;
}

.accordion-title {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%) !important;
  color: #667eea !important;
  padding: 18px 20px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
}

.accordion-title:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
}

.accordion-title.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%) !important;
  color: #667eea !important;
}

.accordion-inner {
  background: rgba(255, 255, 255, 0.8) !important;
  padding: 20px !important;
  color: #4b5563 !important;
  line-height: 1.7 !important;
}

/* 优化游戏卡片区域 */
#row-jogos .col-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%) !important;
  border: 1px solid rgba(102, 126, 234, 0.15) !important;
}

/* 优化内容区域文字 */
#row-1535600164 .col-inner h2 {
  color: #667eea !important;
  margin-bottom: 15px !important;
  font-weight: 700 !important;
}

#row-1535600164 .col-inner p {
  color: #4b5563 !important;
  line-height: 1.8 !important;
  font-size: 1.05em !important;
}

/* 优化section标题 */
.section-title-container {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(102, 126, 234, 0.1) !important;
}

.section-title-main {
  color: #667eea !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(102, 126, 234, 0.1) !important;
}

/* 优化图片样式 */
#row-1535600164 .col-inner img {
  border-radius: 16px !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15) !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
  transition: all 0.3s ease !important;
}

#row-1535600164 .col-inner img:hover {
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25) !important;
  transform: scale(1.02) !important;
}

/* show.html 内容区域居中与排版优化 */
#ftwp-postcontent {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 18px;
}

#ftwp-postcontent h1,
#ftwp-postcontent h2,
#ftwp-postcontent h3 {
  text-align: center;
  color: #0da6a6;
  margin: 8px auto;
  font-weight: 700;
}

#ftwp-postcontent p {
  text-align: center;
  margin: 0 auto;
  line-height: 1.7;
  color: #4b5563;
  max-width: 820px;
}

#ftwp-postcontent .wp-block-image,
#ftwp-postcontent figure {
  margin: 8px auto;
  display: inline-block;
}

#ftwp-postcontent img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(13, 166, 166, 0.12);
}

/* FAQ 手风琴：默认隐藏回答，激活项展示 */
.accordion-inner {
  display: none;
}

.accordion-title {
  display: block;
  cursor: pointer;
}

.accordion-item.active .accordion-inner {
  display: block;
}

/* 缩小底部图片 */
#image_991864293 {
  width: 30% !important;
  max-width: 200px !important;
  margin: 0 auto !important;
}

#image_991864293 img {
  max-width: 100% !important;
  height: auto !important;
  max-height: 150px !important;
}
