/* ============================================================
   BLOCKTALKERS V2 — Design System
   Dark theme, Decrypt-inspired, premium crypto news
   ============================================================ */

/* ──────────────────────────────────────────────
   1. DESIGN TOKENS
   ────────────────────────────────────────────── */
:root {
    /* Backgrounds */
    --bt-bg: #0B0E11;
    --bt-bg-card: #151A21;
    --bt-bg-hover: #1A2030;
    --bt-bg-surface: #111720;
    --bt-bg-header: rgba(11, 14, 17, 0.92);
    --bt-bg-footer: #080A0D;

    /* Text */
    --bt-white: #F1F5F9;
    --bt-text: #CBD5E1;
    --bt-text-dim: #94A3B8;
    --bt-text-muted: #64748B;

    /* Accent */
    --bt-accent: #E63B7A;
    --bt-accent-soft: rgba(230, 59, 122, 0.12);
    --bt-accent-glow: rgba(230, 59, 122, 0.25);

    /* Borders */
    --bt-line: #1E293B;

    /* Fonts */
    --bt-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bt-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Radius */
    --bt-r-sm: 6px;
    --bt-r-md: 10px;
    --bt-r-lg: 14px;
    --bt-r-xl: 20px;

    /* Layout */
    --bt-max-w: 1320px;
    --bt-gap: 24px;

    /* Transitions */
    --bt-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--bt-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--bt-text);
    background: var(--bt-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--bt-text);
    text-decoration: none;
    transition: color 0.2s var(--bt-ease);
}

a:hover {
    color: var(--bt-accent);
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--bt-accent);
    color: var(--bt-white);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bt-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bt-line);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bt-text-muted);
}

/* ──────────────────────────────────────────────
   3. TYPOGRAPHY
   ────────────────────────────────────────────── */
h1,
h2,
h3 {
    font-family: var(--bt-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--bt-white);
    letter-spacing: -0.02em;
}

h4,
h5,
h6 {
    font-family: var(--bt-sans);
    font-weight: 700;
    line-height: 1.3;
    color: var(--bt-white);
}

h1 {
    font-size: clamp(32px, 4vw, 48px);
}

h2 {
    font-size: clamp(24px, 3vw, 36px);
}

h3 {
    font-size: clamp(20px, 2.5vw, 28px);
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 17px;
}

h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

p {
    margin-bottom: 16px;
}

/* ──────────────────────────────────────────────
   4. LAYOUT & CONTAINER
   ────────────────────────────────────────────── */
.bt-container {
    max-width: var(--bt-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.bt-grid {
    display: grid;
    gap: var(--bt-gap);
}

.bt-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.bt-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.bt-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.bt-grid--hero {
    grid-template-columns: 280px 1fr 300px;
    gap: 0;
}

.bt-grid--content {
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

/* ──────────────────────────────────────────────
   5. HEADER
   ────────────────────────────────────────────── */
.bt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bt-bg-header);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--bt-line);
    transition: all 0.3s var(--bt-ease);
}

.bt-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.bt-header__left,
.bt-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.bt-header__right {
    justify-content: flex-end;
}

.bt-header__logo {
    flex: 0 0 auto;
}

.bt-header__logo img {
    height: 36px;
    width: auto;
}

.bt-header__logo-text {
    font-family: var(--bt-sans);
    font-weight: 800;
    font-size: 22px;
    color: var(--bt-white);
    letter-spacing: -0.03em;
}

/* Search button */
.bt-search-toggle {
    background: none;
    border: none;
    color: var(--bt-text-dim);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--bt-r-sm);
    transition: all 0.2s var(--bt-ease);
    display: flex;
    align-items: center;
}

.bt-search-toggle:hover {
    color: var(--bt-white);
    background: var(--bt-bg-card);
}

.bt-search-toggle svg {
    width: 20px;
    height: 20px;
}

/* Navigation */
.bt-nav {
    border-top: 1px solid var(--bt-line);
}

.bt-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

.bt-nav li {
    position: relative;
}

.bt-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bt-text-dim);
    position: relative;
    transition: color 0.2s var(--bt-ease);
}

.bt-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--bt-accent);
    transform: scaleX(0);
    transition: transform 0.3s var(--bt-ease);
    transform-origin: left;
}

.bt-nav a:hover,
.bt-nav .current-menu-item a,
.bt-nav .current-menu-ancestor a {
    color: var(--bt-white);
}

