/* ============================================
   DASHBOARD PAGE STYLES
   ============================================ */

.dashboard-page {
    background: var(--black);
    min-height: 100vh;
    overflow-x: hidden;
}

.dashboard-container {
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   WALLET SECTION
   ============================================ */

.wallet-section {
    position: fixed;
    top: 100px;
    right: 40px;
    z-index: 100;
}

.wallet-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    background: var(--cyan);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

.wallet-icon {
    font-size: 18px;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 50px;
}

.wallet-address {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    font-family: monospace;
}

.disconnect-btn {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disconnect-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   DASHBOARD MAIN
   ============================================ */

.dashboard-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-height: 100vh;
    padding: 80px 60px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   EARTH CONTAINER
   ============================================ */

.earth-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
}

/* Watermark blocking overlay */
.earth-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 70px;
    background: linear-gradient(to top, var(--black) 0%, var(--black) 70%, transparent 100%);
    z-index: 100000;
    pointer-events: none;
}

spline-viewer {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
}

/* Hide Spline watermark - multiple attempts */
spline-viewer::part(logo) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

spline-viewer #logo {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Target the shadow DOM */
spline-viewer > div {
    position: relative;
}

spline-viewer > div > a,
spline-viewer > div > div > a,
spline-viewer a[href*="spline"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Additional watermark hiding - larger coverage */
spline-viewer::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 60px;
    background: var(--black);
    z-index: 99999;
    pointer-events: none;
}

spline-viewer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 60px;
    background: var(--black);
    z-index: 99999;
    pointer-events: none;
}

/* ============================================
   DATA CARDS
   ============================================ */

.data-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

.data-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: fadeInCard 0.8s ease forwards;
    opacity: 0;
    text-align: center;
}

.data-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

@keyframes fadeInCard {
    to { opacity: 1; }
}

.data-card[data-position="card-1"] { animation-delay: 0.1s; }
.data-card[data-position="card-2"] { animation-delay: 0.2s; }
.data-card[data-position="card-3"] { animation-delay: 0.3s; }

.card-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.card-change {
    font-size: 13px;
    font-weight: 600;
}

.card-change.positive {
    color: #00ff88;
}

.card-change.negative {
    color: #ff4444;
}

/* ============================================
   PERSONAL STATS
   ============================================ */

.personal-stats {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--cyan);
    border-radius: 20px;
    padding: 24px 32px;
    z-index: 50;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { transform: translateX(-50%) translateY(100px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.personal-stats h3 {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.personal-card {
    text-align: center;
}

.personal-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.personal-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.personal-sub {
    font-size: 12px;
    color: var(--gray);
}

/* ============================================
   STATUS INDICATOR
   ============================================ */

.status-indicator {
    position: fixed;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 12px;
    z-index: 50;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

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

.status-text {
    font-weight: 600;
    color: var(--white);
}

.status-update {
    color: var(--gray-light);
    font-size: 11px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .dashboard-main {
        gap: 60px;
        padding: 80px 40px 120px;
    }

    .earth-container {
        width: 500px;
        height: 500px;
    }

    .data-cards-row {
        gap: 24px;
    }

    .data-card {
        padding: 20px;
    }

    .card-value {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        gap: 40px;
        padding: 80px 20px 120px;
    }

    .wallet-section {
        top: 80px;
        right: 20px;
    }

    .wallet-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .earth-container {
        width: 320px;
        height: 320px;
        order: -1;
    }

    .data-cards-row {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .data-card {
        padding: 20px;
    }

    .card-value {
        font-size: 24px;
    }

    .personal-stats {
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: none;
        padding: 20px;
    }

    .personal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .status-indicator {
        bottom: 20px;
        left: 20px;
        font-size: 11px;
    }
}
