/* CSS สำหรับป๊อปอัป Responsive ทั้ง PC และมือถือ */
 

/* ป๊อปอัป */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    width: min(92vw, 580px);
    height: auto;
    max-height: 85vh;
    background: linear-gradient(145deg, #262626, #1A1A1A);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.popup-overlay.active .popup-container {
    transform: scale(1);
    opacity: 1;
}

/* ส่วนหัวป๊อปอัป */
.popup-header {
    background: linear-gradient(to right, #262626, #1A1A1A);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF7755;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 4px;
}

.popup-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FF5522;
    border-radius: 3px;
}

.popup-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-close:hover {
    background: rgba(255, 85, 34, 0.2);
    transform: rotate(90deg);
}

/* ส่วนเนื้อหาป๊อปอัป */
.popup-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* สไลด์ */
.popup-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.popup-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    box-sizing: border-box;
}

.popup-slide-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFB700;
    text-align: center;
}

.popup-slide-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
}

.popup-slide-image {
    width: min(450px, 90%);
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    background-color: #000;
}

.popup-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.popup-slide-image:hover img {
    transform: scale(1.02);
}

.popup-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.popup-slide-text {
    width: min(450px, 90%);
    text-align: center;
    color: #DDDDDD;
    margin: 8px 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid #FF5522;
}

.popup-slide-text p {
    margin: 4px 0;
}

/* ปุ่มควบคุมสไลด์ */
.popup-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px 16px;
}

.popup-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-family: 'Kanit', sans-serif;
}

.popup-arrow:hover {
    background: rgba(255, 85, 34, 0.3);
    transform: translateY(-2px);
}

.popup-dots {
    display: flex;
    gap: 8px;
}

.popup-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-dot.active {
    background: #FF5522;
    transform: scale(1.2);
}

/* ส่วนท้ายป๊อปอัป */
.popup-footer {
    padding: 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.popup-button {
    background: linear-gradient(to right, #FF5522, #FF7755);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 85, 34, 0.3);
    min-width: 160px;
}

.popup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 85, 34, 0.4);
}

.popup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.popup-button:hover::before {
    left: 100%;
}

