/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #fff;
    background-image: url(./background6.png);
    background-size: cover;
    /* or 'contain', or specific dimensions */
    background-repeat: no-repeat;
    background-position: center;
}

img {
    width: auto;
    height: auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0707077b;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}



/* Header Buttons */
.buttons {
    display: flex;
    gap: 10px;
    padding-right: 30px;
    flex-direction: row;
}

.button1 {
    font-size: 14px;
    font-weight: 600;
    width: auto;
    padding: 18px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;

    text-decoration: none;
    white-space: nowrap;
    color: #001f54;
    border: none;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
}

.button1:hover {
    background-color: rgba(61, 161, 61, 0.671);
}

.button2 {
    font-size: 14px;
    font-weight: 600;
    width: auto;
    padding: 18px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    text-decoration: none;
    white-space: nowrap;
    color: #001f54;
    border: none;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 5px;
    background-color: rgba(168, 219, 157, 0.911);

}

.button2:hover {
    background-color: rgba(205, 202, 202, 0.362);
}

.btn-header {
    background-color: #ffffff20;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: #001f54;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-header:hover {
    background-color: #ffffff30;
}

/* Main Card */
.card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    animation: fadeIn 1s ease-in;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInTop 0.8s ease forwards;
    margin-bottom: 1.5rem;
}

.top-section h3 {
    font-size: 1.2rem;
    color: #ffffff;
}

.top-section img {
    width: 40px;
    height: 40px;
    animation: rotateLogo 3s linear infinite;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: scale(1.03);
}

.info-box h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #ccc;
}

.info-box h5 {
    font-size: 1rem;
    color: #fff;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #e76fdb00, #c3f565);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 111, 220, 0.3);
}

.small {
    padding: 0.5rem 1rem;
    width: auto;
    margin-top: 0.5rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 1s ease 0.5s forwards;
    margin-top: 1.5rem;
}

/* Balance */
.balance {
    margin-top: 1.5rem;
    text-align: center;
    animation: fadeIn 1s ease 0.7s forwards;
}

.balance h5 img {
    width: 20px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        align-items: center;
    }

    .logo-container {
        justify-content: space-between;
        width: 100%;
    }

    .buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .btn-header {
        width: 100%;
        text-align: center;
    }

    .btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }


    .top-section h3 {
        font-size: 1rem;
    }

    img {

        width: 190px;
    }



    /* ===== Mobile Responsive: 375px ===== */
    @media (max-width: 375px) {
        body {
            background-size: cover;
            background-position: center;
            overflow-x: hidden;
        }

        /* header {
            flex-direction: row;
            justify-content: row;
            align-items: center;
            padding: 0.8rem 1rem;
            gap: 0.5rem;
        } */

        img {
            align-items: center;
        }

        .button2 {
            width: 50px;
        }

        .buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
            padding-right: 0;
        }

        .button1,
        .button2 {
            display: none;
        }

        .card {
            width: 90%;
            padding: 1.5rem 1rem;
            margin: 1.5rem auto;
            border-radius: 16px;
        }

        .top-section {
            flex-direction: column;
            text-align: center;
            gap: 0.8rem;
        }

        .top-section h3 {
            font-size: 0.95rem;
        }

        .top-section img {
            width: 35px;
            height: 35px;
        }

        .info-grid {
            grid-template-columns: 1fr;
            gap: 0.8rem;
        }

        .info-box {
            padding: 0.9rem;
        }

        .info-box h4 {
            font-size: 0.8rem;
        }

        .info-box h5 {
            font-size: 0.9rem;
        }

        .btn {
            font-size: 0.85rem;
            padding: 0.7rem 1rem;
        }

        .action-buttons {
            gap: 0.8rem;
        }

        .balance {
            margin-top: 1.2rem;
        }

        .balance h5 img {
            width: 18px;
        }

        /* Keep ticker text readable if you have one */
        .ticker {
            font-size: 13px;
        }
    }