@media (min-width: 630px) {
    body {
        max-width: 630px;
        margin: 0 auto;
    }
}
/*  */
#app {
    --primary-color: #6a3093;  /*  */
    --secondary-color: #f27121; /*  */
    --light-purple: #a044ff;
    --light-orange: #ff9a56;
    --dark-purple: #4a1d6b;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

#app {
    max-width: 100%;
    overflow-x: hidden;
}
.view{
    overflow: auto;
}

.navbar {
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-purple));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navigationChartsBar-invite {
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.navigationChartsBar-invite .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigationChartsBar-invite .left a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
}

.navigationChartsBar-invite .title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    flex-grow: 1;
}

.earn_new {
    background-color: var(--light-gray);
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

.earn_new .header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--light-purple));
    padding-bottom: 20px;
    height: 60vh;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 15px rgba(106, 48, 147, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earn_new .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
    background-size: cover;
}

.data-show-box {
    padding: 20px;
    margin: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.in-msg {
    display: block;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: center;
}

.invite-now-btn2 {
    background: linear-gradient(to right, var(--secondary-color), var(--light-orange));
    color: var(--white);
    padding: 12px 0;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(242, 113, 33, 0.3);
}

.invite-now-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 113, 33, 0.4);
}

.invite-now-text {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(106, 48, 147, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.invite-now-text span:first-child {
    color: var(--primary-color);
    font-weight: 600;
}

.invite-now-text .c-b {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.invite-now-text .c-b:hover {
    background-color: var(--dark-purple);
}


.invite-btn-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
}

.invite-now-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.invite-now-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.task-box {
    padding: 20px;
    margin-top: 20px;
}

.task-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.task-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.task-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.task-money {
    flex-grow: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.task-money label:first-child {
    color: var(--secondary-color);
}

.task-esc {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    background-color: rgba(242, 113, 33, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
}
/*  */
.hand {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    animation: pulse 1s infinite;
}

/*  */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}


.invite-now-text .hand {
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

.invite-now-text:hover .hand {
    opacity: 1;
}

/*  */
@media (max-width: 480px) {
    .invite-btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .invite-now-btn {
        margin: 5px;
    }

    .task-item {
        flex-direction: column;
        text-align: center;
    }

    .task-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}