* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
background: #f5f0ff;
color: #28143f;
}

/* TOP HEADER */
.top-header {
height: 70px;
padding: 0 25px;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(90deg, #e91e9b, #7138d8);
color: white;
}

.menu-btn {
border: none;
background: transparent;
color: white;
font-size: 28px;
cursor: pointer;
}

.profile-icon {
font-size: 24px;
}

/* SIDE MENU */
.side-menu {
position: fixed;
top: 0;
left: -280px;
width: 280px;
height: 100vh;
padding: 25px 20px;
background: linear-gradient(180deg, #7138d8, #e91e9b);
transition: 0.3s ease;
z-index: 1000;
}

.side-menu.active {
left: 0;
}

.side-menu h3 {
color: white;
margin: 20px 0;
}

.side-menu a {
display: block;
padding: 14px;
margin: 8px 0;
border-radius: 18px;
color: white;
text-decoration: none;
background: rgba(255,255,255,0.12);
}

.side-menu a:hover {
background: rgba(255,255,255,0.22);
}

.close-btn {
border: none;
background: transparent;
color: white;
font-size: 25px;
cursor: pointer;
}
/* MAIN */
.main-content {
padding: 25px;
}

/* WELCOME CARD */
.welcome-card {
padding: 30px;
border-radius: 22px;
background: linear-gradient(135deg, #ff1493, #304ffe);
color: white;
box-shadow: 0 10px 30px rgba(100, 30, 150, 0.20);
}

.small-text {
font-size: 12px;
letter-spacing: 2px;
}

.welcome-card h1 {
margin: 10px 0;
font-size: 32px;
}

.primary-btn {
margin-top: 20px;
padding: 13px 22px;
border: none;
border-radius: 12px;
background: white;
color: #7138d8;
font-weight: bold;
cursor: pointer;
}

/* CARDS */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
margin-top: 25px;
}

.dashboard-card {
padding: 22px;
border-radius: 18px;
background: white;
box-shadow: 0 5px 20px rgba(100, 30, 150, 0.12);
}

.dashboard-card span {
font-size: 24px;
}

.dashboard-card h3 {
margin: 10px 0 5px;
font-size: 22px;
}

.dashboard-card strong {
display: block;
margin-top: 8px;
font-size: 23px;
}

/* MOBILE */
@media (max-width: 700px) {

    .stats-section {
grid-template-columns: 1fr;

    }

.main-content {
padding: 15px;
}

.dashboard-grid {
grid-template-columns:1fr;
}

.welcome-card {
padding: 22px;
}

.welcome-card h1 {
font-size: 27px;
}

.side-menu {
width: 260px;
}
}

/* STATS SECTION */
.stats-section {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 15px;
}

.stat-card {
background: linear-gradient(135deg,  #ff1493, #4f46e5);
border-radius: 20px;
padding: 18px;
display: flex;
align-items: center;
gap: 15px;
color: white;
box-shadow: 0 4px 12px rgba(100, 30, 150, 0.20);
}

.stat-card span {
font-size: 28px;
}

.stat-card p {
margin: 0 0 5px;
font-size: 14px;
color: white;
}

.stat-card h3 {
margin: 0;
font-size: 22px;
color: white;
}

/* MOBILE */
@media (max-width: 600px) {
.stats-section {
grid-template-columns: 1fr;
}
}

/* LEFT SIDE MENU */
.side-menu {
position: fixed;
top: 0;
left: -280px;
width: 260px;
height: 100vh;
background: white;
box-shadow: 4px 0 15px rgba(0,0,0,0.15);
padding: 20px;
z-index: 1000;
transition: 0.3s ease;
}

/* MENU OPEN */
.side-menu.active {
left: 0;
}

/* MENU TITLE */
.side-menu h3 {
margin-top: 45px;
margin-bottom: 20px;
}

/* MENU LINKS */
.side-menu a {
display: block;
padding: 14px 10px;
margin: 5px 0;
text-decoration: none;
color: #222;
font-size: 16px;
border-radius: 10px;
}

/* HOVER */
.side-menu a:hover {
background: #f1e8ff;
}

/* CLOSE BUTTON */
.close-btn {
position: absolute;
top: 15px;
right: 15px;
border: none;
background: #f1f1f1;
font-size: 20px;
padding: 5px 10px;
border-radius: 8px;
}
.menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: none;
z-index: 90;
}

.menu-overlay.active {
display: block;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.stat-card {
background: linear-gradient(135deg, #fff0f8, #f3e8ff);
border-radius: 18px;
padding: 18px;
display: flex;
align-items: center;
gap: 14px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
border: 1px solid #eeeeee;
transition: 0.25s ease;
}

.stat-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.stat-card > span {
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
background: #f3e8ff;
border-radius: 12px;
font-size: 23px;
}

.stat-card p {
margin: 0 0 5px;
font-size: 13px;
color: #666;
}

.stat-card h3 {
margin: 0;
font-size: 22px;
color: white;
}


/* Mobile */
@media (max-width: 600px) {
    .stats-section {
        grid-template-columns: 1fr;
    }

    .stat-card {
    padding: 15px;
    border-radius: 18px;
}

.stat-card span {
    font-size: 24px;
}

.stat-card h3 {
    font-size: 20px;
}

.stat-card p {
    font-size: 13px;
}

}



.side-menu {
    background: linear-gradient(180deg, #ff1493, #4b2cff);
    color: white;
}

.side-menu a {
    color: white;
}

.close-btn {
color: white;
}

.menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45);
z-index: 999;
display: none;
}

.menu-overlay.active {
display: block;
}

.stat-card:first-child {
background: linear-gradient(135deg, #ff4fa3, #7b2cff);
color: white;
}

.stat-card:first-child p,
.stat-card:first-child h3,
.stat-card:first-child strong {
color: white;
}

.dashboard-card:nth-child(1) {
background: linear-gradient(135deg, #ff1493, #4f46e5);
color: white;
}

.dashboard-grid .stat-card:nth-child(2) {
background: linear-gradient(135deg, #ff1493, #4b00ff);
color: white;
}

.tasks-card {
background: linear-gradient(135deg,
 #ff1493, #304ffe) !important ;
color: white !important;
}

.dashboard-card.tasks-card {
background: linear-gradient(135deg, #ff1493, #304ffe) !important;
color: white !important;
}

.dashboard-card.tasks-card h3,
.dashboard-card.tasks-card p,
.dashboard-card.tasks-card strong {
color: white !important;
}

.team-card {
background: linear-gradient(135deg, #ff1493, #304ffe) !important;
color: white !important;
}

.team-card h3,
.team-card p,
.team-card strong {
color: white !important;
}

.stats-section .stat-card:nth-child(2),
.stats-section .stat-card:nth-child(3) {
background: linear-gradient(135deg, #ff1493, #304ffe) !important;
color: white !important;
}

.stats-section .stat-card:nth-child(2) p,
.stats-section .stat-card:nth-child(2) h3,
.stats-section .stat-card:nth-child(3) p,
.stats-section .stat-card:nth-child(3) h3 {
color: white !important;
}

.withdraw-box {
    margin-top: 20px;
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.withdraw-box label {
    display: block;
    margin: 12px 0 7px;
    font-weight: bold;
    color: #28143f;
}

.withdraw-box input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
}

.withdraw-methods {
    display: flex;
    gap: 10px;
    margin: 10px 0 18px;
}

.withdraw-methods button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #f3e8ff;
    color: #7138d8;
    font-weight: bold;
    cursor: pointer;
}

.withdraw-methods button:hover {
    background: linear-gradient(135deg, #ff1493, #304ffe);
    color: white;
}

.demo-status {
    margin-top: 12px;
    font-size: 13px;
    color: #7138d8;
    font-weight: bold;
}

.withdraw-methods button.selected {
background: linear-gradient(135deg, #ff1493, #304ffe) !important;
color: white !important;
transform: scale(1.03);
}

.account-box {
    margin-top: 25px;
    background: white;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(80, 30, 130, 0.12);
}

.profile-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ff1493, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.profile-circle img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
display: block;
}

.account-box h2 {
    margin-bottom: 5px;
}

.account-email {
    color: #777;
    margin-bottom: 25px;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    padding: 15px;
    margin-top: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff0f8, #f3e8ff);
}

.account-item > span {
    font-size: 25px;
}

.account-item p {
    margin-bottom: 4px;
    font-size: 13px;
    color: #777;
}

.account-item strong {
    font-size: 16px;
}

.account-box .primary-btn {
    margin-top: 25px;
    background: linear-gradient(135deg, #ff1493, #4f46e5);
    color: white;
}

.edit-profile-box {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.edit-profile-box.active {
    display: flex;
}

.edit-profile-card {
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.edit-profile-card input {
    width: 100%;
    padding: 12px;
    margin: 8px 0 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.edit-close {
    float: right;
    border: none;
    background: #eee;
    padding: 7px 11px;
    border-radius: 8px;
    cursor: pointer;
}

.logout-btn {
    display: block;
    margin: 15px auto;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff1493, #4f46e5);
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.account-box .primary-btn,
.logout-btn {
display: block;
width: 140px;
margin: 12px auto;
text-align: center;
}

.logout-btn {
display: block;
width: 140px;
margin: 12px auto 0;
padding: 12px 20px;
border: none;
border-radius: 12px;
background: linear-gradient(90deg, #e91e9b, #4f46e5);
color: white;
font-weight: bold;
cursor: pointer;
}

.logout-btn:hover {
transform: translateY(-2px);
}
.profile-circle img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
display: block;
}

.withdraw-box {
max-width: 500px;
margin-left: auto;
margin-right: auto;
}

.withdraw-box input:focus {
outline: none;
border-color: #7138d8;
box-shadow: 0 0 0 3px rgba(113, 56, 216, 0.12);
}

.withdraw-methods button {
transition: 0.2s ease;
}

.withdraw-methods button:hover {
transform: translateY(-2px);
}

.withdraw-box .primary-btn {
width: 100%;
margin-top: 18px;
padding: 14px;
border: none;
border-radius: 12px;
background: linear-gradient(135deg, #ff1493, #304ffe);
color: white;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: 0.2s ease;
}

.withdraw-box .primary-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 18px rgba(80, 30, 180, 0.25);
}

/* TASK PAGE */

.task-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    background: white;
    padding: 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(80, 30, 130, 0.12);
    border: 1px solid #eeeeee;
}

.task-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    background: linear-gradient(135deg, #ff1493, #304ffe);
}

.task-info {
    flex: 1;
}

.task-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #28143f;
}

.task-info p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.task-btn {
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff1493, #304ffe);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.task-btn:hover {
    transform: translateY(-2px);
}

.coming-soon {
    opacity: 0.75;
}

.task-btn:disabled {
    background: #ddd;
    color: #777;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .task-card {
        padding: 14px;
    }

    .task-info h3 {
        font-size: 14px;
    }

    .task-info p {
        font-size: 12px;
    }

    .task-btn {
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* ===== SPINNER DESIGN ===== */

.spinner-box {
    margin: 20px 0;
    padding: 25px;
    background: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(80, 30, 130, 0.12);
}

.spinner-box h2 {
    color: #28143f;
    margin-bottom: 8px;
}

.spinner-box p {
    color: #666;
    margin-bottom: 18px;
}

.spinner {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border-radius: 50%;
    border: 8px solid white;
    background: conic-gradient(
        #ff1493 0deg 45deg,
        #7138d8 45deg 90deg,
        #ff1493 90deg 135deg,
        #304ffe 135deg 180deg,
        #ff1493 180deg 225deg,
        #7138d8 225deg 270deg,
        #ff1493 270deg 315deg,
        #304ffe 315deg 360deg
    );
    box-shadow: 0 8px 20px rgba(80, 30, 130, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.spin-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff1493, #304ffe);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(80, 30, 180, 0.25);
}

#spin-result {
    margin-top: 15px;
    font-weight: bold;
    color: #7138d8;
}

/* ===== COMING SOON RANK CARDS ===== */

.task-card.coming-soon {
    opacity: 0.85;
}

.task-card.coming-soon .task-btn {
    background: #eeeeee;
    color: #777;
    cursor: not-allowed;
}

.task-card.coming-soon .task-info p {
    color: #888;
}

.task-card.coming-soon:hover {
    transform: none;
}


/* FINAL PROMO BANNER */
.promo-slider {
width: 100%;
margin: 15px 0;
padding: 0;
overflow: hidden;
border-radius: 18px;
}

.promo-slide {
display: none;
width: 100%;
margin: 0;
padding: 0;
background: none;
border-radius: 18px;
}

.promo-slide.active {
display: block;
}

.promo-slide img {
width: 100%;
height: 170px;
display: block;
object-fit:fill;
border-radius: 18px;
}

/* TEAM PAGE */
.team-page {
background: linear-gradient(135deg, #fff0f7, #eef4ff);
}

/* PROMO SLIDER */

.promo-slider {
    position: relative;
    width: 100%;
    height: 170px;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 18px;
}

.promo-slide {
    position: relative;
    inset: 0;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #ff1493, #304ffe);
}

.promo-slide.active {
    display: flex;
}

.promo-slide h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.promo-slide p {
    margin: 0;
    font-size: 15px;
}

ompleted-card {
background: linear-gradient(135deg, #ff1493, #4f46e5) !important;
color: white !important;
}

.completed-card h3,
.completed-card strong {
color: white !important;
}


.team-page .welcome-card {
background: linear-gradient(135deg, #ff1493, #4f46e5) !important;
color: white !important;
}

.team-page .welcome-card p,
.team-page .welcome-card h1 {
color: white;
}
.team-page .welcome-card {
    margin-top: 20px;
display: block !important;
background: linear-gradient(135deg, #ff1493, #4f46e5) !important;
color: white !important;
}


