/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #1a1a1a;
    color: #d4d4d4;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #a52422, #c0392b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 6px 25px rgba(192, 57, 43, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #a52422;
}

.btn-outline:hover {
    background: rgba(192, 57, 43, 0.1);
    border-color: #e74c3c;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 17px;
    border-radius: 10px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 57, 43, 0.15);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(16, 16, 16, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #999;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 20px;
    font-size: 14px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(165, 36, 34, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(231, 76, 60, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e74c3c 60%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 28px;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #222;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #999;
}

/* ===== Grid ===== */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== Cards ===== */
.card {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(192, 57, 43, 0.3);
}

.section-alt .card {
    background: #1a1a1a;
}

/* Feature Cards */
.feature-card {
    text-align: center;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.08));
    font-size: 28px;
    color: #e74c3c;
}

.feature-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #999;
    line-height: 1.7;
}

/* Forum Cards */
.forum-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.forum-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #a52422, #c0392b);
    font-size: 24px;
    color: #fff;
}

.forum-content h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.forum-content > p {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}

.forum-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.forum-tags li {
    font-size: 13px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forum-tags li i {
    color: #e74c3c;
    font-size: 12px;
}

.forum-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.forum-stats i {
    margin-right: 4px;
}

/* Step Cards */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.4), rgba(231, 76, 60, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
}

/* Membership Cards */
.membership-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vip-badge {
    background: linear-gradient(135deg, #d4a017, #f1c40f);
    color: #1a1a1a;
}

.membership-recommended {
    border-color: rgba(192, 57, 43, 0.4);
    box-shadow: 0 0 30px rgba(192, 57, 43, 0.1);
}

.membership-vip {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.1);
}

.membership-tier {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    margin-top: 8px;
}

.membership-price {
    font-size: 15px;
    color: #e74c3c;
    margin-bottom: 24px;
    font-weight: 500;
}

.membership-vip .membership-price {
    color: #f1c40f;
}

.membership-features {
    text-align: left;
    margin-bottom: 24px;
    flex: 1;
}

.membership-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.membership-features li i {
    color: #e74c3c;
    font-size: 12px;
    flex-shrink: 0;
}

.membership-vip .membership-features li i {
    color: #f1c40f;
}

/* Testimonial Cards */
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f39c12;
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 15px;
    color: #ccc;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 40px;
    color: #c0392b;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.author-role {
    font-size: 13px;
    color: #666;
}

/* Article Cards */
.article-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.tag-tech {
    background: rgba(192, 57, 43, 0.15);
    color: #e74c3c;
}

.tag-game {
    background: rgba(52, 152, 219, 0.15);
    color: #5dade2;
}

.tag-mod {
    background: rgba(155, 89, 182, 0.15);
    color: #bb8fce;
}

.tag-community {
    background: rgba(243, 156, 18, 0.15);
    color: #f5b041;
}

.tag-guide {
    background: rgba(39, 174, 96, 0.15);
    color: #58d68d;
}

.article-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card > p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.article-meta i {
    margin-right: 4px;
}

.article-card:hover .article-meta span:last-child {
    color: #e74c3c;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #262626;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(192, 57, 43, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-question i {
    color: #c0392b;
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #999;
    line-height: 1.8;
}

/* Rule Cards */
.rule-card {
    text-align: center;
}

.rule-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.08));
    font-size: 22px;
    color: #e74c3c;
}

.rule-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.rule-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(192, 57, 43, 0.06), rgba(165, 36, 34, 0.04)),
        #1a1a1a;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(192, 57, 43, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #999;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 34px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #262626;
    color: #999;
    font-size: 16px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    font-size: 14px;
    color: #777;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #555;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #c0392b;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

/* ===== Inner Page Styles ===== */
.page-hero {
    padding: 120px 20px 60px;
    text-align: center;
    background: #1a1a1a;
    position: relative;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(192, 57, 43, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-hero .page-desc {
    font-size: 17px;
    color: #999;
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 80px 0;
}

.page-content .container {
    max-width: 900px;
}

.content-block {
    margin-bottom: 48px;
}

.content-block.text-center {
    text-align: center;
}

.content-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(192, 57, 43, 0.3);
}

.content-block h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-block p {
    font-size: 15px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 14px;
}

.content-block ul,
.content-block ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-block li {
    font-size: 15px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 6px;
}

.content-block ul li {
    list-style: none;
    padding-left: 16px;
    position: relative;
}

.content-block ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0392b;
}

.content-block ol li {
    list-style: decimal;
}

.last-updated {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* Guide TOC */
.guide-toc {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 48px;
}

.guide-toc h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
}

.guide-toc ul {
    padding-left: 0;
}

.guide-toc li {
    list-style: none;
    padding-left: 0;
}

.guide-toc li::before {
    display: none;
}

.guide-toc a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.3s;
}

.guide-toc a:hover {
    color: #e74c3c;
}

/* Support Cards Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.support-card {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 57, 43, 0.3);
}

.support-card .support-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(231, 76, 60, 0.08));
    font-size: 24px;
    color: #e74c3c;
}

.support-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
    line-height: 1.6;
}

.support-card a {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 600;
}

.support-card a:hover {
    color: #ff6b6b;
}

/* Feedback Form */
.feedback-form {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ddd;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c0392b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Inner page FAQ */
.page-faq-list {
    max-width: 100%;
}

.page-faq-list .faq-item {
    background: #262626;
}

/* ===== Article Detail Page ===== */
.article-hero {
    padding: 120px 20px 48px;
    text-align: center;
    background: #1a1a1a;
    position: relative;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(192, 57, 43, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.article-hero .article-tag {
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: #777;
    flex-wrap: wrap;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    padding: 60px 0 80px;
}

.article-body .container {
    max-width: 800px;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(192, 57, 43, 0.25);
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.article-body li {
    font-size: 16px;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 6px;
}

.article-body ul li {
    list-style: none;
    padding-left: 18px;
    position: relative;
}

.article-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0392b;
}

.article-body ol li {
    list-style: decimal;
}

.article-body blockquote {
    border-left: 4px solid #c0392b;
    background: rgba(192, 57, 43, 0.06);
    padding: 16px 24px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    color: #bbb;
    margin-bottom: 0;
}

.article-body code {
    background: #262626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #e74c3c;
}

.article-body pre {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
    overflow-x: auto;
}

.article-body pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    color: #ccc;
    line-height: 1.7;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.3s;
    max-width: 48%;
}

.article-nav a:hover {
    border-color: rgba(192, 57, 43, 0.3);
    transform: translateY(-2px);
}

.article-nav .nav-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.article-nav .nav-title {
    font-size: 15px;
    color: #ddd;
    font-weight: 600;
}

.article-nav .prev-article {
    align-items: flex-start;
}

.article-nav .next-article {
    align-items: flex-end;
    margin-left: auto;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: #222;
}

.related-articles .section-header {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 26px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav a {
        max-width: 100%;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(192, 57, 43, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .forum-card {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 15px;
    }

    .card {
        padding: 24px;
    }
}