/* ปุ่มเข้าร่วมกิจกรรม */
.popup-join-btn {
    background: linear-gradient(to right, #00C853, #00E676);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.popup-join-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* ปุ่มปิด (ทุติยภูมิ) */
.popup-button.secondary {
    background: linear-gradient(to right, #424242, #616161);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-slide-title,
.popup-slide-image,
.popup-slide-text {
    animation: fadeUp 0.5s ease forwards;
}

.popup-slide-image {
    animation-delay: 0.1s;
}

.popup-slide-text {
    animation-delay: 0.2s;
}

/* Responsive styles */
@media (max-width: 768px) {
    .popup-container {
        width: 95vw;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-slide-title {
        font-size: 1.2rem;
    }
    
    .popup-slide-image {
        width: 90%;
    }
    
    .popup-arrow {
        width: 36px;
        height: 36px;
    }
    
    .popup-footer {
        gap: 10px;
    }
    
    .popup-button {
        padding: 10px 25px;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        width: 98vw;
        max-height: 90vh;
    }
    
    .popup-header {
        padding: 8px 16px;
    }
    
    .popup-title {
        font-size: 1.2rem;
    }
    
    .popup-slide-title {
        font-size: 1.1rem;
    }
    
    .popup-slide {
        padding: 8px 4px;
    }
    
    .popup-slide-image {
        width: 95%;
    }
    
    .popup-slide-text {
        width: 95%;
        padding: 8px;
        font-size: 0.95rem;
    }
    
    .popup-controls {
        padding: 4px 16px 16px;
    }
    
    .popup-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .popup-footer {
        padding: 8px;
        gap: 8px;
    }
    
    .popup-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 120px;
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .popup-container {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* เอฟเฟคการแจ้งเตือน */
.notification-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

.notification-effect.active {
    animation: notification-pulse 0.5s forwards;
}

@keyframes notification-pulse {
    0% {
        opacity: 0;
        background: transparent;
    }
    10% {
        opacity: 1;
        background: rgba(255, 85, 34, 0.2);
    }
    100% {
        opacity: 0;
        background: transparent;
    }
}

/* ปุ่มทดสอบเปิดป๊อปอัป */
.open-popup-btn {
    background: linear-gradient(to right, #FF5522, #FF7755);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(255, 85, 34, 0.3);
}

.open-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 85, 34, 0.4);
}

/* กำหนดให้ทุกปุ่มในป๊อปอัปใช้ฟอนต์เดียวกัน */
.popup-container button {
    font-family: 'Kanit', sans-serif;
}

/* =============================================
   ป๊อปอัปแจ้งเตือนเงินฝาก
============================================= */

.deposit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.deposit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.deposit-popup-container {
    width: 320px;
    background: linear-gradient(145deg, #2e261c, #3c3425);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    overflow: hidden;
}

.deposit-popup-overlay.active .deposit-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.deposit-icon {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.deposit-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.deposit-amount {
    font-size: 36px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
    animation: amount-appear 0.8s forwards;
}

.deposit-message {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.deposit-detail {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.deposit-button {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.deposit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* เอฟเฟคเครื่องหมายถูกสำหรับป๊อปอัปฝากเงิน */
.deposit-success-circle {
    background-color: rgba(255, 215, 0, 0.15);
    animation: deposit-success-circle 1s ease-out forwards !important;
}

.deposit-success-check {
    animation: deposit-success-check 1s ease-out 0.3s forwards !important;
}

.deposit-success-check:before, .deposit-success-check:after {
    background-color: #FFD700;
}

@keyframes deposit-success-circle {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 300px;
        height: 300px;
        opacity: 1;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

@keyframes deposit-success-check {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .deposit-popup-container {
        width: 90%;
        max-width: 300px;
        padding: 25px 15px;
    }
    
    .deposit-title {
        font-size: 22px;
    }
    
    .deposit-amount {
        font-size: 32px;
    }
    
    .deposit-message {
        font-size: 14px;
    }
    
    .deposit-detail {
        padding: 12px;
    }
}

/* =============================================
   เอฟเฟคพลุแตก
============================================= */

.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.firework {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    opacity: 0;
}

.firework::before, .firework::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.6);
    animation: ripple 2s ease-out infinite;
}

.firework:nth-child(1) {
    animation: explode-1 2s ease-out forwards;
}

.firework:nth-child(2) {
    animation: explode-2 2s ease-out 0.3s forwards;
}

.firework:nth-child(3) {
    animation: explode-3 2s ease-out 0.5s forwards;
}

.firework:nth-child(4) {
    animation: explode-4 2s ease-out 0.7s forwards;
}

.firework:nth-child(5) {
    animation: explode-5 2s ease-out 0.9s forwards;
}

/* แอนิเมชันต่างๆ */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes amount-appear {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(10);
    }
}

@keyframes explode-1 {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: rgba(255, 215, 0, 0.6);
    }
    30% {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: rgba(255, 215, 0, 0.6);
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
        background-color: rgba(255, 215, 0, 0);
    }
}

@keyframes explode-2 {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: rgba(255, 100, 100, 0.6);
    }
    30% {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: rgba(255, 100, 100, 0.6);
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        background-color: rgba(255, 100, 100, 0);
    }
}

@keyframes explode-3 {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: rgba(100, 255, 100, 0.6);
    }
    30% {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: rgba(100, 255, 100, 0.6);
    }
    100% {
        width: 160px;
        height: 160px;
        opacity: 0;
        background-color: rgba(100, 255, 100, 0);
    }
}

@keyframes explode-4 {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: rgba(100, 100, 255, 0.6);
    }
    30% {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: rgba(100, 100, 255, 0.6);
    }
    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
        background-color: rgba(100, 100, 255, 0);
    }
}

@keyframes explode-5 {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        background-color: rgba(255, 100, 255, 0.6);
    }
    30% {
        width: 10px;
        height: 10px;
        opacity: 1;
        background-color: rgba(255, 100, 255, 0.6);
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        background-color: rgba(255, 100, 255, 0);
    }
}

/* เอฟเฟคดาวตก */
@keyframes shooting-star {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateX(300px) translateY(300px) rotate(45deg) scale(1);
        opacity: 0;
    }
}

/* =============================================
   ป๊อปอัปแจ้งเตือนถอนเงิน
============================================= */

.withdraw-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.withdraw-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.withdraw-popup-container {
    width: 320px;
    background: linear-gradient(145deg, #1c2e22, #2a3c2e);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 83, 0.3);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    overflow: hidden;
}

.withdraw-popup-overlay.active .withdraw-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.withdraw-icon {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.withdraw-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.withdraw-amount {
    font-size: 36px;
    font-weight: 700;
    color: #00E676;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.5);
    position: relative;
    z-index: 1;
    animation: amount-appear 0.8s forwards;
}

.withdraw-message {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.withdraw-detail {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #aaa;
    font-size: 14px;
}

.detail-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.withdraw-button {
    background: linear-gradient(to right, #00C853, #00E676);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.withdraw-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4);
}

/* เอฟเฟคเครื่องหมายถูก */
.success-effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.success-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgba(0, 200, 83, 0.15);
    border-radius: 50%;
    opacity: 0;
    animation: success-circle 1s ease-out forwards;
}

.success-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100px;
    height: 100px;
    opacity: 0;
    animation: success-check 1s ease-out 0.3s forwards;
}

.success-check:before, .success-check:after {
    content: '';
    position: absolute;
    background-color: #00E676;
    border-radius: 4px;
}

.success-check:before {
    width: 30px;
    height: 8px;
    top: 50px;
    left: 20px;
    transform: rotate(45deg);
}

.success-check:after {
    width: 60px;
    height: 8px;
    top: 45px;
    left: 30px;
    transform: rotate(-45deg);
    transform-origin: left top;
}

@keyframes success-circle {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 300px;
        height: 300px;
        opacity: 1;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

@keyframes success-check {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .withdraw-popup-container {
        width: 90%;
        max-width: 300px;
        padding: 25px 15px;
    }
    
    .withdraw-title {
        font-size: 22px;
    }
    
    .withdraw-amount {
        font-size: 32px;
    }
    
    .withdraw-message {
        font-size: 14px;
    }
    
    .withdraw-detail {
        padding: 12px;
    }
    
    .detail-label, .detail-value {
        font-size: 13px;
    }
    
    .withdraw-button {
        padding: 10px 25px;
        font-size: 15px;
    }
}

/* =============================================
   เอฟเฟคการถอนเงินรวดเร็วและปลอดภัย
============================================= */
.transfer-effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* เส้นการโอนเงิน */
.transfer-line {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #00E676, rgba(0, 230, 118, 0));
    animation: transfer-line-move 1s ease-out forwards;
}

.transfer-line:nth-child(1) {
    left: 30%;
    top: 0;
    animation-delay: 0s;
}

.transfer-line:nth-child(2) {
    left: 40%;
    top: 0;
    animation-delay: 0.1s;
}

.transfer-line:nth-child(3) {
    left: 50%;
    top: 0;
    animation-delay: 0.2s;
}

.transfer-line:nth-child(4) {
    left: 60%;
    top: 0;
    animation-delay: 0.3s;
}

.transfer-line:nth-child(5) {
    left: 70%;
    top: 0;
    animation-delay: 0.4s;
}

/* ไอคอนความปลอดภัย */
.security-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(0, 200, 83, 0.15);
    opacity: 0;
    animation: security-appear 1s ease-out 0.5s forwards;
}

.security-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 60px;
    background-color: #00E676;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.security-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* แอนิเมชันสำหรับเอฟเฟคการถอนเงิน */
@keyframes transfer-line-move {
    0% {
        height: 0;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes security-appear {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    60% {
        transform: translate(-