/* =====================================================
   guest.css — Public-facing pages: news, tutorials
   Dark neon RPG theme consistent with game UI
   ===================================================== */

/* ── NEWS PAGE ─────────────────────────────────────── */
.news-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* ── HERO SECTION ─────────────────────────────────────── */
.news-hero {
    text-align: center;
    margin-bottom: 3rem;
}
.news-page .page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(255, 0, 255, 0.3);
}
.news-page .page-subtitle {
    color: #ffd6ff;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ── STATS BANNER ─────────────────────────────────────── */
.news-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem auto 2.5rem;
    padding: 1.5rem;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.15);
    border-radius: 12px;
    max-width: 600px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ff00ff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ── CATEGORY FILTERS ─────────────────────────────────── */
.news-category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.filter-btn {
    padding: 0.5rem 1.1rem;
    background: rgba(20, 20, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 20px;
    color: #ff80ff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 36px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.filter-btn:hover {
    border-color: rgba(255, 0, 255, 0.5);
    background: rgba(255, 0, 255, 0.08);
    transform: translateY(-1px);
}
.filter-btn:active {
    transform: scale(0.96);
}
.filter-btn.active {
    background: linear-gradient(135deg, #ff00ff, #8707ff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

/* ── FEATURED POST ────────────────────────────────────── */
.featured-post {
    position: relative;
    margin-bottom: 3rem;
    background: rgba(20, 20, 40, 0.95);
    border: 2px solid rgba(255, 0, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(255, 0, 255, 0.15);
}
.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #ff00ff, #8707ff);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}
.featured-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    padding: 2rem;
}
.featured-thumb {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}
.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.featured-post:hover .featured-thumb img {
    transform: scale(1.05);
}
.featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.featured-excerpt {
    color: #c0b0d0;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0;
}
.featured-post a {
    text-decoration: none;
    color: inherit;
}

/* ── GRID HEADER ──────────────────────────────────────── */
.news-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
}
.news-grid-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.btn-join-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.btn-join-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
    color: #fff;
}
.btn-join-inline:active {
    transform: translateY(0);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ── BLOG CARD ─────────────────────────────────────── */
.blog-card {
    background: rgba(20, 20, 40, 0.95);
    border: 1px solid rgba(255, 0, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.05);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.blog-card:hover {
    border-color: rgba(255, 0, 255, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.12);
}
.blog-card:hover::before { opacity: 1; }

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
}
.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(135, 7, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb .no-thumb { font-size: 3rem; color: rgba(255, 0, 255, 0.2); }

.blog-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
.blog-date {
    color: #ff80ff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-tag {
    display: inline-block;
    padding: 0.12rem 0.55rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-tag.update       { background: rgba(0, 229, 255, 0.15);   color: #00e5ff; }
.blog-tag.event        { background: rgba(255, 0, 255, 0.15);   color: #ff80ff; }
.blog-tag.patch_notes  { background: rgba(50, 205, 50, 0.15);   color: #4ade80; }
.blog-tag.announcement { background: rgba(255, 180, 0, 0.15);   color: #fbbf24; }
.blog-tag.devlog       { background: rgba(147, 51, 234, 0.15);  color: #c084fc; }
.blog-tag.community    { background: rgba(14, 165, 233, 0.15);  color: #60a5fa; }

.new-badge {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    background: linear-gradient(135deg, #ff00ff, #00e5ff);
    color: #fff;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 0, 255, 0.4); }
    50% { box-shadow: 0 0 15px rgba(255, 0, 255, 0.7); }
}

.blog-body h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.blog-body .blog-excerpt {
    color: #c0b0d0;
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    margin: 0;
}
.blog-body .read-more {
    color: #ff80ff;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s, gap 0.2s;
}
.blog-card:hover .read-more {
    color: #ff00ff;
    gap: 0.5rem;
}

.news-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(255, 0, 255, 0.1);
    border-radius: 16px;
    margin: 2rem 0;
}
.news-empty h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.news-empty p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.btn-empty-cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
.btn-empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 255, 0.4);
    color: #fff;
}
.btn-empty-cta:active {
    transform: translateY(0);
}

/* ── SOCIAL PROOF SECTION ─────────────────────────────── */
.news-social-proof {
    margin: 4rem 0 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(135, 7, 255, 0.05));
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 16px;
    text-align: center;
}
.proof-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.proof-header i {
    font-size: 1.8rem;
    color: #ff00ff;
}
.proof-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.proof-item strong {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ff00ff, #8707ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.proof-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ── ENHANCED CTA SECTION ─────────────────────────────── */
.news-cta { 
    text-align: center; 
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.5px;
    min-height: 50px;
    -webkit-tap-highlight-color: transparent;
}
.btn-cta-primary {
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.25);
}
.btn-cta-primary:hover {
    background: linear-gradient(90deg, #8707ff, #ff00ff);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 0, 255, 0.4);
    color: #fff;
}
.btn-cta-primary:active {
    transform: translateY(-1px);
}
.btn-cta-secondary {
    background: rgba(20, 20, 40, 0.8);
    color: #ff80ff;
    border: 2px solid rgba(255, 0, 255, 0.3);
}
.btn-cta-secondary:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.6);
    transform: translateY(-3px);
    color: #ff00ff;
}
.btn-cta-secondary:active {
    transform: translateY(-1px);
}

/* ── PAGINATION ────────────────────────────────────── */
.news-pagination { display: flex; justify-content: center; margin-top: 2rem; }
.news-pagination .page-link {
    background: rgba(20, 20, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.15);
    color: #ff80ff;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.news-pagination .page-link:hover { border-color: rgba(255, 0, 255, 0.4); }
.news-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff00ff, #8707ff);
    border-color: transparent;
    color: #fff;
}

/* ── SINGLE POST PAGE ──────────────────────────────── */
.news-show-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* ── ARTICLE CTA SECTION ──────────────────────────────── */
.news-show-cta {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(135, 7, 255, 0.08));
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 14px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}
.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.btn-article-join {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
}
.btn-article-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 0, 255, 0.45);
    color: #fff;
}
.news-show-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff80ff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.2s, gap 0.2s;
}
.news-show-back:hover { color: #ff00ff; gap: 0.75rem; }
.news-show-back i { font-size: 0.8rem; }

.news-show-header { margin-bottom: 2rem; }
.news-show-thumb {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 0, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.news-show-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.news-show-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}
.news-show-body {
    background: rgba(20, 20, 40, 0.88);
    border: 1px solid rgba(255, 0, 255, 0.08);
    border-radius: 14px;
    padding: 2rem;
    color: #e0d0f0;
    font-size: 1rem;
    line-height: 1.8;
}
.news-show-body p   { margin-bottom: 1.1rem; color: #ddd0f0; }
.news-show-body h2,
.news-show-body h3  { color: #ff80ff; margin: 1.5rem 0 0.6rem; font-weight: 700; }
.news-show-body a   { color: #00e5ff; }
.news-show-body a:hover { text-decoration: underline; }
.news-show-body strong { color: #fff; }
.news-show-body code {
    background: rgba(135, 7, 255, 0.15);
    color: #ff80ff;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.related-section {
    margin-top: 3rem;
    padding: 1.75rem;
    background: rgba(20, 20, 40, 0.88);
    border: 1px solid rgba(255, 0, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(255, 0, 255, 0.08);
    position: relative;
    overflow: hidden;
}
.related-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.55), rgba(0, 229, 255, 0.4), transparent);
}
.related-section h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.8px;
}
.related-section h3 i {
    color: #ff00ff;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.45);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.related-card {
    background: linear-gradient(180deg, rgba(255, 0, 255, 0.05), rgba(20, 20, 40, 0.96));
    border: 1px solid rgba(255, 0, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 255, 0.26);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.14);
}
.related-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.related-thumb {
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(135, 7, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.related-card:hover .related-thumb img {
    transform: scale(1.05);
}
.related-thumb .no-thumb {
    font-size: 2.2rem;
    color: rgba(255, 0, 255, 0.24);
}
.related-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}
.related-body h4 {
    margin: 0;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}
.related-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ff80ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   TUTORIALS PAGE — Comprehensive Guide
   ══════════════════════════════════════════════════════ */

.tutorials-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* ── TUTORIAL HERO ────────────────────────────────────── */
.tut-hero {
    text-align: center;
    margin-bottom: 2rem;
}
.tut-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 0, 255, 0.12);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #ff80ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}
.tutorials-page .page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.tutorials-page .page-subtitle {
    color: #ffd6ff;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.tut-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}
.tut-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.tut-stat-item i {
    font-size: 1.8rem;
    color: #ff00ff;
}
.tut-stat-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ── PROGRESS BAR ─────────────────────────────────────── */
.tut-progress-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0 0.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
}
.progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff00ff, #00e5ff);
    width: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}
.progress-text {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ── SECTION HEADERS ──────────────────────────────────── */
.tut-section {
    margin-bottom: 4rem;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 0, 255, 0.15);
}
.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(135, 7, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff00ff;
}
.section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

/* ── TUTORIAL CARDS ───────────────────────────────────── */
.tutorial-card {
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}
.tutorial-card:hover {
    border-color: rgba(255, 0, 255, 0.3);
    background: rgba(20, 20, 40, 0.8);
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.1);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(135, 7, 255, 0.2));
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff80ff;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(135, 7, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #c084fc;
    margin-bottom: 1rem;
}

.tutorial-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}

