/* style.css - site20 www.sswang.com.cn */
/* Theme: deep pink #be185d, CTA #9f1239 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fafafa;
}

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

a { color: #be185d; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header & Navigation ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #be185d;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    flex: 1;
}
.nav-link {
    color: #333;
    font-size: 13px;
    padding: 8px 8px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: color 0.15s;
}
.nav-link:hover {
    color: #be185d;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.dropdown-toggle {
    cursor: pointer;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #555;
    font-size: 13px;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover {
    background: #fdf2f8;
    color: #be185d;
}

/* CTA buttons */
.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav .cta-button,
.nav-cta-group .cta-button {
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cta-button.cta-order {
    background: #9f1239;
    color: #fff !important;
}
.cta-button.cta-order:hover {
    background: #be185d;
}
.cta-button.cta-join {
    background: transparent;
    color: #9f1239 !important;
    border: 1.5px solid #9f1239;
}
.cta-button.cta-join:hover {
    background: #fdf2f8;
    border-color: #be185d;
    color: #be185d !important;
}

/* ===== Main content ===== */
.site-main {
    min-height: calc(100vh - 64px - 200px);
    padding: 30px 0;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #be185d 0%, #9f1239 100%);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
}
.hero h1 {
    font-size: 36px;
    margin-bottom: 16px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}
.hero .cta-button {
    background: #fff;
    color: #be185d !important;
    font-size: 16px;
    padding: 12px 32px;
    display: inline-block;
}

/* Sections */
.section {
    margin-bottom: 40px;
}
.section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
    border-left: 4px solid #be185d;
    padding-left: 12px;
}

/* Game cards grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.game-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}
.game-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
}
.game-card h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}
.game-card p {
    font-size: 13px;
    color: #666;
}

/* Content pages */
.content-page {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.content-page h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}
.content-page h2 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: #333;
}
.content-page p {
    margin-bottom: 12px;
    color: #555;
}
.content-page ul, .content-page ol {
    margin: 12px 0 12px 24px;
    color: #555;
}
.content-page li {
    margin-bottom: 6px;
}

/* Price table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.price-table th, .price-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.price-table th {
    background: #f8f8f8;
    font-weight: 600;
}

/* FAQ items */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.faq-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

/* Blog empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state h2 {
    font-size: 20px;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
.breadcrumb a { color: #999; }

/* In-page CTA banner */
.cta-banner {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    margin: 32px 0;
    border: 1px solid #f9a8d4;
}
.cta-banner h3 {
    font-size: 20px;
    color: #9f1239;
    margin-bottom: 8px;
}
.cta-banner p {
    color: #666;
    margin-bottom: 16px;
}
.cta-banner .dual-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-banner .cta-button {
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 24px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f9a8d4;
}
.timeline-item {
    position: relative;
    margin-bottom: 24px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #be185d;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #f9a8d4;
}
.timeline-item .year {
    font-weight: 700;
    color: #be185d;
    font-size: 15px;
}

/* Step flow */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.step-item {
    text-align: center;
    padding: 20px 12px;
    background: #fdf2f8;
    border-radius: 8px;
    position: relative;
}
.step-num {
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #be185d;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 10px;
}
.step-item h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.step-item p {
    font-size: 12px;
    color: #888;
}

