/* ===== Tribal Forum - 原始部落风主样式表 ===== */

/* --- 字体定义 --- */
@font-face {
  font-family: 'Amatic SC';
  src: url('../fonts/AmaticSC-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amatic SC';
  src: url('../fonts/AmaticSC-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/JosefinSans-Variable.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS变量 --- */
:root {
  --tribal-midnight: #2E7D32;
  --tribal-magenta: #5D4037;
  --tribal-cyan: #FF6D00;
  --tribal-deepspace: #FFB74D;
  --tribal-silver: #1A1A1A;
  --tribal-midnight-rgb: 46, 125, 50;
  --tribal-magenta-rgb: 93, 64, 55;
  --tribal-cyan-rgb: 255, 109, 0;
  --tribal-deepspace-rgb: 255, 183, 77;
  --tribal-silver-rgb: 26, 26, 26;
  --font-heading: 'Amatic SC', 'PingFang SC', sans-serif;
  --font-body: 'Josefin Sans', 'Microsoft YaHei', sans-serif;
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--tribal-silver);
  color: #e0e0e0;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
}

/* --- 背景电路纹理 --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,109,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,109,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* --- 数据流瀑布背景动画 --- */
.tribal-data-waterfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tribal-data-waterfall .tribal-data-column {
  position: absolute;
  top: -100%;
  font-family: monospace;
  font-size: 14px;
  color: rgba(255,109,0,0.15);
  writing-mode: vertical-rl;
  animation: tribal-datafall linear infinite;
  white-space: nowrap;
}

@keyframes tribal-datafall {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* --- 原始部落闪烁动画 --- */
@keyframes tribal-neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 7px rgba(var(--tribal-cyan-rgb),0.6),
                 0 0 10px rgba(var(--tribal-cyan-rgb),0.4),
                 0 0 21px rgba(var(--tribal-cyan-rgb),0.3),
                 0 0 42px rgba(var(--tribal-cyan-rgb),0.2);
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.8;
  }
}

/* --- 全息投影显现动画 --- */
@keyframes tribal-hologram-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scaleY(0.95);
    filter: blur(4px) hue-rotate(30deg);
    clip-path: inset(0 0 100% 0);
  }
  30% {
    opacity: 0.5;
    filter: blur(2px) hue-rotate(15deg);
    clip-path: inset(0 0 50% 0);
  }
  60% {
    filter: blur(1px) hue-rotate(5deg);
    clip-path: inset(0 0 10% 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0) hue-rotate(0deg);
    clip-path: inset(0 0 0 0);
  }
}

.tribal-hologram-animate {
  animation: tribal-hologram-reveal 0.8s ease-out forwards;
}

/* --- 脉冲波纹动画 --- */
@keyframes tribal-pulse-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--tribal-magenta-rgb), 0.5);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(var(--tribal-magenta-rgb), 0.1);
  }
  100% {
    box-shadow: 0 0 0 25px rgba(var(--tribal-magenta-rgb), 0);
  }
}

/* --- 导航栏 --- */
.tribal-nav-bar {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--tribal-magenta);
  box-shadow: 0 2px 20px rgba(var(--tribal-magenta-rgb),0.3);
  padding: 0;
  z-index: 1000;
  position: relative;
}

.tribal-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.tribal-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 12px 0;
}

.tribal-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--tribal-magenta), var(--tribal-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-right: 10px;
  box-shadow: 0 0 15px rgba(var(--tribal-cyan-rgb),0.4);
}

.tribal-logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--tribal-cyan);
  text-shadow: 0 0 10px rgba(var(--tribal-cyan-rgb),0.5);
}

.tribal-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
}

.tribal-nav-item {
  position: relative;
}

.tribal-nav-link {
  display: block;
  padding: 18px 16px;
  color: #ccc;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  text-align: center;
}

.tribal-nav-link:hover {
  color: var(--tribal-cyan);
  background: rgba(var(--tribal-cyan-rgb),0.08);
}

