/* ==========================================================
   ApexLink & Market Insights - Premium Design System
   Google AdSense-Optimized Financial Portal & Verification Flow
   ========================================================== */

:root {
    --bg-primary: #090e1a;
    --bg-secondary: #0f172a;
    --bg-card: #131d38;
    --bg-card-hover: #192648;
    --bg-elevated: #1e2c50;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-gold-glow: rgba(245, 158, 11, 0.2);
    
    --accent-blue: #38bdf8;
    --accent-blue-hover: #0284c7;
    
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    
    --border-color: #243456;
    --border-light: #334771;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Tajawal', 'Cairo', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* ==========================================================
   Header & Navigation
   ========================================================== */
.site-header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #090e1a;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-title .highlight {
    color: var(--accent-gold);
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active {
    border-bottom: 2px solid var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 12px;
    border-radius: 9999px;
}

/* ==========================================================
   AdSense Placement Containers
   ========================================================== */
.ad-container {
    max-width: 1240px;
    margin: 18px auto;
    padding: 0 20px;
    text-align: center;
}

.ad-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.ad-slot {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm);
    padding: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.ad-container:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--text-muted);
}

.ad-ph-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.ad-ph-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.ad-ph-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.ad-in-article {
    margin: 32px 0;
    padding: 0;
}

.ad-slot-rectangle {
    min-height: auto;
}

.ad-slot-sidebar {
    min-height: auto;
}

/* ==========================================================
   Main Layout & Container
   ========================================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    width: 100%;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    min-width: 0;
    width: 100%;
}

.main-article {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ==========================================================
   Verification Interstitial Box (The 5-Second Shortener Card)
   ========================================================== */
.verification-box {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic);
}

.verification-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

.step-2-box::before {
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-blue));
}

.vb-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vb-step {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.vb-step.final-step {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.3);
}

.vb-protocol {
    font-size: 12px;
    color: var(--text-muted);
}

.vb-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.timer-circle-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.timer-bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
}

.timer-progress-circle {
    fill: none;
    stroke: var(--accent-gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.timer-progress-circle.timer-emerald {
    stroke: var(--accent-emerald);
}

.timer-display {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
}

.vb-text-col {
    flex: 1;
}

.vb-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.vb-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.vb-description strong {
    color: var(--accent-gold);
}

.vb-action-wrapper {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeInSlideUp 0.4s ease forwards;
}

.btn-primary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #090e1a;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px var(--accent-gold-glow);
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #fbbf24, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    color: #090e1a;
}

.vb-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ==========================================================
   Step 2 Code Card (8-Character Verification Code)
   ========================================================== */
.vb-code-container {
    animation: fadeInSlideUp 0.4s ease forwards;
}

.code-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-emerald);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.code-display-card {
    background: var(--bg-primary);
    border: 2px solid var(--accent-emerald);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 24px var(--accent-emerald-glow);
    margin-bottom: 16px;
    position: relative;
}

.code-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.code-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.code-value {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #ffffff;
    background: var(--bg-secondary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    user-select: all;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    direction: ltr !important;
    unicode-bidi: embed;
}

.btn-copy-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--accent-emerald);
    color: #090e1a;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px var(--accent-emerald-glow);
}

.btn-copy-code:hover {
    background: #34d399;
    transform: translateY(-1px);
}

.btn-copy-code.copied {
    background: #059669;
    color: #ffffff;
}

.copy-feedback-msg {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-emerald);
}

.destination-url-box {
    margin: 16px 0;
}

.btn-destination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-elevated);
    color: var(--accent-blue);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-destination:hover {
    background: var(--accent-blue);
    color: #090e1a;
}

.code-instructions {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--accent-emerald);
    border-left: none;
}

/* ==========================================================
   Article Styling & Typography
   ========================================================== */
.main-article {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.article-meta-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 9999px;
}