.bt-nav a:hover::after,
.bt-nav .current-menu-item a::after,
.bt-nav .current-menu-ancestor a::after {
    transform: scaleX(1);
}

/* Dropdown menu */
.bt-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-md);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s var(--bt-ease);
    z-index: 100;
}

.bt-nav li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bt-nav .sub-menu a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

.bt-nav .sub-menu a::after {
    display: none;
}

.bt-nav .sub-menu a:hover {
    background: var(--bt-bg-hover);
    color: var(--bt-accent);
}

/* Mobile menu toggle */
.bt-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bt-white);
    cursor: pointer;
    padding: 8px;
}

.bt-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* ──────────────────────────────────────────────
   6. TICKER
   ────────────────────────────────────────────── */
.bt-ticker {
    background: var(--bt-bg-surface);
    border-bottom: 1px solid var(--bt-line);
    overflow: hidden;
}

.bt-ticker iframe {
    display: block;
}

/* ──────────────────────────────────────────────
   7. HOMEPAGE HERO — 3-Column Grid
   ────────────────────────────────────────────── */
.bt-hero {
    padding: 32px 0;
}

/* Left column: News Explorer */
.bt-hero__timeline {
    border-right: 1px solid var(--bt-line);
    padding-right: 24px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bt-line) transparent;
}

.bt-hero__timeline::-webkit-scrollbar {
    width: 4px;
}

.bt-hero__timeline::-webkit-scrollbar-track {
    background: transparent;
}

.bt-hero__timeline::-webkit-scrollbar-thumb {
    background: var(--bt-line);
    border-radius: 2px;
}

/* Center column: Featured post */
.bt-hero__featured {
    padding: 0 28px;
}

/* Right column: Sidebar */
.bt-hero__sidebar {
    border-left: 1px solid var(--bt-line);
    padding-left: 24px;
}

/* ──────────────────────────────────────────────
   8. SECTION HEADER
   ────────────────────────────────────────────── */
.bt-section {
    padding: 48px 0;
}

.bt-section--alt {
    background: var(--bt-bg-surface);
}

.bt-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--bt-line);
}

.bt-section__title {
    font-family: var(--bt-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--bt-white);
}

.bt-section__link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bt-accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bt-section__link:hover {
    color: var(--bt-white);
}

.bt-section__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--bt-ease);
}

.bt-section__link:hover svg {
    transform: translateX(3px);
}

/* Label (small uppercase) */
.bt-label {
    font-family: var(--bt-sans);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bt-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bt-label::before {
    content: '';
    width: 8px;
    height: 2px;
    background: var(--bt-accent);
    border-radius: 1px;
}

/* ──────────────────────────────────────────────
   9. ARTICLE CARDS
   ────────────────────────────────────────────── */
/* Standard card */
.bt-card {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    overflow: hidden;
    transition: all 0.35s var(--bt-ease);
    display: flex;
    flex-direction: column;
}

.bt-card:hover {
    border-color: rgba(230, 59, 122, 0.4);
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(230, 59, 122, 0.06);
}

.bt-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.bt-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--bt-ease);
}

.bt-card:hover .bt-card__image img {
    transform: scale(1.06);
}

.bt-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 14, 17, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--bt-ease);
    pointer-events: none;
}

.bt-card:hover .bt-card__image::after {
    opacity: 1;
}

.bt-card__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bt-card__title {
    font-family: var(--bt-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bt-white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    flex: 1;
}

.bt-card__title a {
    color: inherit;
}

.bt-card__title a:hover {
    color: var(--bt-accent);
}

.bt-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--bt-text-dim);
    margin-bottom: 12px;
}

/* ── Badge ── */
.bt-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bt-accent);
    background: var(--bt-accent-soft);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    transition: all 0.2s var(--bt-ease);
}

.bt-badge:hover {
    background: var(--bt-accent);
    color: var(--bt-white);
}

/* ── Meta ── */
.bt-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bt-text-muted);
}

.bt-meta__sep {
    color: var(--bt-line);
}

/* ──────────────────────────────────────────────
   10. OVERLAY CARD (Hero featured)
   ────────────────────────────────────────────── */
.bt-overlay {
    position: relative;
    border-radius: var(--bt-r-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.bt-overlay__image {
    position: absolute;
    inset: 0;
}

.bt-overlay__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--bt-ease);
}

.bt-overlay:hover .bt-overlay__image img {
    transform: scale(1.05);
}

