/* ═══════════════════════════════════════
   BLOGS MODULE — Auction Arena
   Matches home-v2, features, tournament-show
═══════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --navy-deepest: #060A14;
    --navy-deep: #0A0E1A;
    --navy-mid: #0F1629;
    --navy-surface: #141D35;
    --navy-elevated: #1A2440;
    --navy-border: rgba(255, 255, 255, 0.08);
    --navy-border-bright: rgba(255, 255, 255, 0.14);
    --blue: #2563EB;
    --blue-bright: #3B7BFF;
    --blue-glow: rgba(37, 99, 235, 0.35);
    --blue-faint: rgba(37, 99, 235, 0.1);
    --white: #ffffff;
    --off-white: #F7F8FC;
    --ink: #0A0E1A;
    --ink-mid: #1E2840;
    --ink-soft: #4A5578;
    --muted: #8892AA;
    --border-light: #E4E8F0;
    --border-blue: #BFCFFF;
    --gold: #F5C842;
    --gold-dim: rgba(245, 200, 66, 0.15);
}

html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; }

/* ═══════════════════════════════════════
   BLOG LISTING HERO (dark navy)
═══════════════════════════════════════ */
.blog-hero {
    position: relative;
    background: linear-gradient(160deg, #060A14 0%, #0A1228 50%, #060A14 100%);
    padding: 140px 52px 100px;
    overflow: hidden;
    text-align: center;
}

.blog-hero-glow {
    position: absolute;
    top: -10%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.22) 0%, rgba(37,99,235,0.08) 35%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.blog-hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.6) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.6) 0%, transparent 70%);
}

.blog-hero-stars {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 15%, rgba(255,255,255,0.6) 0.5px, transparent 0.5px),
        radial-gradient(circle at 85% 10%, rgba(255,255,255,0.5) 0.5px, transparent 0.5px),
        radial-gradient(circle at 45% 8%, rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.5) 0.5px, transparent 0.5px),
        radial-gradient(circle at 22% 35%, rgba(255,255,255,0.35) 0.5px, transparent 0.5px),
        radial-gradient(circle at 92% 40%, rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
        radial-gradient(circle at 55% 28%, rgba(255,255,255,0.3) 0.5px, transparent 0.5px);
}

.blog-hero-inner {
    position: relative; z-index: 5;
    max-width: 700px; margin: 0 auto;
}

.blog-eyebrow {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--blue);
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.blog-eyebrow::before {
    content: ''; width: 20px; height: 2px;
    background: var(--blue-bright); border-radius: 1px;
}

.blog-hero-h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 800; line-height: 1.06;
    letter-spacing: -2.5px; color: #fff;
    margin-bottom: 20px;
}
.blog-hero-h1 em {
    font-family: 'Newsreader', serif;
    font-style: italic; font-weight: 400;
    letter-spacing: -2px; color: rgba(255,255,255,0.88);
}

.blog-hero-desc {
    font-size: 17px; line-height: 1.72;
    color: rgba(255,255,255,0.52);
    max-width: 540px; margin: 0 auto;
    font-weight: 400; letter-spacing: -0.2px;
}

/* ═══════════════════════════════════════
   BLOG LISTING CARDS (white section)
═══════════════════════════════════════ */
.blog-listing-section {
    background: var(--white);
    padding: 100px 48px;
    position: relative;
}

.blog-listing-inner {
    max-width: 1200px; margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.28s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(10,14,26,0.05);
    display: flex; flex-direction: column;
}
.blog-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #6366f1);
    opacity: 0; transition: opacity 0.28s;
    border-radius: 20px 20px 0 0; z-index: 2;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37,99,235,0.25);
    box-shadow: 0 20px 48px rgba(10,14,26,0.09), 0 4px 12px rgba(37,99,235,0.06);
}
.blog-card:hover::before { opacity: 1; }

.blog-card-img-wrap {
    position: relative;
    height: 200px; overflow: hidden;
}
.blog-card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.04);
}

.blog-card-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--blue); color: #fff;
    padding: 3px 12px; border-radius: 100px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    z-index: 2;
}

.blog-card-body {
    padding: 24px;
    display: flex; flex-direction: column; flex: 1;
}