.tribal-nav-link.tribal-active {
  color: var(--tribal-cyan);
  background: rgba(var(--tribal-cyan-rgb),0.1);
  animation: tribal-neon-flicker 3s infinite;
}

.tribal-nav-link.tribal-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--tribal-cyan);
  box-shadow: 0 0 8px var(--tribal-cyan);
}

/* 移动端菜单 */
.tribal-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--tribal-cyan);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.tribal-menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--tribal-cyan);
  margin: 3px 0;
  border-radius: 2px;
  box-shadow: 0 0 5px var(--tribal-cyan);
  transition: transform 0.3s;
}

/* --- 面包屑导航 --- */
.tribal-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
  font-size: 14px;
  color: #888;
}

.tribal-breadcrumb a {
  color: var(--tribal-cyan);
  text-decoration: none;
}

.tribal-breadcrumb a:hover {
  text-decoration: underline;
}

.tribal-breadcrumb-sep {
  margin: 0 8px;
  color: #555;
}

/* --- Hero模块 --- */
.tribal-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.tribal-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.tribal-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,26,26,0.75);
  z-index: -1;
}

.tribal-hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 2;
}

.tribal-hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--tribal-cyan);
  text-shadow: 0 0 20px rgba(var(--tribal-cyan-rgb),0.6),
               0 0 40px rgba(var(--tribal-cyan-rgb),0.3);
  margin-bottom: 16px;
  line-height: 1.2;
  animation: tribal-neon-flicker 4s infinite;
}

.tribal-hero-subtitle {
  font-family: var(--font-body);
  font-size: 22px;
  color: #b0b0b0;
  margin-bottom: 24px;
}

.tribal-hero-desc {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tribal-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 按钮样式 --- */
.tribal-btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--tribal-magenta);
  color: var(--tribal-silver);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 44px;
  min-width: 44px;
}

.tribal-btn-primary:hover {
  transform: scale(1.03);
  animation: tribal-pulse-ripple 0.6s ease-out;
  box-shadow: 0 0 20px rgba(var(--tribal-magenta-rgb),0.5);
}

.tribal-btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--tribal-cyan);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--tribal-cyan);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  min-height: 44px;
  min-width: 44px;
}

.tribal-btn-secondary:hover {
  box-shadow: 0 0 20px rgba(var(--tribal-cyan-rgb),0.4),
              0 0 40px rgba(var(--tribal-cyan-rgb),0.2);
  border-color: #fff;
}

/* --- 通用模块容器 --- */
.tribal-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.tribal-section-full {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.tribal-section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--tribal-cyan);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(var(--tribal-cyan-rgb),0.4);
}

.tribal-section-subtitle {
  font-size: 16px;
  color: #999;
  text-align: center;
  margin-bottom: 40px;
}

/* --- 卡片网格 --- */
.tribal-grid-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.tribal-card {
  background: rgba(var(--tribal-deepspace-rgb),0.1);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.2);
  border-radius: 2px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.tribal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tribal-magenta), var(--tribal-cyan));
  opacity: 0.6;
}

.tribal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(var(--tribal-magenta-rgb),0.3),
              0 0 50px rgba(var(--tribal-cyan-rgb),0.15);
}

.tribal-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--tribal-cyan-rgb),0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--tribal-cyan);
  box-shadow: 0 0 15px rgba(var(--tribal-cyan-rgb),0.3);
}

.tribal-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--tribal-cyan);
  margin-bottom: 8px;
}

.tribal-card-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.tribal-card-desc {
  font-size: 15px;
  color: #bbb;
  line-height: 1.6;
}

.tribal-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 16px;
}

.tribal-card-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background: rgba(var(--tribal-magenta-rgb),0.8);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 2px;
  transition: background 0.3s;
  min-height: 44px;
  min-width: 44px;
  line-height: 24px;
}

.tribal-card-btn:hover {
  background: var(--tribal-magenta);
  box-shadow: 0 0 15px rgba(var(--tribal-magenta-rgb),0.4);
}

