/* === HHPoker 0054 — Casino Red/Black Theme === */
:root {
    --red: #dc2626;
    --red-dark: #b91c1c;
    --red-light: #ef4444;
    --black: #0a0a0a;
    --black-card: #141414;
    --black-alt: #1a1a1a;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --text: #f5f5f5;
    --text-muted: #a3a3a3;
    --border: #262626;
    --border-light: #333333;
    --shadow-red: 0 8px 30px rgba(220,38,38,0.25);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.4);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #222;
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 900; color: #fff; text-decoration: none;
    letter-spacing: 1px; text-transform: uppercase;
}
.nav-logo .logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff; font-weight: 900;
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 13px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    transition: color var(--transition); position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
    height: 2px; background: var(--red); border-radius: 1px;
}
.nav-cta {
    background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
    color: #fff !important; padding: 10px 22px !important; border-radius: 4px !important;
    letter-spacing: 1px !important; transition: all var(--transition) !important;
}
.nav-cta:hover {
    box-shadow: var(--shadow-red) !important;
    transform: translateY(-1px) !important;
}

.hamburger {
    display: none; flex-direction: column; gap: 4px; cursor: pointer;
    z-index: 1001; background: none; border: none; padding: 4px;
}
.hamburger span {
    width: 24px; height: 2px; background: #fff; transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--black-alt); flex-direction: column; padding: 100px 36px;
        gap: 24px; transition: right 0.4s; border-left: 1px solid #222;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px; position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(220,38,38,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(245,158,11,0.05) 0%, transparent 50%),
        var(--black);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px
    );
    pointer-events: none;
}
.hero-container {
    max-width: 1200px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-tag {
    display: inline-block;
    background: rgba(220,38,38,0.15);
    border: 1px solid rgba(220,38,38,0.3);
    color: var(--red-light);
    padding: 5px 14px; border-radius: 3px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 20px;
}
.hero h1 {
    font-size: 56px; font-weight: 900; line-height: 1.1;
    margin-bottom: 18px; letter-spacing: -1px; color: #fff;
    text-transform: uppercase;
}
.hero h1 .red { color: var(--red); }
.hero p {
    font-size: 17px; color: var(--text-muted);
    margin-bottom: 32px; line-height: 1.7; max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 4px; font-size: 14px;
    font-weight: 700; text-decoration: none; cursor: pointer;
    transition: all var(--transition); border: none;
    text-transform: uppercase; letter-spacing: 1px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff; box-shadow: 0 6px 20px rgba(220,38,38,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-outline {
    background: transparent; color: #fff;
    border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: #000; font-weight: 800;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.3); }

.hero-image { display: flex; justify-content: center; position: relative; }
.hero-image img {
    width: 100%; max-width: 500px; border-radius: 8px;
    box-shadow: var(--shadow-lg); border: 1px solid #222;
    position: relative; z-index: 1;
}
.hero-image::after {
    content: ''; position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%);
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
}

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 34px; }
    .hero p { margin: 0 auto 32px; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 260px; }
}

/* ========== SECTION ========== */
section { padding: 100px 24px; }
.section-label {
    display: inline-block; color: var(--red);
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; margin-bottom: 10px;
}
.section-title {
    font-size: 38px; font-weight: 900; margin-bottom: 14px;
    letter-spacing: -0.5px; text-transform: uppercase;
}
.section-subtitle {
    color: var(--text-muted); font-size: 16px;
    max-width: 560px; margin: 0 auto 60px;
}
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* ========== FEATURES ========== */
#features { background: var(--black-alt); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: 6px; padding: 32px 24px; text-align: center;
    transition: all var(--transition); position: relative;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 12px 40px rgba(220,38,38,0.1);
}

.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(220,38,38,0.05));
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 24px; color: var(--red);
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.feature-card p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }

@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ========== STATS ========== */
#stats {
    background: linear-gradient(135deg, rgba(220,38,38,0.06) 0%, rgba(0,0,0,0) 100%), var(--black);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item {
    text-align: center; padding: 30px 16px;
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: 6px; position: relative; overflow: hidden;
}
.stat-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.stat-number {
    font-size: 46px; font-weight: 900; color: #fff;
    display: flex; align-items: baseline; justify-content: center; gap: 4px;
    font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: 26px; font-weight: 600; color: var(--red); }
