* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.butterfly-icon {
    font-size: 40px;
    filter: grayscale(100%);
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

.tagline {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 50%;
}

.status-badge.online .status-dot {
    background: #fff;
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.emerged-btn {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.emerged-btn:hover {
    background: #ccc;
}

.x-btn {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 15px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.x-btn:hover {
    background: #fff;
    color: #000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
}

.stat-card.main-stat {
    grid-column: span 2;
    background: #111;
    border-color: #333;
}

.stat-card.ca-card {
    grid-column: 1 / -1;
}

.stat-label {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-value.small {
    font-size: 0.75rem;
    font-family: monospace;
    word-break: break-all;
    cursor: pointer;
    padding: 8px;
    background: #0a0a0a;
    border-radius: 6px;
    transition: background 0.2s;
}

.stat-value.small:hover {
    background: #1a1a1a;
}

.stat-value.small.copied {
    background: #333;
}

.main-stat .stat-value {
    font-size: 2.5rem;
    color: #fff;
}

.stat-sub {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
}

.chart-section {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.chart-section h3 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.chart-container {
    height: 250px;
}

.telegram-cta {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.telegram-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.telegram-cta p {
    color: #888;
    margin-bottom: 1.5rem;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    background: #ccc;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.info-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
}

.info-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    color: #888;
    font-size: 0.9rem;
}

.info-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.info-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #fff;
}

.tx-section {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.tx-section h3 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.tx-list {
    max-height: 300px;
    overflow-y: auto;
}

.tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #0a0a0a;
    border-radius: 8px;
    margin-bottom: 8px;
}

.tx-sig {
    color: #fff;
    font-family: monospace;
    font-size: 0.85rem;
}

.tx-sig a {
    color: inherit;
    text-decoration: none;
}

.tx-sig a:hover {
    text-decoration: underline;
}

.tx-amount {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.tx-time {
    color: #666;
    font-size: 0.8rem;
}

.tx-empty {
    text-align: center;
    color: #444;
    padding: 40px;
}

footer {
    text-align: center;
    color: #444;
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

.emerged-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: color 0.2s;
}

.emerged-link:hover {
    color: #ccc;
    text-decoration: underline;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #111;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .stat-card.main-stat {
        grid-column: span 1;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
