body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-y: auto; /* ✅ scroll allow */
    overflow-x: hidden; /* ✅ horizontally overflow na ho */
    padding-bottom: 80px; /* ✅ footer ke liye safe space */
}


:root {
    --color-primary: #f813c6;
    --color-secondary: #00e0ff;
    --glass-bg: rgba(255,255,255,0.06);
     --glass: rgba(255,255,255,0.06); 
     --accent: #00e0ff; 
}
.container-terms{
    max-width: 980px;
    margin: 30px auto;
    padding: 18px;
}
.terms-hero{
    background: var(--glass);
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.terms-hero h2{
    color: #fff;
    font-size: 28px;
    margin-bottom: 6px;
}
.terms-hero p{
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}
.terms-section{
    margin-top: 18px;
    background: var(--glass);
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.terms-section h4{
    color: #00e0ff;
    font-size: 16px;
    margin-bottom: 8px;
}
.terms-section p{
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
}
.legal-container{ max-width:980px; margin:30px auto; padding:18px; }
.legal-hero{ background:var(--glass); padding:18px; border-radius:14px; border:1px solid rgba(255,255,255,0.08); }
.legal-hero h2{ color:#fff; }
.accordion { margin-top:18px; }
.ac-item { background: rgba(255,255,255,0.03); border-radius:10px; margin-bottom:10px; overflow:hidden; border:1px solid rgba(255,255,255,0.05); }
.ac-item button { width:100%; text-align:left; padding:14px 16px; background:transparent; border:none; color:#fff; font-weight:600; display:flex; justify-content:space-between; align-items:center; }
.ac-content { padding:10px 16px 16px 16px; color:rgba(255,255,255,0.85); font-size:14px; display:none; }
.small-note{ color:rgba(255,255,255,0.6); font-size:13px; margin-top:10px; }
.text-pink{
    color: var(--color-primary);
}
.text-color{
    color: #bdbdbd;
}
h1,
h2,
h3 {
    color: #ffffff;
    /* bright for contrast */
}

a {
    color: #00e0ff;
    /* accent link */
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #ff4ffb;
    /* hover glow */
}

button {
    background: var(--color-primary);
    color: #0f0c29;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.eye-slash {
    position: relative;
    top: -36px;
    text-align: right;
    width: 50px;
    float: right;
    height: 40px;
    padding-right: 15px;
    color:var(--color-primary);
}
.button-link {
    background: var(--color-primary);
    color: #0f0c29;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

button:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px #ff4ffb;
}
.button-link:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px #ff4ffb;
}

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-17 {
    font-size: 17px;
}

.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-20 {
    font-size: 20px;
}

.fs-21 {
    font-size: 21px;
}

.fs-22 {
    font-size: 22px;
}

.fs-23 {
    font-size: 23px;
}

.fs-24 {
    font-size: 24px;
}

.fs-25 {
    font-size: 25px;
}

.fs-26 {
    font-size: 26px;
}

.fs-27 {
    font-size: 27px;
}

.fs-28 {
    font-size: 28px;
}
.fs-30 {
    font-size: 38px;
}
.fw-100 {
    font-weight: 100;
    /* Thin */
}

.fw-200 {
    font-weight: 200;
    /* Extra Light */
}

.fw-300 {
    font-weight: 300;
    /* Light */
}

.fw-400 {
    font-weight: 400;
    /* Normal */
}

.fw-500 {
    font-weight: 500;
    /* Medium */
}

.fw-600 {
    font-weight: 600;
    /* Semi Bold */
}

.fw-700 {
    font-weight: 700;
    /* Bold */
}

.fw-800 {
    font-weight: 800;
    /* Extra Bold */
}

.fw-900 {
    font-weight: 900;
    /* Black */
}

.form-input-system {
    display: block;
    width: 100%;
    background-color: #302b63;
    border: none;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #24243e;
    color: rgb(255, 255, 255);
    padding: 12px 15px;
}

.form-input-system:focus {
    border: none;
    outline: none;
    box-shadow: none;
    border: 1px solid #24243e;
    background-color: #24243e;
}

.button-social-facebook {
    background-color: #5b4be9;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    color: white;
}

.button-social-google {
    background-color: rgb(250, 1, 1);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    color: white;
}

.hr-line {
    content: " ";
    display: inline-block;
    height: 2px;
    margin: 0px 8px;
    width: 70px;
    position: relative;
    left: 0;
    top: -4px;
    background: white;
}

.open-button {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 90%;
    margin: auto;
    padding: 7px 6px;
    color: rgb(255, 255, 255);
    border-radius: 18px;
    border: none;
}

.link-primary {
    background: var(--color-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.link-secondary {
    background: var(--color-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.splash-text{
    letter-spacing: 2px; 
    line-height: 1.3;
}

/* Dashboard css  */
 .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background-color: #7770ff3b;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icons-box {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background-color: #7770ff3b;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .box-span {
        background-color: #7770ff3b;
        border-radius: 4px;
        padding: 2px 6px;
        text-align: center;
    }

    .logo-icon img {
        width: 70%;
        height: 70%;
    }

    .profile-image {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 4px solid var(--color-secondary);
        box-shadow: rgb(255 255 255) 0px 3px 8px;
    }

    .profile-image img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

    .rank-icon {
        width: 40px;
        height: 40px;
        position: absolute;
        bottom: -14px;
        right: -7px;
    }

    .rank-icon img {
        width: 100%;
        height: 100%;
    }

    .name {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .system-cards {
        position: relative;
        width: 320px;
        padding: 10px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        /* halki transparency ka effect */
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        /* soft glow */
        backdrop-filter: blur(12px);
        /* glassmorphism blur effect */
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

    .system-cards::before,
    .system-cards::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        z-index: 0;
        filter: blur(4px);
        animation: float 6s ease-in-out infinite;
    }

    .system-cards::before {
        width: 60px;
        height: 60px;
        top: -20px;
        right: -25px;
        animation-delay: 0s;
    }

    .system-cards::after {
        width: 80px;
        height: 80px;
        bottom: -25px;
        left: -30px;
        animation-delay: 2s;
    }

    /* Smooth floating animation */
    @keyframes float {
        0% {
            transform: translateY(0);
            opacity: 0.8;
        }

        50% {
            transform: translateY(-10px);
            opacity: 1;
        }

        100% {
            transform: translateY(0);
            opacity: 0.8;
        }
    }

    /* Ensure text stays on top of bubbles */
    .system-cards>* {
        position: relative;
        z-index: 2;
    }
.img-slide img{
    border-radius: 14px;
     box-shadow: rgb(255 255 255) 0px 3px 8px;
}
    /* Slider container */
.auto-slider {
    width: 100%;
    height: 100px; /* fixed height */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: #000; /* optional */
}

/* Slides wrapper */
.slides {
    display: flex;
    width: 400%; /* total width = 100% * number of slides */
    animation: slide 16s infinite;
    align-items: center; /* vertically center */
    justify-content: center;
}

/* Each image */
.slides img {
    height: 100%;   /* scale image height to fit container */
    width: auto;    /* maintain aspect ratio */
    flex-shrink: 0;
}



    /* Keyframes for auto sliding */
    @keyframes slide {
        0% {
            transform: translateX(0%);
        }

        20% {
            transform: translateX(0%);
        }

        25% {
            transform: translateX(-100%);
        }

        45% {
            transform: translateX(-100%);
        }

        50% {
            transform: translateX(-200%);
        }

        70% {
            transform: translateX(-200%);
        }

        75% {
            transform: translateX(-300%);
        }

        95% {
            transform: translateX(-300%);
        }

        100% {
            transform: translateX(0%);
        }
    }

    /* Optional hover pause */
    .auto-slider:hover .slides {
        animation-play-state: paused;
    }

    /* Responsive tweak */
    @media (max-width: 600px) {
        .auto-slider {
            /* height: 80px; */
        }
    }
    /* ====== Glassmorphic Fixed Footer ====== */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.2);
  color: #fff;
  z-index: 1000;
}

/* Each footer item */
.footer-item {
    text-align: center;
    color: #ddd;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Icon styles */
.footer-item i {
    display: block;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Active or Hover effect */
.footer-item.active i,
.footer-item:hover i {
    color: var(--color-primary);
    transform: scale(1.2);
}

.footer-item.active span,
.footer-item:hover span {
    color: var(--color-primary);
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .footer-nav {
        height: 65px;
    }

    .footer-item i {
        font-size: 20px;
    }

    .footer-item span {
        font-size: 10px;
    }
}

/* Invitepage cSS  */
 /* ===== Deposit Page ===== */
.deposit-container {
   text-align: center;
    color: #fff;
}

/* Header */
.deposit-header h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.deposit-header p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin-bottom: 25px;
}

/* Wallet Card */
.wallet-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 25px 20px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(248, 19, 198, 0.2);
    animation: fadeUp 1s ease forwards;
}
.qr-section{
    padding: 10px;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    background-color: white;
    margin: auto;
}
.qr-section img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.3);
    margin-bottom: 15px;
}

/* Wallet Info */
.wallet-info label {
    display: block;
    text-align: left;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.copy-field {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 6px 10px;
}

.copy-field input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.copy-btn {
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.copy-btn:hover {
    box-shadow: 0 0 15px rgba(248,19,198,0.5);
    transform: scale(1.1);
}

/* Deposit Note */
.deposit-note {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Status Card */
.status-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 15px;
    margin: 25px auto 0;
    max-width: 360px;
    backdrop-filter: blur(12px);
}

.status-text {
    font-size: 14px;
    color: var(--color-secondary);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.withdraw-container {
    text-align: center;
    color: #fff;
}

/* Header */
.withdraw-header h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 8px;
}
.withdraw-header p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 25px;
}

/* Boxes */
.withdraw-box {
    margin-bottom: 20px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.withdraw-box label {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input Fields */
.copy-field {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 6px 10px;
}
.copy-field input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    outline: none;
}

/* Summary Card */
.summary-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 20px;
    max-width: 400px;
    margin: 25px auto;
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.2);
    transition: 0.3s ease;
}
.summary-card.hidden {
    display: none;
}
.summary-card h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
}
.summary-card p {
    margin: 4px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

/* Pool Info Alert */
.pool-info {
    background: rgba(0,224,255,0.08);
    border-left: 3px solid var(--color-secondary);
    border-radius: 10px;
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    text-align: left;
}
.pool-info i {
    color: var(--color-secondary);
    margin-right: 5px;
}

/* Button */
.withdraw-btn {
    width: 90%;
    max-width: 400px;
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(248,19,198,0.4);
    transition: 0.3s ease;
}
.withdraw-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(0,224,255,0.6);
}
  .team-section {
    margin-top: 30px;
    position: relative;
}

/* Level Card */
.level-card {
    position: relative;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 25px 20px 15px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}
.level-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,224,255,0.4);
}