.stat-label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== TESTIMONIALS ========== */
#testimonials { background: var(--black-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: 6px; padding: 26px 22px;
}
.testimonial-stars { color: var(--gold); margin-bottom: 12px; font-size: 12px; letter-spacing: 2px; }
.testimonial-text { color: #d4d4d4; font-size: 14px; line-height: 1.75; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.testimonial-author img { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.testimonial-author .name { font-weight: 700; font-size: 13px; }
.testimonial-author .role { color: var(--text-muted); font-size: 11px; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ========== FAQ ========== */
#faq { background: var(--black); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: 4px; margin-bottom: 8px; overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover { border-color: #333; }
.faq-question {
    width: 100%; background: none; border: none;
    padding: 18px 22px; display: flex; justify-content: space-between;
    align-items: center; cursor: pointer; color: #fff;
    font-size: 14px; font-weight: 600; text-align: left;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.faq-arrow {
    font-size: 12px; color: var(--red); transition: transform var(--transition); flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.faq-item.active { border-color: var(--red); }
.faq-item.active .faq-answer { max-height: 300px; }

/* ========== CTA ========== */
#cta {
    background: linear-gradient(160deg, #1a0000 0%, #200000 30%, var(--black) 100%);
    text-align: center; position: relative; overflow: hidden;
}
#cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(220,38,38,0.1) 0%, transparent 60%);
}
.cta-box { max-width: 660px; margin: 0 auto; position: relative; z-index: 1; }
#cta h2 { font-size: 38px; font-weight: 900; margin-bottom: 14px; text-transform: uppercase; }
#cta p { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }

/* ========== FOOTER ========== */
.footer {
    background: #050505; border-top: 1px solid #1a1a1a;
    padding: 50px 24px 24px;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 30px; border-bottom: 1px solid #1a1a1a;
}
.footer-brand .logo {
    font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-brand .logo-mark {
    width: 30px; height: 30px; background: var(--red); border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 900;
}
.footer-brand p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
    font-size: 12px; font-weight: 700; margin-bottom: 14px;
    color: #e5e5e5; text-transform: uppercase; letter-spacing: 2px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
    max-width: 1200px; margin: 18px auto 0;
    display: flex; justify-content: space-between; font-size: 11px; color: #525252;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ========== ANIMATIONS ========== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ========== PAGE HEADER (subpages) ========== */
.page-header {
    padding: 140px 24px 60px; text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(220,38,38,0.08) 0%, transparent 60%),
        var(--black-alt);
    border-bottom: 1px solid #1a1a1a;
}
.page-header h1 { font-size: 42px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.page-header p { color: var(--text-muted); font-size: 15px; }
.page-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.page-breadcrumb a { color: var(--red); text-decoration: none; }
.page-breadcrumb span { color: var(--text-muted); }

/* ========== ABOUT PAGE ========== */
.about-section { padding: 80px 24px; background: var(--black); }
.about-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-grid img {
    width: 100%; border-radius: 8px; border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.about-content h2 { font-size: 32px; font-weight: 900; margin-bottom: 16px; text-transform: uppercase; }
.about-content p { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.about-value {
    text-align: center; padding: 20px 12px;
    background: var(--black-card); border: 1px solid var(--border); border-radius: 4px;
}
.about-value .val-icon { font-size: 22px; color: var(--red); margin-bottom: 8px; }
.about-value h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } .about-values { grid-template-columns: 1fr; } }

/* Timeline */
.timeline-section { padding: 80px 24px; background: var(--black-alt); }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item {
    display: flex; align-items: flex-start; margin-bottom: 40px;
    position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
    width: 14px; height: 14px; background: var(--red); border-radius: 50%;
    position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
    border: 3px solid var(--black-alt); z-index: 1;
}
.timeline-content {
    width: 45%; padding: 20px; background: var(--black-card);
    border: 1px solid var(--border); border-radius: 4px;
}
.timeline-content h4 { font-size: 14px; font-weight: 700; color: var(--red); margin-bottom: 4px; }
.timeline-content p { color: var(--text-muted); font-size: 13px; }
@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: calc(100% - 50px); margin-left: 50px; }
}

/* ========== DOWNLOAD PAGE ========== */
.download-section { padding: 80px 24px; background: var(--black); }
.download-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.download-card {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: 8px; padding: 36px 24px; text-align: center;
    transition: all var(--transition);
}
.download-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-red); }
.download-card.featured { border-color: var(--red); position: relative; }
.download-card.featured::before {
    content: '推荐'; position: absolute; top: 12px; right: 12px;
    background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 1px;
}
.download-card .dl-icon { font-size: 36px; color: var(--red); margin-bottom: 16px; }
.download-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
.download-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; line-height: 1.6; }
.download-card .dl-info { font-size: 11px; color: #525252; margin-top: 12px; }

.system-req { max-width: 800px; margin: 60px auto 0; }
.system-req h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; text-align: center; text-transform: uppercase; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.req-table th { color: var(--red); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.req-table td { color: var(--text-muted); }
@media (max-width: 768px) { .download-grid { grid-template-columns: 1fr; } }

/* ========== CONTACT PAGE ========== */
.contact-section { padding: 80px 24px; background: var(--black); }
.contact-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-item .ci-icon {
    width: 44px; height: 44px; background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.2);
    border-radius: 4px; display: flex; align-items: center;
    justify-content: center; font-size: 18px; color: var(--red); flex-shrink: 0;
}
.contact-info-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.contact-info-item p { color: var(--text-muted); font-size: 13px; }

.contact-form { background: var(--black-card); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.contact-form h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px;
    background: var(--black); border: 1px solid var(--border);
    border-radius: 4px; color: #fff; font-size: 14px;
    font-family: var(--font); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--red);
}
.form-group textarea { min-height: 120px; resize: vertical; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
