@charset "utf-8";

/* ===== Agebiaobiao Brand Theme ===== */
:root {
  --age-primary: #7c3aed;
  --age-primary-dark: #5b21b6;
  --age-secondary: #06b6d4;
  --age-accent: #f59e0b;
  --age-dark: #1e1b4b;
  --age-light: #f8fafc;
  --age-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
}

/* ===== 全局：清除旧版粉色，统一紫青品牌色 ===== */
.Sys_header .box_menu li a:after,
.Sys_header .box_menu li.on a::before {
  background: var(--age-primary) !important;
  background-color: var(--age-primary) !important;
}

.Sys_header .box .box_div li a b {
  background: var(--age-primary) !important;
}

.Sys_header .box .box_div.box_lang li.on a {
  color: var(--age-primary) !important;
}

.index_links_grid a {
  background: #fff !important;
}

.index_links_grid a:hover {
  background: var(--age-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2) !important;
}

.index_links_grid a:hover h3,
.index_links_grid a:hover p,
.index_links_grid a:hover span {
  color: #fff !important;
}

.index_links_grid span {
  color: var(--age-secondary) !important;
}

.About .left h3 {
  color: var(--age-primary) !important;
}

.About .right_three h3 i {
  color: var(--age-secondary) !important;
}

.Games ul li:nth-child(4) a {
  background: var(--age-gradient) !important;
}

.Games ul li:nth-child(4) a:hover {
  opacity: 0.9;
}

.index_one p.btn a,
.index_two p.btn a {
  border-color: var(--age-primary) !important;
  color: var(--age-primary) !important;
}

.index_one p.btn a:hover,
.index_two p.btn a:hover {
  background: var(--age-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.index_three ul li a:hover {
  background: var(--age-gradient) !important;
}

.Contact .one li p:first-child {
  color: var(--age-primary) !important;
}

.layer-Invite .btn_red,
.layer-Invite .close {
  color: #fff !important;
}

/* Override brand accent */
.Sys_header .box_menu ul li.on a span,
.Sys_header .box_menu ul li a:hover span,
.index_one .box h1 span,
.index_intro .intro-title span,
.index_links .section-title span,
.index_banner .box ul li b,
.index_stats .box ul li p:nth-child(1) span,
.About .right_two ul li p:nth-child(1) span,
.btn_red,
.index_one .box .btn a {
  color: var(--age-primary) !important;
}

.btn_red,
.index_one .box .btn a,
.Careers .btn_red {
  background: var(--age-gradient) !important;
  border-color: transparent !important;
}

.index_one .box .btn a:hover {
  background: var(--age-primary-dark) !important;
}

/* Header */
.Sys_header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(124, 58, 237, 0.08);
}

.box_logo img,
.Sys_footer .Sys_main > p img {
  display: none;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none !important;
  line-height: 1.2;
  height: 100%;
}

.site-logo__name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--age-dark);
}

.site-logo__name em {
  font-style: normal;
  color: var(--age-primary);
}

.site-logo__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 2px;
}

.site-logo--footer .site-logo__name {
  font-size: 20px;
}

.site-logo--footer .site-logo__tag {
  font-size: 10px;
}

.footer-logo {
  margin-bottom: 8px;
}

.Sys_header .box .box_logo {
  width: auto !important;
  min-width: 140px;
}

/* Hero Banner */
.index_banner {
  background: var(--age-gradient) !important;
  position: relative;
  overflow: hidden;
  height: 560px !important;
}

.index_banner .box {
  height: 100% !important;
}

.index_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 158, 11, 0.2) 0%,
      transparent 40%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.hero-title em {
  font-style: normal;
  color: #fde68a;
}

.hero-subtitle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.hero-btn-primary {
  background: #fff;
  color: var(--age-primary-dark) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-float {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}
.hero-float-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}
.hero-float-3 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

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

/* Intro Section */
.index_intro {
  padding: 80px 0 60px;
  background: #fff;
}

.index_intro .box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.intro-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--age-primary);
  margin-bottom: 16px;
}

.intro-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--age-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.intro-title span {
  color: var(--age-primary);
}

.intro-company {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.index_intro .introduce {
  font-size: 17px;
  font-weight: normal;
  line-height: 1.8;
  color: #475569;
  margin: 0;
}

/* Stats */
.index_stats {
  background: var(--age-dark) !important;
}

.index_stats .box h2 {
  color: #fff !important;
}

.index_stats .box ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: auto !important;
}

.index_stats .box ul li {
  width: 220px !important;
  height: 220px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.3s ease;
  display: inline-block !important;
}

.index_stats .box ul li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1) !important;
}

.index_stats .box ul li p:nth-child(1) {
  color: var(--age-secondary) !important;
}

.index_stats .box ul li p:nth-child(2) {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Values Section */
.index_values {
  padding: 80px 0;
  background: var(--age-light);
}

.index_values .box {
  width: 1200px;
  margin: 0 auto;
}

.index_values h2 {
  text-align: center;
  font-size: 42px;
  color: var(--age-dark);
  margin-bottom: 12px;
}

.index_values .subtitle {
  text-align: center;
  color: #64748b;
  font-size: 16px;
  margin-bottom: 50px;
}

.values_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.values_grid li {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 58, 237, 0.06);
}

.values_grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.values_icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--age-gradient);
  color: #fff;
}