/* --- 试玩区模块 --- */
.tribal-arcade-zone {
  background: rgba(var(--tribal-deepspace-rgb),0.08);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.15);
  border-radius: 2px;
  padding: 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.tribal-arcade-list {
  list-style: none;
}

.tribal-arcade-list li {
  padding: 14px 18px;
  margin-bottom: 6px;
  background: rgba(var(--tribal-silver-rgb),0.5);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
  color: #bbb;
  min-height: 44px;
}

.tribal-arcade-list li:hover,
.tribal-arcade-list li.tribal-active {
  border-left-color: var(--tribal-magenta);
  background: rgba(var(--tribal-magenta-rgb),0.15);
  color: var(--tribal-cyan);
}

.tribal-arcade-screen {
  background: rgba(var(--tribal-silver-rgb),0.6);
  border: 2px solid rgba(var(--tribal-cyan-rgb),0.3);
  border-radius: 2px;
  padding: 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(var(--tribal-cyan-rgb),0.05);
}

/* --- 影院模块 --- */
.tribal-cinema-screen {
  background: rgba(var(--tribal-deepspace-rgb),0.08);
  border: 2px solid rgba(var(--tribal-cyan-rgb),0.2);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.tribal-cinema-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tribal-cinema-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.3);
}

.tribal-cinema-play-btn {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(var(--tribal-magenta-rgb),0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(var(--tribal-magenta-rgb),0.5);
  transition: transform 0.3s;
}

.tribal-cinema-play-btn:hover {
  transform: scale(1.1);
}

.tribal-cinema-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.tribal-cinema-list {
  padding: 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
}

.tribal-cinema-item {
  min-width: 200px;
  padding: 12px;
  background: rgba(var(--tribal-silver-rgb),0.5);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.15);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.3s;
  font-size: 14px;
  color: #bbb;
}

.tribal-cinema-item:hover {
  border-color: var(--tribal-cyan);
}

/* --- 注册表单模块 --- */
.tribal-register-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(var(--tribal-deepspace-rgb),0.1);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.2);
  border-radius: 2px;
  padding: 40px;
}

.tribal-form-group {
  margin-bottom: 20px;
}

.tribal-form-label {
  display: block;
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.tribal-form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(var(--tribal-silver-rgb),0.6);
  border: none;
  border-bottom: 2px solid rgba(var(--tribal-cyan-rgb),0.3);
  color: #e0e0e0;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  min-height: 44px;
}

.tribal-form-input:focus {
  border-bottom-color: var(--tribal-cyan);
  animation: tribal-neon-flicker 2s infinite;
}

/* --- 广告牌/促销模块 --- */
.tribal-billboard {
  background: linear-gradient(135deg, rgba(var(--tribal-magenta-rgb),0.2), rgba(var(--tribal-cyan-rgb),0.1));
  border: 2px solid var(--tribal-magenta);
  border-radius: 2px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(var(--tribal-magenta-rgb),0.2);
}

.tribal-billboard::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--tribal-magenta-rgb),0.05) 0%, transparent 70%);
  animation: tribal-billboard-glow 4s ease-in-out infinite;
}

@keyframes tribal-billboard-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* --- 活动广场 --- */
.tribal-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tribal-event-card {
  background: rgba(var(--tribal-deepspace-rgb),0.08);
  border: 1px solid rgba(var(--tribal-magenta-rgb),0.3);
  border-radius: 2px;
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tribal-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(var(--tribal-magenta-rgb),0.2);
}

.tribal-event-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(var(--tribal-magenta-rgb),0.3);
  color: var(--tribal-cyan);
  font-size: 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* --- VIP摩天楼 --- */
.tribal-vip-tower {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tribal-vip-floor {
  background: rgba(var(--tribal-deepspace-rgb),0.08);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.15);
  border-radius: 2px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.tribal-vip-floor:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(var(--tribal-cyan-rgb),0.3);
  border-color: var(--tribal-cyan);
}