/* Glowing Border Animation */
.glow-border {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, #00e0ff, #f813c6, #00ff9d);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glowRotate 5s linear infinite;
    opacity: 0.2;
}
@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.level-header h5 {
    font-weight: 700;
    color: #00e0ff;
    letter-spacing: 0.5px;
}
.level-status i {
    font-size: 22px;
    color: #00ff9d;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Commission Badges */
.commission-badges {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.badge-item i {
    font-size: 16px;
}
.badge-item span {
    color: #fff;
    font-weight: 600;
    margin-left: 4px;
}
.gradient-blue {
       background: linear-gradient(90deg, #2b1c57, #009dff);
}
.gradient-pink {
    background: linear-gradient(90deg, #f813c6, #ff4bd2);
}

/* Inner Stats */
.inner-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.inner-card {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 10px;
    width: 48%;
    text-align: center;
    transition: 0.3s;
}
.inner-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.inner-card .title {
    font-size: 13px;
    color: #bbb;
}
.inner-card .value {
    font-size: 17px;
    font-weight: 600;
    color: #00e0ff;
}

/* Floating View Button */
.view-btn {
  margin-top:10px;
   width:100%;
    background: linear-gradient(135deg, #00e0ff, #f813c6);
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0,224,255,0.4);
    transition: 0.3s;
}
.view-btn:hover {
    
    box-shadow: 0 0 20px rgba(248,19,198,0.6);
}
.level-status-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
}

.level-status-text:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ===== ICONS ===== */
.status-icon {
    font-size: 20px;
    transition: transform 0.3s ease-in-out;
}

/* ✅ UNLOCKED STATE */
.status-icon.unlocked {
    color: rgb(66, 223, 29);
    animation: pulseGlowGreen 2s infinite ease-in-out;
}

.unlocked-text {
    color: rgb(66, 223, 29);
}

/* 🔒 LOCKED STATE */
.status-icon.locked {
    color: #ff4b4b;
    animation: pulseGlowRed 2s infinite ease-in-out;
}

.locked-text {
    color: #ff4b4b;
}

/* ===== ANIMATIONS ===== */
@keyframes pulseGlowGreen {
    0%, 100% { text-shadow: 0 0 6px rgb(66, 223, 29); transform: scale(1); }
    50% { text-shadow: 0 0 14px rgb(66, 223, 29); transform: scale(1.15); }
}

@keyframes pulseGlowRed {
    0%, 100% { text-shadow: 0 0 6px #ff4b4b; transform: scale(1); }
    50% { text-shadow: 0 0 14px #ff4b4b; transform: scale(1.15); }
}

    .settings-card {
    background: rgba(255,255,255,0.07);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease-in-out;
    position: relative;
}
.settings-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(0,224,255,0.3);
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #00e0ff;
    margin-bottom: 15px;
}

/* Button */
.btn-settings {
    background: linear-gradient(135deg, #00e0ff, #f813c6);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    transition: 0.3s;
}
.btn-settings:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input { display:none; }
.slider {
  position: absolute;
  cursor: pointer;
  top:0; left:0;
  right:0; bottom:0;
  background-color: rgba(255,255,255,0.3);
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background: linear-gradient(135deg, #00e0ff, #f813c6);
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* Toggle row */
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
}
    .weekly-pool {
    text-align: center;
    padding: 30px 0px;
    position: relative;
}

.pool-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.pool-card::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.pool-amount {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

.glow-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 70%);
}
.glow-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    animation: spin 3s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pool-info {
    margin-top: 15px;
    font-size: 16px;
    opacity: 0.8;
}

.rules-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 15px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}
.rules-card h6 {
    color: var(--primary);
    font-weight: 600;
}
.rules-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.rules-card li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.6;
}
.top-performers {
    margin-top: 30px;
    text-align: left;
    max-height: 300px;   /* Limit height */
    overflow-y: auto;
}
.top-performers::-webkit-scrollbar {
    width: 6px;
}
.top-performers::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.top-performers h6 {
    font-weight: 600;
    color: var(--secondary);
}
.performer {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.3s;
}
.performer:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.performer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}
.performer span {
    font-size: 14px;
}
.active-rank-card {
    background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(140,0,255,0.10));
    border-radius: 25px;
    padding: 25px 20px;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.active-rank-card::before {
    content:"";
    position:absolute;
    width:120px; height:120px;
    border-radius:50%;
    background:rgba(255,255,255,0.1);
    top:-50px; right:-50px;
    animation: float 6s infinite ease-in-out;
}
.active-rank-card::after {
    content:"";
    position:absolute;
    width:160px; height:160px;
    border-radius:50%;
    background:rgba(255,255,255,0.06);
    bottom:-60px; left:-60px;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(10px); }
}

/* Rank Icon */
.active-badge {
    width: 85px; height: 85px;
    font-size: 36px;
    background: linear-gradient(135deg, #00e0ff, #7a00ff);
    border-radius: 50%;
    display:flex; justify-content:center; align-items:center;
    margin: 0 auto 10px;
    box-shadow: 0 12px 40px rgba(0,200,255,0.35);
}

/* Targets Grid */
.rank-targets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
}

.target-box {
    background: rgba(255,255,255,0.07);
    border-radius: 15px;
    padding: 12px 15px;
    display:flex;
    gap:12px;
    align-items:center;
    border:1px solid rgba(255,255,255,0.15);
}
.target-icon {
    width:40px; height:40px;
    border-radius:12px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    background:rgba(255,255,255,0.15);
}
.target-box h6 {
    margin:0; font-size:15px; color:#fff; font-weight:600;
}
.target-box p {
    margin:0; color:rgba(255,255,255,0.7); font-size:13px;
}

/* Progress Bar */
.rank-progress {
    height:12px; 
    background:rgba(255,255,255,0.18);
    border-radius:10px;
    overflow:hidden;
}
.rank-progress span {
    height:100%;
    background:linear-gradient(90deg, #00e0ff, #8800ff);
    width:0%;
    display:block;
    transition:width 1s ease-out;
}

/* Reward */
.reward-box {
    text-align:center;
    padding:10px;
    border-radius:12px;
    margin-top:15px;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.15);
}

/* -------------- LOCKED RANK -------------- */
.locked-rank {
    background: rgba(255,255,255,0.05);
    border-radius:15px;
    padding:12px;
    margin-bottom:12px;
    display:flex;
    gap:12px;
    border:1px solid rgba(255,255,255,0.08);
    align-items:center;
    opacity:0.65;
    transition:0.3s ease;
}
.locked-rank:hover { opacity:1; }

.locked-icon {
    width:45px; height:45px;
    display:flex; align-items:center; justify-content:center;
    font-size:22px; border-radius:12px;
    background:rgba(255,255,255,0.08);
}
.inactive-rank {
    /*background: rgba(255,255,255,0.06);*/
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.inactive-rank:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Left Icon */
.inactive-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.10);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}