.bt-overlay__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(to top,
            rgba(11, 14, 17, 0.95) 0%,
            rgba(11, 14, 17, 0.5) 40%,
            transparent 70%);
    z-index: 2;
}

.bt-overlay__title {
    font-family: var(--bt-serif);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bt-white);
    margin-bottom: 8px;
}

.bt-overlay__title a {
    color: inherit;
}

.bt-overlay__title a:hover {
    color: var(--bt-accent);
}

.bt-overlay__excerpt {
    font-size: 15px;
    color: var(--bt-text-dim);
    max-width: 500px;
}

/* ──────────────────────────────────────────────
   11. TIMELINE ITEM (News Explorer)
   ────────────────────────────────────────────── */
.bt-timeline {
    position: relative;
}

.bt-timeline__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--bt-line);
    transition: all 0.2s var(--bt-ease);
}

.bt-timeline__item:last-child {
    border-bottom: none;
}

.bt-timeline__item:hover {
    padding-left: 8px;
}

.bt-timeline__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--bt-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.bt-timeline__dot {
    width: 6px;
    height: 6px;
    background: var(--bt-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.bt-timeline__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--bt-white);
}

.bt-timeline__title a {
    color: inherit;
}

.bt-timeline__title a:hover {
    color: var(--bt-accent);
}

/* ──────────────────────────────────────────────
   12. SIDEBAR & WIDGETS
   ────────────────────────────────────────────── */
.bt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bt-widget {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    padding: 24px;
}

.bt-widget__title {
    font-family: var(--bt-sans);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bt-accent);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--bt-line);
}

.bt-widget__title::before {
    display: none;
}

/* Embed widget (no padding for iframes) */
.bt-widget--embed {
    padding: 0;
    overflow: hidden;
}

.bt-widget--embed iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ──────────────────────────────────────────────
   13. HOMEPAGE WIDGETS ROW
   ────────────────────────────────────────────── */
.bt-widgets-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bt-gap);
}

.bt-home-widget {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    padding: 24px;
    overflow: hidden;
}

.bt-home-widget iframe {
    width: 100%;
    border: none;
}

/* ──────────────────────────────────────────────
   14. FOOTER
   ────────────────────────────────────────────── */
.bt-footer {
    background: var(--bt-bg-footer);
    border-top: 1px solid var(--bt-line);
    padding: 64px 0 0;
}

.bt-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.bt-footer__brand p {
    font-size: 14px;
    color: var(--bt-text-muted);
    margin-top: 16px;
    line-height: 1.7;
}

.bt-footer__heading {
    font-family: var(--bt-sans);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bt-white);
    margin-bottom: 20px;
}

.bt-footer ul li {
    margin-bottom: 10px;
}

.bt-footer ul a {
    font-size: 14px;
    color: var(--bt-text-muted);
    transition: all 0.2s var(--bt-ease);
}

.bt-footer ul a:hover {
    color: var(--bt-accent);
    padding-left: 4px;
}

/* Social icons */
.bt-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.bt-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--bt-line);
    border-radius: 50%;
    color: var(--bt-text-muted);
    transition: all 0.2s var(--bt-ease);
}

.bt-social a:hover {
    color: var(--bt-accent);
    border-color: var(--bt-accent);
    background: var(--bt-accent-soft);
}

.bt-social svg {
    width: 18px;
    height: 18px;
}

/* Newsletter section */
.bt-newsletter {
    background: var(--bt-bg-surface);
    border-top: 1px solid var(--bt-line);
    border-bottom: 1px solid var(--bt-line);
    padding: 40px 0;
    margin-bottom: 48px;
}

.bt-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.bt-newsletter__text h3 {
    font-family: var(--bt-serif);
    font-size: 22px;
    color: var(--bt-white);
    margin-bottom: 6px;
}

.bt-newsletter__text p {
    font-size: 14px;
    color: var(--bt-text-dim);
    margin: 0;
}

.bt-newsletter__form {
    display: flex;
    gap: 8px;
}

.bt-newsletter__input {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-sm);
    color: var(--bt-white);
    padding: 12px 18px;
    font-family: var(--bt-sans);
    font-size: 14px;
    min-width: 280px;
    outline: none;
    transition: border-color 0.2s var(--bt-ease);
}

.bt-newsletter__input:focus {
    border-color: var(--bt-accent);
    box-shadow: 0 0 0 3px var(--bt-accent-soft);
}

