


/* Global Styles */
body {
    margin: 0;
    padding: 0;

}

.profile-header {
    background: linear-gradient(90deg, #8e44ad, #f39c12);
    color: #fff;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.profile-info {
    display: flex;
    align-items: center;
}

/* Avatar Wrapper với hiệu ứng thu phóng và viền */
.avatar-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: inline-block;
    margin-right: 10px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-wrapper:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Trạng thái online */
.online-status {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #2ecc71;
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: 0;
    right: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-info h2 {
    margin: 0;
    font-size: 20px;
}

/* Logo VIP chuyên nghiệp hơn */
.vip-badge {
    background-color: #e67e22;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin-left: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.vip-badge i {
    margin-right: 5px;
}

/* Hiệu ứng xoay cho cài đặt */
.profile-header i {
    transition: transform 0.3s ease;
}

.profile-header i:hover {
    transform: rotate(90deg);
}

/* Actions */
.actions {
    display: flex;
    justify-content: space-around;
    margin: 20px 15px;
}

.actions button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
}

.actions button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.actions button:focus {
    outline: none;
}

.actions button i {
    margin-right: 8px;
}

/* Đổi màu số liệu: Số dư với màu xanh lam, Điểm tín nhiệm với màu tím */
.green {
    color: #29f500;
}

.red {
    color: #f02400;
}

/* Deposit Information Section (ẩn mặc định) */
.deposit-info {
    background: #fff;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #3498db;
    display: none;
}

.deposit-info h3 {
    margin-top: 0;
    font-size: 20px;
    color: #3498db;
}

.deposit-info .payment-option {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.deposit-info .payment-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.deposit-info .payment-option a {
    font-size: 16px;
    color: #3498db;
    text-decoration: none;
    cursor: pointer;
}

.deposit-info .payment-option a:hover {
    text-decoration: underline;
}

.deposit-info .payment-details {
    margin-top: 10px;
    display: none;
}

.deposit-info .payment-details p {
    font-size: 16px;
    margin: 8px 0;
}

.deposit-info .payment-details button {
    background-color: #8e44ad;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.deposit-info .payment-details button:hover {
    background-color: #732d91;
}

.kuaisan-ball left {
    color: #FFA500;
    /* Màu cam */
    font-weight: bold;
}

.load-button {
    display: block;
    width: 80%;
    margin: 20px auto;
    padding: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.load-button:hover {
    background-color: #2980b9;
}

.gradient-text {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #6a82fb, #fc5c7d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3sease infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Khai báo keyframes cho hiệu ứng di chuyển của gradient */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Áp dụng hiệu ứng cho phông chữ */
.animated-text {
    position: relative;
        text-align: center;
        font-size: 1.5rem;
             margin-top: 50px;
        margin-bottom: 50px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
          background: linear-gradient(45deg, #e30000, #000000, #00ff0a, #008eff, #000000);
        background-size: 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        animation: gradientAnimation 5s ease infinite, slideIn 1s ease-out,
          pulse 2s ease-in-out infinite;
      }

      @keyframes gradientAnimation {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      @keyframes slideIn {
        0% {
          opacity: 0;
          transform: translateY(-20px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.05);
        }
        100% {
          transform: scale(1);
        }
      }

.text-center {
    text-align: center;
}


/* Nút bấm hiện đại với hiệu ứng ripple */
.nth-button {
background: linear-gradient(90deg, #ff4700, #ff0000, #ff0000);
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.nth-button:hover {
     background: var(--success);
    transform: translateY(-3px);
       box-shadow: 0 12px 20px rgb(51 255 0 / 40%);
}

.nth-button:focus {
    outline: none;
}

.nth-button:active {
    transform: scale(0.98);
}

.nth-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.nth-button:active::after {
    width: 300%;
    height: 300%;
    opacity: 0;
    transition: 0s;
}

.card {
    background-color: var(--card-bg) !important;
}



.my-button {
    background: linear-gradient(45deg, var(--teal), var(--green));
    border: none;
    color: #fff;
    padding: 5px 10px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.my-button:hover {
     background: #33ff00;
     color: #000000;
     font-weight: bold;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.my-button:focus {
    outline: none;
}

.my-button:active {
    transform: scale(0.98);
}

.my-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.my-button:active::after {
    width: 300%;
    height: 300%;
    opacity: 0;
    transition: 0s;
}

.text-blue-500 {
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, #ff8c00, #ff2e63, #3a86ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}