:root {
  /* Emoji Fullscreen 主题色板 - Coral & Ink */
  --bg-deep: #2D3B42;
  --bg-surface: rgba(45, 59, 66, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.08);
  
  /* 珊瑚色和墨水色 */
  --accent-coral: #EF4623;
  --accent-coral-light: #FF6B4A;
  --accent-coral-dark: #D63A1A;
  --ink: #2D3B42;
  --ink-light: #3A4A52;
  
  /* 文本颜色 */
  --text-main: #E8E8E8;
  --text-muted: #B8C5CC;
  --text-bright: #FFFFFF;
  --text-coral: #EF4623;

  /* 边框与光效 */
  --border-subtle: rgba(239, 70, 35, 0.2);
  --border-coral: rgba(239, 70, 35, 0.4);
  --glow-coral: 0 0 30px rgba(239, 70, 35, 0.3);
  --glow-coral-soft: 0 0 20px rgba(239, 70, 35, 0.2);

  /* 字体堆栈 */
  --font-display: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--ink);
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

/* 温暖渐变背景 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 40%, rgba(239, 70, 35, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(239, 70, 35, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, #2D3B42 0%, #1F2A2F 100%);
  z-index: -1;
  pointer-events: none;
}

/* 柔和的纹理 */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

.container {
  max-width: 900px;
  width: 100%;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

/* 排版与字体 */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EF4623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  display: inline-block;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-bright);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--accent-coral);
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 链接样式 */
a {
  color: var(--accent-coral);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-coral-light);
  text-shadow: 0 0 8px rgba(239, 70, 35, 0.4);
}

/* 顶部导航 */
header {
  text-align: center;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

header h1 {
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  height: auto;
}

.subtitle {
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.9;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
}

.top-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0;
  color: var(--text-muted);
}

.top-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.top-nav a:hover {
  color: var(--accent-coral);
}

.top-nav a:hover::after {
  width: 100%;
}

/* 视觉横幅 - 温暖友好的风格 */
.banner-placeholder {
  background: linear-gradient(135deg, rgba(239, 70, 35, 0.15) 0%, rgba(45, 59, 66, 0.6) 100%);
  border: 1px solid var(--border-coral);
  padding: 60px 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.banner-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-coral) 0%, var(--accent-coral-light) 100%);
  box-shadow: var(--glow-coral-soft);
  border-radius: 2px 0 0 2px;
}

.banner-placeholder h2 {
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
}

.banner-placeholder p {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-bright);
  margin: 0;
  font-style: italic;
  font-weight: 400;
}

/* 通用卡片样式 - 圆角设计 */
.policy-section, .app-description, .support-info, .card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.policy-section:hover, .card:hover {
  border-color: var(--accent-coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(239, 70, 35, 0.15);
}

.policy-section h3 {
  color: var(--accent-coral);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  font-family: var(--font-mono);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

ul {
  margin: 10px 0 20px 20px;
}

li {
  margin-bottom: 8px;
  color: var(--text-muted);
  list-style-type: square;
}

li::marker {
  color: var(--accent-coral);
}

/* 联系人框 (Support/Policy) */
.contact-box, .contact-method {
  background: rgba(239, 70, 35, 0.08);
  border-left: 3px solid var(--accent-coral);
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.contact-icon {
  background: rgba(239, 70, 35, 0.15);
  color: var(--accent-coral);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-details strong {
  color: var(--text-bright);
  display: block;
}

/* Cards Grid (Support page) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.feature {
  background: rgba(239, 70, 35, 0.05);
  border-left: 3px solid var(--accent-coral);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(239, 70, 35, 0.1);
  transform: translateX(5px);
}

.feature h3 {
  color: var(--accent-coral);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  text-transform: none;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0;
}

.feature p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 下载按钮 - 珊瑚色风格 */
.app-store-badge {
  margin: 50px 0;
  text-align: center;
}

.download-button {
  display: inline-block;
  background: transparent;
  color: var(--accent-coral);
  padding: 16px 32px;
  border: 2px solid var(--accent-coral);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(239, 70, 35, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-coral);
  transition: left 0.3s ease;
  z-index: -1;
}

.download-button:hover {
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(239, 70, 35, 0.4);
  transform: translateY(-2px);
}

.download-button:hover::before {
  left: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-coral);
}

/* Footer */
footer {
  margin-top: 60px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  width: 100%;
}

footer p {
  font-size: 0.8rem;
  opacity: 0.6;
  color: var(--text-muted);
}

/* 响应式调整 */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .banner-placeholder p { font-size: 1.5rem; }
  .container { padding: 20px; }
  .banner-placeholder {
    padding: 40px 20px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
}
