* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0e1a;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.web-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dot-one {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.nav-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.nav-buttons ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-buttons ul li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-buttons ul li:hover {
    color: #fff;
}

.live {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dot-two {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.status {
    font-size: 12px;
    color: #22c55e;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── MAIN ── */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

/* Hero title block */
.title-details {
    text-align: center;
    padding: 48px 0 32px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.real-time-market-data {
    display: inline-block;
    font-size: 10px;
    color: #22c55e;
    border: 0.5px solid rgba(34, 197, 94, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.title-name {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 14px;
}

.title-name span {
    color: #22c55e;
}

.description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto 28px;
}

/* Market stats row */
.market-data {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.data-box {
    text-align: center;
    padding: 0 28px;
    border-right: 0.5px solid rgba(255, 255, 255, 0.1);
}

.data-box:last-child {
    border-right: none;
}

.data {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.data1:nth-child(1) {
    color: #fff;
}

.data-info {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* CTA Buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.buttons button {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}

.buttons button:first-child {
    background: #22c55e;
    color: #0a0e1a;
    border: none;
    font-weight: 600;
}

.buttons button:last-child {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.buttons button:hover {
    opacity: 0.85;
}

/* ── TICKER BAR ── */
.coin-data {
    display: flex;
    gap: 0;
    padding: 12px 0;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
    margin-top: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.coin-data::-webkit-scrollbar {
    display: none;
}

.coin-data-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-right: 0.5px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.coin-data-box:last-child {
    border-right: none;
}

.coin-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    gap: 6px;
    align-items: center;
}

.coin-name b {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.coin-data-box span {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

/* green/red auto based on +/- */
.coin-data-box span:not([class]) {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

/* ── TABLE ── */
.data-of-coins {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 10px;
}

.data-of-coins div:first-child {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.data-of-coins div:last-child {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

table tr th {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-align: left;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

table tr td {
    padding: 12px 12px;
    font-size: 13px;
    color: #fff;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

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

table tr td:first-child {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
}

table tr td:nth-child(3) {
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

table tr td:nth-child(4) {
    font-size: 11px;
}

table tr td small {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    display: block;
    margin-top: 2px;
}

table tr td:last-child {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
}

/* green/red for 24h column */
.up {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.dn {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

footer {
    text-align: center;
    padding: 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.5px;
}