/* Pricing cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.pricing-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card.featured {
    border-color: #be185d;
    box-shadow: 0 4px 16px rgba(190, 24, 93, 0.15);
}
.pricing-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}
.pricing-card .price {
    font-size: 32px;
    font-weight: 700;
    color: #be185d;
    margin-bottom: 4px;
}
.pricing-card .price small {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}
.pricing-card ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}
.pricing-card li {
    padding: 6px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}
.two-col .col {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
}

/* Code block */
.code-block {
    background: #1f2937;
    color: #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    margin: 16px 0;
}
.code-block .json-key { color: #93c5fd; }
.code-block .json-string { color: #86efac; }

/* Compare table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.compare-table th {
    background: #be185d;
    color: #fff;
    padding: 12px;
    text-align: center;
}
.compare-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.compare-table tr:nth-child(even) td {
    background: #fdf2f8;
}

/* Photo wall */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.photo-item {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    border-radius: 8px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9f1239;
    font-weight: 600;
    font-size: 14px;
}

/* Mode cards (streamer page) */
.mode-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.mode-card {
    background: #fff;
    border: 1px solid #fbcfe8;
    border-top: 4px solid #be185d;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(190, 24, 93, 0.06);
}
.mode-card h3 {
    margin: 0 0 8px;
    color: #9f1239;
    font-size: 18px;
}
.mode-card .mode-tag {
    display: inline-block;
    background: #fce7f3;
    color: #9f1239;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.mode-card p { margin: 6px 0; font-size: 14px; line-height: 1.7; }
.mode-card .mode-income {
    font-weight: 600;
    color: #be185d;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-col a:hover { color: #be185d; }
.footer-col p {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #777;
}
.footer-bottom a { color: #777; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 16px; }
    .steps-flow { grid-template-columns: repeat(2, 1fr); }
    .pricing-cards { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .photo-wall { grid-template-columns: repeat(2, 1fr); }
    .mode-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .game-grid { grid-template-columns: 1fr; }
    .header-inner { height: 56px; }
    .logo { font-size: 16px; }
    .nav-cta-group .cta-button { padding: 7px 14px; font-size: 12px; }
    .steps-flow { grid-template-columns: 1fr; }
    .photo-wall { grid-template-columns: 1fr; }
}

/* ===== UI Component Boost (v2 - card-heavy) ===== */

/* Icon Cards */
.icon-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 24px 0; }
.icon-card {
    background: #fff; border: 1px solid #f0e0e8; border-radius: 12px; padding: 24px 20px;
    text-align: center; box-shadow: 0 2px 8px rgba(190,24,93,0.06); transition: transform .2s, box-shadow .2s;
}
.icon-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(190,24,93,0.12); }
.icon-card .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.icon-card h4 { font-size: 16px; color: #be185d; margin-bottom: 8px; }
.icon-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* Stats Row - big numbers */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 28px 0; }
.stat-item {
    background: linear-gradient(135deg, #be185d 0%, #9f1239 100%); color: #fff;
    border-radius: 12px; padding: 24px 16px; text-align: center;
}
.stat-item .stat-num { font-size: 2.4rem; font-weight: 700; display: block; line-height: 1.1; }
.stat-item .stat-label { font-size: 13px; opacity: 0.9; margin-top: 6px; display: block; }

/* Badge Wall */
.badge-wall { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.badge-item {
    display: inline-flex; align-items: center; gap: 6px; background: #fdf2f8; color: #be185d;
    border: 1px solid #fbcfe8; border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 500;
}
.badge-item::before { content: "✓"; font-weight: 700; }

/* Tag Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag-item {
    background: #f3f4f6; color: #374151; border-radius: 6px; padding: 6px 12px; font-size: 13px;
}
.tag-item.primary { background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }

/* Progress Bar */
.progress-row { margin: 16px 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.progress-label .pct { color: #be185d; font-weight: 600; }
.progress-bar { height: 10px; background: #f3f4f6; border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #be185d, #ec4899); border-radius: 5px; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 24px 0; }
.team-card {
    background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
}
.team-card .team-avatar {
    width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #be185d, #ec4899);
    color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card .team-role { font-size: 13px; color: #be185d; margin-bottom: 8px; }
.team-card p { font-size: 12px; color: #666; line-height: 1.5; }

/* Phone Mockup */
.phone-mockup {
    width: 240px; height: 480px; background: #1a1a1a; border-radius: 32px; padding: 12px;
    margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.phone-screen {
    width: 100%; height: 100%; background: linear-gradient(180deg, #fdf2f8 0%, #fff 100%);
    border-radius: 24px; overflow: hidden; padding: 16px 12px;
}
.phone-screen .phone-bar { height: 6px; background: #ddd; border-radius: 3px; margin-bottom: 10px; }
.phone-screen .phone-bar.pink { background: #be185d; height: 40px; border-radius: 8px; margin-bottom: 14px; }
.phone-screen .phone-row { display: flex; gap: 8px; margin-bottom: 10px; }
.phone-screen .phone-col { flex: 1; height: 60px; background: #fce7f3; border-radius: 8px; }

/* Map Cards (game pages) */
.map-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.map-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #f0e0e8;
}
.map-card .map-header { background: linear-gradient(135deg, #be185d, #ec4899); color: #fff; padding: 14px 18px; }
.map-card .map-header h4 { font-size: 16px; }
.map-card .map-body { padding: 16px 18px; }
.map-card .map-body p { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 8px; }

/* Hero / Position Cards (game pages) */
.pos-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0; }
.pos-card {
    background: #fff; border: 2px solid #fce7f3; border-radius: 10px; padding: 18px 14px; text-align: center;
    transition: border-color .2s;
}
.pos-card:hover { border-color: #be185d; }
.pos-card .pos-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.pos-card h4 { font-size: 15px; color: #be185d; margin-bottom: 6px; }
.pos-card p { font-size: 12px; color: #666; line-height: 1.5; }

/* Section title style */
.content-page h2 {
    font-size: 22px; color: #1a1a1a; margin: 32px 0 16px; padding-left: 12px;
    border-left: 4px solid #be185d;
}

/* Reduce paragraph density */
.content-page p { font-size: 15px; color: #444; margin-bottom: 12px; line-height: 1.8; }

/* Feature list compact */
.feature-list { list-style: none; margin: 16px 0; }
.feature-list li {
    padding: 10px 0 10px 28px; position: relative; font-size: 14px; color: #444; line-height: 1.6;
    border-bottom: 1px dashed #f0e0e0;
}
.feature-list li::before {
    content: "✦"; position: absolute; left: 0; color: #be185d; font-size: 14px;
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3); border-radius: 10px; padding: 20px 24px;
    margin: 20px 0; border-left: 4px solid #be185d;
}
.highlight-box p { margin: 0; color: #831843; font-size: 14px; }