/* Mid Content */
.inactive-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.inactive-targets {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 3px;
    line-height: 1.3;
}

/* Reward */
.inactive-reward {
    background: rgba(255,255,255,0.12);
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.18);
    text-align: center;
}
.inactive-card{
     /*background: rgba(255,255,255,0.05);*/
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 18px 20px;
     margin-bottom: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.inactive-rank {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
   
}

.inactive-rank:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Circular Icon */
.inactive-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    box-shadow: inset 0 0 12px rgba(255,255,255,0.1);
}

/* Middle Content */
.inactive-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inactive-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

/* Targets layout */
.inactive-targets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inactive-targets > span {
    background: rgba(255,255,255,0.07);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

/* Reward */
.inactive-reward {
    background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(140,0,255,0.1));
    padding: 8px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    min-width: 80px;
}
    .inv-card {
    background: rgba(255,255,255,0.07);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    padding: 20px;
    padding-bottom: 50px; /* add extra space for the button */
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.25);
    transition: all 0.35s ease-in-out;
    position: relative;
    overflow: visible; /* allow button to be outside */
    min-height: 260px;
}

.inv-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 25px rgba(0,224,255,0.3);
}

.inv-icon {
    font-size: 34px;
    color: #00e0ff;
    margin-bottom: 5px;
}
.inv-title {
    font-size: 15px;
    color: #ccc;
    font-weight: 600;
}
.inv-value {
    font-size: 22px;
    font-weight: 700;
    color: #00e0ff;
}
.inv-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.inv-info {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
}
.progress {
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00e0ff, #f813c6);
    text-align: center;
    font-size: 11px;
    line-height: 20px;
    color: #fff;
    transition: width 1s ease;
}

