/* ========================================
   楓擎網絡遊戲工作室 - 電競霓虹風格
   ======================================== */

:root {
  /* 電競霓虹配色 */
  --neon-cyan: #00d4ff;
  --neon-purple: #ff00ff;
  --neon-green: #00ff88;
  --neon-pink: #ff3366;
  --gold: #ffd700;
  
  /* 深色背景 */
  --deep-blue: #0a0a1a;
  --dark-blue: #0d0d20;
  --darker-blue: #080812;
  --mid-blue: #1a1a3a;
  
  /* 文字颜色 */
  --white: #ffffff;
  --light-gray: #b0b0c0;
  --text-secondary: #808090;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  background: var(--deep-blue);
  color: var(--white);
  min-height: 100vh;
}

/* 页面包装器 */
.page-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(ellipse at 15% 85%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 0, 255, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--darker-blue) 0%, var(--deep-blue) 50%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

/* 网格背景效果 */
.page-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   顶部品牌区
   ======================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.logo-section {
  display: flex;
  align-items: center;
}

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

.logo-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8)); }
  to { filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8)); }
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  letter-spacing: 3px;
}

.header-right {
  display: flex;
  align-items: center;
}

.tax-id {
  font-size: 13px;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ========================================
   主内容区 - 三栏布局
   ======================================== */
.main-content {
  flex: 1;
  display: grid;
  grid-template-columns: 300px 1fr 290px;
  gap: 25px;
  padding: 20px 30px;
  position: relative;
  z-index: 1;
  min-height: 0;
  align-items: stretch;
}

/* ========================================
   左侧视觉区
   ======================================== */
.left-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mid-blue);
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.2),
    inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.left-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 左侧背景图片 */
  background-image: url('/public/images/left-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.left-bg-image::before {
  content: none;
}

.left-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 212, 255, 0.1) 50%,
    rgba(255, 0, 255, 0.1) 100%
  );
  pointer-events: none;
}

.lineage-badge {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 25px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.9), rgba(255, 0, 255, 0.9));
  border: 2px solid var(--neon-cyan);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.6),
    0 0 60px rgba(255, 0, 255, 0.3);
  z-index: 5;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.3); }
  50% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 0 80px rgba(255, 0, 255, 0.5); }
}

/* 霓虹光线效果 */
.neon-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.neon-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  height: 1px;
  animation: scanLine 4s linear infinite;
}

.line1 {
  top: 30%;
  width: 100%;
  animation-delay: 0s;
}

.line2 {
  top: 50%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  animation-delay: 1.3s;
}

.line3 {
  top: 70%;
  width: 100%;
  animation-delay: 2.6s;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ========================================
   中部招募区
   ======================================== */
.center-recruit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: 20px 0;
  height: 100%;
}

/* 主标语 */
.main-slogan {
  text-align: center;
  padding: 25px 30px;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1), 
    rgba(255, 0, 255, 0.1)
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.main-slogan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 212, 255, 0.1), 
    transparent
  );
  animation: sloganShine 4s ease-in-out infinite;
}

@keyframes sloganShine {
  0%, 100% { left: -100%; }
  50% { left: 0%; }
}

.slogan-line1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: 
    0 0 20px rgba(0, 212, 255, 0.9),
    0 0 40px rgba(0, 212, 255, 0.6),
    0 0 60px rgba(0, 212, 255, 0.4);
  margin-bottom: 15px;
  letter-spacing: 4px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.slogan-line2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  letter-spacing: 6px;
}

@keyframes textGlow {
  from { 
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.9), 0 0 40px rgba(0, 212, 255, 0.6);
  }
  to { 
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.9), 0 0 50px rgba(255, 0, 255, 0.6);
  }
}

/* 岗位卡片 */
.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.job-card {
  background: linear-gradient(180deg, 
    rgba(26, 26, 58, 0.9), 
    rgba(13, 13, 32, 0.95)
  );
  border: 2px solid rgba(0, 212, 255, 0.4);
  border-radius: 16px;
  padding: 20px 15px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1), 
    rgba(255, 0, 255, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.job-card:hover::before {
  opacity: 1;
}

.job-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 
    0 0 40px rgba(0, 212, 255, 0.5),
    0 0 80px rgba(255, 0, 255, 0.2);
  transform: translateY(-8px);
}

.job-card.featured {
  background: linear-gradient(180deg, 
    rgba(0, 212, 255, 0.2), 
    rgba(255, 0, 255, 0.15)
  );
  border-color: var(--neon-purple);
}

.job-card.featured:hover {
  border-color: var(--neon-purple);
  box-shadow: 
    0 0 40px rgba(255, 0, 255, 0.5),
    0 0 80px rgba(0, 212, 255, 0.2);
}

.card-number {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(0, 212, 255, 0.2);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.card-salary {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 15px;
}

.card-salary .highlight {
  font-size: 22px;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
}

.card-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.benefit-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}

/* 承诺说明 */
.promise-section {
  text-align: center;
  padding: 18px 25px;
  background: linear-gradient(135deg, 
    rgba(0, 255, 136, 0.1), 
    rgba(0, 212, 255, 0.1)
  );
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
}

.promise-text {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
}

/* CTA按钮 */
.cta-section {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.cta-button {
  position: relative;
  display: inline-block;
  padding: 16px 55px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.5),
    0 0 60px rgba(255, 0, 255, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 
    0 0 50px rgba(0, 212, 255, 0.7),
    0 0 100px rgba(255, 0, 255, 0.5);
}

.btn-text {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
}

.btn-glow {
  display: none;
}

/* 福利保障栏 */
.guarantees {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--light-gray);
}