.tribal-vip-level {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--tribal-cyan);
  margin-bottom: 8px;
}

.tribal-vip-name {
  font-size: 18px;
  color: var(--tribal-magenta);
  margin-bottom: 12px;
  font-weight: 600;
}

/* --- 安全认证模块 --- */
.tribal-security-zone {
  background: rgba(var(--tribal-deepspace-rgb),0.06);
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.15);
  border-radius: 2px;
  padding: 50px 40px;
  text-align: center;
}

.tribal-security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tribal-security-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(var(--tribal-cyan-rgb),0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(var(--tribal-cyan-rgb),0.2);
}

.tribal-security-badge img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* --- 负责任博弈声明 --- */
.tribal-curfew-section {
  background: rgba(var(--tribal-silver-rgb),0.95);
  border-top: 2px solid rgba(var(--tribal-magenta-rgb),0.3);
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.tribal-curfew-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  align-items: start;
}

.tribal-curfew-icon {
  width: 80px;
  height: 80px;
  border: 3px solid var(--tribal-magenta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--tribal-magenta);
  box-shadow: 0 0 20px rgba(var(--tribal-magenta-rgb),0.4);
}

.tribal-curfew-text {
  font-size: 15px;
  color: #999;
  line-height: 1.8;
}

.tribal-curfew-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--tribal-magenta);
  margin-bottom: 16px;
}

/* --- 页脚 --- */
.tribal-footer {
  background: rgba(var(--tribal-silver-rgb),0.98);
  border-top: 2px solid rgba(var(--tribal-cyan-rgb),0.15);
  padding: 50px 20px 30px;
  position: relative;
  z-index: 1;
}

.tribal-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.tribal-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--tribal-cyan);
  margin-bottom: 16px;
}

.tribal-footer-col ul {
  list-style: none;
}

.tribal-footer-col ul li {
  margin-bottom: 8px;
}

.tribal-footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.tribal-footer-col ul li a:hover {
  color: var(--tribal-cyan);
}

.tribal-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.tribal-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tribal-cyan);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, box-shadow 0.3s;
}

.tribal-footer-social a:hover {
  background: rgba(var(--tribal-cyan-rgb),0.15);
  box-shadow: 0 0 15px rgba(var(--tribal-cyan-rgb),0.3);
}

.tribal-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tribal-footer-license {
  font-size: 13px;
  color: #666;
}

.tribal-footer-payments {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tribal-footer-payments span {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 12px;
  color: #888;
}

.tribal-footer-18plus {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.tribal-footer-18plus .tribal-18-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--tribal-magenta);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--tribal-magenta);
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(var(--tribal-magenta-rgb),0.3);
}

.tribal-footer-18plus p {
  font-size: 12px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* --- 内页通用样式 --- */
.tribal-page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.tribal-page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.4) saturate(1.2);
}

.tribal-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.9) 100%);
  z-index: -1;
}

.tribal-page-hero-content {
  text-align: center;
  padding: 60px 20px;
  z-index: 2;
}

.tribal-page-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--tribal-cyan);
  text-shadow: 0 0 20px rgba(var(--tribal-cyan-rgb),0.5);
  margin-bottom: 12px;
}

.tribal-page-subtitle {
  font-size: 18px;
  color: #bbb;
}

/* 内页内容区域 */
.tribal-content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.tribal-content-area h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--tribal-cyan);
  margin: 40px 0 16px;
  text-shadow: 0 0 10px rgba(var(--tribal-cyan-rgb),0.3);
}

.tribal-content-area h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--tribal-magenta);
  margin: 30px 0 12px;
}

.tribal-content-area h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--tribal-cyan);
  margin: 24px 0 10px;
}

.tribal-content-area p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 16px;
}

.tribal-content-area ul, .tribal-content-area ol {
  margin: 16px 0;
  padding-left: 24px;
}