.bt-newsletter__input::placeholder {
    color: var(--bt-text-muted);
}

/* Footer bottom */
.bt-footer__bottom {
    border-top: 1px solid var(--bt-line);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bt-footer__copy {
    font-size: 13px;
    color: var(--bt-text-muted);
}

/* ──────────────────────────────────────────────
   15. BUTTONS
   ────────────────────────────────────────────── */
.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--bt-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: var(--bt-r-sm);
    cursor: pointer;
    transition: all 0.25s var(--bt-ease);
}

.bt-btn--primary {
    background: var(--bt-accent);
    color: var(--bt-white);
}

.bt-btn--primary:hover {
    background: #F04D8A;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--bt-accent-glow);
    color: var(--bt-white);
}

.bt-btn--outline {
    background: transparent;
    color: var(--bt-accent);
    border: 1px solid var(--bt-accent);
}

.bt-btn--outline:hover {
    background: var(--bt-accent-soft);
}

/* ──────────────────────────────────────────────
   16. FORMS
   ────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-sm);
    color: var(--bt-white);
    font-family: var(--bt-sans);
    font-size: 14px;
    padding: 12px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s var(--bt-ease);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--bt-accent);
    box-shadow: 0 0 0 3px var(--bt-accent-soft);
}

/* ──────────────────────────────────────────────
   17. PAGINATION
   ────────────────────────────────────────────── */
.bt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.bt-pagination a,
.bt-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--bt-bg-card);
    color: var(--bt-text-dim);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-sm);
    transition: all 0.2s var(--bt-ease);
}

.bt-pagination a:hover {
    border-color: var(--bt-accent);
    color: var(--bt-accent);
}

.bt-pagination .current {
    background: var(--bt-accent);
    color: var(--bt-white);
    border-color: var(--bt-accent);
}

/* ──────────────────────────────────────────────
   18. SINGLE POST
   ────────────────────────────────────────────── */
.bt-single__header {
    padding: 40px 0 32px;
    max-width: 800px;
}

.bt-single__title {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 16px;
}

.bt-single__featured {
    border-radius: var(--bt-r-xl);
    overflow: hidden;
    margin-bottom: 40px;
}

.bt-single__featured img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.bt-single__content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--bt-text);
}

.bt-single__content p {
    margin-bottom: 24px;
}

.bt-single__content h2 {
    font-size: 26px;
    margin: 48px 0 16px;
}

.bt-single__content h3 {
    font-size: 22px;
    margin: 36px 0 12px;
}

.bt-single__content a {
    color: var(--bt-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(230, 59, 122, 0.3);
}

.bt-single__content a:hover {
    text-decoration-color: var(--bt-accent);
}

.bt-single__content blockquote {
    border-left: 3px solid var(--bt-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bt-bg-card);
    border-radius: 0 var(--bt-r-md) var(--bt-r-md) 0;
    font-style: italic;
    color: var(--bt-text-dim);
}

.bt-single__content pre {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-md);
    padding: 20px 24px;
    overflow-x: auto;
    font-size: 14px;
    margin: 24px 0;
}

.bt-single__content img {
    border-radius: var(--bt-r-md);
    margin: 24px 0;
}

.bt-single__content ul,
.bt-single__content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.bt-single__content ul {
    list-style: disc;
}

.bt-single__content ol {
    list-style: decimal;
}

.bt-single__content li {
    margin-bottom: 8px;
}

/* ──────────────────────────────────────────────
   19. ARCHIVE / CATEGORY
   ────────────────────────────────────────────── */
.bt-archive__header {
    padding: 40px 0 32px;
    border-bottom: 2px solid var(--bt-accent);
    margin-bottom: 40px;
}

.bt-archive__title {
    font-size: clamp(28px, 3vw, 38px);
}

.bt-archive__desc {
    font-size: 15px;
    color: var(--bt-text-dim);
    margin-top: 8px;
    max-width: 600px;
}

/* List-style card for archive */
.bt-list-card {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--bt-line);
    transition: all 0.2s var(--bt-ease);
}

.bt-list-card:hover {
    padding-left: 8px;
}

.bt-list-card__image {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--bt-r-md);
    overflow: hidden;
}

.bt-list-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--bt-ease);
}

.bt-list-card:hover .bt-list-card__image img {
    transform: scale(1.06);
}

.bt-list-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bt-list-card__title {
    font-family: var(--bt-sans);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bt-white);
    margin-bottom: 8px;
}

