/* === CSS VARIABLES === */
:root {
    --primary-color: #39ff14;
    --primary-hover: #7dff6b;
    --primary-light: rgba(57, 255, 20, 0.14);
    --accent-color: #ff4d6d;
    --success-color: #39ff14;
    --warning-color: #ffe066;

    --bg-primary: #050805;
    --bg-secondary: #081108;
    --bg-tertiary: #0d190d;
    --bg-elevated: #112411;
    --bg-hover: rgba(57, 255, 20, 0.08);

    --text-primary: #b7ffb0;
    --text-secondary: #7dff6b;
    --text-muted: #4ebf4a;
    --text-dim: #2f7d31;

    --border-color: rgba(57, 255, 20, 0.25);
    --border-light: rgba(57, 255, 20, 0.12);
    --shadow-sm: 0 0 0 1px rgba(57, 255, 20, 0.1);
    --shadow-md: 0 0 0 1px rgba(57, 255, 20, 0.18), 0 0 18px rgba(57, 255, 20, 0.08);
    --shadow-lg: 0 0 0 1px rgba(57, 255, 20, 0.22), 0 0 28px rgba(57, 255, 20, 0.12);

    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --transition: all 0.18s steps(2, end);

    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1440px;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background:
    radial-gradient(circle at top, rgba(57, 255, 20, 0.04), transparent 35%),
    repeating-linear-gradient(
        to bottom,
        rgba(57, 255, 20, 0.03) 0px,
                              rgba(57, 255, 20, 0.03) 1px,
                              transparent 2px,
                              transparent 4px
    ),
    var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.18);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
    linear-gradient(rgba(255,255,255,0.015), rgba(0,0,0,0.02)),
    repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(57,255,20,0.03) 4px
    );
    mix-blend-mode: screen;
    opacity: 0.7;
    z-index: 9999;
}

.container {
    max-width: var(--desktop);
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
/* === HEADER === */
.header {
    background:
    linear-gradient(180deg, rgba(57,255,20,0.05) 0%, rgba(57,255,20,0.01) 100%),
    var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    padding-bottom: 22px;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
    repeating-linear-gradient(
        90deg,
        rgba(57,255,20,0.03) 0px,
                              rgba(57,255,20,0.03) 1px,
                              transparent 1px,
                              transparent 14px
    );
    opacity: 0.35;
}

.terminal-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-top: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    background: #030603;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 10px 0 18px;
    position: relative;
    z-index: 1;
}

.brand-section {
    flex: 1;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.logo-icon {
    font-size: 42px;
    line-height: 1;
    filter: none;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
    animation: blinkSoft 2s steps(2, end) infinite;
}

.brand-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1;
}

.brand-name {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 0 8px rgba(57,255,20,0.45);
}

.brand-name::before {
    content: "";
    display: inline-block;
    width: 64px;
    height: 64px;
    background: url("pep.gif") center/contain no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.brand-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 58px;
    color: var(--text-muted);
    font-size: 13px;
}

.prompt-line {
    display: block;
    color: var(--text-muted);
}

.prompt-line::before {
    content: "> ";
    color: var(--warning-color);
}