.tag-primary {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.tag-accent {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

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

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.publish-date {
    font-size: 12px;
    color: var(--text-muted);
}

.article-content {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 18px;
    line-height: 1.7;
    color: #f1f5f9;
    margin-bottom: 24px;
    font-weight: 400;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-content p {
    margin-bottom: 20px;
}

.styled-list {
    margin: 16px 0 24px 20px;
}

.styled-list li {
    margin-bottom: 12px;
    padding-left: 6px;
}

.styled-list strong {
    color: var(--text-primary);
}

.callout-card {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-gold);
    border-right: none;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 28px 0;
}

.callout-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.callout-body h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.callout-body p {
    font-size: 14px;
    margin: 0;
    color: var(--text-secondary);
}

/* Data Table */
.data-table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    margin: 28px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.data-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.article-summary-box {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-top: 36px;
}

.article-summary-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

/* ==========================================================
   Sidebar Styling
   ========================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
}

.sidebar-card.highlight-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border-color: var(--border-light);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 10px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ticker-symbol {
    font-weight: 600;
    color: var(--text-secondary);
}

.ticker-value {
    font-family: var(--font-mono);
    font-weight: 700;
}

.text-up {
    color: var(--accent-emerald);
}

.text-down {
    color: #ef4444;
}

.status-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.status-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-done::before {
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

.status-pending::before {
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
}

.status-upcoming::before {
    background: var(--text-muted);
}

.token-status-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.token-status-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================
   Footer Styling
   ========================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 20px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.brand-col .footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 14px 0;
    max-width: 480px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--accent-emerald);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.compliance-tags {
    display: flex;
    gap: 16px;
}

/* ==========================================================
   Keyframe Animations
   ========================================================== */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ==========================================================
   Responsive Adaptability & Mobile Optimization
   ========================================================== */
@media (max-width: 960px) {
    .content-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    
    .sidebar {
        order: 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .ad-slot-leaderboard {
        min-height: 60px;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: static;
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        gap: 10px;
    }
    
    .brand-logo {
        gap: 8px;
    }
    
    .logo-icon {
        width: 34px;
        height: 34px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .header-actions {
        margin-left: auto;
    }
    
    .security-badge {
        font-size: 11px;
        padding: 4px 8px;
        gap: 4px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-top: 6px;
        padding-bottom: 2px;
    }
    
    .main-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .page-container {
        padding: 14px 10px 32px;
    }
    
    .main-article {
        padding: 16px 12px;
        border-radius: var(--radius-sm);
    }
    
    .article-header {
        margin-bottom: 18px;
    }
    
    .article-title {
        font-size: 21px;
        line-height: 1.32;
        letter-spacing: -0.01em;
    }
    
    .article-meta-tags {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .meta-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .article-byline {
        gap: 10px;
    }
    
    .author-name {
        font-size: 13px;
    }
    
    .publish-date {
        font-size: 11px;
        line-height: 1.3;
    }
    
    /* Verification Box Mobile Layout */
    .verification-box {
        padding: 16px 12px;
        margin-bottom: 22px;
        border-radius: var(--radius-sm);
    }
    
    .vb-badge {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }
    
    .vb-step {
        font-size: 11px;
        padding: 4px 8px;
        white-space: nowrap;
    }
    
    .vb-protocol {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .vb-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    
    .timer-circle-wrapper {
        width: 72px;
        height: 72px;
    }
    
    .timer-display {
        font-size: 24px;
    }
    
    .vb-title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .vb-description {
        font-size: 13px;
        line-height: 1.55;
    }
    
    .btn-primary-action {
        font-size: 15px;
        padding: 14px 16px;
        gap: 8px;
    }
    
    /* Step 2 Code Card Mobile Layout */
    .code-display-card {
        padding: 16px 12px;
    }
    
    .code-wrapper {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .code-value {
        font-size: 26px;
        letter-spacing: 0.16em;
        width: 100%;
        text-align: center;
        padding: 10px 12px;
        box-sizing: border-box;
    }
    
    .btn-copy-code {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-destination {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .code-instructions {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    /* Tables on Mobile */
    .data-table-wrapper {
        margin: 18px 0;
    }
    
    .data-table th, .data-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    /* Callout & Summary cards */
    .callout-card {
        padding: 14px 12px;
        gap: 10px;
        margin: 18px 0;
    }
    
    .callout-icon {
        font-size: 20px;
    }
    
    .callout-body h4 {
        font-size: 14px;
    }
    
    .callout-body p {
        font-size: 13px;
    }
    
    .article-summary-box {
        padding: 16px 12px;
    }
    
    /* Ad Containers on Mobile */
    .ad-container {
        margin: 12px auto;
        padding: 0 10px;
    }
    
    .footer-disclaimer {
        padding: 12px 14px;
        font-size: 11px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .logo-subtitle {
        display: none;
    }
    
    .code-value {
        font-size: 22px;
        letter-spacing: 0.12em;
    }
    
    .article-title {
        font-size: 19px;
    }
    
    .vb-badge {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 6px;
    }
}