.tutorial-card p {
    color: #c0b0d0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── HIGHLIGHT BOX ────────────────────────────────────── */
.tut-highlight-box {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(135, 7, 255, 0.05));
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.highlight-item i {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 0, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ff00ff;
    flex-shrink: 0;
}
.highlight-item span {
    color: #e0d0f0;
    font-size: 0.95rem;
}

/* ── CHECKLISTS ───────────────────────────────────────── */
.tut-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.tut-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: #c0b0d0;
    line-height: 1.6;
}
.tut-checklist li i {
    color: #4ade80;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ── TIP & WARNING BOXES ──────────────────────────────── */
.tut-tip {
    background: rgba(74, 222, 128, 0.08);
    border-left: 3px solid #4ade80;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.tut-tip i {
    color: #4ade80;
    margin-right: 0.5rem;
}
.tut-tip strong {
    color: #4ade80;
}

.tut-warning {
    background: rgba(251, 191, 36, 0.08);
    border-left: 3px solid #fbbf24;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.tut-warning i {
    color: #fbbf24;
    margin-right: 0.5rem;
}
.tut-warning strong {
    color: #fbbf24;
}

/* ── STEPS ────────────────────────────────────────────── */
.tut-steps {
    margin: 1.5rem 0;
}
.step-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-left: 2px solid rgba(255, 0, 255, 0.2);
    padding-left: 1.5rem;
    margin-left: 1rem;
    position: relative;
}
.step-item:last-child {
    border-left-color: transparent;
}
.step-num {
    position: absolute;
    left: -1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff00ff, #8707ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-content strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.step-content p {
    color: #c0b0d0;
    font-size: 0.9rem;
    margin: 0;
}