.search-section {
    max-width: 420px;
    width: 100%;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 72px 16px 18px;
    background: #020402;
    border: 2px solid var(--border-color);
    border-radius: 0;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: inset 0 0 0 1px rgba(57,255,20,0.05);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.search-input::placeholder {
    color: var(--text-dim);
    text-transform: uppercase;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #000;
    box-shadow: 0 0 0 1px var(--primary-color), 0 0 14px rgba(57,255,20,0.15);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    color: #041004;
    padding: 9px 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.search-btn:hover {
    background: #000;
    color: var(--primary-color);
    transform: translateY(-50%);
    box-shadow: inset 0 0 0 1px var(--primary-color);
}

/* === MINIMAL STATS === */
.stats-terminal {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    border: 2px solid var(--border-color);
    background: #030603;
    box-shadow: var(--shadow-md);
}

.stats-terminal-header,
.stats-terminal-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(57,255,20,0.03);
}

.stats-terminal-header {
    border-bottom: 1px solid var(--border-light);
}

.stats-terminal-footer {
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.stats-terminal-blink {
    color: var(--warning-color);
    animation: blink 1s steps(2, end) infinite;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-line {
    display: grid;
    grid-template-columns: 140px 16px 1fr;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px dashed var(--border-light);
    align-items: center;
    min-width: 0;
}

.stat-line:nth-child(odd) {
    border-right: 1px dashed var(--border-light);
}

.stat-line:nth-last-child(-n + 2) {
    border-bottom: none;
}

.stat-key {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-separator {
    color: var(--text-dim);
    text-align: center;
}

.stat-value-inline {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value-inline.updated {
    animation: statFlash 0.45s steps(2, end);
}

@keyframes statFlash {
    0% {
        color: #000;
        background: var(--primary-color);
    }
    100% {
        color: var(--primary-color);
        background: transparent;
    }
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stat-card::before {
    content: "[STAT]";
    position: absolute;
    top: 6px;
    right: 10px;
    height: auto;
    background: none;
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.stat-card:hover {
    transform: none;
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 22px;
    padding: 10px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

/* === NAVIGATION === */
.navigation {
    background: #030603;
    border-top: 1px solid var(--border-light);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: none;
}

.nav-tabs {
    display: flex;
    gap: 0;
}

.nav-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    padding: 18px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid transparent;
    border-right: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.nav-tab:hover:not(.active) {
    color: var(--primary-hover);
    background: var(--bg-hover);
}

.nav-tab.active {
    color: #041004;
    background: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-icon {
    font-size: 16px;
}

/* === MAIN CONTENT === */
.main-content {
    padding: 32px 0 80px;
    min-height: 70vh;
}

.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
    animation: terminalReveal 0.15s steps(2, end);
}

#routeDetailSection {
min-height: 60vh;
}

@keyframes terminalReveal {
    from {
        opacity: 0;
        filter: brightness(1.35);
    }
    to {
        opacity: 1;
        filter: brightness(1);
    }
}

/* === SECTION HEADER === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--border-light);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title h2::before {
    content: "> ";
    color: var(--warning-color);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--success-color);
    padding: 4px 10px;
    border: 1px solid var(--success-color);
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 0;
    animation: blink 1s steps(2, end) infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}

@keyframes blinkSoft {
    0%, 92%, 100% { opacity: 1; }
    93%, 97% { opacity: 0.5; }
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.limit-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.limit-select {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.limit-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* === DATA CONTAINER === */
.data-container {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    table-layout: auto;
}

.data-table thead {
    background: #030603;
}

.data-table th {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 14px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.data-table td {
    padding: 14px;
    border-bottom: 1px dashed var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
    white-space: nowrap;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(57, 255, 20, 0.05);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* === COLUMN STYLES === */
.col-height {
    width: 120px;
    font-weight: 700;
    color: var(--warning-color);
}

.col-hash {
    min-width: 520px;
    white-space: normal !important;
}

.col-hash .hash-clickable {
    display: inline-block;
    white-space: normal;
    word-break: break-all;
}

.col-txhash {
    width: auto;
    min-width: 320px;
}

.col-size {
    width: 100px;
    text-align: right;
}

.col-txs {
    width: 80px;
    text-align: center;
}

.col-block {
    width: 120px;
    text-align: center;
    font-weight: 600;
}

.col-difficulty {
    width: 140px;
    text-align: right;
}

.col-io {
    width: 120px;
    text-align: center;
}

.col-timestamp {
    width: 160px;
    color: var(--text-muted);
    font-size: 12px;
}

/* === HASH STYLING === */
.hash-clickable {
    color: var(--primary-color);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    word-break: break-all;
    line-height: 1.4;
    text-decoration: none;
}

.hash-clickable:hover {
    color: #000;
    background: var(--primary-color);
    text-decoration: none;
    text-shadow: none;
}

/* === LOADING STATES === */
.loading-row {
    text-align: center;
    padding: 48px 20px !important;
    color: var(--text-muted);
    background: rgba(57, 255, 20, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 0;
    border-top-color: var(--primary-color);
    animation: spin 1s steps(8, end) infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === PAGINATION === */
.pagination-wrapper {
    background: #030603;
    border-top: 2px solid var(--border-color);
    padding: 16px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    min-width: 44px;
    height: 42px;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: none;
    box-shadow: none;
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    margin: 0 12px;
    white-space: nowrap;
    text-transform: uppercase;
}

.page-input {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    width: 60px;
    transition: var(--transition);
    font-family: 'JetBrains Mono', monospace;
}

.page-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* === MODALS === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 10, 0, 0.9);
    backdrop-filter: none;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    max-width: 600px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    animation: terminalReveal 0.1s steps(2, end);
    box-shadow: 0 0 24px rgba(57,255,20,0.1);
}

.modal-container.large {
    max-width: 900px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 2px solid var(--border-color);
    background: #000;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-close {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 0;
    transition: var(--transition);
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

.modal-close:hover {
    color: #000;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.modal-content {
    padding: 22px;
    max-height: 60vh;
    overflow-y: auto;
}

/* === DETAIL FORMATTING === */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.detail-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 18px;
    transition: var(--transition);
}

.detail-item:hover {
    background: var(--bg-elevated);
    border-color: var(--primary-color);
}

.detail-label {
    display: block;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.hash-value {
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

.coinbase-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 0;
    background: var(--primary-color);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-message {
    background: rgba(255, 77, 109, 0.08);
    border: 1px solid rgba(255, 77, 109, 0.35);
    border-radius: 0;
    padding: 24px;
    color: var(--text-secondary);
}

.error-message h4 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.error-message p {
    color: var(--text-muted);
    word-break: break-word;
}

.address-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 0;
    border: 1px solid rgba(255, 224, 102, 0.35);
    background: rgba(255, 224, 102, 0.08);
    color: var(--text-secondary);
}

.address-note strong {
    color: var(--warning-color);
}

/* === NOTIFICATIONS === */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    min-width: 280px;
    max-width: 420px;
    background: #000;
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 0 18px rgba(57,255,20,0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.notification-success {
    border-color: var(--success-color);
}

.notification-warning {
    border-color: var(--warning-color);
}

.notification-info {
    border-color: var(--primary-color);
}

.notification-icon {
    font-size: 18px;
    line-height: 1;
}

.notification-message {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === FOOTER === */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 24px 0;
    margin-top: 64px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.node-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 0;
    animation: blink 1s steps(2, end) infinite;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .brand-description {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-hash {
        min-width: 420px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        padding: 24px 0;
    }

    .brand-name {
        font-size: 26px;
    }

    .brand-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nav-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .nav-tab {
        padding: 14px;
        font-size: 13px;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .col-hash {
        min-width: 320px;
    }

    .page-info {
        margin: 0 6px;
        font-size: 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .notification {
        left: 16px;
        right: 16px;
        top: 16px;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        font-size: 34px;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 14px;
    }

    .modal-container {
        margin: 10px;
        max-height: 95vh;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .mining-cell {
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
    }

    .mining-text {
        white-space: normal;
    }

    .header::after {
        display: none;
    }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-muted { color: var(--text-muted); }

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(57,255,20,0.25);
    border: 1px solid rgba(57,255,20,0.35);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(57,255,20,0.45);
}

/* === SELECTION === */
::selection {
    background: var(--primary-color);
    color: #000;
}

/* === MINING ROW === */
.mining-row {
    background: linear-gradient(90deg, rgba(255, 224, 102, 0.12) 0%, rgba(255, 224, 102, 0.03) 100%);
}

.mining-row:hover {
    background: linear-gradient(90deg, rgba(255, 224, 102, 0.18) 0%, rgba(255, 224, 102, 0.05) 100%) !important;
}

.mining-height {
    color: var(--warning-color) !important;
    font-weight: 700;
}

.mining-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.mining-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 0;
    background: rgba(255, 224, 102, 0.14);
    border: 1px solid rgba(255, 224, 102, 0.35);
    color: var(--warning-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    white-space: nowrap;
}

.mining-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--warning-color);
    box-shadow: none;
    animation: blink 1s steps(2, end) infinite;
}

.mining-text {
    color: var(--text-secondary);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
