﻿
body {
    background: #05050a;
    color: #e9eef8;
    font-family: 'Inter', sans-serif;
}

.glass {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.muted {
    color: #f59e00;
}

.small-card {
    background: rgba(255,255,255,0.04);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.team-box {
    background: rgba(255,255,255,0.04);
    padding: 16px;
    border-radius: 10px;
}

.btn-mining {
    min-width: 140px;
    font-size: 14px;
}

.package-card {
    background: rgba(255,255,255,0.04);
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex: 1;
    transition: 0.2s;
}

    .package-card.selected {
        border-color: #0d6efd;
        background: rgba(13, 110, 253, 0.1);
    }

.navbar-brand img {
    height: 50px; /* logo bigger */
}

.reward-history {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

.reward-entry {
    padding: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

    .reward-entry.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .navbar {
        padding: 14px !important;
    }

    #addrShort {
        font-size: 13px;
    }

    .glass h3, .glass h4, .glass h5 {
        font-size: 18px;
    }

    .btn-mining {
        width: 100%;
    }

    .dashboard-flex {
        flex-direction: column;
        gap: 10px;
    }

    .package-row {
        flex-direction: column;
        gap: 10px !important;
    }

    .package-card {
        cursor: pointer;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        text-align: center;
        transition: background-color 0.3s, color 0.3s;
        background-color: #fff;
        color: #333;
    }

        .package-card.active {
            background-color: #28a745;
            color: #fff;
        }
    #trialTimer {
        font-size: 16px;
        font-weight: bold;
        margin-top: 10px;
    }

    #countdownLineContainer {
        width: 100%;
        height: 6px;
        background: #e0e0e0;
        border-radius: 4px;
        margin-top: 5px;
    }

    #countdownLine {
        width: 0%;
        height: 6px;
        background: linear-gradient(90deg, #27ae60, #2ecc71);
        border-radius: 4px;
        transition: width 1s linear;
    }

}
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
@media (max-width: 450px) {
    .small-card {
        font-size: 14px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }
}
 #referralBox h5 { font-weight:600; margin-bottom:10px; }
    #referralBox input { padding:8px 12px; border-radius:6px; border:1px solid #ccc; }
    #referralBox button { display:flex; align-items:center; justify-content:center; padding:8px 12px; border-radius:6px; transition:0.2s; }
    #referralBox button:hover { transform:translateY(-2px); box-shadow:0 2px 6px rgba(0,0,0,0.15); }
