@charset "UTF-8";
/**************************************
 CSS Index
****************************/

.ticker-wrap {


    background: #121212;
    width: 110%;

}

.ticker {
    display: flex;
    width: auto;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 14px 28px;
    white-space: nowrap;
    border-right: 1px solid #2a2a2a;
    font-size: 15px;
    left: 0;
}

.ticker-item img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
}

.price {
    margin-left: 8px;
    font-weight: 600;
}

.negative {
    color: #ff4d4d;
    margin-left: 8px;
}

.positive {
    color: #4caf50;
    margin-left: 8px;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


.market-ticker {
    background: #0b0f14;
    font-family: 'Segoe UI', Arial;
    color: #fff;
}

.ticker-row {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #1e222d;
}

.ticker-label {
    min-width: 110px;
    padding: 12px;
    font-weight: bold;
    background: #000000;
    color: #dbaa59;
    text-align: center;
    z-index: 1;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll linear infinite;
}

.ticker-row:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    padding: 12px 30px;
    white-space: nowrap;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.price {
    font-weight: 600;
}

.green {
    color: #22c55e;
    text-shadow: 0 0 6px rgba(34,197,94,0.7);
}

.red {
    color: #ef4444;
    text-shadow: 0 0 6px rgba(239,68,68,0.7);
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}


.globe-section {
    background: radial-gradient(circle at top, #0b0b0b, #000);
    padding: 120px 0;
    color: #fff;
}

.globe-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 10px;
}

.globe-subtitle {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Counters */
.globe-counters {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.globe-counter {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 20px 35px;
    box-shadow: 0 0 25px rgba(0,255,255,0.2);
}

.globe-counter h3 {
    font-size: 30px;
    color: #00f6ff;
}

.globe-counter span {
    font-size: 14px;
    color: #ccc;
}

/* Globe */
.globe-wrapper {
    position: relative;
    height: 480px;
    border-radius: 30px;
    box-shadow: 0 0 80px rgba(0,255,255,0.25);
}

#globeCanvas {
    width: 100%;
    height: 100%;
}

/* Tooltip */
.globe-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.85);
    border: 1px solid #00f6ff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    display: none;
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}

/* Tooltip Positions */
.usa { top: 45%; left: 30%; }
.india { top: 55%; left: 55%; }
.china { top: 45%; left: 65%; }


/* ================================
   BILLIONAIRES TABLE – DARK THEME
================================ */

/* Overlay fix (important) */
.billionaire-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.85),
        rgba(20,20,20,0.85)
    );
    z-index: 1;
}

/* Wrapper to stay above overlay */
.billionaire-table-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 0px;
}

/* Table base */
.billionaire-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

/* Header */
.billionaire-table thead th {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Rows */
.billionaire-table tbody tr {
    transition: background 0.3s ease;
}

.billionaire-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.04);
}

.billionaire-table tbody tr:hover {
    background: rgba(255,255,255,0.08);
}

/* Cells */
.billionaire-table td {
    padding: 14px 12px;
    font-size: 15px;
    color: #e6e6e6;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Name column */
.billionaire-name {
    font-weight: 600;
    color: #ffffff;
}

/* Worth */
.billionaire-worth {
    font-weight: 700;
    color: #ffffff;
}

/* Positive / Negative */
.text-success {
    color: #00e676 !important;
    font-weight: 600;
}

.text-danger {
    color: #ff5252 !important;
    font-weight: 600;
}

/* Country / Industry */
.billionaire-muted {
    color: #b0b0b0;
}


/* ================================
   NET WORTH GROWTH SECTION
================================ */

.networth-growth-section {
    padding: 20px 0;
    position: relative;
}

.networth-growth-section h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.growth-desc {
    max-width: 100%;
    margin-bottom: 24px;
    opacity: 0.85;
}

.growth-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #f4ce1f;
    text-decoration: none;
}

.growth-cta:hover {
    text-decoration: underline;
}

/* Chart Card */
.growth-chart-card {
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.6),
        rgba(20,20,20,0.9)
    );
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Soft background glow */
.growth-chart-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(168,85,247,0.25),
        transparent 60%
    );
}

/* Canvas */
.growth-chart-card canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 320px;
}

/* Responsive */
@media (max-width: 991px) {
    .networth-growth-section {
        padding: 70px 0;
    }

    .networth-growth-section h2 {
        font-size: 34px;
    }

    .growth-chart-card {
        margin-top: 40px;
    }
}

.current-worth-badge {
    margin-bottom: 16px;
    font-size: 14px;
    color: #22c55e;
}