.blog-card-meta {
    display: flex; align-items: center; gap: 14px;
    font-size: 12px; color: var(--muted);
    margin-bottom: 12px; font-weight: 500;
}
.blog-card-meta i { margin-right: 4px; }

.blog-card-title {
    font-size: 16px; font-weight: 700;
    color: var(--ink); letter-spacing: -0.3px;
    line-height: 1.35; margin-bottom: 10px;
    text-decoration: none; display: block;
    transition: color 0.18s;
}
.blog-card-title:hover { color: var(--blue); }

.blog-card-excerpt {
    font-size: 14px; color: var(--ink-soft);
    line-height: 1.65; letter-spacing: -0.1px;
    margin-bottom: 18px; flex: 1;
}

.blog-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--blue); text-decoration: none;
    transition: gap 0.18s;
    margin-top: auto;
}
.blog-card-link:hover { gap: 10px; }

/* ═══════════════════════════════════════
   BLOG DETAIL HERO (dark navy)
═══════════════════════════════════════ */
.blog-detail-hero {
    background: linear-gradient(160deg, #060A14 0%, #0A1228 50%, #060A14 100%);
    padding: 120px 52px 80px;
    position: relative; overflow: hidden;
}
.blog-detail-hero::before {
    content: ''; position: absolute;
    top: -20%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.blog-detail-hero::after {
    content: ''; position: absolute;
    bottom: -10%; left: -5%; width: 400px; height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.blog-detail-hero-inner {
    max-width: 800px; margin: 0 auto;
    position: relative; z-index: 5;
}

.blog-breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,0.35);
    margin-bottom: 24px; font-weight: 500;
}
.blog-breadcrumb a {
    color: rgba(255,255,255,0.35); text-decoration: none;
    transition: color 0.15s;
}
.blog-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.blog-breadcrumb-sep { color: rgba(255,255,255,0.2); }

.blog-detail-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 100px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    margin-bottom: 16px; text-transform: uppercase;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    color: #7FB3FF;
}

.blog-detail-h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900; color: #fff;
    letter-spacing: -1.5px; line-height: 1.08;
    margin-bottom: 20px;
}

.blog-detail-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 13px; color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.blog-detail-meta i { margin-right: 5px; color: rgba(255,255,255,0.3); }

.blog-detail-hero-img {
    width: 100%; max-height: 460px; object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--navy-border-bright);
    margin-top: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════
   BLOG CONTENT (white section)
═══════════════════════════════════════ */
.blog-content-section {
    background: var(--white);
    padding: 80px 48px;
}

.blog-content-inner {
    max-width: 760px; margin: 0 auto;
}

.blog-content {
    font-family: 'Inter', sans-serif;
    color: var(--ink-soft);
}
.blog-content p {
    font-size: 16px; line-height: 1.78;
    color: var(--ink-soft); margin-bottom: 24px;
    letter-spacing: -0.1px;
}
.blog-content h2 {
    font-size: 24px; font-weight: 800;
    color: var(--ink); letter-spacing: -0.8px;
    margin: 48px 0 16px; line-height: 1.2;
    padding-left: 16px;
    border-left: 3px solid var(--blue);
}
.blog-content h2:first-child { margin-top: 0; }
.blog-content h3 {
    font-size: 18px; font-weight: 700;
    color: var(--ink); letter-spacing: -0.3px;
    margin: 36px 0 12px; line-height: 1.3;
}
.blog-content ul, .blog-content ol {
    padding-left: 24px; margin-bottom: 24px;
    color: var(--ink-soft);
}
.blog-content li {
    margin-bottom: 8px; font-size: 15px;
    line-height: 1.7; letter-spacing: -0.1px;
}
.blog-content strong {
    color: var(--ink); font-weight: 700;
}
.blog-content blockquote {
    border-left: 3px solid var(--blue);
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--ink-mid);
    margin: 32px 0;
    font-size: 16px; line-height: 1.7;
}
.blog-content a {
    color: var(--blue); font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}
.blog-content a:hover { color: var(--blue-bright); }

