:root {
    --bg-cream: #fcf9f2;
    --arcade-white: #ffffff;
    --pixel-dark: #2b2b2b;
    --neon-pink: #ff4b72;
    --neon-blue: #00d2ff;
    --neon-yellow: #ffd500;
    --neon-green: #00fa9a;
    --gray-line: #e0dcd3;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --border-pixel: 3px solid var(--pixel-dark);
  }

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

  body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--pixel-dark);
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul {
    list-style: none;
  }

  /* 顶部导航 */
  .top-nav {
    position: sticky;
    top: 0;
    background: rgba(252, 249, 242, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: var(--border-pixel);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
  }

  .nav-left img {
    height: 32px;
    border-radius: 4px;
  }

  .nav-links {
    display: flex;
    gap: 15px;
    font-size: 0.95rem;
  }

  .nav-links a:hover {
    color: var(--neon-pink);
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .search-box {
    border: 2px solid var(--pixel-dark);
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 0.9rem;
    outline: none;
    background: var(--arcade-white);
  }

  .btn-nav-download {
    background: var(--neon-pink);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    border: 2px solid var(--pixel-dark);
    box-shadow: 2px 2px 0 var(--pixel-dark);
    transition: all 0.2s;
  }

  .btn-nav-download:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
  }

  /* 通用区块样式 */
  section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 var(--neon-blue), 2px 2px 0 var(--pixel-dark);
  }

  .pixel-icon {
    width: 32px;
    height: 32px;
    background-color: var(--neon-yellow);
    border: var(--border-pixel);
    display: inline-block;
    box-shadow: inset -4px -4px 0 rgba(0,0,0,0.1);
  }

  /* 首屏 Hero */
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--neon-pink);
  }

  .hero-hook {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 500;
  }

  .hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--arcade-white);
    padding: 15px 20px;
    border: var(--border-pixel);
    border-radius: 8px;
    box-shadow: 4px 4px 0 var(--neon-blue);
  }

  .stat-item {
    text-align: center;
  }

  .stat-label {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
  }

  .stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: monospace;
    color: var(--neon-pink);
  }

  .hero-actions {
    display: flex;
    gap: 20px;
  }

  .btn-big {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    border: var(--border-pixel);
    box-shadow: 4px 4px 0 var(--pixel-dark);
    transition: transform 0.1s, box-shadow 0.1s;
    min-height: 48px;
  }

  .btn-android {
    background: var(--neon-green);
    color: var(--pixel-dark);
  }

  .btn-ios {
    background: var(--neon-blue);
    color: var(--pixel-dark);
  }

  .btn-big:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--pixel-dark);
  }

  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .arcade-machine {
    background: #f0f0f0;
    border: 4px solid var(--pixel-dark);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
  }

  .crt-screen {
    background: #111;
    border: 4px solid #333;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    overflow: hidden;
  }

  .crt-screen::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
  }

  .hero-card {
    background: #222;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
  }

  .hero-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .arcade-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 20px;
  }

  .joystick {
    width: 30px;
    height: 50px;
    background: var(--pixel-dark);
    border-radius: 15px 15px 0 0;
    position: relative;
  }
  .joystick::after {
    content: '';
    position: absolute;
    top: -15px; left: -5px; width: 40px; height: 20px; border-radius: 50%; background: var(--neon-pink); border: 2px solid var(--pixel-dark);
  }

  .buttons-group {
    display: flex;
    gap: 15px;
  }

  .btn-arc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--pixel-dark);
    box-shadow: 0 4px 0 var(--pixel-dark);
  }
  .btn-a { background: var(--neon-yellow); }
  .btn-b { background: var(--neon-blue); }

  /* 热播推荐 街机屏墙 */
  .hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .machine-card {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.2s;
    position: relative;
    cursor: pointer;
  }

  .machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 75, 114, 0.3);
  }

  .machine-screen {
    background: #111;
    border: 3px solid #333;
    border-radius: 8px;
    padding: 5px;
    position: relative;
  }

  .machine-screen img {
    width: 100%;
    border-radius: 4px;
    display: block;
  }

  .machine-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--neon-pink);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
  }

  .machine-info {
    padding: 10px 5px 5px;
  }

  .machine-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .machine-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
  }

  .score-text {
    font-family: monospace;
    font-weight: bold;
    color: var(--neon-pink);
  }

  .machine-decor {
    height: 15px;
    background: repeating-linear-gradient(90deg, #ccc, #ccc 4px, #eee 4px, #eee 8px);
    margin-top: 8px;
    border-radius: 0 0 8px 8px;
  }

  /* 更新日历 */
  .calendar-board {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.05);
  }

  .task-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px dashed var(--gray-line);
    gap: 20px;
  }
  .task-row:last-child {
    border-bottom: none;
  }

  .time-slot {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--pixel-dark);
    min-width: 80px;
  }

  .task-covers {
    display: flex;
    gap: 10px;
    overflow-x: auto;
  }

  .task-cover-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .task-cover-item img {
    width: 24px;
    height: 32px;
    object-fit: cover;
    border-radius: 3px;
  }

  .tag-live {
    background: var(--neon-green);
    color: var(--pixel-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }

  /* 排行榜 */
  .rank-list {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 12px;
    padding: 20px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 2px solid var(--bg-cream);
    gap: 15px;
  }

  .rank-item:last-child {
    border-bottom: none;
  }

  .rank-item.top1 {
    background: linear-gradient(90deg, rgba(255, 213, 0, 0.2) 0%, transparent 100%);
    border-radius: 8px;
  }

  .rank-num {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: monospace;
    color: #ccc;
    min-width: 40px;
    text-align: center;
  }

  .top1 .rank-num { color: var(--neon-yellow); text-shadow: 1px 1px 0 #b38f00; }
  .top2 .rank-num { color: #c0c0c0; }
  .top3 .rank-num { color: #cd7f32; }

  .rank-cover {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--pixel-dark);
  }

  .rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .rank-title {
    font-weight: bold;
    font-size: 1rem;
  }

  .rank-tag {
    font-size: 0.75rem;
    color: #888;
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
  }

  .rank-score {
    font-family: monospace;
    font-weight: bold;
    color: var(--neon-pink);
    font-size: 1.1rem;
  }

  /* 题材分类 */
  .map-container {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
  }

  .level-node {
    background: #f9f9f9;
    border: 3px solid var(--neon-blue);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }

  .level-node:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-blue);
  }

  .level-covers {
    display: flex;
    gap: 4px;
  }

  .level-covers img {
    width: 30px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
  }

  .level-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .level-info p {
    font-size: 0.75rem;
    color: #666;
  }

  /* 独播首发 */
  .exclusive-section {
    display: flex;
    gap: 30px;
  }

  .exclusive-main {
    flex: 1;
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 8px 8px 0 var(--neon-pink);
  }

  .ribbon {
    position: absolute;
    top: -10px; right: -10px;
    background: var(--neon-pink);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(5deg);
    border: 2px solid var(--pixel-dark);
  }

  .exclusive-main img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    display: block;
    margin: 0 auto 20px;
  }

  .exclusive-main h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .exclusive-main p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
  }

  .countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .cd-block {
    background: var(--pixel-dark);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
  }

  .btn-reserve {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--neon-yellow);
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    border: var(--border-pixel);
  }

  .exclusive-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .ex-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--arcade-white);
    padding: 10px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
  }
  
  .ex-item:hover {
    border-color: var(--neon-blue);
  }

  .ex-item img {
    width: 40px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
  }

  .ex-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .ex-date {
    font-size: 0.8rem;
    color: var(--neon-pink);
  }

  /* 免费专区 */
  .free-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
  }

  .free-card {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s;
  }

  .free-card:hover {
    transform: translateY(-5px);
  }

  .free-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .free-card h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  /* 用户评价 */
  .reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .review-stats {
    display: flex;
    justify-content: space-around;
    background: var(--neon-blue);
    padding: 20px;
    border-radius: 12px;
    border: var(--border-pixel);
    color: var(--pixel-dark);
  }

  .r-stat h3 {
    font-size: 2rem;
    font-family: monospace;
  }
  .r-stat p {
    font-size: 0.9rem;
    font-weight: bold;
  }

  .sticker-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .sticker {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
    width: 250px;
    position: relative;
    transform: rotate(-2deg);
    border: 1px solid #eee;
  }

  .sticker:nth-child(even) { transform: rotate(2deg); }
  .sticker:nth-child(3n) { transform: rotate(-1deg); }

  .sticker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .sticker-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
  }

  .sticker-name {
    font-weight: bold;
    font-size: 0.9rem;
  }

  .sticker-stars {
    color: var(--neon-yellow);
    font-size: 0.9rem;
  }

  .sticker-text {
    font-size: 0.85rem;
    color: #444;
  }

  /* 常见问题 */
  .faq-list {
    background: var(--arcade-white);
    border: var(--border-pixel);
    border-radius: 12px;
    padding: 20px;
  }

  .faq-item {
    border-bottom: 2px dashed var(--gray-line);
    padding: 15px 0;
  }
  .faq-item:last-child { border-bottom: none; }

  .faq-q {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.05rem;
  }

  .faq-a {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
    display: none;
  }

  .faq-item.active .faq-a {
    display: block;
  }

  /* 下载安装区 */
  .download-section {
    background: var(--neon-yellow);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: var(--border-pixel);
    box-shadow: 8px 8px 0 var(--pixel-dark);
    margin-bottom: 60px;
  }

  .steps-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .step-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    width: 220px;
    border: 2px solid var(--pixel-dark);
    text-align: left;
  }

  .step-num {
    background: var(--neon-pink);
    color: white;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .step-card p {
    font-size: 0.8rem;
    color: #555;
  }

  .download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .btn-coin {
    background: white;
    border: 4px solid var(--pixel-dark);
    border-radius: 50px;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 0 var(--pixel-dark);
    transition: transform 0.1s, box-shadow 0.1s;
    min-height: 60px;
  }

  .btn-coin:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--pixel-dark);
  }

  /* 悬浮下载条 */
  .floating-bar {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: var(--border-pixel);
    padding: 10px 20px;
    display: none;
    justify-content: center;
    gap: 15px;
    z-index: 1000;
  }

  .floating-bar a {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 页脚 */
  footer {
    background: #1a1a1a;
    color: #888;
    padding: 40px 20px;
    font-size: 0.85rem;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-brand {
    max-width: 300px;
  }

  .footer-brand p {
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .footer-links {
    display: flex;
    gap: 40px;
  }

  .footer-links ul h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

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

  .footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.75rem;
  }

  .footer-bottom a {
    color: #888;
  }
  .footer-bottom a:hover { color: white; }

  .app-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
  }
  .app-info img {
    height: 32px;
  }

  /* 响应式 */
  @media (max-width: 992px) {
    .hero-section { flex-direction: column; text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .exclusive-section { flex-direction: column; }
  }

  @media (max-width: 768px) {
    .nav-links, .search-box { display: none; }
    .hero-text h1 { font-size: 2rem; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-item { flex-wrap: wrap; }
    .rank-score { width: 100%; text-align: right; }
    .map-container { flex-direction: column; align-items: stretch; }
    .level-node { justify-content: space-between; }
    .sticker-wall { flex-direction: column; align-items: center; }
    .sticker { width: 100%; max-width: 350px; }
    .task-row { flex-direction: column; align-items: flex-start; }
    .task-covers { width: 100%; padding-bottom: 5px; }
    .download-buttons { flex-direction: column; }
    .floating-bar { display: flex; }
    body { padding-bottom: 70px; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-card { width: 100%; max-width: 300px; }
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .arcade-machine { box-shadow: none; }
  }