/* ============================================================
   RedAlert2.online - 完美复刻样图精准样式 (app_home_pixel_perfect.css)
   完全1:1还原用户发送的实机设计效果图
   ============================================================ */

/* 1. 隐藏多余的顶栏系统条，导航栏高度收敛为 64px 极简战术黑底 */
.ra-topbar {
  display: none !important;
}

.ra-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 64px;
  display: flex;
  align-items: center;
}

.ra-nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ra-brand-logo {
  height: 38px;
  width: auto;
}

.ra-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ra-nav-menu a {
  color: #cfd6e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.ra-nav-menu a:hover,
.ra-nav-menu a.active {
  color: #ffffff;
}

.ra-nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ra-red, #c81e1e);
  border-radius: 2px;
}

.ra-btn-login {
  background: var(--ra-red, #c81e1e);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ra-btn-login:hover {
  background: var(--ra-red-hover, #e02828);
  box-shadow: 0 0 12px rgba(200, 30, 30, 0.5);
}

/* 2. 首屏 Hero 区域：坦克下压沉底，文字严格左对齐版心 */
.ra-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 60px 0 0 0;
  background: #07080a url("/assets/redesign/hero_war_bg.webp?v=20261004v11") no-repeat right bottom;
  background-size: cover;
  overflow: visible;
}

.ra-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 8, 10, 0.96) 0%, rgba(7, 8, 10, 0.85) 35%, rgba(7, 8, 10, 0.35) 60%, rgba(7, 8, 10, 0.05) 100%),
              linear-gradient(to top, rgba(7, 8, 10, 0.85) 0%, transparent 40%);
  pointer-events: none;
}

.ra-hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ra-hero-content {
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.ra-hero-tag {
  font-size: 13.5px;
  color: var(--ra-red, #c81e1e);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ra-hero-title {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: #ffffff;
  line-height: 1.15;
}

.ra-hero-subtitle {
  font-size: 16px;
  color: #a0aec0;
  letter-spacing: 1px;
  margin: 0 0 28px;
}

.ra-hero-subtitle span {
  color: var(--ra-red, #c81e1e);
  margin: 0 8px;
}

.ra-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.ra-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ra-red, #c81e1e);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(200, 30, 30, 0.4);
}

.ra-cta-btn-primary:hover {
  background: #e02828;
  transform: translateY(-1px);
}

.ra-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 22, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 4px;
  transition: all 0.2s;
}

.ra-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 3. 快速行动4卡片：精准紧贴首屏底缘悬浮 */
.ra-quick-actions-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  margin-top: -38px;
  margin-bottom: 40px;
}

.ra-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ra-action-card {
  background: #11161d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--ra-red, #c81e1e);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.ra-action-card:hover {
  background: #161e28;
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: #ff3333;
  transform: translateY(-2px);
}

.ra-action-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 30, 30, 0.1);
  border: 1px solid rgba(200, 30, 30, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ra-action-title {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ra-action-desc {
  color: #8a9ba8;
  font-size: 12px;
  margin-top: 3px;
}

/* 4. 四大核心承诺横幅 (纯净安全/联机指引/全系兼容/经典典藏) */
.ra-features-strip {
  background: transparent;
  border-top: none;
  border-bottom: none;
  padding: 24px 0 40px;
}

.ra-features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ra-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ra-feature-icon {
  color: var(--ra-red, #c81e1e);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ra-feature-text h4 {
  font-size: 14.5px;
  color: #ffffff;
  margin: 0 0 3px;
  font-weight: 600;
}

.ra-feature-text p {
  font-size: 12px;
  color: #718096;
  margin: 0;
}