/* ═══════════════════════════════════════
   RELATED / INTERNAL LINK BOX
═══════════════════════════════════════ */
.blog-related-box {
    background: var(--off-white);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    padding: 20px; margin: 32px 0;
    display: flex; align-items: center; gap: 16px;
}
.blog-related-box i {
    font-size: 20px; color: var(--blue); flex-shrink: 0;
}
.blog-related-box .blog-related-label {
    font-size: 11px; color: var(--muted);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; display: block; margin-bottom: 3px;
}
.blog-related-box a {
    color: var(--ink); font-weight: 700;
    text-decoration: none; font-size: 14px;
    transition: color 0.18s; letter-spacing: -0.2px;
}
.blog-related-box a:hover { color: var(--blue); }

/* ═══════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════ */
.blog-faq-section {
    max-width: 760px; margin: 64px auto 0;
}

.blog-faq-title {
    font-size: 24px; font-weight: 800;
    color: var(--ink); letter-spacing: -0.8px;
    margin-bottom: 28px;
}

.blog-faq-item {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    margin-bottom: 12px; overflow: hidden;
    transition: border-color 0.2s;
}
.blog-faq-item:hover { border-color: rgba(37,99,235,0.2); }
.blog-faq-item.active { border-color: rgba(37,99,235,0.25); }

.blog-faq-question {
    padding: 20px 24px;
    font-size: 15px; font-weight: 700;
    color: var(--ink); cursor: pointer;
    display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
    letter-spacing: -0.2px;
    font-family: 'Inter', sans-serif;
    background: none; border: none; width: 100%;
    text-align: left;
}
.blog-faq-question i {
    color: var(--blue);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}
.blog-faq-item.active .blog-faq-question i {
    transform: rotate(180deg);
}

.blog-faq-answer {
    padding: 0 24px; max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1), padding 0.35s;
    color: var(--ink-soft);
    font-size: 15px; line-height: 1.7;
    letter-spacing: -0.1px;
}
.blog-faq-item.active .blog-faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* ═══════════════════════════════════════
   CTA SECTION (dark navy)
═══════════════════════════════════════ */
.blog-cta {
    background: var(--navy-deep);
    padding: 100px 48px;
    text-align: center;
    position: relative; overflow: hidden;
}
.blog-cta::before {
    content: ''; position: absolute;
    top: -20%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.15) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}

.blog-cta-inner {
    position: relative; z-index: 5;
    max-width: 700px; margin: 0 auto;
}

.blog-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800; color: #fff;
    letter-spacing: -1.5px; line-height: 1.1;
    margin-bottom: 16px;
}

.blog-cta p {
    font-size: 16px; line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px; letter-spacing: -0.2px;
}

.blog-cta-features {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 10px;
    margin-bottom: 40px;
}

.blog-cta-feature {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--navy-border-bright);
    border-radius: 10px; padding: 8px 14px;
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; gap: 8px;
}
.blog-cta-feature i { color: var(--blue-bright); }

.blog-cta-buttons {
    display: flex; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}

.btn-blog-primary {
    padding: 14px 32px;
    background: var(--blue); border: none;
    border-radius: 10px; color: #fff;
    font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: all 0.22s; letter-spacing: -0.2px;
    text-decoration: none; display: inline-flex;
    align-items: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-blog-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--blue-glow);
    color: #fff;
}

.btn-blog-secondary {
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px; color: #fff;
    font-size: 15px; font-weight: 500;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: all 0.22s; letter-spacing: -0.2px;
    text-decoration: none; display: inline-flex;
    align-items: center; gap: 8px;
}
.btn-blog-secondary:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .blog-hero { padding: 120px 28px 80px; }
    .blog-listing-section { padding: 80px 28px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-detail-hero { padding: 100px 28px 64px; }
    .blog-content-section { padding: 60px 28px; }
    .blog-cta { padding: 80px 28px; }
}

@media (max-width: 768px) {
    .blog-hero { padding: 100px 20px 60px; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-listing-section { padding: 60px 20px; }
    .blog-detail-hero { padding: 88px 20px 48px; }
    .blog-detail-h1 { font-size: 28px; letter-spacing: -1px; }
    .blog-content-section { padding: 48px 20px; }
    .blog-content h2 { font-size: 20px; }
    .blog-cta { padding: 64px 20px; }
    .blog-cta-buttons { flex-direction: column; align-items: center; }
    .btn-blog-primary, .btn-blog-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .blog-hero-h1 { font-size: 32px; letter-spacing: -1.5px; }
    .blog-detail-meta { flex-direction: column; gap: 6px; }
}
