/* 红龙扑克红焰竞技官方平台 - 响应式样式 */
:root {
  --primary: #8b0000;
  --secondary: #d4af37;
  --accent: #b71c1c;
  --bg: #f8f4f0;
  --text: #222;
  --light: #fff;
  --shadow: 0 4px 15px rgba(0,0,0,0.12);
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header {
  background: linear-gradient(135deg, #5a0000, #8b0000);
  color: var(--light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: bold; color: var(--secondary); text-decoration: none; }
.logo span { color: var(--light); font-size: 0.85rem; display: block; font-weight: normal; }

nav ul { display: flex; list-style: none; gap: 25px; }
nav a { color: var(--light); text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--secondary); }

.menu-toggle { display: none; background: none; border: none; color: var(--light); font-size: 1.8rem; cursor: pointer; }

.hero {
  background: linear-gradient(rgba(90,0,0,0.75), rgba(90,0,0,0.75)), url('imagine_images/uA8AO.jpg') center/cover no-repeat;
  color: var(--light);
  padding: 90px 0;
  text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 15px; text-shadow: 2px 2px 6px rgba(0,0,0,0.6); }
.hero p { font-size: 1.15rem; max-width: 850px; margin: 0 auto 30px; }
.btn { display: inline-block; background: var(--secondary); color: #5a0000; padding: 12px 32px; border-radius: 30px; text-decoration: none; font-weight: bold; margin: 10px; transition: transform 0.3s; }
.btn:hover { transform: translateY(-3px); }
.btn-download { background: #d4af37; font-size: 1.1rem; padding: 14px 40px; }

.section { padding: 60px 0; }
.section h2 { font-size: 2rem; color: var(--primary); text-align: center; margin-bottom: 40px; position: relative; }
.section h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--secondary); margin: 12px auto 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--light); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.card:hover { transform: translateY(-8px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card h3 { color: var(--primary); margin-bottom: 10px; }

.faq-item { background: var(--light); margin-bottom: 15px; border-radius: 8px; box-shadow: var(--shadow); }
.faq-item h3 { padding: 15px 20px; cursor: pointer; color: var(--primary); }
.faq-item p { padding: 0 20px 15px; display: none; }
.faq-item.active p { display: block; }

footer { background: #5a0000; color: var(--light); text-align: center; padding: 40px 0; margin-top: 40px; }
footer a { color: var(--secondary); text-decoration: none; }

.poster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }
.poster-grid img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }

.download-section { text-align: center; padding: 40px 0; background: #fff; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #5a0000; padding: 20px; z-index: 999; }
  nav ul.show { display: flex; }
  .hero h1 { font-size: 1.6rem; }
  .hero { padding: 50px 0; }
  .section h2 { font-size: 1.6rem; }
  .poster-grid, .cards { grid-template-columns: 1fr; }
}