/* ── GRID LAYOUTS ─────────────────────────────────────── */
.tut-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.grid-item {
    background: rgba(135, 7, 255, 0.08);
    border: 1px solid rgba(255, 0, 255, 0.15);
    border-radius: 10px;
    padding: 1.2rem;
}
.grid-item h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.grid-item h4 i {
    color: #ff00ff;
}
.grid-item p {
    color: #c0b0d0;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ── FORMULA DISPLAY ──────────────────────────────────── */
.tut-formula {
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.formula-label {
    color: #ff80ff;
    font-weight: 700;
    font-size: 0.9rem;
}
.tut-formula code {
    background: rgba(135, 7, 255, 0.15);
    color: #00e5ff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* ── MARTIAL ARTS BADGES ──────────────────────────────── */
.tut-martial-arts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
}
.ma-badge {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.15), rgba(135, 7, 255, 0.15));
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #ff80ff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}
.ma-badge:hover {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.25), rgba(135, 7, 255, 0.25));
    transform: translateY(-2px);
}

/* ── TIPS GRID ────────────────────────────────────────── */
.tut-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.tip-box {
    background: rgba(135, 7, 255, 0.08);
    border: 1px solid rgba(255, 0, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}
.tip-box:hover {
    border-color: rgba(255, 0, 255, 0.4);
    transform: translateY(-4px);
}
.tip-box i {
    font-size: 2rem;
    color: #ff00ff;
    margin-bottom: 0.8rem;
    display: block;
}
.tip-box h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tip-box p {
    color: #c0b0d0;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ── FINAL CTA ────────────────────────────────────────── */
.tut-final-cta {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(135, 7, 255, 0.1));
    border: 2px solid rgba(255, 0, 255, 0.25);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}
.tut-final-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
}
.tut-final-cta > p {
    color: #c0b0d0;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.btn-tut-primary, .btn-tut-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}
.btn-tut-primary {
    background: linear-gradient(90deg, #ff00ff, #8707ff);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
}
.btn-tut-primary:hover {
    background: linear-gradient(90deg, #8707ff, #ff00ff);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 0, 255, 0.45);
    color: #fff;
}
.btn-tut-secondary {
    background: rgba(20, 20, 40, 0.8);
    color: #ff80ff;
    border: 2px solid rgba(255, 0, 255, 0.3);
}
.btn-tut-secondary:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.6);
    transform: translateY(-3px);
    color: #ff00ff;
}

.tut-footer-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.tut-footer-stats div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c0b0d0;
    font-size: 0.9rem;
}
.tut-footer-stats i {
    color: #4ade80;
    font-size: 1.1rem;
}