.bt-list-card__title a {
    color: inherit;
}

.bt-list-card__title a:hover {
    color: var(--bt-accent);
}

.bt-list-card__excerpt {
    font-size: 14px;
    color: var(--bt-text-dim);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   20. SEARCH
   ────────────────────────────────────────────── */
.bt-search-form {
    position: relative;
}

.bt-search-form input {
    padding-right: 50px;
}

.bt-search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bt-text-dim);
    cursor: pointer;
    padding: 4px;
}

.bt-search-form button:hover {
    color: var(--bt-accent);
}

/* ──────────────────────────────────────────────
   21. 404
   ────────────────────────────────────────────── */
.bt-404 {
    text-align: center;
    padding: 100px 24px;
}

.bt-404__number {
    font-family: var(--bt-serif);
    font-size: 120px;
    font-weight: 800;
    color: var(--bt-accent);
    opacity: 0.2;
    line-height: 1;
}

.bt-404__title {
    font-size: 32px;
    margin-bottom: 16px;
}

.bt-404__text {
    color: var(--bt-text-dim);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ──────────────────────────────────────────────
   22. BACK TO TOP
   ────────────────────────────────────────────── */
.bt-totop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bt-accent);
    color: var(--bt-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s var(--bt-ease);
    box-shadow: 0 4px 16px var(--bt-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.bt-totop:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px var(--bt-accent-glow);
}

.bt-totop svg {
    width: 22px;
    height: 22px;
}

/* ──────────────────────────────────────────────
   23. ANIMATIONS
   ────────────────────────────────────────────── */
.bt-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--bt-ease), transform 0.7s var(--bt-ease);
}

.bt-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bt-reveal.bt-d1 {
    transition-delay: 0.05s;
}

.bt-reveal.bt-d2 {
    transition-delay: 0.10s;
}

.bt-reveal.bt-d3 {
    transition-delay: 0.15s;
}

.bt-reveal.bt-d4 {
    transition-delay: 0.20s;
}

@keyframes bt-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bt-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ──────────────────────────────────────────────
   24. RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .bt-grid--hero {
        grid-template-columns: 1fr;
    }

    .bt-hero__timeline {
        border-right: none;
        border-bottom: 1px solid var(--bt-line);
        padding: 0 0 24px;
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 24px;
    }

    .bt-hero__featured {
        padding: 24px 0;
    }

    .bt-hero__sidebar {
        border-left: none;
        border-top: 1px solid var(--bt-line);
        padding: 24px 0 0;
    }

    .bt-grid--content {
        grid-template-columns: 1fr;
    }

    .bt-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .bt-widgets-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --bt-gap: 16px;
    }

    .bt-nav {
        display: none;
    }

    .bt-nav.is-open {
        display: block;
    }

    .bt-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .bt-nav a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--bt-line);
    }

    .bt-nav a::after {
        display: none;
    }

    .bt-menu-toggle {
        display: flex;
    }

    .bt-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: var(--bt-bg-hover);
    }

    .bt-grid--2,
    .bt-grid--3,
    .bt-grid--4 {
        grid-template-columns: 1fr;
    }

    .bt-hero__timeline {
        grid-template-columns: 1fr;
    }

    .bt-list-card {
        flex-direction: column;
        gap: 16px;
    }

    .bt-list-card__image {
        width: 100%;
    }

    .bt-newsletter__inner {
        flex-direction: column;
        text-align: center;
    }

    .bt-newsletter__form {
        flex-direction: column;
        width: 100%;
    }

    .bt-newsletter__input {
        min-width: unset;
    }

    .bt-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bt-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .bt-card:hover {
        transform: none;
    }

    .bt-totop {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .bt-container {
        padding: 0 16px;
    }

    .bt-card__body {
        padding: 16px 18px 20px;
    }

    .bt-section {
        padding: 32px 0;
    }
}

/* ══════════════════════════════════════════════
   25. TRENDING BAR
   ══════════════════════════════════════════════ */
.bt-trending {
    background: var(--bt-bg-surface);
    border-bottom: 1px solid var(--bt-line);
    padding: 14px 0;
    overflow: hidden;
}

.bt-trending__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bt-trending__label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bt-bg);
    background: var(--bt-accent);
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bt-trending__list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bt-trending__list::-webkit-scrollbar {
    display: none;
}

