﻿@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --primary-color: #FFD700; /* 鍍忕礌榛?*/
    --primary-hover: #ffb700;
    --pipe-green: #00E436; /* 姘寸缁?*/
    --brick-red: #FF004D; /* 鐮栧潡绾?*/
    --bg-night: #0b1021; /* 娣卞鍍忕礌澶滅┖ */
    --text-color: #fff;
    --pixel-font: 'MS Gothic', 'SimSun', monospace;, 'Courier New', Courier, monospace;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-night);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 搴旂敤鍍忕礌瀛椾綋 */
h1, h2, h3, h4, .logo, .btn, .price-amount, .main-nav a, .node-scroll, .pbn-links a {
    font-family: var(--pixel-font);
    text-shadow: 2px 2px 0px #000;
}

/* 瑙嗗樊婊氬姩鑳屾櫙 (Parallax Background) */
.parallax-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
}
.layer {
    position: absolute;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    animation: scrollBg linear infinite;
}
.layer-1 {
    /* 绻佹槦 */
    background-image: radial-gradient(white 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    animation-duration: 60s;
    opacity: 0.4;
}
.layer-2 {
    /* 杩滄櫙鍩庡競鍓奖 */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect y="60" width="20" height="40" fill="%231a2247"/><rect x="20" y="40" width="30" height="60" fill="%23131936"/><rect x="50" y="70" width="15" height="30" fill="%231a2247"/><rect x="65" y="50" width="35" height="50" fill="%23131936"/></svg>') repeat-x bottom;
    background-size: 200px 100px;
    animation-duration: 40s;
    height: 100vh;
}
.layer-3 {
    /* 杩戞櫙姘寸涓庡湴闈?*/
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20"><rect width="100" height="20" fill="%2300E436"/><rect y="2" width="100" height="4" fill="%23ffffff" opacity="0.4"/></svg>') repeat-x bottom;
    background-size: 150px 20px;
    animation-duration: 8s;
}

@keyframes scrollBg {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 甯冨眬瀹瑰櫒 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 椤堕儴瀵艰埅 */
header {
    background-color: rgba(11, 16, 33, 0.9);
    border-bottom: 4px solid var(--pipe-green);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.logo {
    font-size: 20px;
    color: var(--primary-color);
}
.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
.main-nav a {
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
}
.main-nav a:hover {
    color: var(--primary-color);
}

/* 琛楁満鎸夐挳椋庢牸 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: none;
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: 4px 4px 0px #000;
    transition: transform 0.1s, box-shadow 0.1s;
    font-size: 12px;
    user-select: none;
}
.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #000;
}
.btn:hover {
    background-color: var(--primary-hover);
}

/* 鑺傜偣 Ping 鐪嬫澘 (琛楁満楂樺垎姒? */
.node-board {
    background: #000;
    border-bottom: 4px solid var(--brick-red);
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.node-board::before {
    content: 'HI-SCORE:';
    position: absolute;
    left: 10px;
    top: 10px;
    color: var(--primary-color);
    font-family: var(--pixel-font);
    z-index: 2;
    background: #000;
    padding-right: 15px;
    font-size: 14px;
}
.node-scroll {
    display: inline-block;
    animation: marquee 25s linear infinite;
    color: var(--pipe-green);
    font-size: 14px;
    padding-left: 200px;
}
.node-scroll span {
    margin-right: 40px;
}
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
    padding: 80px 20px;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text {
    flex: 1;
    max-width: 600px;
}
.hero h1 {
    font-size: 30px;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.5;
}
.hero p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 8px;
    border: 2px dashed var(--pipe-green);
}
.hero-graphic {
    flex: 1;
    position: relative;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* SVG Animation */
@keyframes flyDuck {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
.svg-duck {
    animation: flyDuck 1.5s ease-in-out infinite;
    width: 150px;
    height: auto;
    filter: drop-shadow(6px 6px 0px rgba(0,0,0,0.8));
}
.svg-wall {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 100px;
    height: 200px;
    filter: drop-shadow(6px 6px 0px rgba(0,0,0,0.8));
}

/* Sections */
section {
    padding: 70px 0;
    position: relative;
    z-index: 10;
}
.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 50px;
    color: var(--pipe-green);
}

/* 缃戞牸绯荤粺缁存寔鍘熸湁閫昏緫 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 鍗＄墖鍍忕礌椋庢牸 */
.card {
    background: rgba(17, 17, 17, 0.9);
    border: 4px solid var(--text-color);
    padding: 30px;
    box-shadow: 6px 6px 0px #000;
    text-align: center;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}
.card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary-color);
}
.card p {
    color: #ccc;
}

/* 3D 鏃嬭浆鏈ㄩ┈濂楅鍖?*/
.pricing-carousel-container {
    perspective: 1000px;
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.pricing-carousel {
    width: 320px;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: autoRotate 18s infinite linear;
}
.pricing-carousel:hover {
    animation-play-state: paused;
}

@keyframes autoRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.price-card {
    position: absolute;
    width: 320px;
    background: #111;
    border: 6px solid var(--brick-red);
    box-shadow: inset 0 0 20px rgba(255,0,77,0.3), 10px 10px 0px #000;
    padding: 25px;
    top: 50%;
    left: 50%;
    margin-left: -160px;
    margin-top: -200px;
    display: flex;
    flex-direction: column;
}
.price-card:nth-child(1) { transform: rotateY(0deg) translateZ(350px); border-color: #fff; box-shadow: inset 0 0 20px rgba(255,255,255,0.3), 10px 10px 0px #000;}
.price-card:nth-child(2) { transform: rotateY(120deg) translateZ(350px); border-color: var(--primary-color); box-shadow: inset 0 0 20px rgba(255,215,0,0.3), 10px 10px 0px #000;}
.price-card:nth-child(3) { transform: rotateY(240deg) translateZ(350px); border-color: var(--pipe-green); box-shadow: inset 0 0 20px rgba(0,228,54,0.3), 10px 10px 0px #000;}

.price-amount {
    font-size: 32px;
    color: var(--primary-color);
    margin: 20px 0;
}
.price-amount span {
    font-size: 14px;
    color: #fff;
}
.price-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
    font-family: sans-serif;
    font-size: 15px;
}
.price-features li {
    margin-bottom: 12px;
    color: #eee;
}
.price-features li::before {
    content: '鈻?;
    color: var(--primary-color);
    margin-right: 10px;
}

/* 鎶曞竵鍔ㄦ晥 */
.coin-anim {
    position: absolute;
    color: var(--primary-color);
    font-family: var(--pixel-font);
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    animation: coinFloat 0.8s ease-out forwards;
    z-index: 9999;
    text-shadow: 2px 2px 0 #000;
}
@keyframes coinFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

/* 璇勪环鏃犵紳婊氬姩 */
.reviews-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.reviews-track {
    display: flex;
    width: 200%;
    animation: reviewScroll 25s linear infinite;
}
.reviews-track:hover {
    animation-play-state: paused;
}
.review-card {
    width: 15%; /* (100% / 6 cards approx to leave gap) */
    flex-shrink: 0;
    margin-right: 2%;
    border-color: var(--pipe-green);
}
@keyframes reviewScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FAQ 缁忓吀鍍忕礌杈规 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(0,0,0,0.8);
    border: 4px dashed var(--primary-color);
    margin-bottom: 20px;
    padding: 20px;
}
.faq-item h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.faq-item p {
    color: #ccc;
    font-size: 15px;
}

/* Footer & PBN Links */
footer {
    border-top: 4px solid var(--text-color);
    padding: 40px 0;
    text-align: center;
    background: #000;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}
.footer-links a {
    color: var(--primary-color);
    font-size: 12px;
}
.pbn-links {
    margin-top: 20px;
    font-size: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.pbn-links a {
    color: #333; /* 闅愯棌鎬ч珮鐨?SEO 鍙嬮摼 */
    font-family: var(--pixel-font);
}
.pbn-links a:hover {
    color: var(--pipe-green);
}

/* 鍐呭椤甸潰瑕嗙洊 (About, Terms, etc.) */
.content-page {
    background: rgba(0,0,0,0.8);
    border: 4px solid var(--primary-color);
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
}
.content-page h1, .content-page h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 鍝嶅簲寮忛€傞厤 */
@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 10px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
    .hero .container { flex-direction: column; }
    .hero-graphic { height: 250px; margin-top: 30px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    
    /* 缂╁皬 3D 鏃嬭浆鏈ㄩ┈浠ラ€傞厤鎵嬫満 */
    .pricing-carousel-container { transform: scale(0.65); height: 350px; }
    
    .reviews-track { width: 400%; }
    .review-card { width: 22%; margin-right: 3%; }
}

/* --- A11y & Performance Additions --- */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary-color);
    color: #000;
    padding: 10px;
    z-index: 9999;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 3px dashed var(--brick-red);
    outline-offset: 2px;
}
section, [id] {
    scroll-margin-top: 80px;
}
details > summary {
    cursor: pointer;
    list-style: none;
    outline: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary:focus-visible {
    outline: 2px solid var(--primary-color);
}
details h4 {
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