.values_grid h3 {
  font-size: 22px;
  color: var(--age-dark);
  margin-bottom: 12px;
}

.values_grid p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

/* Featured Games */
.index_games {
  padding: 80px 0;
  background: #fff;
}

.index_games .box {
  width: 1200px;
  margin: 0 auto;
}

.index_games h2 {
  text-align: center;
  font-size: 42px;
  color: var(--age-dark);
  margin-bottom: 12px;
}

.index_games h2 span {
  color: var(--age-primary);
}

.index_games .subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 50px;
}

.games_preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.games_preview li {
  background: var(--age-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.games_preview li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
}

.game-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--age-gradient);
}

.games_preview h4 {
  padding: 16px 16px 8px;
  font-size: 16px;
  color: var(--age-dark);
}

.games_preview p {
  padding: 0 16px 16px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.games_more {
  text-align: center;
}

.games_more a {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--age-gradient);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.3s;
}

.games_more a:hover {
  opacity: 0.9;
}

/* Link cards */
.index_links .box {
  padding: 70px 0 90px !important;
  background: var(--age-light);
}

.index_links .section-title {
  font-size: 36px !important;
  font-weight: 700;
  text-align: center;
  color: var(--age-dark);
  margin-bottom: 40px;
}

.index_links_grid a {
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
}

.index_links_grid h3 {
  color: var(--age-dark) !important;
}

.index_links_grid p {
  color: #64748b !important;
}

/* Footer */
.Sys_footer {
  background: var(--age-dark) !important;
}

/* Page banners */
.Sys_banner .box_about,
.Sys_banner .box_contact,
.Sys_banner .box_careers,
.Sys_banner .box_games {
  background: var(--age-gradient) !important;
}

/* ===== Careers Page ===== */
.Careers {
  background: var(--age-light);
}

.Careers_box {
  padding: 60px 0 80px !important;
}

.Careers_tab_li {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.Careers_tab_li li {
  float: none !important;
  flex: 1;
  min-width: 140px;
  line-height: 1.4 !important;
  padding: 18px 16px;
  height: auto !important;
  font-size: 15px !important;
  font-weight: 600;
  color: #475569 !important;
  background: #fff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-right: 0 !important;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.Careers_tab_li li i {
  display: block;
  margin: 0 auto 8px !important;
  font-size: 28px !important;
  color: #94a3b8;
  transition: color 0.25s ease;
}

.Careers_tab_li li b {
  background: var(--age-primary) !important;
  font-size: 11px !important;
  line-height: 20px !important;
  height: 20px !important;
  width: 20px !important;
  top: -6px !important;
  right: -6px !important;
}

.Careers_tab_li li:hover,
.Careers_tab_li li.active {
  background: var(--age-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.Careers_tab_li li:hover i,
.Careers_tab_li li.active i {
  color: #fff !important;
}

.Careers_tab_li li:hover b,
.Careers_tab_li li.active b {
  display: none;
}

.Careers_tab_li li.active::before {
  display: none !important;
}

.Careers_div {
  min-height: auto !important;
  padding-top: 0 !important;
}

.Careers_div ul {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 24px 28px !important;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #fff;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.Careers_div ul:hover {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.Careers_div ul:last-child {
  border-bottom: 1px solid #e2e8f0 !important;
}

.Careers_div ul h2 {
  flex: 1 1 280px;
  font-size: 18px !important;
  margin-bottom: 0 !important;
  color: var(--age-dark) !important;
}

.Careers_div ul h3 {
  position: static !important;
  flex: 0 0 auto;
  font-size: 13px !important;
  font-weight: normal !important;
  color: #94a3b8 !important;
  margin-bottom: 0 !important;
  text-align: center;
}

.Careers_div ul h3 span {
  display: block !important;
  font-size: 15px !important;
  color: var(--age-dark) !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
}

.Careers_div ul li {
  flex: 1 1 200px;
  width: auto !important;
  font-size: 14px !important;
  color: #64748b !important;
  -webkit-line-clamp: 2;
}

.Careers_div ul li:nth-child(4) {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto;
  width: auto !important;
}

.Careers_div ul li:nth-child(4) a {
  width: auto !important;
  min-width: 120px;
  padding: 0 24px;
  margin: 0 !important;
  line-height: 38px !important;
  font-size: 14px !important;
  color: var(--age-primary) !important;
  border: 2px solid var(--age-primary) !important;
  border-radius: 50px !important;
  background: transparent;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.Careers_div ul li:nth-child(4) a:hover {
  background: var(--age-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.Careers .btn_red {
  color: #fff !important;
}

.careers-empty {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
  font-size: 15px;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .index_banner {
    height: 480px !important;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .intro-title {
    font-size: 28px;
  }
  .index_links .section-title {
    font-size: 28px !important;
  }
  .values_grid {
    grid-template-columns: 1fr;
  }
  .index_values .box {
    width: 92%;
  }
  .Careers_tab_li li {
    min-width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }
  .Careers_div ul {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .Careers_div ul h2 {
    flex: none;
    width: 100%;
  }
  .Careers_div ul h3 {
    text-align: left;
  }
  .Careers_div ul li:nth-child(4) {
    width: 100% !important;
  }
  .Careers_div ul li:nth-child(4) a {
    display: inline-block;
  }
}