.check-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 8px var(--neon-green));
}

/* ========================================
   右侧业务信息区
   ======================================== */
.right-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  justify-content: center;
}

.info-block {
  background: linear-gradient(180deg, 
    rgba(26, 26, 58, 0.8), 
    rgba(13, 13, 32, 0.9)
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 14px;
  padding: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.info-block:hover {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
}

.block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.block-icon {
  width: 24px;
  height: 24px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.block-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* 主营游戏 */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.game-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.game-item:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateX(5px);
}

.game-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.game-item span {
  font-size: 11px;
  color: var(--light-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 服务范围 */
.regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.region-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.region-item:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: scale(1.05);
}

.region-icon {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 0 10px currentColor);
}

.region-text {
  font-size: 10px;
  color: var(--light-gray);
  text-align: center;
}

/* 服务内容 */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  padding: 10px 18px;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.3), 
    rgba(255, 0, 255, 0.2)
  );
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-tag:hover {
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.5), 
    rgba(255, 0, 255, 0.4)
  );
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

/* ========================================
   底部信息
   ======================================== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: linear-gradient(0deg, rgba(0, 212, 255, 0.15) 0%, transparent 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 13px;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
}

.social-link.wechat:hover {
  background: #07c160;
  border-color: #07c160;
  box-shadow: 0 0 20px rgba(7, 193, 96, 0.6);
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
}

.social-link.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 0 20px rgba(29, 161, 242, 0.6);
}

.social-link.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* ========================================
   响应式设计
   ======================================== */

/* 大屏幕 */
@media (min-width: 1920px) {
  .main-content {
    grid-template-columns: 380px 1fr 350px;
    gap: 35px;
    padding: 25px 40px;
  }
  .slogan-line1 { font-size: 36px; }
  .slogan-line2 { font-size: 28px; }
  .job-card { padding: 25px 20px; }
  .card-title { font-size: 22px; }
  .card-salary .highlight { font-size: 28px; }
}

/* 标准屏幕 */
@media (max-width: 1400px) {
  .main-content {
    grid-template-columns: 260px 1fr 260px;
    gap: 20px;
    padding: 15px 25px;
  }
  .slogan-line1 { font-size: 26px; }
  .slogan-line2 { font-size: 20px; }
}

/* 中等屏幕 */
@media (max-width: 1200px) {
  .main-content {
    grid-template-columns: 200px 1fr 240px;
    gap: 15px;
    padding: 12px 18px;
  }
  .slogan-line1 { font-size: 24px; }
  .slogan-line2 { font-size: 18px; }
  .job-card { padding: 15px 10px; }
  .card-title { font-size: 15px; }
  .card-salary .highlight { font-size: 18px; }
}

/* 平板横屏 */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr 240px;
    gap: 18px;
  }
  .left-visual { display: none; }
  .center-recruit { order: 1; }
  .right-info { order: 2; }
  .job-cards { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* 小屏幕适配 */
@media (max-width: 768px) {
  .page-wrapper { height: auto; min-height: 100vh; }
  html, body { overflow: auto; }
  
  .main-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .left-visual {
    display: block;
    height: 220px;
  }
  
  .header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .logo-text { font-size: 18px; }
  
  .slogan-line1 { font-size: 22px; }
  .slogan-line2 { font-size: 16px; }
  
  .main-slogan { padding: 20px; }
  .main-slogan { gap: 20px; }
  
  .job-cards { grid-template-columns: 1fr; gap: 15px; }
  
  .job-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  
  .card-number { position: static; font-size: 36px; }
  .card-title { font-size: 18px; margin-bottom: 0; width: 100%; }
  .card-salary { margin-bottom: 0; }
  
  .card-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  
  .benefit-item {
    font-size: 12px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
  }
  
  .guarantees { flex-direction: column; align-items: center; gap: 12px; }
  .footer { flex-direction: column; gap: 15px; text-align: center; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .regions { grid-template-columns: repeat(4, 1fr); }
}

/* 移动端 */
@media (max-width: 480px) {
  .header { padding: 10px 15px; }
  .logo-icon { width: 40px; height: 40px; }
  .logo-text { font-size: 16px; }
  
  .main-content { padding: 12px; }
  .main-slogan { padding: 15px; gap: 15px; }
  .slogan-line1 { font-size: 18px; letter-spacing: 2px; }
  .slogan-line2 { font-size: 14px; letter-spacing: 3px; }
  
  .job-card { padding: 15px; }
  .card-number { font-size: 30px; }
  .card-title { font-size: 16px; }
  
  .cta-button { padding: 14px 35px; }
  .btn-text { font-size: 15px; }
  
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .region-icon { width: 55px; height: 55px; }
  
  .service-tag { padding: 8px 14px; font-size: 13px; }
  .info-block { padding: 12px; }
  .block-header h3 { font-size: 14px; }
  .footer { padding: 15px; }
  .footer-brand { font-size: 12px; }
}

/* ========================================
   动画效果
   ======================================== */

/* 卡片入场动画 */
.job-card {
  opacity: 0;
  transform: translateY(30px);
  animation: cardAppear 0.6s ease forwards;
}

.job-card:nth-child(1) { animation-delay: 0.2s; }
.job-card:nth-child(2) { animation-delay: 0.4s; }
.job-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 扫描线效果 */
.page-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.02) 3px,
    rgba(0, 0, 0, 0.02) 4px
  );
  pointer-events: none;
  z-index: 100;
}
