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



html, body {
    overflow-x: hidden;
}
.article-header {
    overflow: hidden;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    padding-top: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 1.5rem 0;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs-list a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
    color: #00ff88;
}

.breadcrumbs-separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs-current {
    color: #00ff88;
    font-weight: 600;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
    padding: 3rem 0 2rem;
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(ellipse at 20% 30%, rgba(0, 255, 136, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 70%, rgba(0, 204, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.article-header-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.article-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-hub-badge:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 50%, #00ccdd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ===== COVER IMAGE ===== */
.article-cover {
    max-width: 900px;
    margin: 2rem auto 0;
}

.article-cover img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===== ARTICLE CONTENT ===== */
.article-content-wrapper {
    padding: 4rem 0 2rem;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-content-block {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.guide-content-block + .guide-content-block {
    margin-top: 3rem;
}

/* Typography inside content blocks (HTML from backend) */
.guide-content-block h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    color: #ffffff;
}

.guide-content-block h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #ffffff;
}

.guide-content-block p {
    margin-bottom: 1.2rem;
}

.guide-content-block ul,
.guide-content-block ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.guide-content-block li {
    margin-bottom: 0.5rem;
}

.guide-content-block a {
    color: #00ff88;
    text-decoration: underline;
    text-decoration-color: rgba(0, 255, 136, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.guide-content-block a:hover {
    text-decoration-color: #00ff88;
}

.guide-content-block img {
    max-width: 100%;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-content-block blockquote {
    border-left: 3px solid #00ff88;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 0 12px 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.guide-content-block code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.95em;
    color: #00ff88;
}

.guide-content-block pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.guide-content-block pre code {
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
}

.guide-content-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.guide-content-block th,
.guide-content-block td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.guide-content-block th {
    background: rgba(0, 255, 136, 0.1);
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.article-cta {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.article-cta-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 136, 0.05), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0.5;
}

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

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

.article-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.article-cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #00ff88, #00ccdd);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* ===== NAVIGATION ===== */
.article-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 4rem;
}

.article-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
    flex-wrap: wrap;
}

.article-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.article-nav-link:hover {
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

/* ===== SHARE SIDEBAR ===== */
.share-bar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 50;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .share-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .container {
        padding: 0 1rem;
    }

    .article-header {
        padding: 2rem 0 1.5rem;
    }

    .article-content-wrapper {
        padding: 2rem 0 1rem;
    }

    .guide-content-block {
        font-size: 1rem;
    }

    .article-cta-card {
        padding: 2rem 1.5rem;
    }

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

    .article-nav-link {
        width: 100%;
        justify-content: center;
    }
}
