/* SLIDER SECTION */
.exploAI {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em; /* Adjust as needed */
    padding: 0 1em; /* Add some horizontal padding */
  }
  
  .exploAI p {
    font-size: 1.2em; /* Adjust as needed */
    font-weight: bold;
    color: #333; /* Darker text for emphasis */
    margin: 0;
  }
  
  .exploAI a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #555; /* Medium gray for link text */
    font-size: 0.9em; /* Slightly smaller link text */
    transition: color 0.3s ease;
  }
  
  .exploAI a:hover {
    color: #007bff; /* Example hover color */
  }
  
  .exploAI span {
    margin-right: 0.5em;
  }
  
  .exploAI img {
    width: 1em; /* Adjust arrow size */
    height: auto;
  }
  
  .AISlider.team-style {
    display: flex;
    gap: 1em; 
    overflow-x: auto; 
    padding-bottom: 1em; 
    padding-left: 1em; 
  }
  
  .ai-voice-car-main {
    flex: 0 0 auto; 
    text-align: center;
  }
  
  .PerAI-img-main {
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    overflow: hidden; 
    margin-bottom: 0.5em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  }
  
  .PerAI-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
  }
  
  .olivia-name {
    font-size: 0.9em;
    color: #666; 
    margin: 0;
  }



.custom-slider-container {
    max-width: 100%; 
    margin: 0 auto;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center; 
    align-items: center; 
   
}

/* Styling the slider */
.custom-slider {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
    touch-action: pan-y;
    justify-content: center; /* Center slider content */
}

#slider {
    display: flex;
    gap: 20px;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
    will-change: transform;
}

.slide-card {
    background: #000000;
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 255, 164, 0.1);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Top */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-wrap i {
    width: 32px;
    font-size: 20px;
}

.badge {
    background: #154159;
    color: #efdede;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

/* Card Body */
.card-body {
    margin-top: 4px;
}

.card-body h2 {
    font-size: 16px;
    color: #15AFFF;
    margin-bottom: 8px;
    font-weight: bold;
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.stat-list li {
    font-size: 13px;
    flex: 1 1 45%;
}

.tip {
    font-size: 12px;
    color: #15AFFF;
    margin-top: 4px;
    font-style: italic;
    font-weight: bold;
}


.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.slider-controls button {
    background: #15AFFF;
    border: none;
    color: #000;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.slider-controls button:hover {
background: #00c188;
}


/* REFFERAL SECTION */
.invite-banner {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    height: 50px;
  }
  
  .invite-icon {
    background: #fff;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 32px;
    height: 32px;
  }
  
  .invite-icon img {
    width: 18px;
    height: 18px;
  }
  
  .invite-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
  }
  
  .invite-text strong {
    font-size: 15px;
    margin-bottom: 1px;
  }
  
  .invite-text small {
    font-size: 12px;
    opacity: 0.95;
  }

 /* MINING AREA AND BUTTON */
 .balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures button aligns right */
    gap: 10px; /* Adds space between balance and button */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 5%;
    margin-bottom: 5%;
    flex-wrap: wrap; /* Allows wrap on mobile */
}


.balance-info {
    color: #fff;
    padding-right: 30px;
    flex: 1 1 auto;
    min-width: 0;
}

.balance-info h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.balance-amount {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.arrow-up {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #34c759 !important; /* Green for active mining */
    border-radius: 50%;
    font-size: 14px;
    margin-right: 10px;
    transition: background 0.3s ease; /* Smooth color transition */
}

.arrow-down {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #a90b0b !important; /* Red for inactive mining */
    border-radius: 50%;
    font-size: 14px;
    margin-right: 10px;
    transition: background 0.3s ease; /* Smooth color transition */
}

.amount {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
}

.currency {
    font-size: 16px;
    margin-left: 5px;
    color: #b0e0ff;
}

.earning-rate p {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    color: #e1b530;
    font-weight: bold;
}

/* Mining Button */
.mining-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px; 
    margin-top: 5px; 
}

.mine-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d4d, #a90b0b);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4), 0 0 11px rgba(255, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.mine-btn.inactive {
    background: linear-gradient(135deg, #ff4d4d, #a90b0b);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4), 0 0 11px rgba(255, 0, 0, 0.3);
}

.mine-btn.active {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.6), 0 0 30px rgba(0, 114, 255, 0.4);
    animation: thunderGlow 3s infinite, gradientFlow 3s linear infinite;
}

@keyframes thunderGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 198, 255, 0.2), 0 0 15px rgba(0, 114, 255, 0.3);
    }
    25% {
        box-shadow: 0 0 25px rgba(0, 198, 255, 0.6), 0 0 35px rgba(0, 114, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 198, 255, 0.4), 0 0 25px rgba(0, 114, 255, 0.3);
    }
    75% {
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.7), 0 0 40px rgba(0, 114, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 198, 255, 0.2), 0 0 15px rgba(0, 114, 255, 0.3);
    }
}


.mine-btn:hover {
    transform: scale(1.1);
}

.mine-btn.inactive:hover {
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.6), 0 0 15px rgba(255, 0, 0, 0.5);
}

.mine-btn.active:hover {
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6), 0 0 15px rgba(0, 198, 255, 0.5);
}

@keyframes pulseActive {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4), 0 0 11px rgba(0, 198, 255, 0.3);
    }
    50% {
        box-shadow: 0 10px 25px rgba(0, 114, 255, 0.6), 0 0 20px rgba(0, 198, 255, 0.5);
    }
}

@keyframes gradientFlow {
    0% {
        background: linear-gradient(135deg, #00c6ff, #0072ff);
    }
    50% {
        background: linear-gradient(135deg, #0072ff, #00c6ff);
    }
    100% {
        background: linear-gradient(135deg, #00c6ff, #0072ff);
    }
}

.mine-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(0, 198, 255, 0.8), rgba(255, 255, 255, 0.1));
    z-index: -1;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mine-btn::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    z-index: -2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.rolling-effect {
    display: none; 
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(29, 59, 44, 0.37);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(215, 226, 136, 0.905);
}

.mine-btn .icon {
    font-size: 35px;
    margin-bottom: 5px;
    display: inline-block;
}


.mine-btn.active .icon {
    display: none;
}




.mine-btn.active .rolling-effect {
    display: block;
    animation: roll 2s linear infinite;
}

/* Rolling Animation */
@keyframes roll {
    0% {
        transform: translate(35px, 0) rotate(0deg); /* Start at the right edge */
    }
    25% {
        transform: translate(0, 35px) rotate(90deg); /* Bottom edge */
    }
    50% {
        transform: translate(-35px, 0) rotate(180deg); /* Left edge */
    }
    75% {
        transform: translate(0, -35px) rotate(270deg); /* Top edge */
    }
    100% {
        transform: translate(35px, 0) rotate(360deg); /* Back to right edge */
    }
}

.balance-amount .amount {
    font-size: 1rem;
    font-family: monospace; 
}

.earning-rate span {
    font-size: 0.9em;
    font-family: monospace;
}

.mine-btn .text {
    font-size: 12px;

    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 400px) {
    
    .balance-card {
        flex-direction: row;
        gap: 5px;
        padding: 10px;
    }

    .balance-info {
        flex: 1;
        padding-right: 5px;
    }

    .balance-info h3 {
        font-size: 15px;
    }

    .balance-amount .amount {
        font-size: 16px;
    }

    .currency {
        font-size: 16px;
        font-weight: bold;
    }

    .mine-btn {
        width: 80px;
        height: 80px;
        font-size: 10px;
    }

    .mine-btn .icon {
        font-size: 20px;
    }
}