/* ── SHARED GUEST PAGE HEADER ──────────────────────── */
.guest-page-header {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.guest-page-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #ff80ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    .featured-thumb {
        height: 250px;
    }
    .news-stats {
        gap: 1.5rem;
        padding: 1.2rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .tut-grid-2, .tut-tips-grid { grid-template-columns: 1fr; }
    .news-show-body { padding: 1.25rem; }
    .news-show-title { font-size: 1.4rem; }
    .news-grid-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .btn-join-inline {
        width: 100%;
        justify-content: center;
    }
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .news-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
    }
    .news-page .page-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .news-page .page-subtitle {
        font-size: 0.95rem;
    }
    .blog-card:hover {
        transform: none;
    }
    .blog-card:active {
        opacity: 0.9;
    }
}

@media (max-width: 600px) {
    .blog-thumb, .blog-thumb img { height: 160px; }
    .news-page, .tutorials-page { padding: 1rem 0.75rem 3rem; }
    .tut-hero { margin-bottom: 1.5rem; }
    .tut-stats { flex-direction: column; gap: 1rem; }
    .tut-stat-item i { font-size: 1.5rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-icon { margin-bottom: 0.5rem; }
    .section-header h2 { font-size: 1.3rem; }
    .tutorial-card { padding: 1.5rem; }
    .card-badge { top: 1rem; right: 1rem; font-size: 0.65rem; }
    .card-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .tutorial-card h3 { font-size: 1.1rem; }
    .tut-highlight-box { padding: 1rem; }
    .highlight-item { flex-direction: column; align-items: flex-start; }
    .step-item { padding-left: 1rem; margin-left: 0.6rem; }
    .step-num { width: 30px; height: 30px; font-size: 0.8rem; left: -1rem; }
    .tut-tips-grid { gap: 0.8rem; }
    .tip-box { padding: 1.2rem; }
    .tip-box i { font-size: 1.6rem; }
    .tut-final-cta { padding: 2rem 1.5rem; }
    .tut-final-cta h2 { font-size: 1.4rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-tut-primary, .btn-tut-secondary { width: 100%; justify-content: center; padding: 1rem 1.5rem; }
    .tut-footer-stats { flex-direction: column; gap: 0.8rem; }
    .tut-martial-arts { justify-content: center; }
    .news-hero { margin-bottom: 2rem; }
    .news-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .news-category-filters {
        gap: 0.4rem;
        padding: 0 0.5rem;
    }
    .filter-btn {
        font-size: 0.72rem;
        padding: 0.45rem 0.9rem;
        min-height: 40px;
        letter-spacing: 0.3px;
    }
    .featured-post {
        margin-bottom: 2rem;
    }
    .featured-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }
    .featured-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .featured-body h2 {
        font-size: 1.3rem;
    }
    .featured-excerpt {
        font-size: 0.92rem;
    }
    .news-grid-header {
        padding-bottom: 0.75rem;
    }
    .news-grid-header h3 {
        font-size: 1.1rem;
    }
    .news-grid {
        gap: 1.2rem;
    }
    .blog-body h2 {
        font-size: 1rem;
    }
    .blog-excerpt {
        font-size: 0.85rem;
    }
    .news-social-proof {
        padding: 1.5rem 1rem;
        margin: 3rem 0 1.5rem;
    }
    .proof-header h3 {
        font-size: 1.2rem;
    }
    .proof-header i {
        font-size: 1.5rem;
    }
    .proof-stats {
        gap: 1.2rem;
    }
    .proof-item strong {
        font-size: 1.6rem;
    }
    .proof-item span {
        font-size: 0.75rem;
    }
    .news-cta {
        margin-top: 2rem;
    }
    .btn-cta-primary, .btn-cta-secondary {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }
    .btn-article-join {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    .cta-text h3 {
        font-size: 1.3rem;
    }
    .cta-text p {
        font-size: 0.92rem;
    }
}