.bt-trending__item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    color: var(--bt-text-dim);
    padding: 4px 0;
}

.bt-trending__item a {
    color: var(--bt-white);
    font-weight: 600;
}

.bt-trending__item a:hover {
    color: var(--bt-accent);
}

.bt-trending__num {
    font-size: 11px;
    font-weight: 800;
    color: var(--bt-accent);
    min-width: 18px;
}

/* ══════════════════════════════════════════════
   26. EDITOR'S PICKS — 1 big + 3 small
   ══════════════════════════════════════════════ */
.bt-picks {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--bt-gap);
}

.bt-picks__main {
    position: relative;
    border-radius: var(--bt-r-xl);
    overflow: hidden;
    min-height: 480px;
}

.bt-picks__main-img {
    position: absolute;
    inset: 0;
}

.bt-picks__main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--bt-ease);
}

.bt-picks__main:hover .bt-picks__main-img img {
    transform: scale(1.05);
}

.bt-picks__main-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(to top, rgba(11, 14, 17, 0.96) 0%, rgba(11, 14, 17, 0.3) 50%, transparent);
    z-index: 2;
}

.bt-picks__main-title {
    font-family: var(--bt-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bt-white);
    margin-bottom: 12px;
}

.bt-picks__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bt-picks__item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bt-line);
    align-items: flex-start;
    transition: all 0.2s var(--bt-ease);
}

.bt-picks__item:last-child {
    border-bottom: none;
}

.bt-picks__item:hover {
    padding-left: 6px;
}

.bt-picks__item-num {
    font-family: var(--bt-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--bt-accent);
    opacity: 0.4;
    line-height: 1;
    min-width: 36px;
}

.bt-picks__item-body {
    flex: 1;
}

.bt-picks__item-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bt-white);
    margin-bottom: 6px;
}

.bt-picks__item-title a {
    color: inherit;
}

.bt-picks__item-title a:hover {
    color: var(--bt-accent);
}

@media (max-width: 768px) {
    .bt-picks {
        grid-template-columns: 1fr;
    }

    .bt-picks__main {
        min-height: 320px;
    }
}

/* ══════════════════════════════════════════════
   27. PRICE TRACKER GRID
   ══════════════════════════════════════════════ */
.bt-prices {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.bt-price-card {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-md);
    padding: 18px;
    text-align: center;
    transition: all 0.25s var(--bt-ease);
}

.bt-price-card:hover {
    border-color: var(--bt-accent);
    transform: translateY(-3px);
}

.bt-price-card__symbol {
    font-size: 13px;
    font-weight: 800;
    color: var(--bt-white);
    margin-bottom: 4px;
}

.bt-price-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bt-white);
    font-family: var(--bt-sans);
    margin-bottom: 4px;
}

.bt-price-card__change {
    font-size: 12px;
    font-weight: 700;
}

.bt-price-card__change--up {
    color: #22c55e;
}

.bt-price-card__change--down {
    color: #ef4444;
}

.bt-price-card__spark {
    margin-top: 8px;
    height: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
}

.bt-price-card__bar {
    width: 3px;
    background: var(--bt-line);
    border-radius: 1px;
    transition: height 0.3s var(--bt-ease);
}

.bt-price-card:hover .bt-price-card__bar {
    background: var(--bt-accent);
}

@media (max-width: 1024px) {
    .bt-prices {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .bt-prices {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════════
   28. DEEP DIVES SHOWCASE
   ══════════════════════════════════════════════ */
.bt-showcase {
    position: relative;
    background: linear-gradient(135deg, #0F1923 0%, #1A0A1E 50%, #0A1628 100%);
    border-radius: var(--bt-r-xl);
    padding: 56px;
    overflow: hidden;
}

.bt-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--bt-accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.bt-showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bt-showcase__label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bt-accent);
    margin-bottom: 16px;
}

.bt-showcase__title {
    font-family: var(--bt-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bt-white);
    margin-bottom: 16px;
}

.bt-showcase__excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--bt-text-dim);
    margin-bottom: 24px;
}

.bt-showcase__image {
    border-radius: var(--bt-r-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.bt-showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .bt-showcase {
        padding: 32px;
    }

    .bt-showcase__grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   29. POPULAR THIS WEEK (Ranked list)
   ══════════════════════════════════════════════ */
.bt-popular {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
}

.bt-popular__item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bt-line);
    align-items: center;
    transition: all 0.2s var(--bt-ease);
}