.tribal-content-area li {
  margin-bottom: 8px;
  color: #bbb;
  font-size: 15px;
  line-height: 1.7;
}

.tribal-content-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.2);
  margin: 20px auto;
  display: block;
  box-shadow: 0 0 20px rgba(var(--tribal-cyan-rgb),0.1);
}

/* --- 游戏信息表格 --- */
.tribal-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.tribal-info-table th {
  background: rgba(var(--tribal-magenta-rgb),0.2);
  color: var(--tribal-cyan);
  font-family: var(--font-heading);
  font-size: 18px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(var(--tribal-cyan-rgb),0.3);
}

.tribal-info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: #bbb;
}

.tribal-info-table tr:hover td {
  background: rgba(var(--tribal-cyan-rgb),0.05);
}

/* --- FAQ模块 --- */
.tribal-faq-item {
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.15);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.tribal-faq-question {
  padding: 16px 20px;
  background: rgba(var(--tribal-deepspace-rgb),0.08);
  cursor: pointer;
  font-size: 16px;
  color: var(--tribal-cyan);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.tribal-faq-answer {
  padding: 16px 20px;
  font-size: 15px;
  color: #bbb;
  line-height: 1.7;
  display: none;
}

.tribal-faq-item.tribal-open .tribal-faq-answer {
  display: block;
}

/* --- APP下载页 --- */
.tribal-app-section {
  text-align: center;
  padding: 60px 20px;
}

.tribal-app-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 40px auto 0;
}

.tribal-app-card {
  background: rgba(var(--tribal-deepspace-rgb),0.1);
  border: 2px solid rgba(var(--tribal-cyan-rgb),0.2);
  border-radius: 2px;
  padding: 40px 30px;
  text-align: center;
}

.tribal-app-card h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--tribal-cyan);
  margin-bottom: 16px;
}

.tribal-qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
}

/* --- 响应式设计 --- */
@media (max-width: 1024px) {
  .tribal-grid-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .tribal-vip-tower {
    grid-template-columns: repeat(2, 1fr);
  }
  .tribal-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tribal-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    border-top: 1px solid rgba(var(--tribal-cyan-rgb),0.2);
    z-index: 999;
  }
  .tribal-nav-list.tribal-nav-open {
    display: flex;
  }
  .tribal-menu-toggle {
    display: flex;
  }
  .tribal-hero-title {
    font-size: 36px;
  }
  .tribal-hero-subtitle {
    font-size: 18px;
  }
  .tribal-grid-matrix {
    grid-template-columns: 1fr;
  }
  .tribal-arcade-zone {
    grid-template-columns: 1fr;
  }
  .tribal-event-grid {
    grid-template-columns: 1fr;
  }
  .tribal-vip-tower {
    grid-template-columns: 1fr;
  }
  .tribal-footer-grid {
    grid-template-columns: 1fr;
  }
  .tribal-curfew-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tribal-curfew-icon {
    margin: 0 auto;
  }
  .tribal-app-downloads {
    grid-template-columns: 1fr;
  }
  .tribal-section-title {
    font-size: 30px;
  }
  .tribal-page-title {
    font-size: 32px;
  }
  .tribal-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 414px) {
  html {
    font-size: 14px;
  }
  .tribal-hero-title {
    font-size: 28px;
  }
  .tribal-card {
    padding: 16px;
  }
  .tribal-billboard {
    padding: 30px 20px;
  }
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--tribal-silver);
}
::-webkit-scrollbar-thumb {
  background: var(--tribal-magenta);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tribal-cyan);
}

/* --- 内页图片网格 --- */
.tribal-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.tribal-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid rgba(var(--tribal-cyan-rgb),0.2);
  border-radius: 2px;
  transition: transform 0.3s;
}

.tribal-img-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(var(--tribal-cyan-rgb),0.2);
}

@media (max-width: 768px) {
  .tribal-img-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 414px) {
  .tribal-img-grid {
    grid-template-columns: 1fr;
  }
}