/* Fixed Floating Button */
.inv-view-btn {
    position: absolute;
    bottom: 10px; /* fully visible */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00e0ff, #f813c6);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 13px;
    transition: 0.3s;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    z-index: 2;
}
.inv-view-btn:hover {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.9;
}
@keyframes slideFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.inv-card {
    animation: slideFadeIn 0.6s ease forwards;
    opacity: 0;
}
.inv-card:nth-child(1) { animation-delay: 0.1s; }
.inv-card:nth-child(2) { animation-delay: 0.2s; }
.inv-card:nth-child(3) { animation-delay: 0.3s; }
.inv-card:nth-child(4) { animation-delay: 0.4s; }

.detail-box {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-row .label {
    color: #ccc;
    font-size: 14px;
}
.detail-row .value {
    color: #fff;
    font-weight: 600;
}

.inv-card {
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 25px;
    backdrop-filter: blur(12px);
    color: #fff;
}

.inv-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 22px;
    color: var(--color-primary);
}
.about-hero{
  padding:40px 0;
  text-align:center;
}
.about-hero .card{
  background: linear-gradient(135deg, rgba(0,224,255,0.06), rgba(248,19,198,0.03));
  border-radius:18px;
  padding:28px;
  max-width:900px;
  margin:0 auto 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.08);
}
.h-title{
  font-size:28px;
  font-weight:700;
  color:#fff;
}
.h-sub{
  color:rgba(255,255,255,0.75);
  margin-top:8px;
}
.section{
  margin-bottom:28px;
}
.feature{
  background: var(--glass-bg);
  border-radius:12px;
  padding:18px;
  text-align:left;
  border:1px solid rgba(255,255,255,0.06);
}
.feature h5{ color:#fff; margin-bottom:8px; }
.feature p{ color:rgba(255,255,255,0.75); font-size:14px; margin:0; }
.cta-card{
  background: linear-gradient(90deg,var(--color-primary),var(--color-secondary));
  border-radius:14px;
  padding:18px;
  color:#0b0b0b;
  text-align:center;
  margin-top:18px;
  box-shadow: 0 8px 30px rgba(120,0,255,0.12);
}
.cta-card a{ display:inline-block; margin-top:10px; background:#0b0b0b; color:#fff; padding:10px 18px; border-radius:10px; text-decoration:none; }
  .color-secondary { color: var(--color-secondary); }
    .txn-card {
        background: rgba(255, 255, 255, 0.07);
        border-radius: 14px;
        margin-bottom: 18px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
    }
    .txn-header {
        background: linear-gradient(90deg, #0f0c29, #302b63, #24243e);
        color: #fff;
        padding: 12px 16px;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.4px;
    }
    .txn-body {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px 16px;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
    }
    .plus { color: #4cd964; font-weight: 700; }
    .minus { color: #ff3b30; font-weight: 700; }
    
.full-screen-wrapper {
    position: fixed;
    top: 0px;
    right: -100%; /* Start off-screen to the right */
    width: 80%;
    height:auto;
    padding-bottom:20px;
    color: white;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    z-index: 1000;
    transition: right 0.5s ease; /* Transition the 'right' property */
   
}

.full-screen-wrapper.active {
    right: 0; /* Slide in from the right */
}

.full-screen-wrapperbell {
    position: fixed;
    top: 0px;
    left: -100%; 
    width: 90%;
    height:auto;
    padding-bottom:20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: white;
    z-index: 1000;
    transition: left 0.5s ease; /* Transition the 'right' property */
   
}

.full-screen-wrapperbell.actives {
    left: 0; /* Slide in from the right */
}

.wrapper-content {
    padding: 0px 0px 0px 0px;
    border-bottom-left-radius:8px;
}
.wrapper-contentbell {
    padding: 0px 0px 0px 0px;
    border-bottom-left-radius:8px;
}

#openWrapper {
    position: relative;
    z-index: 10;
    padding: 10px 20px;
    cursor: pointer;
}

#closeWrapper {
    cursor: pointer;
    color: white;
    border: none;
}
#openWrapperbell {
    position: relative;
    z-index: 10;
    padding: 10px 20px;
    cursor: pointer;
}

#closeWrapperbell {
    cursor: pointer;
    color: white;
    border: none;
}
.robot-image{
    width:60px;
    height:60px;
    border-radius:50%;
    margin:auto;
}
.robot-image img{
    border-radius:50%;
    width:100%;
    border:4px solid black;
}
.fg-image{
    height:100px;
}
.fg-image img{
    height:100%;
    border-radius:6px;
    opacity:0.7;
}
.apnacard{
    padding:3px 4px 15px 4px;
    border-top-left-radius:8px;
}
.x-Button{
    font-size:24px;
    color:white;
}
.link-box{
   border: 2px solid white;
    border-radius: 6px;
    padding: 4px 3px;
    color: white;
    font-size: 16px;
    margin:6px 0px;
}
   .noti-card{
                           background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
                           border-radius:6px;
                           padding:6px 4px;
                           margin-top:6px;
                           position:relative;
                       }
                       .noti-content{
                           font-size:12px;
                       }
                       .read-icon{
                           position:absolute;
                           right:15px;
                           top:4px;
                       }
                       .red-circle{
                           width: 10px;
                           height: 10px;
                           border-radius: 50%;
                            position:absolute;
                            top:5px;
                            right: 5px;
                            background-color: red;
                       }
.fa-solid{
    color:var(--color-primary);
}