.bt-popular__item:hover {
    padding-left: 6px;
}

.bt-popular__rank {
    font-family: var(--bt-serif);
    font-size: 38px;
    font-weight: 800;
    color: var(--bt-line);
    min-width: 48px;
    line-height: 1;
    transition: color 0.2s var(--bt-ease);
}

.bt-popular__item:hover .bt-popular__rank {
    color: var(--bt-accent);
}

.bt-popular__thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--bt-r-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.bt-popular__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-popular__body {
    flex: 1;
}

.bt-popular__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bt-white);
}

.bt-popular__title a {
    color: inherit;
}

.bt-popular__title a:hover {
    color: var(--bt-accent);
}

@media (max-width: 768px) {
    .bt-popular {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   30. ACADEMY CAROUSEL (horizontal scroll)
   ══════════════════════════════════════════════ */
.bt-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.bt-carousel::-webkit-scrollbar {
    display: none;
}

.bt-carousel__item {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    overflow: hidden;
    transition: all 0.25s var(--bt-ease);
}

.bt-carousel__item:hover {
    border-color: var(--bt-accent);
    transform: translateY(-4px);
}

.bt-carousel__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.bt-carousel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-carousel__body {
    padding: 18px 20px 22px;
}

.bt-carousel__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bt-white);
    line-height: 1.4;
    margin-bottom: 6px;
}

.bt-carousel__title a {
    color: inherit;
}

.bt-carousel__title a:hover {
    color: var(--bt-accent);
}

/* ══════════════════════════════════════════════
   31. AUTHOR BOX (single article)
   ══════════════════════════════════════════════ */
.bt-author {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    padding: 24px;
    margin-top: 48px;
}

.bt-author__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--bt-accent);
}

.bt-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-author__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bt-white);
    margin-bottom: 4px;
}

.bt-author__bio {
    font-size: 13px;
    color: var(--bt-text-dim);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   32. CATEGORY TABS (filter bar)
   ══════════════════════════════════════════════ */
.bt-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bt-tabs::-webkit-scrollbar {
    display: none;
}

.bt-tab {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-text-dim);
    background: transparent;
    border: 1px solid var(--bt-line);
    border-radius: 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s var(--bt-ease);
}

.bt-tab:hover {
    color: var(--bt-white);
    border-color: var(--bt-text-muted);
}

.bt-tab--active {
    background: var(--bt-accent);
    color: var(--bt-white);
    border-color: var(--bt-accent);
}

/* ══════════════════════════════════════════════
   33. CATEGORY HERO BANNER
   ══════════════════════════════════════════════ */
.bt-cat-hero {
    position: relative;
    background: linear-gradient(135deg, #0F1923, #1A0F28);
    border-radius: var(--bt-r-xl);
    padding: 48px;
    margin-bottom: 40px;
    overflow: hidden;
}

.bt-cat-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at center right, var(--bt-accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

.bt-cat-hero__title {
    font-family: var(--bt-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--bt-white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.bt-cat-hero__desc {
    font-size: 16px;
    color: var(--bt-text-dim);
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.bt-cat-hero__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-accent);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   34. ARTICLE SHARE BAR
   ══════════════════════════════════════════════ */
.bt-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--bt-line);
    border-bottom: 1px solid var(--bt-line);
    margin: 32px 0;
}

.bt-share__label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bt-text-muted);
    margin-right: 8px;
}

.bt-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--bt-line);
    border-radius: 50%;
    color: var(--bt-text-dim);
    transition: all 0.2s var(--bt-ease);
}

.bt-share a:hover {
    color: var(--bt-white);
    border-color: var(--bt-accent);
    background: var(--bt-accent-soft);
}

.bt-share svg {
    width: 16px;
    height: 16px;
}

/* ══════════════════════════════════════════════
   35. TABLE OF CONTENTS
   ══════════════════════════════════════════════ */
.bt-toc {
    background: var(--bt-bg-card);
    border: 1px solid var(--bt-line);
    border-radius: var(--bt-r-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.bt-toc__title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bt-accent);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bt-line);
}

.bt-toc__list li {
    margin-bottom: 10px;
}

.bt-toc__list a {
    font-size: 13px;
    color: var(--bt-text-dim);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.bt-toc__list a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--bt-line);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.bt-toc__list a:hover {
    color: var(--bt-accent);
}

.bt-toc__list a:hover::before {
    background: var(--bt-accent);
}