/* === PROFIL MODAL === */
.profile-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: flex-end;
    background: rgba(35, 38, 43, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.profile-modal-content {
    width: 100%;
    max-width: 100%;
    background: #1e1f23;
    color: #fff;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
}

/* === KULLANICI ÜST BİLGİ === */
.user-header {
    margin-bottom: 20px;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.user-box {
    background: #2d2f35;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-icon {
    font-size: 28px;
}

.user-info .username {
    font-size: 16px;
    font-weight: bold;
}

.user-info .userid {
    font-size: 14px;
    color: #aaa;
}

.copy-icon {
    font-size: 16px;
    cursor: pointer;
    color: #6fff60;
}

/* === BAKİYE ALANI === */
.balance-box {
    margin-top: 20px;
    text-align: left;
}

.balance-text {
    font-size: 22px;
    font-weight: bold;
}

.balance-label {
    font-size: 14px;
    color: #ccc;
}

/* === BUTONLAR === */
.action-buttons {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.withdraw {
    background: transparent;
    border: 2px solid #6fff60;
    color: #6fff60;
}

.withdraw:hover {
    background: #6fff60;
    color: #000;
}

.deposit {
    background: #6fff60;
    color: #000;
}

.deposit:hover {
    opacity: 0.9;
}

.bonus-btn {
    width: 100%;
    background: #6fff60;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* === MENÜ === */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    padding: 12px 0;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.menu-list li:hover {
    color: #6fff60;
}

/* === KAPAT BUTONU === */
.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: #ff4d4d;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
}

/* === ALT MODAL (İÇ MODAL) === */
.inner-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #2c2f35;
    color: white;
    z-index: 10000;
    transition: right 0.3s ease-in-out;
    padding: 24px;
    overflow-y: auto;
}

.inner-modal.active {
    right: 0;
    animation: slideIn 0.3s ease-in-out;
}

.inner-modal-content {
    display: flex;
    flex-direction: column;
}

.inner-close-btn {
    font-size: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    color: #6fff60;
}

.inner-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.inner-modal p {
    font-size: 15px;
    line-height: 1.5;
}

/* === ANİMASYONLAR === */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes fadeIn {
    from { background: rgba(35, 38, 43, 0); }
    to   { background: rgba(35, 38, 43, 0.95); }
}

    .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    }

    .payment-box {
        background:rgb(89, 143, 102);
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
        cursor: pointer;
    }

    .payment-box:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(111, 255, 96, 0.4);
    }

    .payment-box img {
        max-width: 100%;
        max-height: 60px;
        object-fit: contain;
    }

    /* === PROFIL MODAL === */
.profile-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: flex-end;
    background: rgba(35, 38, 43, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.profile-modal-content {
    width: 100%;
    max-width: 100%;
    background: #1e1f23;
    color: #fff;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
}

/* === KULLANICI ÜST BİLGİ === */
.user-header {
    margin-bottom: 20px;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.user-box {
    background: #2d2f35;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-icon {
    font-size: 28px;
}

.user-info .username {
    font-size: 16px;
    font-weight: bold;
}

.user-info .userid {
    font-size: 14px;
    color: #aaa;
}

.copy-icon {
    font-size: 16px;
    cursor: pointer;
    color: #6fff60;
}

/* === BAKİYE ALANI === */
.balance-box {
    margin-top: 20px;
    text-align: left;
}

.balance-text {
    font-size: 22px;
    font-weight: bold;
}

.balance-label {
    font-size: 14px;
    color: #ccc;
}

/* === BUTONLAR === */
.action-buttons {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.withdraw {
    background: transparent;
    border: 2px solid #6fff60;
    color: #6fff60;
}

.withdraw:hover {
    background: #6fff60;
    color: #000;
}

.deposit {
    background: #6fff60;
    color: #000;
}

.deposit:hover {
    opacity: 0.9;
}

.bonus-btn {
    width: 100%;
    background: #6fff60;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* === MENÜ === */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    padding: 12px 0;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.menu-list li:hover {
    color: #6fff60;
}

/* === KAPAT BUTONU === */
.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: #ff4d4d;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
}

/* === ALT MODAL (İÇ MODAL) === */
.inner-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #2c2f35;
    color: white;
    z-index: 10000;
    transition: right 0.3s ease-in-out;
    padding: 24px;
    overflow-y: auto;
}

.inner-modal.active {
    right: 0;
    animation: slideIn 0.3s ease-in-out;
}

.inner-modal-content {
    display: flex;
    flex-direction: column;
}

.inner-close-btn {
    font-size: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    color: #6fff60;
}

.inner-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.inner-modal p {
    font-size: 15px;
    line-height: 1.5;
}

/* === ANİMASYONLAR === */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes fadeIn {
    from { background: rgba(35, 38, 43, 0); }
    to   { background: rgba(35, 38, 43, 0.95); }
}